:root {
  --bg: #07120f;
  --bg-2: #0e1d18;
  --ink: #f5faf7;
  --muted: #c4d4ce;
  --soft: #e7eee9;
  --paper: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --green: #22c55e;
  --green-2: #0f8b4f;
  --amber: #f4b942;
  --blue: #57a6ff;
  --charcoal: #18231f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  color: var(--bg);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(7, 18, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: #05120e;
  background: var(--green);
  border-radius: 8px;
  font-size: 0.85rem;
}

.nav a,
.footer a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.05rem;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button.primary {
  background: var(--green);
  color: #04120d;
}

.button.primary:hover,
.header-cta:hover {
  background: #39db74;
}

.button.primary.dark {
  background: #0a1511;
  color: var(--ink);
}

.button.secondary {
  width: 100%;
  background: #0f201b;
  color: var(--ink);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8rem clamp(1rem, 5vw, 5rem) 3rem;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 15, 0.96), rgba(7, 18, 15, 0.72) 42%, rgba(7, 18, 15, 0.1)),
    linear-gradient(0deg, var(--bg), rgba(7, 18, 15, 0.2) 42%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow,
.tag {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 850px;
  margin: 2rem 0 0;
}

.hero-proof div,
.conversion-panel,
.product-card,
.course-card,
.proof-grid figure,
.timeline div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-proof div {
  padding: 1rem;
}

.hero-proof dt {
  font-weight: 900;
}

.hero-proof dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

section:not(.hero) {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.path-band,
.products.courses,
.proof-section {
  background: var(--soft);
  color: var(--charcoal);
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head.wide {
  max-width: 980px;
}

.section-head p {
  color: #547066;
}

.path-grid,
.product-grid,
.proof-grid,
.course-grid {
  display: grid;
  gap: 1rem;
}

.path-grid,
.product-grid,
.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card,
.featured-offer,
.lead {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.path-card {
  min-height: 250px;
  padding: 1.4rem;
  background: var(--paper);
  color: var(--charcoal);
}

.path-card.accent {
  background: #d7fbe4;
}

.path-number {
  color: var(--green-2);
  font-weight: 900;
}

.path-card a {
  font-weight: 900;
  color: #0b663c;
}

.offer-section {
  background: #10201b;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.featured-offer {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #ecfff2, #ffffff);
  color: var(--charcoal);
}

.conversion-panel {
  padding: 1.4rem;
}

.conversion-panel li,
.check-list li {
  margin-bottom: 0.55rem;
}

.check-list {
  padding-left: 1.1rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 950;
}

.products:not(.courses) {
  background: #f8faf8;
  color: var(--charcoal);
}

.product-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 1rem;
  background: var(--paper);
  color: var(--charcoal);
  border-color: rgba(15, 35, 29, 0.12);
}

.product-card p:not(.tag) {
  color: #51635d;
}

.product-cover {
  display: grid;
  min-height: 150px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 7px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
}

.cover-green {
  background: linear-gradient(135deg, #0e4f31, #22c55e);
}

.cover-blue {
  background: linear-gradient(135deg, #153b6b, #57a6ff);
}

.cover-amber {
  background: linear-gradient(135deg, #604312, #f4b942);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: auto 0 1rem;
  color: #52685f;
}

.course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--paper);
  color: var(--charcoal);
  border-color: rgba(15, 35, 29, 0.12);
}

.course-card.strong {
  background: #10201b;
  color: var(--ink);
}

.course-card.strong p,
.course-card.strong li,
.course-card.strong .course-top span {
  color: var(--muted);
}

.course-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.academy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  background: #091511;
}

.academy-copy {
  max-width: 680px;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline div {
  padding: 1.2rem;
}

.timeline span {
  display: block;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin: 0.2rem 0;
  font-size: 1.1rem;
}

.timeline p,
.academy-copy p,
.footer p,
.lead p {
  color: var(--muted);
}

.proof-grid figure {
  min-height: 210px;
  margin: 0;
  padding: 1.3rem;
  background: var(--paper);
  border-color: rgba(15, 35, 29, 0.12);
}

blockquote {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  font-weight: 750;
}

figcaption {
  color: #63766f;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 1.2rem;
  margin: clamp(1rem, 5vw, 5rem);
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background: #10201b;
}

.lead-form {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.lead-form label span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-form input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.faq {
  background: #f8faf8;
  color: var(--charcoal);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 900px;
}

details {
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 8px;
  padding: 1rem;
  background: var(--paper);
}

summary {
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0.7rem 0 0;
  color: #52685f;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: #07120f;
}

.sales-page {
  background: var(--bg);
  color: var(--ink);
}

.sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
  min-height: 86vh;
  padding: 8rem clamp(1rem, 5vw, 5rem) 4rem;
  background:
    linear-gradient(120deg, rgba(7, 18, 15, 0.96), rgba(16, 32, 27, 0.88)),
    url("/assets/images/hero-linux-academy.png") center/cover;
}

.sales-hero.course {
  background:
    linear-gradient(120deg, rgba(7, 18, 15, 0.98), rgba(14, 42, 31, 0.86)),
    url("/assets/images/hero-linux-academy.png") center/cover;
}

.sales-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.sales-box h2 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.sales-box .button {
  width: 100%;
}

.sales-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background: #f8faf8;
  color: var(--charcoal);
}

.sales-content > div {
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--paper);
}

.thank-you {
  display: grid;
  gap: 3rem;
  min-height: 100vh;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  align-content: center;
  background:
    linear-gradient(120deg, rgba(7, 18, 15, 0.97), rgba(7, 18, 15, 0.74)),
    url("/assets/images/hero-linux-academy.png") center/cover;
}

.thank-you section {
  max-width: 820px;
}

select,
textarea,
table input,
.admin-form input,
.admin-form textarea,
.auth-card input,
.auth-card select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(15, 35, 29, 0.16);
  border-radius: 7px;
  padding: 0.75rem;
  background: #fff;
  color: var(--charcoal);
  font: inherit;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.app-body,
.dashboard-body {
  min-height: 100vh;
  background: #edf3ef;
  color: var(--charcoal);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  min-height: 100vh;
}

.auth-intro {
  display: grid;
  align-content: space-between;
  padding: clamp(1.2rem, 5vw, 4rem);
  background:
    linear-gradient(120deg, rgba(7, 18, 15, 0.97), rgba(7, 18, 15, 0.66)),
    url("/assets/images/hero-linux-academy.png") center/cover;
  color: var(--ink);
}

.auth-intro > div {
  max-width: 780px;
}

.auth-card {
  display: grid;
  align-content: center;
  padding: clamp(1.2rem, 4vw, 3rem);
  background: #fff;
}

.auth-card form,
.admin-form {
  display: grid;
  gap: 0.9rem;
}

.auth-card label span,
.admin-form label span {
  display: block;
  margin-bottom: 0.35rem;
  color: #52685f;
  font-size: 0.92rem;
  font-weight: 750;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 1rem;
  padding: 0.9rem;
  background: #09130f;
  color: var(--ink);
}

.app-sidebar nav {
  display: grid;
  gap: 0.35rem;
}

.app-sidebar nav a {
  border-radius: 7px;
  padding: 0.68rem 0.72rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.app-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.app-sidebar .button {
  margin-top: auto;
}

.dashboard-main {
  display: grid;
  gap: 0.9rem;
  padding: clamp(0.8rem, 2vw, 1.35rem);
}

.dashboard-hero,
.dashboard-section,
.metric-grid article,
.learning-card,
.empty-state {
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(7, 18, 15, 0.07);
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.dashboard-hero h1 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

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

.metric-grid article {
  padding: 1rem;
}

.metric-grid span {
  color: #5a6f67;
  font-size: 0.88rem;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  margin: 0.25rem 0;
  font-size: 1.6rem;
}

.metric-grid p,
.learning-card p {
  color: #5a6f67;
}

.dashboard-section {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

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

.learning-card {
  padding: 1rem;
}

.progress-track {
  overflow: hidden;
  height: 0.7rem;
  margin: 1rem 0;
  border-radius: 99px;
  background: #dce8e2;
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--green);
}

.lesson-list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.lesson-list .done {
  color: #16824b;
}

.lesson-list .current {
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid rgba(15, 35, 29, 0.1);
  padding: 0.85rem;
  text-align: left;
}

th {
  color: #5a6f67;
  font-size: 0.82rem;
  text-transform: uppercase;
}

td a {
  color: #0b663c;
  font-weight: 900;
}

table input {
  max-width: 7rem;
}

.empty-state {
  padding: 1.2rem;
}

.dashboard-main h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.dashboard-main h3 {
  font-size: 1.05rem;
}

.compact-auth h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.compact-head {
  margin-bottom: 1rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.compact-form {
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 8px;
  padding: 1rem;
  background: #f8faf8;
}

.small-button {
  min-height: 2.25rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
}

.alert {
  border-radius: 7px;
  padding: 0.8rem 1rem;
  font-weight: 750;
}

.alert.error {
  background: #ffe9e9;
  color: #8f1c1c;
}

.alert.success {
  background: #e4fbe9;
  color: #176b38;
}

.alert.info {
  background: #e8f2ff;
  color: #155a9e;
}

.alert a {
  color: inherit;
  font-weight: 950;
}

.sidebar-user {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.app-sidebar nav a.active {
  background: rgba(34, 197, 94, 0.16);
  color: var(--ink);
}

.admin-console {
  background: #edf3ef;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: #fff;
}

.console-topbar h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.05;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hosting-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hosting-metrics article,
.control-card {
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 18, 15, 0.05);
}

.hosting-metrics article {
  padding: 0.85rem;
}

.hosting-metrics span {
  color: #60746c;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hosting-metrics strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.55rem;
}

.hosting-metrics p {
  margin: 0.12rem 0 0;
  color: #60746c;
  font-size: 0.88rem;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.control-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
}

.control-card strong,
.control-card span {
  display: block;
}

.control-card span {
  color: #60746c;
  font-size: 0.86rem;
}

.control-card a {
  color: #0b663c;
  font-weight: 900;
  text-decoration: none;
}

.control-icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 7px;
  background: #dcfce7;
  color: #0b663c;
  font-weight: 950;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.34fr);
  gap: 0.85rem;
  align-items: start;
}

.console-main,
.console-side {
  display: grid;
  gap: 0.85rem;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.panel-title h2 {
  margin: 0;
}

.panel-title > span {
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: #edf3ef;
  color: #60746c;
  font-size: 0.82rem;
  font-weight: 900;
}

.dense-table table {
  min-width: 760px;
}

.dense-table th,
.dense-table td {
  padding: 0.58rem 0.65rem;
  vertical-align: top;
}

.dense-table input,
.dense-table select {
  min-height: 2.25rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.9rem;
}

.dense-table small {
  display: block;
  margin-top: 0.2rem;
  color: #60746c;
}

.row-form {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  background: #edf3ef;
  color: #24443a;
  font-size: 0.78rem;
  font-weight: 900;
}

.split-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.split-panels.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.8rem;
}

.compact-form.plain {
  border: 0;
  padding: 0;
  background: transparent;
}

.system-list,
.activity-list {
  display: grid;
  gap: 0.55rem;
}

.system-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-list li,
.activity-list article {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(15, 35, 29, 0.1);
  padding-bottom: 0.5rem;
}

.system-list span,
.activity-list span {
  color: #60746c;
  font-size: 0.88rem;
}

.activity-list article {
  display: grid;
}

.admin-subgrid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.admin-subgrid h3,
.dense-table h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 0.88rem;
}

.lesson-actions {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.lesson-actions form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  border-top: 1px solid rgba(15, 35, 29, 0.08);
  padding-top: 0.35rem;
}

.lesson-actions span {
  color: #52685f;
  font-size: 0.82rem;
}

.lesson-actions span.done,
.lesson-actions strong {
  color: #16824b;
  font-size: 0.78rem;
}

.lesson-actions a {
  color: #24443a;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.lesson-actions a.done {
  color: #16824b;
}

.lesson-page h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.lesson-player {
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(15, 35, 29, 0.12);
  border-radius: 4px;
  background: #0b1411;
}

.lesson-player iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.lesson-content {
  margin-top: 0.9rem;
  border: 1px solid rgba(15, 35, 29, 0.1);
  border-radius: 4px;
  padding: 0.9rem;
  background: #f8faf8;
  color: #24443a;
}

.lesson-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-top: 6rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 18, 15, 0.96), rgba(7, 18, 15, 0.72)),
      linear-gradient(0deg, var(--bg), rgba(7, 18, 15, 0.16));
  }

  .hero-proof,
  .path-grid,
  .product-grid,
  .proof-grid,
  .course-grid,
  .offer-layout,
  .academy,
  .lead,
  .sales-hero,
  .sales-content,
  .auth-layout,
  .learning-grid,
  .metric-grid,
  .admin-grid,
  .hosting-metrics,
  .control-grid,
  .console-layout,
  .split-panels,
  .split-panels.two {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

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

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .site-header {
    padding-inline: 1rem;
  }

  .header-cta {
    min-height: 2.4rem;
    padding: 0.65rem 0.8rem;
  }

  .lead {
    margin-inline: 1rem;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .hero-actions .button,
  .price-row .button {
    width: 100%;
  }

  .hero-proof {
    gap: 0.55rem;
  }

  .product-card,
  .course-card,
  .path-card {
    min-height: auto;
  }
}

/* Staradmin-inspired admin dashboard */
.admin-surface.dashboard-body {
  grid-template-columns: 246px minmax(0, 1fr);
  background: #f4f5f7;
}

.admin-surface .app-sidebar {
  padding: 1.35rem 1.15rem;
  background: linear-gradient(180deg, #244cf5 0%, #2447ef 52%, #2342df 100%);
}

.admin-surface .brand {
  gap: 0.8rem;
  margin-bottom: 1.7rem;
  font-size: 1.55rem;
}

.admin-surface .brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  background: #6b72ff;
  color: #fff;
  border-radius: 999px;
  font-size: 1.1rem;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0.8rem;
}

.sidebar-profile strong,
.sidebar-profile span {
  display: block;
}

.sidebar-profile span {
  color: rgba(255, 255, 255, 0.76);
}

.profile-avatar,
.mini-avatar {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #6b72ff;
  color: #fff;
  font-weight: 950;
}

.profile-avatar {
  width: 2.55rem;
  height: 2.55rem;
}

.mini-avatar {
  width: 2.15rem;
  height: 2.15rem;
}

.admin-surface .app-sidebar nav {
  gap: 0.25rem;
}

.admin-surface .app-sidebar nav p {
  margin: 1.6rem 0 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 850;
}

.admin-surface .app-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  border-radius: 0;
  padding: 0.72rem 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  background: transparent;
}

.admin-surface .app-sidebar nav a::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.admin-surface .app-sidebar nav a span {
  margin-right: auto;
}

.admin-surface .app-sidebar nav a b {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.25rem;
}

.star-console {
  gap: 0;
  padding: 0;
  background: #f4f5f7;
}

.star-console > *:not(.star-topbar) {
  margin-inline: clamp(1rem, 2.6vw, 2rem);
}

.star-topbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 0.48fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 0 2rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 29, 0.08);
}

.topbar-left,
.topbar-right,
.star-heading,
.star-heading > div,
.star-heading nav,
.filter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-button,
.filter-row button,
.filter-row select,
.export-button {
  border: 0;
  border-radius: 4px;
  background: #e8eef5;
  color: #2d3339;
  font: inherit;
}

.menu-button {
  background: transparent;
  font-size: 1.4rem;
  font-weight: 900;
}

.language-pill {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: #eef3ff;
  color: #244cf5;
  font-weight: 950;
}

.topbar-search input {
  width: min(520px, 100%);
  min-height: 2.75rem;
  border: 1px solid #d8e0e8;
  border-radius: 3px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.notify-dot {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.notify-dot.green {
  background: #4ade80;
}

.topbar-right a {
  color: #1f2933;
  font-weight: 850;
  text-decoration: none;
}

.star-heading {
  justify-content: space-between;
  padding-block: 2rem 1.4rem;
  border-bottom: 1px solid #d8e0e8;
}

.star-heading h1 {
  margin: 0;
  font-size: 1.72rem;
  font-weight: 650;
}

.star-heading a {
  color: #2d3339;
  text-decoration: none;
}

.star-heading nav a + a::before {
  content: "|";
  margin-right: 1rem;
  color: #2d3339;
}

.filter-row {
  padding-block: 1.25rem;
}

.filter-row button,
.filter-row select {
  min-height: 2.9rem;
  padding: 0.65rem 1.1rem;
}

.filter-row span {
  min-width: 260px;
  border-radius: 4px;
  padding: 0.75rem 1.2rem;
  background: #e0e7ef;
  text-align: center;
}

.filter-row a {
  color: #258df9;
  font-weight: 750;
  text-decoration: none;
}

.filter-row .new-button {
  background: #2e9af2;
  color: #fff;
}

.filter-row .export-button {
  margin-left: auto;
  background: #e0e7ef;
}

.star-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dce3ea;
  background: #fff;
}

.star-metrics article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 0.8rem;
  min-height: 118px;
  padding: 1.4rem 1.65rem;
}

.star-metrics strong {
  display: block;
  color: #20252a;
  font-size: 2rem;
  line-height: 1;
}

.star-metrics span {
  display: block;
  color: #2e9af2;
  font-size: 1.1rem;
  font-weight: 900;
}

.star-metrics p {
  margin: 0.2rem 0 0;
  color: #77818c;
}

.star-metrics svg {
  width: 100%;
  height: 44px;
}

.star-metrics polyline {
  fill: none;
  stroke: #7182ff;
  stroke-width: 4;
}

.chart-card {
  border: 1px solid #dce3ea;
  background: #fff;
  padding: 1.8rem 1.6rem;
}

.chart-head,
.chart-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.chart-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.chart-head p {
  color: #2d3339;
}

.chart-head nav {
  display: flex;
  gap: 2rem;
  color: #2d3339;
  font-weight: 850;
}

.chart-head nav a:first-child {
  color: #2e9af2;
}

.chart-summary {
  justify-content: flex-start;
  margin: 1.2rem 0;
}

.chart-summary span {
  display: block;
  color: #2d3339;
  font-size: 1.1rem;
}

.chart-summary strong {
  color: #20252a;
  font-size: 1.55rem;
}

.line-chart {
  height: 260px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.grid-line {
  fill: none;
  stroke: #e6ebef;
  stroke-width: 1;
}

.area.purple {
  fill: url(#areaPurple);
}

.area.green {
  fill: url(#areaGreen);
}

.line {
  fill: none;
  stroke-width: 3;
}

.purple-line {
  stroke: #8b5cf6;
}

.green-line {
  stroke: #54d99a;
}

@media (max-width: 980px) {
  .star-topbar,
  .star-metrics,
  .admin-surface.dashboard-body {
    grid-template-columns: 1fr;
  }

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

  .filter-row,
  .star-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-row .export-button {
    margin-left: 0;
  }
}

/* Compact cPanel-style overrides */
.admin-surface.dashboard-body {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  font-size: 14px;
}

.admin-surface .app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 0.8rem 0.9rem;
}

.admin-surface .brand {
  margin-bottom: 0.9rem;
  font-size: 1.18rem;
}

.admin-surface .brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.82rem;
}

.sidebar-profile {
  gap: 0.55rem;
  padding: 0.55rem;
}

.profile-avatar {
  width: 2rem;
  height: 2rem;
}

.sidebar-profile strong {
  font-size: 0.9rem;
}

.sidebar-profile span {
  font-size: 0.78rem;
}

.admin-surface .app-sidebar nav p {
  margin: 0.95rem 0 0.35rem;
  padding-bottom: 0.45rem;
  font-size: 0.82rem;
}

.admin-surface .app-sidebar nav a {
  padding: 0.46rem 0;
  font-size: 0.86rem;
}

.admin-surface .app-sidebar nav a b {
  font-size: 1rem;
}

.admin-surface .sidebar-user {
  font-size: 0.78rem;
}

.star-topbar {
  grid-template-columns: auto minmax(220px, 420px) auto;
  min-height: 3.8rem;
  padding: 0 1rem;
}

.topbar-left {
  gap: 0.65rem;
}

.topbar-left strong {
  font-size: 0.92rem;
}

.menu-button {
  font-size: 1.05rem;
}

.language-pill,
.mini-avatar {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.78rem;
}

.topbar-search input {
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.86rem;
}

.topbar-right {
  gap: 0.55rem;
}

.notify-dot {
  width: 1.05rem;
  height: 1.05rem;
  font-size: 0.65rem;
}

.star-console > *:not(.star-topbar) {
  margin-inline: 1rem;
}

.star-heading {
  padding-block: 0.85rem 0.7rem;
}

.star-heading h1 {
  font-size: 1.25rem;
}

.star-heading a {
  font-size: 0.88rem;
}

.cpanel-tools {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  padding-block: 0.8rem;
}

.cpanel-tools a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.42rem 0.6rem;
  min-height: 4.4rem;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  padding: 0.62rem;
  background: #fff;
  color: #1f2933;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 35, 29, 0.04);
}

.cpanel-tools span {
  grid-row: span 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 5px;
  background: #eef3ff;
  color: #244cf5;
  font-weight: 950;
}

.cpanel-tools strong {
  font-size: 0.92rem;
}

.cpanel-tools small {
  color: #6b7280;
  font-size: 0.75rem;
}

.compact-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0.75rem;
}

.compact-metrics article {
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) 72px;
  padding: 0.75rem 0.9rem;
}

.compact-metrics strong {
  font-size: 1.35rem;
}

.compact-metrics span {
  font-size: 0.88rem;
}

.compact-metrics p {
  font-size: 0.76rem;
}

.compact-metrics svg {
  height: 30px;
}

.console-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0.65rem;
}

.console-main,
.console-side {
  gap: 0.65rem;
}

.dashboard-section {
  padding: 0.8rem;
  border-radius: 4px;
}

.panel-title {
  margin-bottom: 0.55rem;
}

.panel-title h2,
.dashboard-main h2 {
  font-size: 1rem;
}

.dashboard-main h3 {
  font-size: 0.92rem;
}

.eyebrow,
.tag {
  font-size: 0.68rem;
}

.split-panels,
.split-panels.two {
  gap: 0.55rem;
}

.compact-form {
  padding: 0.68rem;
  border-radius: 4px;
}

.auth-card label span,
.admin-form label span {
  margin-bottom: 0.22rem;
  font-size: 0.78rem;
}

select,
textarea,
table input,
.admin-form input,
.admin-form textarea,
.auth-card input,
.auth-card select {
  min-height: 2rem;
  padding: 0.42rem 0.52rem;
  border-radius: 4px;
  font-size: 0.84rem;
}

textarea {
  min-height: 4.8rem;
}

.small-button,
.button {
  min-height: 2rem;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

.dense-table table {
  min-width: 680px;
}

.dense-table th,
.dense-table td {
  padding: 0.42rem 0.5rem;
  font-size: 0.82rem;
}

.status-pill {
  padding: 0.16rem 0.4rem;
  font-size: 0.7rem;
}

.system-list li,
.activity-list article {
  padding-bottom: 0.35rem;
}

@media (max-width: 1100px) {
  .cpanel-tools,
  .compact-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-surface.dashboard-body,
  .star-topbar,
  .cpanel-tools,
  .compact-metrics {
    grid-template-columns: 1fr;
  }

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

/* Admin density pass: closer to a hosting control panel */
.admin-surface.dashboard-body {
  grid-template-columns: 198px minmax(0, 1fr);
  background: #eef2f6;
  color: #1f2933;
  font-size: 12.5px;
  line-height: 1.32;
}

.admin-surface .app-sidebar {
  padding: 0.65rem 0.7rem;
  gap: 0.72rem;
}

.admin-surface .sidebar-brand {
  gap: 0.5rem;
  padding: 0.35rem 0.2rem;
}

.admin-surface .sidebar-brand strong {
  font-size: 1rem;
}

.admin-surface .brand-mark {
  width: 2rem;
  height: 2rem;
}

.admin-surface .sidebar-profile {
  min-height: 3.05rem;
  padding: 0.45rem;
  gap: 0.5rem;
}

.admin-surface .sidebar-avatar,
.admin-surface .mini-avatar {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.78rem;
}

.admin-surface .sidebar-profile strong,
.admin-surface .sidebar-nav a {
  font-size: 0.78rem;
}

.admin-surface .sidebar-profile span,
.admin-surface .sidebar-kicker {
  font-size: 0.7rem;
}

.admin-surface .sidebar-nav {
  gap: 0.12rem;
}

.admin-surface .sidebar-nav a {
  min-height: 2.08rem;
  padding: 0.42rem 0.48rem;
  border-radius: 4px;
}

.admin-surface .dashboard-main {
  min-width: 0;
  padding-bottom: 1rem;
}

.admin-surface .star-topbar {
  min-height: 2.9rem;
  grid-template-columns: auto minmax(250px, 0.55fr) auto;
  gap: 0.7rem;
  padding: 0.42rem 0.8rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

.admin-surface .topbar-left {
  gap: 0.55rem;
}

.admin-surface .topbar-left strong,
.admin-surface .topbar-right a {
  font-size: 0.78rem;
}

.admin-surface .menu-button {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.admin-surface .language-pill {
  padding: 0.22rem 0.45rem;
  font-size: 0.68rem;
}

.admin-surface .topbar-search input {
  min-height: 1.92rem;
  padding: 0.34rem 0.55rem;
  font-size: 0.76rem;
}

.admin-surface .notify-dot {
  width: 1rem;
  height: 1rem;
  font-size: 0.58rem;
}

.admin-surface .star-console > *:not(.star-topbar) {
  margin-inline: 0.75rem;
}

.admin-surface .star-heading {
  align-items: center;
  min-height: 3.2rem;
  padding-block: 0.52rem;
}

.admin-surface .star-heading h1 {
  font-size: 1.02rem;
  margin: 0 0 0.1rem;
}

.admin-surface .star-heading nav {
  gap: 0.48rem;
}

.admin-surface .star-heading a {
  font-size: 0.74rem;
}

.admin-surface .alert {
  margin-top: 0.45rem;
  padding: 0.48rem 0.62rem;
  border-radius: 4px;
  font-size: 0.76rem;
}

.admin-surface .cpanel-tools {
  grid-template-columns: repeat(auto-fit, minmax(106px, 1fr));
  gap: 0.42rem;
  padding-block: 0.45rem;
}

.admin-surface .cpanel-tools a {
  grid-template-columns: 1.45rem minmax(0, 1fr);
  min-height: 3.15rem;
  gap: 0.12rem 0.42rem;
  padding: 0.44rem;
  box-shadow: none;
}

.admin-surface .cpanel-tools span {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 4px;
  font-size: 0.84rem;
}

.admin-surface .cpanel-tools strong {
  font-size: 0.76rem;
  line-height: 1.1;
}

.admin-surface .cpanel-tools small {
  font-size: 0.64rem;
  line-height: 1.05;
}

.admin-surface .compact-metrics {
  gap: 0.42rem;
  margin-bottom: 0.52rem;
}

.admin-surface .compact-metrics article {
  min-height: 3.65rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.52rem 0.62rem;
  box-shadow: none;
}

.admin-surface .compact-metrics strong {
  font-size: 1.05rem;
  line-height: 1.05;
}

.admin-surface .compact-metrics span {
  font-size: 0.72rem;
}

.admin-surface .compact-metrics p,
.admin-surface .compact-metrics svg {
  display: none;
}

.admin-surface .console-layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 0.52rem;
}

.admin-surface .console-main,
.admin-surface .console-side,
.admin-surface .admin-subgrid {
  gap: 0.52rem;
}

.admin-surface .dashboard-section {
  padding: 0.58rem;
  border: 1px solid #dbe3ea;
  border-radius: 3px;
  box-shadow: none;
}

.admin-surface .panel-title {
  align-items: center;
  margin-bottom: 0.4rem;
}

.admin-surface .panel-title h2,
.admin-surface .dashboard-main h2 {
  font-size: 0.86rem;
  line-height: 1.15;
}

.admin-surface .dashboard-main h3 {
  font-size: 0.78rem;
  margin-bottom: 0.34rem;
}

.admin-surface .panel-title span,
.admin-surface .eyebrow,
.admin-surface .tag,
.admin-surface small {
  font-size: 0.66rem;
}

.admin-surface .split-panels {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 0.42rem;
}

.admin-surface .split-panels.two {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.admin-surface .compact-form {
  padding: 0.5rem;
  border-radius: 3px;
  gap: 0.38rem;
}

.admin-surface .auth-card label span,
.admin-surface .admin-form label span {
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
}

.admin-surface select,
.admin-surface textarea,
.admin-surface table input,
.admin-surface .admin-form input,
.admin-surface .admin-form textarea,
.admin-surface .auth-card input,
.admin-surface .auth-card select {
  min-height: 1.72rem;
  padding: 0.28rem 0.4rem;
  border-radius: 3px;
  font-size: 0.72rem;
  line-height: 1.2;
}

.admin-surface textarea {
  min-height: 3.6rem;
}

.admin-surface .button,
.admin-surface .small-button {
  min-height: 1.72rem;
  padding: 0.3rem 0.48rem;
  border-radius: 3px;
  font-size: 0.7rem;
  line-height: 1.1;
}

.admin-surface .dense-table {
  border-radius: 3px;
}

.admin-surface .dense-table table {
  min-width: 620px;
}

.admin-surface .dense-table th,
.admin-surface .dense-table td {
  padding: 0.3rem 0.38rem;
  font-size: 0.7rem;
  line-height: 1.18;
  vertical-align: middle;
}

.admin-surface .dense-table th {
  font-size: 0.64rem;
}

.admin-surface .status-pill {
  padding: 0.12rem 0.32rem;
  border-radius: 999px;
  font-size: 0.62rem;
}

.admin-surface .system-list,
.admin-surface .activity-list {
  gap: 0.34rem;
}

.admin-surface .system-list li,
.admin-surface .activity-list article {
  padding-bottom: 0.3rem;
  font-size: 0.7rem;
}

.admin-surface .activity-list article strong,
.admin-surface .activity-list article span,
.admin-surface .system-list strong,
.admin-surface .system-list span {
  font-size: 0.7rem;
}

.admin-surface .inline-option-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto 3.6rem auto;
  gap: 0.25rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.admin-surface .inline-option-form label,
.admin-surface .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
}

.admin-surface input[type="file"] {
  padding-block: 0.2rem;
}

.lesson-resources,
.lesson-exam {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.lesson-resources h2,
.lesson-exam h2 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.resource-list {
  display: grid;
  gap: 0.55rem;
}

.resource-list a {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.resource-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.exam-form fieldset {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  background: #fff;
}

.exam-form legend {
  padding: 0 0.25rem;
  color: var(--ink);
  font-weight: 800;
}

.exam-form label {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .admin-surface .console-layout {
    grid-template-columns: 1fr;
  }

  .admin-surface .console-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }
}

@media (max-width: 860px) {
  .admin-surface.dashboard-body {
    grid-template-columns: 1fr;
  }

  .admin-surface .star-topbar,
  .admin-surface .split-panels,
  .admin-surface .split-panels.two,
  .admin-surface .console-side {
    grid-template-columns: 1fr;
  }

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