:root {
  --ink: #0a0a0b;
  --paper: #f3f2ef;
  --line: rgba(255, 255, 255, 0.17);
  --muted: #aaa9ad;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: #f5f5f2;
  font-family: Manrope, Arial, sans-serif;
}
.v-application {
  background: var(--ink) !important;
}
.section {
  padding: clamp(90px, 13vw, 190px) max(6vw, 30px);
  position: relative;
}
.eyebrow {
  font:
    500 10px "DM Mono",
    monospace;
  letter-spacing: 0.16em;
  color: #aaa9ad;
  margin: 0 0 26px;
}
.nav {
  height: 82px;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.7%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: white;
  text-decoration: none;
}
.brand b,
.footer-mark {
  font: 800 18px Manrope;
  letter-spacing: -0.12em;
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 5px 4px 5px 2px;
}
.brand span {
  font: 600 8px "DM Mono";
  line-height: 1.45;
  letter-spacing: 0.08em;
}
.nav nav {
  display: flex;
  gap: 35px;
}
.nav nav a,
.admin-link {
  color: #d6d6d8;
  text-decoration: none;
  font: 500 11px "DM Mono";
  background: none;
  border: 0;
  cursor: pointer;
}
.admin-link {
  font-size: 18px;
}
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.7) 42%, rgba(5, 5, 6, 0.1) 100%),
    url("/assets/hero-liquid.png") center/cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(transparent, var(--ink));
}
.hero-content {
  position: relative;
  z-index: 1;
  margin: 100px 8%;
  max-width: 780px;
}
.hero h1,
.section h2 {
  font-size: clamp(45px, 7vw, 104px);
  letter-spacing: -0.075em;
  line-height: 0.9;
  margin: 0;
  font-weight: 500;
}
.hero em,
.section h2 em {
  font-family: Parisienne, cursive;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero-copy {
  max-width: 390px;
  color: #c4c3c5;
  line-height: 1.75;
  margin: 36px 0;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}
.button {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: 700 11px Manrope;
  letter-spacing: 0.04em;
  padding: 15px 20px;
  display: inline-block;
}
.solid {
  background: #f2f1ee;
  color: #101012;
}
.button span,
.manifesto a span,
.product a span {
  margin-left: 18px;
  font-size: 16px;
}
.sound {
  background: none;
  border: 0;
  color: #dedee0;
  font: 500 10px "DM Mono";
  cursor: pointer;
}
.hero-foot {
  position: absolute;
  z-index: 1;
  bottom: 35px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  font: 500 9px "DM Mono";
  letter-spacing: 0.13em;
  color: #bebdc1;
}
.hero-foot i {
  margin-left: auto;
  margin-right: auto;
}
.manifesto {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  background: #eeede9;
  color: #121214;
}
.manifesto .eyebrow,
.founder .eyebrow {
  color: #68676b;
}
.manifesto-copy {
  align-self: end;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.75;
}
.manifesto-copy p + p {
  margin-top: 24px;
}
.manifesto a,
.product a {
  display: inline-block;
  margin-top: 24px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
}
.engineering-demand {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, 0.07), transparent 24%),
    linear-gradient(135deg, #151518, #09090b 58%, #121214);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.engineering-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 76px);
}
.engineering-heading h2 {
  font-size: clamp(42px, 6vw, 92px);
}
.engineering-heading > p {
  max-width: 440px;
  margin: 0;
  color: #bbbabe;
  font-size: 15px;
  line-height: 1.8;
}
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.engineering-card {
  min-height: clamp(420px, 39vw, 560px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.36);
  transform: translateZ(0);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.engineering-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 42px 100px rgba(0, 0, 0, 0.48);
}
.engineering-card img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.82);
  transition: transform 0.6s ease;
}
.engineering-card:hover img {
  transform: scale(1.055);
}
.engineering-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.06), rgba(10, 10, 11, 0.9) 72%),
    radial-gradient(circle at 40% 18%, rgba(255, 255, 255, 0.18), transparent 34%);
}
.engineering-card-shine {
  position: absolute;
  inset: 14px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%);
  opacity: 0.75;
}
.engineering-card-content {
  width: 100%;
}
.engineering-card-content span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #f4f4f2;
  font: 600 10px "DM Mono";
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}
.engineering-card h3 {
  max-width: 330px;
  margin: 0 0 14px;
  color: #f4f4f2;
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.065em;
}
.engineering-card p {
  max-width: 390px;
  margin: 0;
  color: #d0cfd4;
  font-size: 13px;
  line-height: 1.75;
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  background: radial-gradient(circle at 85% 15%, #29292c 0, transparent 23%);
}
.tech-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  align-self: end;
}
.tech-list span {
  font-size: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.work {
  background: #111113;
}
.work-intro {
  margin-bottom: 110px;
}
.work-intro > p:last-child {
  max-width: 280px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 25px;
}
.product {
  display: grid;
  grid-template-columns: 70px 1.15fr 0.85fr;
  gap: 6%;
  min-height: 490px;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  align-items: center;
}
.product-index {
  font: 500 11px "DM Mono";
  color: #999;
}
.product-visual {
  position: relative;
  height: 390px;
  padding: 18px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 35% 35%, #847465, #242021 62%);
}
.product-visual:after {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(0deg, rgba(10, 10, 11, 0.16), rgba(10, 10, 11, 0.05)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  mix-blend-mode: screen;
}
.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.82);
  box-shadow: 0 20px 50px #0008;
}
.product.cool .product-visual {
  background: radial-gradient(circle at 60% 25%, #4f6571, #172025 61%);
}
.window {
  width: 78%;
  height: 70%;
  background: rgba(10, 10, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 65px #0008;
  backdrop-filter: blur(15px);
  padding: 15px;
}
.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aaa;
}
.fake-ui {
  margin-top: 22%;
  display: grid;
  gap: 12px;
}
.fake-ui b {
  font-size: 18px;
}
.fake-ui span {
  height: 8px;
  background: #ffffff26;
  border-radius: 20px;
}
.fake-ui span:nth-child(2) {
  width: 80%;
}
.fake-ui span:nth-child(3) {
  width: 55%;
}
.product-info h3 {
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.06em;
  margin: 0 0 20px;
  font-weight: 500;
}
.product-info > p:not(.eyebrow) {
  color: #b8b8bc;
  line-height: 1.75;
  max-width: 300px;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  background: #eae9e5;
  color: #101012;
  padding-top: 100px;
  padding-bottom: 100px;
}
.numbers > div {
  border-top: 1px solid #aaa;
  padding-top: 18px;
}
.numbers strong {
  font-size: clamp(45px, 6vw, 85px);
  font-weight: 500;
  letter-spacing: -0.08em;
}
.numbers strong span {
  font-family: Parisienne;
  font-size: 0.7em;
}
.numbers p {
  font: 11px/1.7 "DM Mono";
  color: #59585b;
}
.founder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: center;
}
.leader {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: center;
  padding-top: clamp(30px, 5vw, 80px);
}
.portrait {
  aspect-ratio: 1/1;
  background: linear-gradient(145deg, #55565a, #151517 55%, #0d0d0e);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait:after {
  content: "";
  position: absolute;
  width: 120%;
  height: 1px;
  background: #ddd5;
  transform: rotate(-42deg);
}
.portrait-initials {
  font-family: Parisienne;
  font-size: clamp(110px, 18vw, 240px);
  color: #eee;
  text-shadow: 10px 10px 0 #0005;
}
.portrait span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font: 10px "DM Mono";
  letter-spacing: 0.12em;
}
.leader-portrait {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(10, 10, 11, 0.36), rgba(10, 10, 11, 0.05)),
    linear-gradient(145deg, #55565a, #151517 55%, #0d0d0e);
}
.leader-portrait.elton {
  background:
    linear-gradient(0deg, rgba(10, 10, 11, 0.36), rgba(10, 10, 11, 0.05)),
    url("/assets/Elton.jpeg") center 35% / cover;
  filter: grayscale(1) contrast(1.05);
}
.leader-portrait:after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 22%;
  width: 120%;
  height: 1px;
  background: #ddd5;
  transform: rotate(-42deg);
}
.leader-portrait span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  max-width: calc(100% - 40px);
  font: 10px "DM Mono";
  letter-spacing: 0.12em;
}
.founder-copy {
  max-width: 400px;
  color: #b7b6ba;
  line-height: 1.8;
  margin-top: 32px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  background: linear-gradient(110deg, #1b1b1e, #0b0b0c);
}
.contact > div > p:last-child {
  color: #aaa9ad;
  line-height: 1.8;
  max-width: 350px;
  margin-top: 30px;
}
.glass-form {
  border: 1px solid var(--line);
  background: #ffffff08;
  backdrop-filter: blur(15px);
  padding: clamp(25px, 4vw, 48px);
  display: grid;
  gap: 23px;
}
.glass-form label {
  font: 500 10px "DM Mono";
  letter-spacing: 0.06em;
  color: #c2c1c4;
}
.glass-form input,
.glass-form textarea {
  font: 500 14px Manrope;
  color: white;
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #777;
  background: transparent;
  padding: 13px 0 9px;
  outline: none;
}
.glass-form textarea {
  resize: vertical;
  height: 75px;
}
.glass-form small {
  color: #777;
}
.done {
  color: #b9ecbb;
}
.error {
  color: #ffb4aa;
}
footer {
  padding: 55px 6%;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}
footer p {
  font: 600 10px "DM Mono";
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin: 0;
}
footer small {
  color: #777;
}
footer a {
  margin-left: auto;
  color: #eee;
  text-decoration: none;
  font: 10px "DM Mono";
  letter-spacing: 0.09em;
}
.admin-shell {
  min-height: 100vh;
  background: radial-gradient(circle at 70% 0, #28313b, #09090a 43%);
  padding-bottom: 80px;
}
.admin-header {
  height: 70px;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 10px "DM Mono";
  letter-spacing: 0.12em;
}
.admin-header button {
  background: none;
  border: 0;
  color: #ddd;
  cursor: pointer;
  font: 11px Manrope;
}
.admin-board {
  max-width: 1100px;
  margin: auto;
  padding: 100px 30px;
}
.admin-board h1 {
  font-size: clamp(45px, 7vw, 82px);
  letter-spacing: -0.07em;
  font-weight: 500;
  margin: 0 0 55px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.admin-stats div {
  background: #ffffff0a;
  border: 1px solid var(--line);
  padding: 22px;
  display: grid;
}
.admin-stats b {
  font-size: 30px;
}
.admin-stats span {
  font: 10px "DM Mono";
  color: #999;
  margin-top: 8px;
}
.inquiry-table {
  margin-top: 25px;
  border: 1px solid var(--line);
}
.inquiry-table article {
  display: grid;
  grid-template-columns: 1fr 1.3fr 110px;
  gap: 25px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.inquiry-table strong,
.inquiry-table a,
.inquiry-table small {
  display: block;
}
.inquiry-table a {
  color: #ccc;
  font-size: 13px;
  margin-top: 4px;
}
.inquiry-table small {
  color: #888;
  font: 9px "DM Mono";
  margin-top: 12px;
}
.inquiry-table p {
  color: #bdbdc1;
  margin: 0;
  line-height: 1.6;
  font-size: 13px;
}
.inquiry-table select {
  height: 33px;
  background: #222;
  color: #eee;
  border: 1px solid #555;
  padding: 0 7px;
}
.empty {
  padding: 35px;
  color: #999;
  text-align: center;
}
@media (max-width: 1080px) {
  .engineering-grid {
    grid-template-columns: 1fr;
  }
  .engineering-card {
    min-height: 380px;
  }
}
@media (max-width: 720px) {
  .nav nav {
    display: none;
  }
  .section {
    padding: 85px 27px;
  }
  .hero-content {
    margin: 120px 27px;
  }
  .manifesto,
  .capabilities,
  .engineering-heading,
  .contact,
  .founder,
  .leader {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .engineering-grid {
    grid-template-columns: 1fr;
  }
  .engineering-card {
    min-height: 390px;
  }
  .leader-portrait {
    order: -1;
  }
  .product {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .product-index {
    order: 0;
  }
  .product-visual {
    height: 280px;
  }
  .product-info {
    padding-left: 0;
  }
  .numbers {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .work-intro {
    margin-bottom: 65px;
  }
  .inquiry-table article {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .inquiry-table select {
    width: 130px;
  }
  .hero-foot {
    left: 27px;
    right: 27px;
  }
  footer {
    padding: 38px 27px;
  }
  footer a {
    display: none;
  }
}

/* Compact operational settings surface in the admin console. */
.settings-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  margin: 15px 0 50px;
  border: 1px solid var(--line);
  background: #ffffff08;
}
.settings-form label {
  min-width: 0;
  color: #bdbcc1;
  font: 10px "DM Mono";
  letter-spacing: 0.08em;
}
.settings-form input {
  width: 100%;
  padding: 12px 0 8px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #68676c;
  outline: 0;
  font: 13px Manrope;
}
.settings-form p {
  grid-column: 1 / -1;
  margin: 0;
  color: #b9ecbb;
  font-size: 12px;
}
@media (max-width: 700px) {
  .settings-form {
    grid-template-columns: 1fr;
  }
}

/* Content-management views: a compact toolbar and designed empty collection state. */
.admin-workspace .admin-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.admin-workspace .admin-actions .publish {
  flex: 0 0 auto;
  padding: 11px 15px;
  color: #f3f2ef;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  font: 600 11px "DM Mono";
  letter-spacing: 0.06em;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.admin-workspace .admin-actions .publish:hover {
  background: #f2f1ee;
  color: #101012;
  border-color: #f2f1ee;
  transform: translateY(-1px);
}
.admin-workspace .article-admin-list {
  min-height: 260px;
  margin: 0;
  border: 0;
  background: transparent;
}
.admin-workspace .article-admin-list .empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  margin: 0;
  border: 1px dashed rgba(255, 255, 255, 0.27);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.025);
  color: #a9a8ad;
  font-size: 14px;
}
.admin-workspace .article-admin-list .empty:before {
  content: "✦";
  display: block;
  color: #e8e8e4;
  font-size: 28px;
}
.admin-workspace .article-admin-list .empty strong {
  color: #f1f0ed;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.admin-workspace .article-admin-list .empty p {
  max-width: 410px;
  margin: 0;
  color: #98979c;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}
@media (max-width: 700px) {
  .admin-workspace .admin-actions {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 16px;
  }
  .admin-workspace .admin-actions .publish {
    width: 100%;
    text-align: center;
  }
  .admin-workspace .article-admin-list .empty {
    min-height: 180px;
  }
}

/* Final compact admin scale. Keep every operator view dense; never use landing-page type. */
.admin-workspace .admin-view {
  max-width: 1180px;
  padding: 30px 46px 42px;
}
.admin-workspace .admin-view > .eyebrow {
  margin-bottom: 8px;
}
.admin-workspace .admin-view h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.065em;
}
.admin-workspace .dashboard-view {
  padding-top: 30px;
}
.admin-workspace .dashboard-view h1 {
  font-size: clamp(38px, 3.8vw, 54px);
  margin-bottom: 18px;
}
.admin-workspace .admin-actions {
  margin-bottom: 16px;
}
.admin-workspace .admin-actions h1 {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .admin-workspace .admin-view {
    padding: 26px 20px 34px;
  }
  .admin-workspace .admin-view h1,
  .admin-workspace .dashboard-view h1 {
    font-size: 36px;
  }
}

/* Final admin authority block. Keep it last so older prototype rules cannot win. */
.admin-shell {
  --admin-rail-width: 244px;
  display: block;
  min-height: 100vh;
  padding-bottom: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.95), rgba(7, 7, 9, 0.99)), #08080a;
}

.admin-shell .admin-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--admin-rail-width);
  height: 100vh;
  padding: 28px 14px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 18, 23, 0.98), rgba(9, 9, 12, 0.99));
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 18px 0 52px rgba(0, 0, 0, 0.28);
}

.admin-shell .rail-brand {
  margin: 0 10px 36px;
}

.admin-shell .admin-rail nav button,
.admin-shell .rail-back {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #aaaab1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 600 13px Manrope;
}

.admin-shell .admin-rail nav button.active {
  color: #101014;
  background: linear-gradient(135deg, #f5f4f0, #c9d9ea);
  border-color: rgba(255, 255, 255, 0.6);
}

.admin-shell .rail-back {
  position: absolute;
  right: 14px;
  bottom: 22px;
  left: 14px;
  width: auto;
  margin: 0;
}

.admin-shell .admin-workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--admin-rail-width);
}

.admin-shell .admin-workspace .admin-header {
  height: 58px;
  padding: 0 44px;
}

.admin-shell .admin-workspace .admin-view {
  width: min(100%, 1120px);
  max-width: none;
  margin: 0 auto;
  padding: 26px 38px 38px;
}

.admin-shell .admin-workspace .admin-actions {
  align-items: flex-end;
  min-height: 0;
  margin: 0 0 16px;
  padding: 0 0 14px;
}

.admin-shell .admin-workspace .admin-actions h1,
.admin-shell .admin-workspace .admin-view h1,
.admin-shell .admin-workspace .dashboard-view h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-shell .admin-stats.radial-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.admin-shell .radial-stats article {
  min-height: 108px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  place-items: stretch;
  align-items: center;
  gap: 2px 14px;
  padding: 15px;
  border-radius: 8px;
}

.admin-shell .radial-stats article:before {
  inset: 0 auto 0 0;
  width: 3px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f2f2ef, rgba(242, 242, 239, 0));
  box-shadow: none;
}

.admin-shell .metric-ring {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  padding: 4px;
}

.admin-shell .metric-ring:after {
  inset: 4px;
}

.admin-shell .metric-ring b {
  font-size: 21px;
  letter-spacing: 0;
}

.admin-shell .radial-stats span {
  align-self: end;
  color: #f0f0f2;
  font: 700 13px Manrope;
  letter-spacing: 0;
}

.admin-shell .radial-stats small {
  align-self: start;
  color: #9898a1;
  font: 600 10px "DM Mono";
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-shell .hits-panel {
  height: 276px;
  margin: 0;
  padding: 20px 24px 16px;
  border-radius: 8px;
}

.admin-shell .hits-panel h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.admin-shell .hits-panel canvas {
  height: 180px !important;
  margin-top: 12px;
}

.admin-shell .article-admin-list,
.admin-shell .inquiry-table,
.admin-shell .settings-form {
  margin: 0;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .admin-shell {
    --admin-rail-width: 78px;
  }

  .admin-shell .admin-workspace .admin-view {
    padding-inline: 24px;
  }

  .admin-shell .admin-stats.radial-stats,
  .admin-shell .settings-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-shell {
    --admin-rail-width: 0px;
  }

  .admin-shell .admin-rail {
    position: sticky;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .admin-shell .admin-workspace {
    margin-left: 0;
  }

  .admin-shell .admin-workspace .admin-actions h1,
  .admin-shell .admin-workspace .admin-view h1,
  .admin-shell .admin-workspace .dashboard-view h1 {
    font-size: 32px;
  }
}

/* User and profile administration surfaces. Kept last to override older admin passes. */
.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.admin-user-chip strong,
.admin-user-chip small {
  display: block;
}
.admin-user-chip strong {
  max-width: 260px;
  overflow: hidden;
  color: #f2f2f5;
  font: 700 12px Manrope;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-chip small {
  color: #8f8f98;
  font: 600 9px "DM Mono";
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-user-chip button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #eeeeef;
  font: 700 10px Manrope;
}
.admin-notice {
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #dedee2;
  font: 600 11px/1.5 "DM Mono";
  letter-spacing: 0.06em;
}
.settings-form.user-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}
.settings-form label.wide,
.settings-form .wide {
  grid-column: 1 / -1;
}
.settings-form select {
  display: block;
  width: 100%;
  height: 39px;
  margin-top: 11px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.05);
  color: #f3f3f5;
  outline: 0;
  font: 600 13px Manrope;
}
.user-admin-list article {
  grid-template-columns: 48px 1fr auto auto;
}
.user-role-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 45%),
    rgba(255, 255, 255, 0.06);
  color: #f2f2f3;
  font-size: 18px;
}
.mfa-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 22px;
  align-items: start;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.13), transparent 25%),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 70px rgba(0, 0, 0, 0.28);
}
.mfa-panel h2 {
  margin: 0 0 10px;
  color: #f2f2f5;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.mfa-panel p {
  max-width: 620px;
  margin: 0;
  color: #aaaab2;
  font-size: 13px;
  line-height: 1.75;
}
.mfa-secret {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}
.mfa-secret strong {
  color: #f5f5f6;
  font: 700 16px "DM Mono";
  letter-spacing: 0.08em;
  word-break: break-all;
}
.mfa-secret small,
.mfa-secret a,
.mfa-secret label {
  color: #a6a6ae;
  font: 600 10px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mfa-secret a {
  color: #f0f0f2;
  text-transform: none;
}
.mfa-secret input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  color: #fff;
  outline: 0;
  font: 600 14px Manrope;
}

@media (max-width: 980px) {
  .settings-form.user-form,
  .mfa-panel {
    grid-template-columns: 1fr;
  }
}

/* Page builder admin workspace. Inspired by backend-first Vue visual builders. */
.admin-shell .page-admin-list article {
  grid-template-columns: 46px minmax(0, 1fr) auto auto auto;
}

.admin-shell .page-admin-list a {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #e7e7ea;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font: 700 11px Manrope;
  text-decoration: none;
}

.page-chip {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #f5f5f2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.page-builder {
  width: min(100%, 1320px) !important;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.admin-shell .outline {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: #f5f5f3;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  font: 700 11px "DM Mono";
  letter-spacing: 0.06em;
  cursor: pointer;
}

.builder-meta {
  display: grid;
  grid-template-columns: 1fr 0.56fr 1.2fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.builder-meta label,
.block-inspector label {
  display: grid;
  gap: 7px;
  color: #aaa9b0;
  font: 700 10px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-meta input,
.block-inspector input,
.block-inspector textarea,
.builder-canvas textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  color: #f6f6f7;
  background: rgba(8, 8, 11, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: 0;
  font: 500 13px Manrope;
}

.builder-meta a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #101014;
  background: linear-gradient(135deg, #f5f4f0, #c9d9ea);
  border-radius: 999px;
  font: 800 10px "DM Mono";
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.builder-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 286px;
  gap: 14px;
  align-items: start;
}

.block-palette,
.builder-canvas,
.block-inspector {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 52px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.block-palette,
.block-inspector {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 9px;
  padding: 14px;
}

.block-palette button {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #dedee3;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font: 700 12px Manrope;
  text-align: left;
  cursor: pointer;
}

.block-palette button:hover {
  color: #101014;
  background: #f4f3ef;
}

.builder-canvas {
  min-height: 560px;
  overflow: hidden;
}

.builder-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.builder-tabs button {
  min-height: 31px;
  padding: 0 11px;
  color: #aaa9b0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 800 10px "DM Mono";
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
}

.builder-tabs button.active {
  color: #101014;
  background: linear-gradient(135deg, #f5f4f0, #c9d9ea);
}

.page-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.page-preview > article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #0b0b0d;
  cursor: pointer;
}

.page-preview > article.selected {
  border-color: rgba(232, 239, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(204, 220, 246, 0.1);
}

.block-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.block-toolbar span {
  margin-right: auto;
  color: #aaa9b0;
  font: 800 10px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.block-toolbar button {
  min-height: 25px;
  padding: 0 7px;
  color: #e6e6eb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  font: 700 10px Manrope;
}

.page-preview .pbx-page {
  width: 100%;
  padding: 18px;
}

.page-preview .pb-page-hero {
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
}

.page-preview .pb-page-hero h1,
.page-preview .pb-text-block h2,
.page-preview .pb-feature-grid h2,
.page-preview .pb-cta h2 {
  font-size: 31px;
  line-height: 1.05;
}

.page-preview .pb-page-hero p,
.page-preview .pb-text-block p,
.page-preview .pb-cta p,
.page-preview .pb-feature-grid p {
  font-size: 13px;
  line-height: 1.5;
}

.page-preview .pb-page-hero img,
.page-preview .pb-image-block img {
  max-height: 155px;
}

.page-preview .pb-text-block,
.page-preview .pb-feature-grid,
.page-preview .pb-cta,
.page-preview .pb-raw {
  padding: 20px;
}

.builder-canvas > textarea {
  min-height: 520px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  font: 12px/1.65 "DM Mono";
  resize: vertical;
}

.block-inspector {
  max-height: calc(100vh - 92px);
  overflow: auto;
}

.block-inspector textarea {
  min-height: 88px;
  padding: 10px 11px;
  resize: vertical;
}

.file-field {
  min-height: 38px;
  align-content: center;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}

.file-field input {
  padding: 8px 0 0;
  background: transparent;
  border: 0;
}

.repeater {
  display: grid;
  gap: 10px;
}

.repeater > div {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

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

  .block-inspector {
    position: static;
    grid-column: 1 / -1;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .builder-meta,
  .builder-shell,
  .admin-shell .page-admin-list article {
    grid-template-columns: 1fr;
  }

  .block-palette {
    position: static;
  }
}

/* Final admin authority block. Keep it last so older prototype rules cannot win. */
.admin-shell {
  --admin-rail-width: 244px;
  display: block;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.95), rgba(7, 7, 9, 0.99)), #08080a;
}

.admin-shell .admin-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--admin-rail-width);
  height: 100vh;
  padding: 28px 14px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 18, 23, 0.98), rgba(9, 9, 12, 0.99));
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 18px 0 52px rgba(0, 0, 0, 0.28);
}

.admin-shell .rail-brand {
  margin: 0 10px 36px;
}

.admin-shell .admin-rail nav button,
.admin-shell .rail-back {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #aaaab1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 600 13px Manrope;
}

.admin-shell .admin-rail nav button.active {
  color: #101014;
  background: linear-gradient(135deg, #f5f4f0, #c9d9ea);
  border-color: rgba(255, 255, 255, 0.6);
}

.admin-shell .rail-back {
  position: absolute;
  right: 14px;
  bottom: 22px;
  left: 14px;
  width: auto;
  margin: 0;
}

.admin-shell .admin-workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--admin-rail-width);
}

.admin-shell .admin-workspace .admin-header {
  height: 58px;
  padding: 0 44px;
}

.admin-shell .admin-workspace .admin-view {
  width: min(100%, 1120px);
  max-width: none;
  margin: 0 auto;
  padding: 26px 38px 38px;
}

.admin-shell .admin-workspace .admin-actions {
  align-items: flex-end;
  min-height: 0;
  margin: 0 0 16px;
  padding: 0 0 14px;
}

.admin-shell .admin-workspace .admin-actions h1,
.admin-shell .admin-workspace .admin-view h1,
.admin-shell .admin-workspace .dashboard-view h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-shell .admin-stats.radial-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.admin-shell .radial-stats article {
  min-height: 108px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  place-items: stretch;
  align-items: center;
  gap: 2px 14px;
  padding: 15px;
  border-radius: 8px;
}

.admin-shell .radial-stats article:before {
  inset: 0 auto 0 0;
  width: 3px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f2f2ef, rgba(242, 242, 239, 0));
  box-shadow: none;
}

.admin-shell .metric-ring {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  padding: 4px;
}

.admin-shell .metric-ring:after {
  inset: 4px;
}

.admin-shell .metric-ring b {
  font-size: 21px;
  letter-spacing: 0;
}

.admin-shell .radial-stats span {
  align-self: end;
  color: #f0f0f2;
  font: 700 13px Manrope;
  letter-spacing: 0;
}

.admin-shell .radial-stats small {
  align-self: start;
  color: #9898a1;
  font: 600 10px "DM Mono";
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-shell .hits-panel {
  height: 276px;
  margin: 0;
  padding: 20px 24px 16px;
  border-radius: 8px;
}

.admin-shell .hits-panel h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.admin-shell .hits-panel canvas {
  height: 180px !important;
  margin-top: 12px;
}

.admin-shell .article-admin-list,
.admin-shell .inquiry-table,
.admin-shell .settings-form {
  margin: 0;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .admin-shell {
    --admin-rail-width: 78px;
  }

  .admin-shell .admin-workspace .admin-view {
    padding-inline: 24px;
  }

  .admin-shell .admin-stats.radial-stats,
  .admin-shell .settings-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-shell {
    --admin-rail-width: 0px;
  }

  .admin-shell .admin-rail {
    position: sticky;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .admin-shell .admin-workspace {
    margin-left: 0;
  }

  .admin-shell .admin-workspace .admin-actions h1,
  .admin-shell .admin-workspace .admin-view h1,
  .admin-shell .admin-workspace .dashboard-view h1 {
    font-size: 32px;
  }
}

/* Product-grade admin surface: one compact system overrides older experimental passes. */
.admin-shell {
  --admin-rail-width: 244px;
  display: block;
  min-height: 100vh;
  color: #f4f4f5;
  background: linear-gradient(180deg, rgba(21, 24, 29, 0.94), rgba(7, 7, 9, 0.98)), #08080a;
}

.admin-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--admin-rail-width);
  height: 100vh;
  padding: 28px 14px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 18, 22, 0.96), rgba(10, 10, 13, 0.98)), #101014;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 18px 0 52px rgba(0, 0, 0, 0.28);
}

.admin-rail:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 65%);
}

.rail-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 36px;
  color: #f5f5f2;
  font: 600 10px/1.3 "DM Mono";
  letter-spacing: 0.12em;
}

.rail-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
}

.admin-rail nav {
  position: relative;
  display: grid;
  gap: 8px;
}

.admin-rail nav button,
.rail-back {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #aaaab1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 600 13px Manrope;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.admin-rail nav button:hover,
.rail-back:hover {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-rail nav button.active {
  color: #101014;
  background: linear-gradient(135deg, #f5f4f0, #c9d9ea);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(206, 223, 242, 0.14);
}

.admin-rail nav i,
.rail-back i {
  font-size: 17px;
}

.admin-rail nav span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-rail nav b {
  min-width: 22px;
  padding: 2px 7px;
  color: inherit;
  background: rgba(20, 20, 24, 0.13);
  border-radius: 999px;
  font: 700 10px "DM Mono";
  text-align: center;
}

.rail-back {
  position: absolute;
  right: 14px;
  bottom: 22px;
  left: 14px;
  width: auto;
}

.admin-workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--admin-rail-width);
}

.admin-workspace .admin-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 46px;
  color: #a6a6ad;
  background: rgba(8, 8, 10, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  font: 600 10px "DM Mono";
  letter-spacing: 0.12em;
}

.admin-workspace .admin-header button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  color: #dedee3;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font: 600 12px Manrope;
}

.admin-workspace .admin-view {
  width: min(100%, 1160px);
  max-width: none;
  margin: 0 auto;
  padding: 28px 44px 40px;
}

.admin-workspace .admin-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: auto;
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-workspace .admin-actions .eyebrow,
.dashboard-view > .eyebrow {
  margin: 0 0 8px;
  color: #aaa9b0;
}

.admin-workspace .admin-actions h1,
.admin-workspace .admin-view h1,
.admin-workspace .dashboard-view h1 {
  margin: 0;
  color: #f4f4f1;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}

.admin-workspace .publish,
.view-badge,
.dashboard-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  color: #f5f5f3;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font: 700 11px "DM Mono";
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.admin-workspace button.publish:hover {
  color: #101014;
  background: #f4f3ef;
  border-color: #f4f3ef;
  transform: translateY(-1px);
}

.view-badge,
.dashboard-pulse {
  color: #c9c9cf;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-view {
  padding-top: 26px;
}

.dashboard-actions {
  align-items: center;
}

.admin-stats.radial-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 14px;
}

.radial-stats article {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 95% 0%, rgba(214, 226, 246, 0.13), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.radial-stats article:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #f2f2ef, rgba(242, 242, 239, 0));
  opacity: 0.75;
}

.metric-ring {
  grid-row: 1 / 3;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 5px;
  border-radius: 50%;
  background: conic-gradient(#eef0ff 0 72%, rgba(255, 255, 255, 0.12) 72% 100%);
  box-shadow: 0 0 26px rgba(228, 233, 255, 0.2);
}

.metric-ring:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #151519;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-ring b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.metric-ring.warning {
  background: conic-gradient(#e9dcbb 0 66%, rgba(255, 255, 255, 0.12) 66% 100%);
}

.metric-ring.cool {
  background: conic-gradient(#c8ddec 0 82%, rgba(255, 255, 255, 0.12) 82% 100%);
}

.radial-stats span,
.radial-stats small {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.radial-stats span {
  align-self: end;
  color: #f0f0f2;
  font: 700 13px Manrope;
}

.radial-stats small {
  align-self: start;
  color: #9898a1;
  font: 600 10px "DM Mono";
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hits-panel,
.inquiry-table,
.settings-form,
.article-admin-list {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 226, 246, 0.105), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 18px 44px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.hits-panel {
  height: 286px;
  margin: 0;
  padding: 22px 26px 18px;
}

.hits-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hits-panel h2 {
  margin: 0;
  color: #f2f2f2;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
}

.chart-tag {
  padding: 7px 10px;
  color: #c3c3ca;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font: 700 9px "DM Mono";
  letter-spacing: 0.08em;
}

.hits-panel canvas {
  width: 100% !important;
  height: 188px !important;
  margin-top: 13px;
}

.chart-error {
  margin: 22px 0 0;
  color: #e7c9c9;
  font-size: 13px;
}

.article-admin-list {
  min-height: 238px;
  margin: 0;
  overflow: hidden;
}

.article-admin-list article,
.inquiry-table article {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-admin-list article {
  grid-template-columns: 74px minmax(0, 1fr) auto auto;
}

.article-admin-list article:last-of-type,
.inquiry-table article:last-of-type {
  border-bottom: 0;
}

.article-admin-list img {
  width: 74px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.article-admin-list strong,
.inquiry-table strong {
  display: block;
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 700;
}

.article-admin-list small,
.inquiry-table small {
  display: block;
  margin-top: 5px;
  color: #94949d;
  font: 600 10px "DM Mono";
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-admin-list button {
  min-height: 31px;
  padding: 0 10px;
  color: #e7e7ea;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font: 700 11px Manrope;
  cursor: pointer;
}

.article-admin-list .empty,
.inquiry-table .empty {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin: 0;
  border: 0;
  color: #a5a5ad;
  font-size: 14px;
}

.article-admin-list .empty:before,
.inquiry-table .empty:before {
  content: "+";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #f5f5f2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  font: 500 24px Manrope;
}

.inquiry-table {
  margin: 0;
  overflow: hidden;
}

.inquiry-table article {
  grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1.4fr) 150px;
}

.inquiry-table a {
  display: block;
  margin-top: 3px;
  color: #d9dde7;
  font-size: 12px;
  text-decoration: none;
}

.inquiry-table p {
  min-width: 0;
  margin: 0;
  color: #c5c5cb;
  font-size: 13px;
  line-height: 1.55;
}

.inquiry-table select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  color: #f4f4f5;
  background: rgba(17, 17, 21, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  outline: 0;
  font: 700 11px "DM Mono";
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 18px;
}

.settings-form label {
  display: grid;
  gap: 9px;
  min-width: 0;
  color: #a9a9b1;
  font: 700 10px "DM Mono";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #f8f8fa;
  background: rgba(8, 8, 11, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: 0;
  font: 500 13px Manrope;
}

.settings-form input:focus,
.inquiry-table select:focus {
  border-color: rgba(225, 235, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(202, 219, 244, 0.12);
}

.settings-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}

.settings-footer p {
  margin: 0;
  color: #cdeccf;
  font-size: 12px;
}

@media (max-width: 980px) {
  .admin-shell {
    --admin-rail-width: 78px;
  }

  .rail-brand {
    justify-content: center;
    margin-inline: 0;
  }

  .rail-brand span,
  .admin-rail nav span,
  .rail-back {
    display: none;
  }

  .admin-rail nav button {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .admin-rail nav b {
    position: absolute;
    top: 5px;
    right: 7px;
  }

  .admin-workspace .admin-header {
    padding-inline: 24px;
  }

  .admin-workspace .admin-view {
    padding-inline: 24px;
  }

  .admin-stats.radial-stats,
  .settings-form {
    grid-template-columns: 1fr;
  }

  .inquiry-table article {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .admin-shell {
    --admin-rail-width: 0px;
  }

  .admin-rail {
    position: sticky;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .rail-brand {
    margin: 0;
  }

  .admin-rail nav {
    display: flex;
    min-width: 0;
    overflow-x: auto;
  }

  .admin-rail nav button {
    min-width: 42px;
  }

  .admin-workspace {
    margin-left: 0;
  }

  .admin-workspace .admin-header {
    height: 50px;
    padding-inline: 18px;
  }

  .admin-workspace .admin-view {
    padding: 22px 18px 34px;
  }

  .admin-workspace .admin-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-workspace .admin-actions h1,
  .admin-workspace .admin-view h1,
  .admin-workspace .dashboard-view h1 {
    font-size: 32px;
  }

  .admin-stats.radial-stats {
    gap: 10px;
  }

  .radial-stats article {
    min-height: 112px;
  }

  .hits-panel {
    height: 300px;
    padding: 18px;
  }

  .hits-panel canvas {
    height: 198px !important;
  }

  .chart-tag {
    display: none;
  }

  .article-admin-list article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .article-admin-list img {
    display: none;
  }

  .settings-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Dense desktop dashboard: operational information should fit in the first viewport. */
.dashboard-view {
  padding-top: 38px;
  padding-bottom: 48px;
}
.dashboard-view > .eyebrow {
  margin-bottom: 10px;
}
.dashboard-view h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 0.95;
}
.admin-stats.radial-stats {
  gap: 12px;
  margin-bottom: 14px;
}
.radial-stats article {
  min-height: 132px;
  padding: 14px;
  gap: 7px;
  border-radius: 12px;
}
.radial-stats article:before {
  width: 128px;
  height: 128px;
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.022),
    0 0 35px rgba(216, 225, 255, 0.09);
}
.metric-ring {
  width: 58px;
  height: 58px;
  padding: 4px;
}
.metric-ring:after {
  inset: 4px;
}
.metric-ring b {
  font-size: 22px;
}
.radial-stats span {
  font-size: 9px;
}
.hits-panel {
  height: 300px;
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: 12px;
}
.hits-panel h2 {
  font-size: 19px;
}
.hits-panel .eyebrow {
  margin-bottom: 8px;
}
.hits-panel canvas {
  height: 185px !important;
  margin-top: 15px;
}
@media (max-width: 700px) {
  .dashboard-view {
    padding-top: 30px;
  }
  .radial-stats article {
    min-height: 120px;
  }
  .hits-panel {
    height: 285px;
  }
  .hits-panel canvas {
    height: 175px !important;
  }
}

/* Dashboard glass and radial KPI treatment. */
.dashboard-view {
  max-width: 1180px;
}
.admin-stats.radial-stats {
  gap: 18px;
  margin-bottom: 22px;
}
.radial-stats article {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 22px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}
.radial-stats article:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 0 13px rgba(255, 255, 255, 0.025),
    0 0 60px rgba(216, 225, 255, 0.12);
}
.metric-ring {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: conic-gradient(#eef0ff 0 72%, #ffffff1d 72% 100%);
  padding: 5px;
  box-shadow: 0 0 26px #e4e9ff33;
}
.metric-ring:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #17171c;
}
.metric-ring b {
  position: relative;
  z-index: 1;
  font-size: 30px;
  letter-spacing: -0.07em;
}
.metric-ring.warning {
  background: conic-gradient(#e5d7b4 0 48%, #ffffff1d 48% 100%);
}
.metric-ring.cool {
  background: conic-gradient(#c8ddec 0 88%, #ffffff1d 88% 100%);
}
.radial-stats span {
  position: relative;
  z-index: 1;
  font: 10px "DM Mono";
  color: #b6b5bb;
  letter-spacing: 0.08em;
}
.hits-panel {
  height: 410px;
  margin-top: 22px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 0%, rgba(192, 209, 255, 0.13), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 22px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px);
}
.hits-panel header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.hits-panel h2 {
  font-size: 25px;
  letter-spacing: -0.04em;
}
.chart-tag {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #c4c5cc;
  font: 9px "DM Mono";
  letter-spacing: 0.1em;
}
.hits-panel canvas {
  height: 275px !important;
  margin-top: 28px;
}
@media (max-width: 700px) {
  .admin-stats.radial-stats {
    grid-template-columns: 1fr;
  }
  .radial-stats article {
    min-height: 155px;
  }
  .hits-panel {
    height: 350px;
    padding: 22px;
  }
  .hits-panel canvas {
    height: 220px !important;
  }
  .chart-tag {
    display: none;
  }
}

/* Admin workspace: fixed glass rail plus one focused operational view. */
.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.admin-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 15px;
  background: #101014;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 48px;
  font: 10px/1.3 "DM Mono";
  letter-spacing: 0.12em;
}
.rail-brand img {
  width: 34px;
  height: 34px;
}
.admin-rail nav {
  display: grid;
  gap: 6px;
}
.admin-rail nav button,
.rail-back {
  text-align: left;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #a8a7ac;
  font: 12px Manrope;
  cursor: pointer;
}
.admin-rail nav button.active {
  color: #111;
  background: #f2f1ee;
}
.admin-rail nav b {
  float: right;
  border-radius: 12px;
  padding: 1px 6px;
  background: #ffffff22;
  font: 10px "DM Mono";
}
.rail-back {
  margin-top: auto;
}
.admin-workspace {
  min-width: 0;
}
.admin-workspace .admin-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0a0a0ce8;
  backdrop-filter: blur(18px);
}
.admin-view {
  max-width: 1100px;
  padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 75px);
  margin: auto;
}
.admin-view h1 {
  font-size: clamp(48px, 7vw, 82px);
  letter-spacing: -0.08em;
  font-weight: 500;
  margin: 0 0 45px;
}
.hits-panel {
  height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff10, #ffffff03);
}
.hits-panel h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}
.hits-panel canvas {
  width: 100% !important;
  height: 240px !important;
  margin-top: 20px;
}
@media (max-width: 700px) {
  .admin-shell {
    display: block;
  }
  .admin-rail {
    position: sticky;
    z-index: 3;
    top: 0;
    height: auto;
    padding: 10px 15px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .rail-brand {
    margin: 0;
  }
  .rail-brand span,
  .rail-back {
    display: none;
  }
  .admin-rail nav {
    display: flex;
    overflow-x: auto;
  }
  .admin-rail nav button {
    white-space: nowrap;
    padding: 9px;
  }
  .admin-view {
    padding: 45px 24px;
  }
  .hits-panel {
    height: 300px;
  }
  .hits-panel canvas {
    height: 190px !important;
  }
}

/* Highest-priority desktop admin density rules. */
.admin-workspace .admin-view {
  max-width: 1180px;
  padding: 30px 46px 42px;
}
.admin-workspace .admin-view > .eyebrow {
  margin-bottom: 8px;
}
.admin-workspace .admin-view h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.065em;
}
.admin-workspace .dashboard-view {
  padding-top: 30px;
}
.admin-workspace .dashboard-view h1 {
  font-size: clamp(38px, 3.8vw, 54px);
  margin-bottom: 18px;
}
.admin-workspace .admin-actions {
  margin-bottom: 16px;
}
.admin-workspace .admin-actions h1 {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .admin-workspace .admin-view {
    padding: 26px 20px 34px;
  }
  .admin-workspace .admin-view h1,
  .admin-workspace .dashboard-view h1 {
    font-size: 36px;
  }
}

/* Final admin authority block. Keep it last so older prototype rules cannot win. */
.admin-shell {
  --admin-rail-width: 244px;
  display: block;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.95), rgba(7, 7, 9, 0.99)), #08080a;
}

.admin-shell .admin-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--admin-rail-width);
  height: 100vh;
  padding: 28px 14px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 18, 23, 0.98), rgba(9, 9, 12, 0.99));
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 18px 0 52px rgba(0, 0, 0, 0.28);
}

.admin-shell .rail-brand {
  margin: 0 10px 36px;
}

.admin-shell .admin-rail nav button,
.admin-shell .rail-back {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #aaaab1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 600 13px Manrope;
}

.admin-shell .admin-rail nav button.active {
  color: #101014;
  background: linear-gradient(135deg, #f5f4f0, #c9d9ea);
  border-color: rgba(255, 255, 255, 0.6);
}

.admin-shell .rail-back {
  position: absolute;
  right: 14px;
  bottom: 22px;
  left: 14px;
  width: auto;
  margin: 0;
}

.admin-shell .admin-workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--admin-rail-width);
}

.admin-shell .admin-workspace .admin-header {
  height: 58px;
  padding: 0 44px;
}

.admin-shell .admin-workspace .admin-view {
  width: min(100%, 1120px);
  max-width: none;
  margin: 0 auto;
  padding: 26px 38px 38px;
}

.admin-shell .admin-workspace .admin-actions {
  align-items: flex-end;
  min-height: 0;
  margin: 0 0 16px;
  padding: 0 0 14px;
}

.admin-shell .admin-workspace .admin-actions h1,
.admin-shell .admin-workspace .admin-view h1,
.admin-shell .admin-workspace .dashboard-view h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-shell .admin-stats.radial-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

.admin-shell .radial-stats article {
  min-height: 108px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  place-items: stretch;
  align-items: center;
  gap: 2px 14px;
  padding: 15px;
  border-radius: 8px;
}

.admin-shell .radial-stats article:before {
  inset: 0 auto 0 0;
  width: 3px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f2f2ef, rgba(242, 242, 239, 0));
  box-shadow: none;
}

.admin-shell .metric-ring {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  padding: 4px;
}

.admin-shell .metric-ring:after {
  inset: 4px;
}

.admin-shell .metric-ring b {
  font-size: 21px;
  letter-spacing: 0;
}

.admin-shell .radial-stats span {
  align-self: end;
  color: #f0f0f2;
  font: 700 13px Manrope;
  letter-spacing: 0;
}

.admin-shell .radial-stats small {
  align-self: start;
  color: #9898a1;
  font: 600 10px "DM Mono";
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-shell .hits-panel {
  height: 276px;
  margin: 0;
  padding: 20px 24px 16px;
  border-radius: 8px;
}

.admin-shell .hits-panel h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.admin-shell .hits-panel canvas {
  height: 180px !important;
  margin-top: 12px;
}

.admin-shell .article-admin-list,
.admin-shell .inquiry-table,
.admin-shell .settings-form {
  margin: 0;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .admin-shell {
    --admin-rail-width: 78px;
  }

  .admin-shell .admin-workspace .admin-view {
    padding-inline: 24px;
  }

  .admin-shell .admin-stats.radial-stats,
  .admin-shell .settings-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-shell {
    --admin-rail-width: 0px;
  }

  .admin-shell .admin-rail {
    position: sticky;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .admin-shell .admin-workspace {
    margin-left: 0;
  }

  .admin-shell .admin-workspace .admin-actions h1,
  .admin-shell .admin-workspace .admin-view h1,
  .admin-shell .admin-workspace .dashboard-view h1 {
    font-size: 32px;
  }
}
