:root {
  color-scheme: dark;
  --bg: #070812;
  --bg-2: #0d1020;
  --panel: rgba(17, 22, 39, 0.78);
  --panel-solid: #121829;
  --panel-bright: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f8fbff;
  --muted: #aab6ca;
  --muted-2: #74829a;
  --accent: #32f1c8;
  --accent-2: #7b8cff;
  --accent-3: #ff7a90;
  --gold: #ffd36a;
  --danger: #ff4358;
  --radius: 8px;
  --radius-lg: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --glow: 0 0 44px rgba(50, 241, 200, 0.22);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% -8%, rgba(50, 241, 200, 0.25), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(123, 140, 255, 0.24), transparent 30rem),
    radial-gradient(circle at 72% 86%, rgba(255, 122, 144, 0.14), transparent 26rem),
    linear-gradient(145deg, var(--bg), var(--bg-2) 48%, #070a13);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(50, 241, 200, 0.08) 36%, transparent 47%),
    linear-gradient(300deg, transparent 0 54%, rgba(255, 211, 106, 0.06) 62%, transparent 74%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
  padding: 28px;
}

.shell {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.install-shell {
  width: min(500px, 100%);
  margin: 0 auto;
  padding: 22px 0 38px;
}

.order-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 10px 0 38px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark,
.app-icon-fallback {
  display: grid;
  place-items: center;
  color: #03110e;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 38%),
    linear-gradient(135deg, var(--accent), #87ffdf 46%, var(--gold));
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(50, 241, 200, 0.22);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.nav a,
.nav button,
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav a:hover,
.nav button:hover {
  color: var(--text);
  border-color: rgba(50, 241, 200, 0.48);
  background: rgba(50, 241, 200, 0.09);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 92% 18%, rgba(50, 241, 200, 0.18), transparent 17rem),
    radial-gradient(circle at 20% 100%, rgba(123, 140, 255, 0.16), transparent 18rem),
    rgba(12, 17, 31, 0.82);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), transparent);
}

.hero h1,
.install-card h1,
.card h1,
.card h2,
.section-title,
.admin-header h1 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.hero p,
.muted {
  color: var(--muted);
}

.hero p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.58;
}

.catalog-hero {
  gap: 18px;
  padding: 30px;
}

.hero-copy {
  display: grid;
  gap: 12px;
}

.hero-kicker {
  width: fit-content;
  border: 1px solid rgba(50, 241, 200, 0.25);
  border-radius: 999px;
  padding: 7px 10px;
  color: #d9fff7;
  background: rgba(50, 241, 200, 0.08);
  font-size: 12px;
  font-weight: 650;
}

.catalog-hero .hero-subtitle {
  max-width: none;
  color: #e1e9f5;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.35;
}

.catalog-hero h1 {
  width: 100%;
  max-width: none;
  font-size: 46px;
  line-height: 1.08;
}

.catalog-hero .hero-summary {
  max-width: 1000px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-paid-note {
  display: grid;
  gap: 5px;
  max-width: 1000px;
  margin-top: 2px;
  border: 1px solid rgba(255, 211, 106, 0.3);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 12px 14px;
  color: #f6e8bd;
  background:
    linear-gradient(90deg, rgba(255, 211, 106, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.hero-paid-note strong {
  color: #fff0bd;
  font-size: 14px;
}

.hero-paid-note span {
  color: rgba(238, 229, 205, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.hero-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-methods > div {
  display: grid;
  gap: 4px;
  padding: 11px 14px;
}

.hero-methods > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-methods b {
  font-size: 15px;
}

.hero-methods span {
  color: var(--muted);
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric,
.card,
.admin-panel,
.auth-card,
.install-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.metric {
  padding: 16px;
}

.metric b {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(170, 182, 202, 0.62);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(50, 241, 200, 0.72);
  box-shadow: 0 0 0 4px rgba(50, 241, 200, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-title {
  margin-top: 24px;
  font-size: 24px;
}

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

.catalog-section {
  margin-top: 32px;
}

.catalog-section .section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.catalog-section-description {
  max-width: 900px;
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.app-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(12, 17, 31, 0.68);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 0 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 241, 200, 0.48);
  background:
    linear-gradient(135deg, rgba(50, 241, 200, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(12, 17, 31, 0.74);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3), var(--glow);
}

.app-card:hover::after {
  opacity: 1;
}

.app-card.is-pinned {
  border-color: rgba(255, 211, 106, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.09), rgba(50, 241, 200, 0.055)),
    rgba(12, 17, 31, 0.72);
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 21px;
  border: 1px solid rgba(255, 211, 106, 0.3);
  border-radius: 999px;
  padding: 0 7px;
  color: #ffe7a4;
  background:
    linear-gradient(135deg, rgba(255, 122, 80, 0.14), rgba(255, 211, 106, 0.1)),
    rgba(8, 10, 18, 0.7);
  box-shadow: 0 10px 22px rgba(255, 122, 80, 0.1);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.flame-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: #ffb45e;
}

.app-card.is-inactive {
  filter: grayscale(0.78);
  opacity: 0.62;
}

.app-card.is-inactive:hover {
  transform: none;
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(12, 17, 31, 0.68);
  box-shadow: none;
}

.app-card.is-inactive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(7, 8, 18, 0.5);
  pointer-events: none;
}

.app-card.is-inactive::after {
  opacity: 0;
}

.inactive-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #c0c7d4;
  font-size: 16px;
  font-weight: 650;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.app-icon,
.app-icon-fallback {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  overflow: hidden;
}

.app-icon {
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.app-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 7px;
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.app-card h3 span:first-child {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.app-card h3 span:first-child.is-truncated {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.app-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.install-card > .app-badges {
  justify-content: center;
  margin: 0 0 14px;
}

.app-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 8px;
  color: #e9f4ff;
  background: rgba(255, 255, 255, 0.065);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.app-badge.appstore-ok {
  border-color: rgba(50, 241, 200, 0.24);
  color: #d8fff7;
  background: rgba(50, 241, 200, 0.09);
}

.app-badge.ipa-account {
  border-color: rgba(123, 140, 255, 0.28);
  color: #eef2ff;
  background: rgba(123, 140, 255, 0.1);
}

.app-badge.region-ru {
  border-color: rgba(50, 241, 200, 0.23);
  color: #ddfff8;
  background: rgba(50, 241, 200, 0.075);
}

.app-badge.region-other {
  border-color: rgba(255, 211, 106, 0.28);
  color: #ffedbd;
  background: rgba(255, 211, 106, 0.09);
}

.app-badge.region-badge {
  flex: 0 0 auto;
  justify-content: center;
  min-width: 33px;
  padding: 4px 6px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.region-badge img {
  display: block;
  width: 21px;
  height: 14px;
  border-radius: 2px;
}

[data-tooltip] {
  cursor: help;
}

[data-tooltip]:hover,
[data-tooltip]:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
}

[data-tooltip]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.badge-tooltip {
  position: fixed;
  z-index: 10000;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #252a32;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  color: #edf1f5;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.app-badge-wide {
  min-height: 26px;
  padding: 0 10px;
  white-space: normal;
  line-height: 1.2;
}

.detail-badges {
  justify-content: center;
  align-items: center;
  margin: 0;
}

.app-status-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-badges .app-badge {
  font-weight: 500;
}

.detail-badges .ipa-account {
  flex-basis: 100%;
  justify-content: center;
  min-height: 0;
  padding: 3px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.app-badge.appstore-bad {
  border-color: rgba(255, 67, 88, 0.34);
  color: #ffd2d8;
  background: rgba(255, 67, 88, 0.11);
}

.app-badge.testflight {
  border-color: rgba(50, 159, 255, 0.3);
  color: #ddecff;
  background: rgba(50, 159, 255, 0.1);
}

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-card {
  position: relative;
  width: min(430px, 100%);
  overflow: hidden;
  padding: 28px;
  box-shadow: var(--shadow);
}

.auth-card::before,
.install-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 0, rgba(50, 241, 200, 0.2), transparent 16rem),
    radial-gradient(circle at 100% 100%, rgba(255, 122, 144, 0.14), transparent 16rem);
}

.auth-card h1 {
  margin: 20px 0 8px;
  font-size: 31px;
}

.auth-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.48;
}

.auth-access-note {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.auth-access-note a {
  color: #bffcf0;
  text-decoration: underline;
  text-decoration-color: rgba(50, 241, 200, 0.36);
  text-underline-offset: 3px;
}

.auth-access-note a:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.field-hint {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.45;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.field select option {
  color: #101828;
  background: #fff;
}

.field textarea {
  min-height: 94px;
  resize: vertical;
}

.switch-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  margin: 0;
  cursor: pointer;
}

.switch-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-field span {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.switch-field span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #c6d0df;
  transition: transform 0.18s ease, background 0.18s ease;
}

.switch-field input:checked + span {
  border-color: rgba(50, 241, 200, 0.45);
  background: linear-gradient(135deg, rgba(50, 241, 200, 0.7), rgba(100, 216, 255, 0.52));
}

.switch-field input:checked + span::after {
  transform: translateX(22px);
  background: #06110f;
}

.switch-field b {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  padding: 0 17px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.12);
}

.btn-primary {
  width: 100%;
  min-height: 58px;
  border: 0;
  color: #06110f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 46%),
    linear-gradient(135deg, #48e6c4, #64d8ff);
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(50, 241, 200, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 48%),
    linear-gradient(135deg, #38d5b5, #55c6ee);
  box-shadow: 0 16px 38px rgba(50, 241, 200, 0.24);
}

.btn-primary:disabled,
.btn-primary:disabled:hover {
  color: #b6becb;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-qr {
  width: 100%;
  border-color: rgba(123, 140, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(123, 140, 255, 0.24), rgba(50, 241, 200, 0.12)),
    rgba(255, 255, 255, 0.08);
  color: #eef2ff;
  font-weight: 650;
}

.btn-help {
  width: 100%;
  margin-top: 14px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  color: #eef2ff;
  font-weight: 750;
}

.btn-danger {
  border-color: rgba(255, 67, 88, 0.36);
  background: rgba(255, 67, 88, 0.14);
  color: #ffc5cb;
}

.btn-small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.alert {
  margin-bottom: 14px;
  border: 1px solid rgba(255, 67, 88, 0.46);
  border-radius: 14px;
  padding: 13px 14px;
  color: #ffdbe0;
  background:
    linear-gradient(135deg, rgba(255, 67, 88, 0.18), rgba(255, 122, 144, 0.07)),
    rgba(255, 67, 88, 0.08);
}

.notice {
  border: 1px solid rgba(255, 211, 106, 0.38);
  border-radius: 16px;
  padding: 14px;
  color: #ffeab5;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.16), rgba(255, 122, 144, 0.08)),
    rgba(255, 211, 106, 0.07);
}

.unavailable-notice {
  margin-top: 12px;
  text-align: left;
}

.unavailable-notice + .btn-primary {
  margin-top: 12px;
}

.safari-notice {
  display: none;
  margin-bottom: 14px;
}

.not-ios-safari .safari-notice {
  display: block;
}

.install-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.help-card > .brand-mark {
  margin: 0 auto 18px;
}

.help-card h1 {
  margin-bottom: 12px;
}

.help-lead {
  max-width: 410px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.help-access-notice {
  margin-bottom: 14px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.btn-contact {
  width: 100%;
  min-height: 50px;
  font-weight: 600;
}

.btn-telegram {
  border-color: rgba(82, 190, 255, 0.34);
  background: rgba(82, 190, 255, 0.11);
}

.btn-vk {
  border-color: rgba(123, 140, 255, 0.34);
  background: rgba(123, 140, 255, 0.11);
}

.install-card .app-icon,
.install-card .app-icon-fallback {
  width: 106px;
  height: 106px;
  margin: 0 auto 16px;
  border-radius: 26px;
}

.install-card h1 {
  font-size: 38px;
  line-height: 1.04;
}

.install-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 10px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: #d9e6f8;
  background: rgba(255, 255, 255, 0.07);
}

.appstore-id {
  margin: 12px 0 0;
  color: var(--muted);
  opacity: 0.7;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.btn-appstore {
  width: fit-content;
  min-height: 30px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.12);
  color: #cdd7e3;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
}

.btn-appstore:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.24);
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.065);
}

.credential-box {
  display: grid;
  gap: 6px;
  margin: 12px 0 14px;
  border: 1px solid rgba(255, 122, 144, 0.28);
  border-radius: 14px;
  padding: 9px;
  text-align: left;
  color: rgba(255, 235, 238, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 122, 144, 0.11), rgba(123, 140, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 24px rgba(255, 67, 88, 0.06);
}

.credential-instruction {
  border-radius: 11px;
  padding: 9px 10px;
  color: rgba(255, 247, 250, 0.84);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  line-height: 1.4;
}

.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 5px 6px 5px 10px;
  background: rgba(255, 255, 255, 0.035);
  overflow-wrap: anywhere;
}

.credential-row > span {
  flex: 0 0 auto;
  color: rgba(255, 235, 238, 0.62);
  font-size: 12px;
  font-weight: 620;
}

.credential-value {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 9px;
  padding: 4px 7px 4px 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  cursor: copy;
  text-align: right;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.credential-value:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.credential-value:active,
.credential-value.is-copied {
  background: rgba(50, 241, 200, 0.18);
}

.credential-value b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 680;
}

.copy-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.16s ease, transform 0.16s ease;
}

.credential-value:hover .copy-icon,
.credential-value.is-copied .copy-icon {
  color: var(--accent);
}

.credential-value.is-copied .copy-icon {
  transform: scale(0.92);
}

.credential-value em {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  z-index: 2;
  border: 1px solid rgba(50, 241, 200, 0.24);
  border-radius: 999px;
  padding: 4px 8px;
  color: #d8fff7;
  background: rgba(7, 10, 19, 0.94);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.credential-value.is-copied em {
  opacity: 1;
  transform: translateY(0);
}

.credential-note {
  border-radius: 10px;
  padding: 7px 9px;
  color: rgba(255, 235, 238, 0.76);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  line-height: 1.35;
}

.twofa-panel {
  display: grid;
  gap: 8px;
}

.btn-2fa {
  width: 100%;
  border-color: rgba(255, 211, 106, 0.32);
  color: #ffefbd;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.13), rgba(50, 241, 200, 0.06)),
    rgba(255, 255, 255, 0.055);
  font-weight: 620;
}

.btn-2fa:hover {
  border-color: rgba(255, 211, 106, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.18), rgba(50, 241, 200, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.twofa-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 8px 10px;
  color: rgba(255, 247, 250, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.twofa-status[hidden] {
  display: none;
}

.twofa-status.is-success {
  border-color: rgba(50, 241, 200, 0.28);
  color: #d8fff7;
  background: rgba(50, 241, 200, 0.08);
}

.twofa-status.is-error {
  border-color: rgba(255, 67, 88, 0.26);
  color: #ffd6dc;
  background: rgba(255, 67, 88, 0.08);
}

.twofa-loader {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #ffdc84;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.twofa-code {
  color: #eafff9;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.install-tip {
  margin: 15px 0;
  border: 1px solid rgba(50, 241, 200, 0.2);
  border-radius: 15px;
  padding: 13px;
  color: #d8fff7;
  background:
    linear-gradient(135deg, rgba(50, 241, 200, 0.13), rgba(123, 140, 255, 0.08)),
    rgba(50, 241, 200, 0.05);
  text-align: left;
  line-height: 1.48;
}

.install-confirm-note {
  font-size: 13px;
  line-height: 1.46;
}

.secondary-block {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.qr-section {
  padding: 0;
  border: 0;
  background:
    linear-gradient(145deg, rgba(123, 140, 255, 0.13), rgba(50, 241, 200, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.qr-box {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 14px 0 18px;
}

.qr-inline {
  width: min(280px, 76vw);
  height: min(280px, 76vw);
  border-radius: 18px;
  border: 12px solid #fff;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.qr-inline svg {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.qr-modal-card {
  width: min(430px, 100%);
}

.qr-modal-card h2 {
  margin-top: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a {
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--text);
  border-color: rgba(50, 241, 200, 0.46);
}

.purchase-form {
  margin-top: 12px;
}

.order-page {
  display: grid;
  gap: 14px;
}

.order-hero,
.order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(123, 140, 255, 0.08), rgba(50, 241, 200, 0.035)),
    rgba(22, 29, 45, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.order-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 28px;
}

.order-hero::after {
  content: "";
  position: absolute;
  top: -58px;
  right: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(123, 140, 255, 0.16);
  pointer-events: none;
}

.order-kicker,
.order-section-label {
  color: #bfc8ff;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.order-hero h1 {
  position: relative;
  z-index: 1;
  margin: 8px 0 7px;
  font-size: 34px;
  line-height: 1.1;
}

.order-hero p,
.order-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.order-card {
  padding: 18px;
}

.order-product-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
}

.order-product-row > div {
  display: grid;
  gap: 4px;
}

.order-product-row > div b {
  font-size: 17px;
}

.order-product-row > div span {
  color: var(--muted);
  font-size: 13px;
}

.order-product-row > strong {
  font-size: 25px;
  white-space: nowrap;
}

.order-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 211, 106, 0.2);
  border-radius: 12px;
  padding: 13px;
  background: rgba(255, 211, 106, 0.06);
}

.order-status-banner > span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd36a;
  box-shadow: 0 0 18px rgba(255, 211, 106, 0.65);
}

.order-status-banner > div {
  display: grid;
  gap: 2px;
}

.order-status-banner small,
.order-access-ready > small {
  color: var(--muted);
  font-size: 12px;
}

.order-status-banner.is-ready,
.order-status-banner.is-paid {
  border-color: rgba(50, 241, 200, 0.22);
  background: rgba(50, 241, 200, 0.06);
}

.order-status-banner.is-ready > span,
.order-status-banner.is-paid > span {
  background: #32f1c8;
  box-shadow: 0 0 18px rgba(50, 241, 200, 0.58);
}

.order-status-banner.is-invalid {
  border-color: rgba(255, 100, 122, 0.28);
  background: rgba(255, 100, 122, 0.07);
}

.order-status-banner.is-invalid > span {
  background: #ff647a;
  box-shadow: 0 0 18px rgba(255, 100, 122, 0.55);
}

.order-payment-panel {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.order-payment-panel h2,
.order-recovery h2,
.order-return h2 {
  margin: 0;
  font-size: 20px;
}

.payment-details {
  border: 1px solid rgba(123, 140, 255, 0.24);
  border-radius: 12px;
  padding: 14px;
  color: #f3f5ff;
  background: rgba(8, 14, 27, 0.48);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.payment-steps > div {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-steps > div > b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #06110f;
  background: #63dfcf;
  font-size: 12px;
}

.payment-steps span {
  display: grid;
  gap: 3px;
}

.payment-steps strong {
  font-size: 12px;
}

.payment-steps small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.order-safety-note {
  font-size: 12px;
}

.order-access-ready {
  text-align: center;
}

.order-recovery h2,
.order-return h2 {
  margin-top: 7px;
}

.order-recovery > p,
.order-return p {
  margin-top: 6px;
}

.recovery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 12px;
  margin-top: 15px;
}

.recovery-grid > div {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.035);
}

.recovery-grid span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.recovery-grid b {
  letter-spacing: 0;
}

.order-return {
  display: grid;
  gap: 13px;
}

.order-return code,
.admin-order-link code {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  color: #dfe4ff;
  background: rgba(7, 12, 24, 0.5);
  overflow-wrap: anywhere;
}

.invalid-access-card > .brand-mark {
  margin: 0 auto 16px;
}

.orders-table {
  min-width: 820px;
}

.order-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.order-admin-summary > div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.order-admin-summary span {
  color: var(--muted);
  font-size: 12px;
}

.order-admin-summary .status-pill {
  width: max-content;
}

.order-admin-stage {
  margin-top: 18px;
}

.admin-order-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
}

.admin-panel {
  padding: 20px;
}

.side-nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.side-nav a {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.side-nav a.is-active,
.side-nav a:hover {
  color: var(--text);
  border-color: rgba(50, 241, 200, 0.28);
  background: linear-gradient(135deg, rgba(50, 241, 200, 0.14), rgba(123, 140, 255, 0.08));
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-header p {
  margin: 7px 0 0;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

tbody tr {
  transition: background 0.16s ease;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.admin-password {
  display: inline-block;
  max-width: 220px;
  overflow-wrap: anywhere;
  color: #eef2ff;
  font-size: 13px;
}

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

.stats-section {
  margin: 18px 0 10px;
}

.stats-section h2 {
  margin-bottom: 0;
}

.sms-code {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: #eafff9;
  background: rgba(50, 241, 200, 0.09);
  letter-spacing: 0.06em;
}

.sms-table {
  table-layout: fixed;
}

.sms-table th,
.sms-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.sms-table th:nth-child(1),
.sms-table td:nth-child(1) {
  width: 170px;
}

.sms-table th:nth-child(2),
.sms-table td:nth-child(2) {
  width: 150px;
}

.sms-table th:nth-child(3),
.sms-table td:nth-child(3) {
  width: 90px;
}

.sms-table th:nth-child(5),
.sms-table td:nth-child(5) {
  width: 170px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(50, 241, 200, 0.2);
  border-radius: 999px;
  padding: 0 10px;
  color: #d8fff7;
  background: rgba(50, 241, 200, 0.08);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.status-pill.warn {
  border-color: rgba(255, 211, 106, 0.28);
  color: #ffecb2;
  background: rgba(255, 211, 106, 0.09);
}

.status-pill.info {
  border-color: rgba(123, 140, 255, 0.3);
  color: #dfe4ff;
  background: rgba(123, 140, 255, 0.1);
}

.status-pill.error {
  border-color: rgba(255, 100, 122, 0.32);
  color: #ffd9df;
  background: rgba(255, 100, 122, 0.1);
}

.cron-endpoint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(123, 140, 255, 0.18);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--muted);
  background: rgba(123, 140, 255, 0.06);
  font-size: 13px;
}

.cron-endpoint code {
  color: #e8ebff;
  overflow-wrap: anywhere;
}

.cron-table {
  min-width: 960px;
  table-layout: fixed;
}

.cron-table th:nth-child(1),
.cron-table td:nth-child(1) {
  width: 165px;
}

.cron-table th:nth-child(2),
.cron-table td:nth-child(2) {
  width: 155px;
}

.cron-table th:nth-child(3),
.cron-table td:nth-child(3),
.cron-table th:nth-child(4),
.cron-table td:nth-child(4) {
  width: 110px;
}

.cron-table th:nth-child(5),
.cron-table td:nth-child(5) {
  width: 135px;
  overflow-wrap: anywhere;
}

.cron-details summary {
  width: max-content;
  color: #dfe4ff;
  cursor: pointer;
  font-size: 13px;
}

.cron-results {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.cron-result-item {
  display: grid;
  gap: 3px;
  border-left: 2px solid rgba(50, 241, 200, 0.3);
  padding-left: 9px;
  font-size: 12px;
}

.cron-result-item span,
.cron-result-item small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cron-error {
  border-left: 2px solid rgba(255, 100, 122, 0.55);
  padding-left: 9px;
  color: #ffd9df;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.status-pill.hot {
  margin-top: 6px;
  border-color: rgba(255, 122, 80, 0.28);
  color: #ffe7a4;
  background: rgba(255, 122, 80, 0.09);
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.table-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.apps-table {
  table-layout: fixed;
}

.apps-table th,
.apps-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.apps-table th:nth-child(1),
.apps-table td:nth-child(1) {
  width: 68px;
}

.apps-table th:nth-child(2),
.apps-table td:nth-child(2) {
  width: 17%;
}

.apps-table th:nth-child(3),
.apps-table td:nth-child(3) {
  width: 29%;
}

.apps-table th:nth-child(4),
.apps-table td:nth-child(4) {
  width: 22%;
}

.apps-table th:nth-child(5),
.apps-table td:nth-child(5) {
  width: 82px;
}

.apps-table th:nth-child(6),
.apps-table td:nth-child(6) {
  width: 112px;
}

.apps-table th:nth-child(7),
.apps-table td:nth-child(7) {
  width: 132px;
}

.admin-app-title b,
.admin-file-cell {
  line-height: 1.35;
}

.admin-panel,
.admin-grid {
  min-width: 0;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.form-section {
  margin-top: 4px;
  border: 1px solid rgba(123, 140, 255, 0.18);
  border-radius: 15px;
  padding: 14px 15px;
  background:
    linear-gradient(135deg, rgba(123, 140, 255, 0.1), rgba(50, 241, 200, 0.055)),
    rgba(255, 255, 255, 0.035);
}

.form-section h2 {
  margin: 0 0 5px;
  font-size: 18px;
}

.form-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.package-grid {
  grid-template-columns: minmax(170px, 1fr) minmax(190px, 1.05fr);
}

.empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(2, 4, 10, 0.74);
  backdrop-filter: blur(12px);
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(400px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0, rgba(50, 241, 200, 0.16), transparent 14rem),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 12px 0 8px;
}

@media (max-width: 1040px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    padding: 14px;
  }

  .topbar,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    padding: 22px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .catalog-hero {
    gap: 12px;
    padding: 18px;
  }

  .catalog-hero h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .catalog-hero .hero-subtitle {
    font-size: 16px;
  }

  .catalog-hero .hero-summary {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-methods > div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
  }

  .hero-methods > div {
    padding: 10px 8px;
    text-align: center;
  }

  .hero-methods span {
    display: none;
  }

  .hero-paid-note {
    gap: 3px;
    padding: 10px 11px;
  }

  .hero-paid-note span {
    font-size: 12px;
    line-height: 1.4;
  }

  .metrics,
  .stats-grid,
  .order-admin-summary,
  .admin-grid,
  .form-grid,
  .pair-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .order-shell {
    padding-top: 0;
  }

  .order-hero {
    padding: 20px;
  }

  .order-hero h1 {
    font-size: 28px;
  }

  .order-card {
    padding: 15px;
  }

  .payment-steps {
    grid-template-columns: 1fr;
  }

  .order-product-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .order-product-row > strong {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 11px;
    text-align: right;
  }

  .admin-order-link {
    grid-template-columns: 1fr;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .install-shell {
    padding-top: 6px;
  }

  .install-card {
    padding: 18px;
  }

  .install-card h1 {
    font-size: 32px;
  }

  .install-card .app-icon,
  .install-card .app-icon-fallback {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .credential-row {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .credential-value {
    justify-content: space-between;
    text-align: left;
  }

  .cron-endpoint {
    align-items: flex-start;
    flex-direction: column;
  }

  th,
  td {
    white-space: nowrap;
  }

  .apps-table {
    min-width: 720px;
  }

  .apps-table th,
  .apps-table td {
    white-space: normal;
  }
}
