:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #232323;
  --muted: #555555;
  --line: #d8d8d8;
  --primary: #0A5FA5;
  --primary-dark: #232323;
  --primary-hover: #074875;
  --accent: #0A5FA5;
  --danger: #232323;
  --ok: #0A5FA5;
}

@font-face {
  font-display: swap;
  font-family: "Cinzel JackOS";
  font-style: normal;
  font-weight: 900;
  src: url("/assets/fonts/Cinzel-Black.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(10, 95, 165, 0.12), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  animation: jackos-shine 9s ease-in-out infinite;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.72) 48%, rgba(10, 95, 165, 0.10) 52%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, 0) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  transform: translateX(-120%);
  z-index: 0;
}

@keyframes jackos-shine {
  0%,
  42% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 24px;
}

.app-topbar {
  padding-bottom: 12px;
}

.topbar-left,
.home-topbar-left {
  align-items: center;
  display: flex;
  gap: 12px;
}

.share-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.share-link,
.share-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.24);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(10, 95, 165, 0.10);
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
  width: 42px;
}

.share-link:hover,
.share-button:hover,
.share-button.is-copied {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.topbar strong {
  display: block;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 20px;
  letter-spacing: 0;
}

.topbar span {
  color: var(--muted);
  display: block;
  font-size: 14px;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  max-height: 46px;
  max-width: 150px;
}

.app-brand img {
  max-height: 58px;
  max-width: 180px;
}

.icon-link {
  align-items: center;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(10, 95, 165, 0.12);
  color: #ffffff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  width: 44px;
}

.icon-link:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 26px rgba(10, 95, 165, 0.16);
}

.page-title {
  color: var(--primary-dark);
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 34px;
  letter-spacing: 0;
  margin: 0 0 22px;
  text-align: center;
  text-decoration: none;
}

.link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.validate-button {
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.24);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(10, 95, 165, 0.10);
  color: var(--primary);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.validate-button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.choice-panel,
.wizard,
.verify-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(10, 95, 165, 0.08);
  padding: 28px;
}

.intro h1,
.panel h1 {
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 32px;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-decoration: none;
}

.intro p {
  color: var(--muted);
  margin: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.choice {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.choice:hover {
  border-color: var(--primary);
}

.choice-icon {
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  color: var(--primary);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.choice strong {
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}

.choice span:last-child {
  color: var(--muted);
}

.steps {
  background: rgba(10, 95, 165, 0.06);
  border: 1px solid rgba(10, 95, 165, 0.14);
  border-radius: 12px;
  counter-reset: wizard-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
  padding: 10px;
}

.step,
button {
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 44px;
  padding: 10px 14px;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.step {
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.16);
  color: var(--muted);
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 62px;
  padding: 9px 10px;
  position: relative;
}

.step::before {
  align-items: center;
  background: #f5f5f5;
  border: 1px solid rgba(10, 95, 165, 0.18);
  border-radius: 50%;
  color: var(--primary);
  content: counter(wizard-step);
  counter-increment: wizard-step;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.step:hover {
  background: rgba(10, 95, 165, 0.08);
  border-color: rgba(10, 95, 165, 0.30);
  color: var(--primary-hover);
}

.step.is-active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(10, 95, 165, 0.18);
  color: #fff;
}

.step.is-active::before {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
}

button:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.share-button {
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.24);
  box-shadow: 0 10px 24px rgba(10, 95, 165, 0.10);
  color: var(--primary);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  min-height: 42px;
  padding: 0;
}

.share-button:hover,
.share-button.is-copied {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.secondary {
  background: #f5f5f5;
  color: var(--text);
}

.secondary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
}

.panel h2 {
  font-size: 20px;
  margin: 24px 0 12px;
}

.option-group {
  border: 1px solid rgba(10, 95, 165, 0.14);
  border-radius: 10px;
  margin: 0 0 18px;
  padding: 14px;
}

.option-group legend {
  color: var(--primary-dark);
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 15px;
  padding: 0 8px;
}

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

.radio-grid.compact {
  align-items: stretch;
  grid-template-columns: 120px 120px minmax(220px, 1fr);
}

.radio-card {
  cursor: pointer;
  display: block;
}

.radio-card input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.radio-card span {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.16);
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  text-align: center;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.radio-card input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(10, 95, 165, 0.14);
  color: #ffffff;
}

.inline-field {
  align-content: start;
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.16);
  border-radius: 10px;
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-height: 46px;
  padding: 10px 12px;
}

.inline-field input {
  border: 0;
  min-height: auto;
  padding: 0;
}

.date-grid {
  margin-top: 18px;
}

.panel h1 i {
  color: var(--primary);
  font-size: 24px;
  margin-right: 8px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.wide {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.logo-upload {
  align-items: start;
}

.logo-box {
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) auto;
  min-height: 92px;
  padding: 14px;
}

.logo-box input {
  max-width: 320px;
}

.logo-box span {
  color: var(--muted);
  font-weight: 700;
}

.logo-box img {
  border: 1px solid var(--line);
  border-radius: 6px;
  max-height: 62px;
  max-width: 180px;
  padding: 6px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(10, 95, 165, 0.18);
}

.items {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.item-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, 1fr) 110px 140px 44px;
}

.icon-button {
  align-items: center;
  background: #f5f5f5;
  color: var(--danger);
  display: inline-flex;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
}

.actions div {
  display: flex;
  gap: 10px;
}

.review {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.review h2 {
  margin: 16px 0 8px;
}

.review dl,
.status dl {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: 180px 1fr;
}

.review dt,
.status dt {
  color: var(--muted);
  font-weight: 700;
}

.review dd,
.status dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.verify-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.status {
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px;
}

.status.ok {
  background: #f5f5f5;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}

.status.fail {
  background: #f5f5f5;
  border: 1px solid var(--primary-dark);
  color: var(--danger);
}

.hp-field {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.free-home {
  min-height: 100vh;
}

.home-shell {
  align-content: start;
  display: grid;
  min-height: 100vh;
  padding: 22px 0 56px;
}

.home-topbar {
  align-items: center;
  justify-content: space-between;
  display: flex;
  padding-bottom: 34px;
}

.home-panel {
  align-self: start;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 38px;
  justify-items: center;
  margin: 0 auto;
  max-width: 920px;
  padding: 15px 30px;
  width: 100%;
}

.home-counter-line {
  align-items: center;
  color: #232323;
  display: flex;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 4px 0 0;
  text-align: center;
  width: 100%;
}

.home-counter-accent {
  color: var(--primary);
}

.home-counter-intro,
.home-counter-row {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.inline-counter {
  display: inline-flex;
  gap: 6px;
}

.inline-counter-digit {
  align-items: center;
  border: 1px solid rgba(10, 95, 165, 0.34);
  border-radius: 8px;
  color: var(--primary);
  display: inline-flex;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 24px;
  justify-content: center;
  line-height: 1;
  min-width: 34px;
  padding: 7px 9px;
}

.home-brand {
  display: grid;
  justify-items: center;
  padding: 4px 0 8px;
}

.home-brand img {
  display: block;
  max-height: 150px;
  max-width: min(390px, 76vw);
  width: auto;
}

.home-choice-grid {
  gap: 24px;
  margin-top: 0;
  width: 100%;
}

.home-choice {
  align-content: center;
  background: #ffffff;
  border: 1px solid rgba(10, 95, 165, 0.24);
  box-shadow: 0 16px 36px rgba(10, 95, 165, 0.10);
  gap: 20px;
  justify-items: center;
  min-height: 200px;
  padding: 28px;
  text-align: center;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.home-choice:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 46px rgba(10, 95, 165, 0.14);
  transform: translateY(-1px);
}

.home-choice .choice-icon {
  background: var(--primary);
  border-radius: 50%;
  color: #ffffff;
  height: 94px;
  width: 94px;
  transition: background-color 240ms ease, transform 240ms ease;
}

.home-choice:hover .choice-icon {
  background: var(--primary-hover);
}

.home-choice .choice-icon i {
  font-size: 42px;
}

.home-choice strong {
  color: var(--primary-dark);
  font-size: 26px;
  line-height: 1.18;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
  }

  .topbar,
  .actions,
  .actions div {
    align-items: stretch;
    flex-direction: column;
  }

  .app-topbar {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
  }

  .topbar-left,
  .home-topbar-left {
    align-items: stretch;
    flex-direction: column;
  }

  .app-topbar .topbar-left {
    align-items: center;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 8px;
    min-width: 0;
  }

  .share-actions {
    flex-wrap: wrap;
  }

  .app-topbar .share-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .app-topbar .share-link,
  .app-topbar .share-button,
  .app-topbar .icon-link {
    height: 38px;
    min-height: 38px;
    width: 38px;
  }

  .app-topbar .app-brand {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .app-topbar .app-brand img {
    max-height: 44px;
    max-width: min(138px, 34vw);
  }

  .app-topbar > .icon-link {
    flex: 0 0 auto;
  }

  .page-title {
    font-size: 28px;
  }

  .choice-grid,
  .grid.two,
  .steps,
  .verify-form {
    grid-template-columns: 1fr;
  }

  .radio-grid,
  .radio-grid.compact {
    grid-template-columns: 1fr;
  }

  .home-shell {
    padding-top: 14px;
  }

  .home-topbar {
    align-items: center;
    flex-direction: row;
    padding-bottom: 22px;
  }

  .home-panel {
    gap: 24px;
    padding: 24px 14px;
  }

  .home-brand img {
    max-height: 108px;
  }

  .home-choice-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-choice {
    gap: 12px;
    min-height: 142px;
    padding: 16px 10px;
  }

  .home-choice .choice-icon {
    height: 62px;
    width: 62px;
  }

  .home-choice .choice-icon i {
    font-size: 28px;
  }

  .home-choice strong {
    font-size: 18px;
  }

  .home-counter-line {
    align-items: center;
    display: grid;
    column-gap: 10px;
    grid-template-columns: max-content max-content;
    justify-content: center;
    justify-items: start;
    line-height: 1.25;
    row-gap: 8px;
  }

  .home-counter-intro {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .home-counter-row {
    display: contents;
  }

  .home-counter-row .inline-counter {
    justify-self: end;
  }

  .home-counter-row .home-counter-accent {
    justify-self: start;
  }

  .inline-counter-digit {
    font-size: 20px;
    min-width: 30px;
    padding: 6px 8px;
  }

  .choice-panel,
  .wizard,
  .verify-panel {
    padding: 18px;
  }

  .intro h1,
  .panel h1 {
    font-size: 26px;
  }

  .item-row {
    grid-template-columns: 1fr;
  }

  .logo-box {
    grid-template-columns: 1fr;
  }

  .icon-button {
    width: 100%;
  }

  .review dl,
  .status dl {
    grid-template-columns: 1fr;
  }
}

.free-banner {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  width: 100%;
}

.free-banner-label {
  color: rgba(42, 52, 64, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.free-banner-link {
  align-items: center;
  background: #f3f5f7;
  border: 1px solid rgba(8, 74, 128, 0.08);
  border-radius: 8px;
  display: flex;
  height: 180px;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  text-decoration: none;
  width: 100%;
}

.free-banner-link-static {
  cursor: default;
}

.free-banner-media {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.free-banner-media img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.dashboard-panel {
  display: grid;
  gap: 24px;
}

.dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-nav-link {
  align-items: center;
  background: rgba(10, 95, 165, 0.06);
  border: 1px solid rgba(10, 95, 165, 0.12);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 13px;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.dashboard-nav-link.is-active,
.dashboard-nav-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.dashboard-login-shell {
  max-width: 680px;
}

.dashboard-login-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.dashboard-login-title {
  margin-bottom: 0;
}

.dashboard-login-copy {
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.dashboard-login-form {
  display: grid;
  gap: 16px;
}

.dashboard-maintenance-icon {
  align-items: center;
  color: var(--primary);
  display: flex;
  font-size: 48px;
  justify-content: center;
}

.dashboard-top-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.dashboard-user-chip {
  align-items: center;
  background: rgba(10, 95, 165, 0.10);
  border: 1px solid rgba(10, 95, 165, 0.16);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
}

.dashboard-logout-button {
  min-height: 42px;
  padding: 0 14px;
}

.dashboard-alert {
  border-radius: 8px;
  font-weight: 700;
  padding: 12px 14px;
}

.dashboard-alert.success {
  background: rgba(10, 95, 165, 0.10);
  color: var(--primary);
}

.dashboard-alert.danger {
  background: rgba(35, 35, 35, 0.08);
  color: var(--primary-dark);
}

.dashboard-kpis {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-kpi,
.dashboard-card,
.dashboard-slot-item,
.dashboard-check {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 95, 165, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(10, 95, 165, 0.06);
}

.dashboard-kpi {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.dashboard-kpi small,
.dashboard-slot-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-kpi strong {
  color: var(--primary-dark);
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.dashboard-kpi span,
.dashboard-slot-item span,
.dashboard-check p,
.dashboard-card-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

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

.dashboard-grid-wide {
  align-items: start;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.dashboard-card {
  padding: 22px;
}

.dashboard-card-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-card-head h2 {
  font-family: "Cinzel JackOS", Arial, Helvetica, sans-serif;
  font-size: 26px;
  margin: 0 0 6px;
}

.dashboard-checks,
.dashboard-slot-list {
  display: grid;
  gap: 12px;
}

.dashboard-slot-list-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.dashboard-check {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px;
}

.dashboard-check-status,
.dashboard-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.04em;
  min-width: 64px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.dashboard-check-status.is-ok,
.dashboard-badge.is-ok {
  background: var(--primary);
  color: #ffffff;
}

.dashboard-check-status.is-off,
.dashboard-badge.is-off {
  background: rgba(35, 35, 35, 0.12);
  color: var(--primary-dark);
}

.dashboard-check strong,
.dashboard-slot-item strong {
  display: block;
  margin-bottom: 4px;
}

.dashboard-slot-item {
  padding: 16px;
}

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

.dashboard-table-wrap + .dashboard-table-wrap {
  margin-top: 18px;
}

.dashboard-table {
  border-collapse: collapse;
  min-width: 100%;
  width: 100%;
}

.dashboard-table th,
.dashboard-table td {
  border-bottom: 1px solid rgba(10, 95, 165, 0.10);
  font-size: 14px;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.dashboard-table th {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-form .grid {
  margin-bottom: 18px;
}

.dashboard-form-actions,
.dashboard-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-actions form {
  margin: 0;
}

.dashboard-link-button,
.dashboard-action-link {
  align-items: center;
  background: rgba(10, 95, 165, 0.08);
  border: 1px solid rgba(10, 95, 165, 0.16);
  border-radius: 8px;
  color: var(--primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

.dashboard-actions .secondary,
.dashboard-actions .danger {
  min-height: 40px;
  padding: 0 14px;
}

.dashboard-actions .danger {
  background: rgba(35, 35, 35, 0.08);
  color: var(--primary-dark);
}

@media (max-width: 760px) {
  .dashboard-grid,
  .dashboard-grid-wide {
    grid-template-columns: 1fr;
  }

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

  .dashboard-slot-list-inline {
    grid-template-columns: 1fr;
  }

  .free-banner {
    gap: 5px;
  }

  .free-banner-link {
    height: 140px;
    padding: 6px;
  }

  .free-banner-media img {
    max-height: 100%;
  }

  .dashboard-card {
    padding: 18px;
  }

  .dashboard-top-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .dashboard-kpis {
    grid-template-columns: 1fr;
  }
}
