:root {
  --blue: #0b2545;
  --gold: #c9943a;
  --background: #f4f7fc;
  --black: #1e1e1e;
  --gray: #485677;
  --muted: #5a7a9a;

  --orange: #f26522;
  --green: #8cc63f;
  --purple: #9b4ea6;

  --white: #ffffff;
  --border: rgba(11, 37, 69, 0.12);
  --shadow: 0 1.8rem 4rem rgba(11, 37, 69, 0.12);

  --title-font: "Julius Sans One", sans-serif;
  --body-font: "Raleway", sans-serif;

  --radius-lg: 2.8rem;
  --radius-md: 1.8rem;
  --radius-sm: 1.2rem;

  --sidebar-width: 28rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(201, 148, 58, 0.12), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(11, 37, 69, 0.12), transparent 40rem),
    var(--background);
  color: var(--black);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
}

.container {
  width: min(118rem, calc(100% - 3.2rem));
  margin: 0 auto;
}

[hidden] {
  display: none !important;
}

.fa-solid,
.fa-regular,
.fa-brands,
svg {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  stroke-width: 2.1;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(4rem);
  opacity: 0.35;
}

.ambient-one {
  top: -10rem;
  left: -8rem;
  background: rgba(201, 148, 58, 0.35);
}

.ambient-two {
  right: -12rem;
  bottom: -14rem;
  background: rgba(11, 37, 69, 0.42);
}

.eyebrow {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.btn,
.icon-button,
.nav-link,
.link-button {
  border: 0;
  background: transparent;
}

.btn {
  min-height: 4.6rem;
  padding: 0 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-size: 1.35rem;
  font-weight: 800;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-0.2rem);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #103866);
  box-shadow: 0 1rem 2.5rem rgba(11, 37, 69, 0.24);
}

.btn-primary svg,
.btn-primary i {
  color: var(--gold);
}

.btn-light {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.74);
  border: 0.1rem solid var(--border);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

.btn-outline {
  color: var(--blue);
  border: 0.1rem solid rgba(11, 37, 69, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.btn.full {
  width: 100%;
}

.icon-button {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.75);
  border: 0.1rem solid var(--border);
}

.link-button {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.login-screen {
  width: min(118rem, calc(100% - 3.2rem));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(32rem, 45rem) 1fr;
  align-items: center;
  gap: 3.2rem;
  padding: 4rem 0;
}

.login-card,
.login-preview,
.panel,
.metric-card,
.hero-panel,
.table-card {
  background: rgba(255, 255, 255, 0.86);
  border: 0.1rem solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(2rem);
}

.login-card {
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.login-brand {
  margin-bottom: 3rem;
}

.login-logo-shell {
  width: 8rem;
  height: 8rem;
  border-radius: 2.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.96), rgba(11, 37, 69, 0.72)),
    var(--blue);
  box-shadow: 0 1.6rem 3rem rgba(11, 37, 69, 0.22);
}

.login-logo-shell img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.login-brand h1 {
  font-family: var(--title-font);
  color: var(--blue);
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 1;
  margin: 1rem 0 1.2rem;
}

.login-copy {
  color: var(--gray);
  font-size: 1.55rem;
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 1.8rem;
}

.field {
  display: grid;
  gap: 0.8rem;
}

.field label {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
}

.input-icon {
  position: relative;
}

.input-icon svg,
.input-icon i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.input-icon input,
.field input,
.field select,
.field textarea,
.toolbar input,
.toolbar select {
  min-height: 4.9rem;
  border: 0.1rem solid var(--border);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--black);
  outline: none;
  padding: 0 1.5rem;
  font-size: 1.42rem;
  transition: border 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input-icon input {
  padding-left: 4.5rem;
}

.field textarea {
  min-height: 11rem;
  padding-top: 1.4rem;
  resize: vertical;
}

.input-icon input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: rgba(201, 148, 58, 0.7);
  box-shadow: 0 0 0 0.4rem rgba(201, 148, 58, 0.12);
}

.form-message {
  min-height: 2rem;
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

.login-preview {
  min-height: 62rem;
  border-radius: 3.2rem;
  overflow: hidden;
  padding: 2.4rem;
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.98), rgba(11, 37, 69, 0.78)),
    var(--blue);
  color: var(--white);
  position: relative;
}

.login-preview:before {
  content: "";
  position: absolute;
  inset: auto -12rem -18rem auto;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: rgba(201, 148, 58, 0.32);
  filter: blur(2rem);
}

.preview-top {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 6rem;
}

.preview-top span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.preview-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  z-index: 1;
}

.preview-hero h2 {
  max-width: 54rem;
  font-size: clamp(3.2rem, 5vw, 6.4rem);
  line-height: 0.98;
  font-family: var(--title-font);
  margin-top: 1rem;
}

.preview-badge {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  color: #ffe9bd;
  background: rgba(255, 255, 255, 0.11);
  border: 0.1rem solid rgba(255, 255, 255, 0.16);
  font-size: 1.3rem;
  font-weight: 800;
}

.preview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 6rem;
}

.preview-stat {
  min-height: 14rem;
  padding: 1.6rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0.1rem solid rgba(255, 255, 255, 0.13);
  display: grid;
  align-content: space-between;
}

.preview-stat svg,
.preview-stat i {
  color: var(--gold);
}

.preview-stat strong {
  display: block;
  margin-top: 2rem;
  font-size: 1.55rem;
}

.preview-stat span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.25rem;
}

.preview-chart {
  position: relative;
  z-index: 1;
  height: 20rem;
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 2.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 0.1rem solid rgba(255, 255, 255, 0.13);
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
}

.preview-chart div {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--gold), rgba(201, 148, 58, 0.25));
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 2.4rem;
  background:
    linear-gradient(180deg, rgba(11, 37, 69, 0.98), rgba(11, 37, 69, 0.92)),
    var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand-logo {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.8rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0.1rem solid rgba(255, 255, 255, 0.12);
}

.brand-logo img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: var(--title-font);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.brand span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.2rem;
  font-weight: 700;
}

.nav {
  display: grid;
  gap: 0.8rem;
}

.nav-link {
  min-height: 4.8rem;
  padding: 0 1.4rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.38rem;
  font-weight: 800;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active svg,
.nav-link.active i {
  color: var(--gold);
}


.workspace {
  padding: 2.4rem;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 8rem;
  margin-bottom: 2.4rem;
  padding: 1.6rem 0;
  background: rgba(244, 247, 252, 0.82);
  backdrop-filter: blur(1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.topbar h2 {
  color: var(--blue);
  font-size: 2.6rem;
  line-height: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  min-height: 4.2rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.74);
  border: 0.1rem solid var(--border);
  font-size: 1.25rem;
  font-weight: 800;
}

.status-pill span {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0.4rem rgba(242, 101, 34, 0.12);
}

.status-pill.online span {
  background: var(--green);
  box-shadow: 0 0 0 0.4rem rgba(140, 198, 63, 0.14);
}

.view {
  display: none;
  animation: rise 0.35s var(--ease);
}

.view.active {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-panel {
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 4vw, 4.2rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}

.hero-panel:after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(201, 148, 58, 0.18);
}

.hero-panel h1,
.section-head h1 {
  color: var(--blue);
  font-family: var(--title-font);
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  line-height: 1.02;
  margin: 0.8rem 0 1rem;
}

.hero-panel p,
.section-head p {
  max-width: 68rem;
  color: var(--gray);
  font-size: 1.55rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin: 1.8rem 0;
}

.metric-card {
  border-radius: 2.4rem;
  padding: 2rem;
}

.metric-icon {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
}

.metric-icon.blue {
  color: var(--blue);
  background: rgba(11, 37, 69, 0.1);
}

.metric-icon.gold {
  color: var(--gold);
  background: rgba(201, 148, 58, 0.14);
}

.metric-icon.green {
  color: #5f941f;
  background: rgba(140, 198, 63, 0.16);
}

.metric-icon.purple {
  color: var(--purple);
  background: rgba(155, 78, 166, 0.13);
}

.metric-card span {
  display: block;
  color: var(--gray);
  font-size: 1.25rem;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  color: var(--blue);
  font-size: 3.8rem;
  line-height: 1;
  margin: 1rem 0;
}

.metric-card small {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 700;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
}

.panel {
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  min-width: 0;
}

.panel-header,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.panel-header h3 {
  color: var(--blue);
  font-size: 2.2rem;
}

.panel-header.compact {
  margin-bottom: 1.6rem;
}

.recent-list {
  display: grid;
  gap: 1rem;
}

.recent-item {
  padding: 1.4rem;
  border-radius: 1.8rem;
  background: rgba(244, 247, 252, 0.72);
  border: 0.1rem solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.recent-item strong {
  color: var(--blue);
  display: block;
  font-size: 1.42rem;
}

.recent-item span,
.recent-item small {
  color: var(--gray);
  display: block;
  font-size: 1.2rem;
}

.source-bars {
  display: grid;
  gap: 1.4rem;
}

.source-row {
  display: grid;
  gap: 0.7rem;
}

.source-row header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 800;
}

.source-track {
  height: 1rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(11, 37, 69, 0.08);
}

.source-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.section-head {
  align-items: flex-end;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 24rem;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.search-box {
  position: relative;
}

.search-box svg,
.search-box i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-box input {
  padding-left: 4.5rem;
}

.table-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.35rem;
}

thead {
  background: rgba(11, 37, 69, 0.06);
}

th {
  color: var(--blue);
  text-align: left;
  padding: 1.6rem;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  padding: 1.6rem;
  border-top: 0.1rem solid var(--border);
  color: var(--gray);
  vertical-align: top;
}

.contact-cell strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.contact-cell span {
  display: block;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(11, 37, 69, 0.07);
  font-size: 1.15rem;
  font-weight: 800;
}

.badge.active {
  color: #567d22;
  background: rgba(140, 198, 63, 0.18);
}

.badge.inactive {
  color: #8b3b21;
  background: rgba(242, 101, 34, 0.14);
}

.champions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 1.6rem;
}

.champion-card,
.gallery-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  background: var(--white);
  border: 0.1rem solid rgba(255, 255, 255, 0.8);
  border-radius: 2.4rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.champion-card {
  min-height: 38rem;
}

.gallery-card {
  min-height: 34rem;
}

.champion-media,
.gallery-media {
  position: relative;
  flex: 0 0 20rem;
  height: 20rem;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(circle at top, rgba(201, 148, 58, 0.22), transparent 20rem),
    linear-gradient(135deg, rgba(11, 37, 69, 0.95), rgba(11, 37, 69, 0.72));
  display: grid;
  place-items: center;
}

.champion-media {
  flex-basis: 22rem;
  height: 22rem;
}

.champion-media img,
.gallery-media img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.champion-media img {
  object-fit: contain;
  object-position: center bottom;
  padding: 1rem 1rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2));
}

.gallery-media img {
  object-fit: cover;
}

.placeholder-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 2rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.placeholder-icon i {
  color: inherit;
}

.position-chip {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  min-width: 3.8rem;
  height: 3.8rem;
  border-radius: 1.2rem;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  font-size: 1.3rem;
}

.champion-body,
.gallery-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--white);
}

.champion-body h3,
.gallery-body h3 {
  color: var(--blue);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.champion-body p,
.gallery-body p {
  color: var(--gray);
  font-size: 1.3rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.card-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.card-actions .btn {
  position: relative;
  z-index: 4;
  min-height: 3.8rem;
  padding: 0 1.3rem;
  font-size: 1.18rem;
  pointer-events: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.empty-state {
  padding: 3rem;
  border-radius: 2.4rem;
  border: 0.1rem dashed rgba(11, 37, 69, 0.2);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
  color: var(--gray);
  font-size: 1.45rem;
}

.empty-state svg,
.empty-state i {
  width: 4rem;
  height: 4rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 2rem;
  background: rgba(7, 18, 32, 0.56);
  backdrop-filter: blur(1.2rem);
  display: grid;
  place-items: center;
}

.modal-card {
  width: min(64rem, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  background: var(--white);
  border-radius: 2.8rem;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.25);
}

.modal-header {
  padding: 2rem;
  border-bottom: 0.1rem solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.modal-header h3 {
  color: var(--blue);
  font-size: 2.2rem;
}

.modal-body {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.modal-footer {
  padding: 2rem;
  border-top: 0.1rem solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: rgba(244, 247, 252, 0.72);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
}

.checkbox-row input {
  width: 1.8rem;
  height: 1.8rem;
}

.toast {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 100;
  max-width: 38rem;
  padding: 1.4rem 1.6rem;
  border-radius: 1.6rem;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
  font-size: 1.35rem;
  font-weight: 800;
}

.toast.error {
  background: #8b2f19;
}

.mobile-only {
  display: none;
}

@media (max-width: 1280px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .champions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .login-screen {
    grid-template-columns: 1fr;
  }

  .login-preview {
    min-height: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    z-index: 70;
    inset: 0 auto 0 0;
    width: min(30rem, 86vw);
    transform: translateX(-110%);
    transition: transform 0.3s var(--ease);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-only {
    display: grid;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  html {
    font-size: 58%;
  }

  .workspace {
    padding: 1.6rem;
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
  }

  .section-head,
  .hero-panel,
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .metrics-grid,
  .toolbar,
  .champions-grid,
  .gallery-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .table-card {
    overflow-x: auto;
  }

  table {
    min-width: 78rem;
  }

  .login-card,
  .login-preview,
  .hero-panel,
  .panel {
    border-radius: 2.2rem;
  }
}