@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --shell-width: 1040px;
  --bg-1: #e8f8f4;
  --bg-2: #dff3ee;
  --bg-3: #f3fcf9;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --line: #c8e4de;
  --line-soft: #e1f0ec;
  --text: #143b36;
  --muted: #587a74;
  --primary: #0f766e;
  --primary-hover: #0c625b;
  --primary-soft: #e8f8f4;
  --ghost-bg: #f5fffc;
  --ghost-border: #9ecfc4;
  --danger: #b42318;
  --ok: #157f3f;
  --shadow: 0 10px 26px rgba(18, 69, 61, 0.1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(12, 98, 91, 0.06) 0%, transparent 38%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 52%, var(--bg-3));
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.page-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px 14px;
}

.glass-card {
  width: min(var(--shell-width), 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.support-contact {
  width: min(var(--shell-width), 100%);
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(18, 69, 61, 0.08);
  color: #24544d;
  font-size: 0.88rem;
}

.support-contact-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1b4f48;
}

.support-contact p {
  margin: 0;
}

.support-contact p + p {
  margin-top: 4px;
}

.support-contact a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.support-contact a:hover {
  text-decoration: underline;
}

.topbar {
  display: block;
}

.brand-head {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-head > div {
  min-width: 0;
}

.brand-home-link {
  color: inherit;
  text-decoration: none;
}

.brand-home-link:focus-visible {
  outline: 2px solid rgba(30, 142, 130, 0.45);
  outline-offset: 4px;
  border-radius: 10px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 1px solid rgba(20, 59, 54, 0.12);
  border-radius: 8px;
  background: #20282c;
  box-shadow: 0 8px 16px rgba(18, 69, 61, 0.12);
  object-fit: cover;
}

.brand-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #1e8e82;
}

h1 {
  margin: 1px 0 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.subtitle {
  margin: -1px 0 18px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.34;
}

.public-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.stat-card {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.stat-symbol {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 59, 54, 0.08);
  border-radius: 8px;
  font-size: 1.42rem;
  line-height: 1;
}

.stat-card:nth-child(1) .stat-symbol {
  background: #eaf3ff;
}

.stat-card:nth-child(2) .stat-symbol {
  background: #edf8e8;
}

.stat-card:nth-child(3) .stat-symbol {
  background: #fff0f0;
}

.stat-label,
.stat-value {
  margin: 0;
}

.stat-label {
  color: #43716b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-value {
  margin-top: 1px;
  color: #123d37;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.08;
}

.info-section {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.info-about {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 247, 0.94));
}

.section-kicker {
  margin: 0 0 6px;
  color: #1e8e82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-section h2 {
  margin: 0;
  max-width: 820px;
  color: #123d37;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.12;
}

.info-section h3 {
  margin: 0;
  color: #123d37;
  font-size: 0.96rem;
  line-height: 1.25;
}

.info-section p {
  color: #3f6761;
}

.info-split,
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.info-split p,
.payment-grid p,
.payment-note {
  margin: 0;
  font-size: 0.93rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.feature-item {
  min-width: 0;
  min-height: 148px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
}

.feature-item p {
  margin: 8px 0 10px;
  font-size: 0.88rem;
  line-height: 1.42;
}

.feature-item span {
  display: block;
  color: #1b6f65;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  position: relative;
  min-height: 92px;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
  color: #3f6761;
  font-size: 0.88rem;
}

.workflow-list li::before {
  counter-increment: workflow;
  content: counter(workflow);
  position: absolute;
  top: 14px;
  left: 14px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dff3ee;
  color: #0c625b;
  font-weight: 800;
}

.workflow-list span {
  display: block;
  margin-bottom: 4px;
  color: #123d37;
  font-weight: 800;
}

.payment-info {
  border-color: #b9ddd5;
}

.payment-grid > div {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
}

.payment-grid h3 {
  margin-bottom: 8px;
}

.payment-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f4fbf9;
  color: #24544d;
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
}

.faq-list summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #123d37;
  font-weight: 800;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list p {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 0.9rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.panel + .panel {
  margin-top: 12px;
}

.cta-panel {
  border-color: #9fd5c9;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.94);
}

.cta-price {
  margin: 0 0 8px;
  color: #11534c;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.08;
}

.cta-steps {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cta-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
}

.cta-step strong,
.cta-step span {
  display: block;
}

.cta-step strong {
  font-size: 0.84rem;
  color: #154740;
}

.cta-step span {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b4f48;
}

input,
textarea,
select,
button,
.input-like {
  width: 100%;
  border: 1px solid #b8ddd4;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  padding: 11px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

input:hover,
textarea:hover,
select:hover,
button:hover {
  border-color: #90cfc0;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

input:disabled,
textarea:disabled,
select:disabled,
button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  background: #f2f8f6;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #4f7d75 50%), linear-gradient(135deg, #4f7d75 50%, transparent 50%);
  background-position: calc(100% - 17px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.select-field {
  position: relative;
}

.select-field select {
  background-image: none;
  padding-right: 46px;
}

.select-field::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #315d57;
  border-bottom: 2px solid #315d57;
  pointer-events: none;
  transform: translateY(-64%) rotate(45deg);
}

.select-field:focus-within::after {
  border-color: var(--primary);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.summary-action-row {
  margin-top: 14px;
}

.premium-summary-panel {
  position: relative;
  border-color: #c8e4de;
  background: #ffffff;
  box-shadow: none;
}

.premium-summary-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.premium-summary-panel .meta-title {
  margin: 0;
  color: #123d37;
  text-shadow: none;
}

.premium-summary-kicker {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #14786f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-summary-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}

.premium-summary-item {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.premium-summary-label,
.premium-summary-value {
  margin: 0;
}

.premium-summary-label {
  margin-bottom: 10px;
  color: #4b756e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.premium-summary-value {
  color: #11534c;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.22rem, 2.3vw, 1.68rem);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: none;
}

.premium-summary-item-balance .premium-summary-value {
  color: #158377;
}

.premium-summary-item-quota .premium-summary-value {
  color: #177ea2;
}

.premium-summary-item-cost .premium-summary-value {
  color: #b88610;
}

.premium-summary-note {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: #5c7f79;
}

.premium-summary-panel .btn-main {
  box-shadow: none;
}

.convert-actions {
  margin-top: 2px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.convert-actions .btn {
  width: auto;
  white-space: nowrap;
}

.meta-action-row {
  margin-top: 4px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  column-gap: 16px;
  row-gap: 8px;
}

.meta-stack {
  flex: 1;
  min-width: 0;
  margin-top: -2px;
}

.meta-stack .meta,
.meta-stack .hint {
  margin-top: 2px;
}

label[for="images"] {
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-icon {
  width: auto;
  min-width: 44px;
  padding: 10px 11px;
}

.btn-icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

input[type="file"] {
  font-size: 0.88rem;
}

.btn-main,
.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-main:hover,
.btn-dark:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  background: var(--ghost-bg);
  border-color: var(--ghost-border);
  color: #19524a;
}

.btn-ghost:hover {
  background: #ecfaf6;
  border-color: #87c6b7;
}

.btn-link {
  width: auto;
  border: 0;
  background: transparent;
  color: #1e7267;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 7px 2px;
}

.btn-link:hover {
  color: var(--primary-hover);
  border: 0;
}

.btn-rental-hero {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid #1f6678;
  border-radius: 12px;
  background: #2b7a90;
  color: #ffffff;
  font-family: "Bricolage Grotesque", "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.008em;
  line-height: 1.05;
  text-align: center;
  box-shadow:
    0 4px 10px rgba(43, 122, 144, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.btn-rental-hero:hover {
  border-color: #1b5969;
  background: #24697d;
  box-shadow:
    0 6px 14px rgba(43, 122, 144, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

#submit-btn {
  border: 0;
}

#submit-btn.btn-auth-login-locked,
#premium-submit-btn.btn-auth-login-locked {
  background: var(--danger);
  color: #fff;
  border-color: transparent;
  opacity: 1;
}

#submit-btn.btn-auth-login-locked:hover,
#premium-submit-btn.btn-auth-login-locked:hover {
  background: #8f1b12;
  border-color: transparent;
}

.checkbox {
  margin: 2px 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.checkbox input {
  width: auto;
  margin-top: 2px;
  accent-color: var(--primary);
}

.meta,
.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

#long-text-hint {
  color: #9a5a00;
  font-weight: 700;
}

#convert-preview-wrap,
#premium-convert-preview-wrap {
  margin-top: 10px;
  background: linear-gradient(145deg, #f4fffb, #ecfbf7);
  border-color: #b9e3d9;
}

.convert-preview-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #a8d9ce;
  background: #e8f8f4;
  display: block;
  margin-top: 8px;
  box-shadow: 0 10px 24px rgba(16, 104, 96, 0.12);
}

#convert-preview-meta,
#premium-convert-preview-meta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bcded6;
  border-radius: 999px;
  background: #f6fffc;
  padding: 6px 12px;
  color: #2e6660;
  font-size: 0.8rem;
  font-weight: 700;
}

.auth-lock-note {
  color: var(--danger);
  font-weight: 700;
}

.meta-title {
  margin: 0 0 10px;
  font-size: 0.94rem;
  font-weight: 700;
}

.status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--ok);
}

.rules-panel p {
  margin: 0;
  font-size: 0.89rem;
  color: #2e5e58;
}

#clone-line,
#premium-clone-line {
  margin: 0 0 10px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #9fd5c9;
  background: #e4f7f2;
  box-shadow: 0 8px 20px rgba(11, 87, 79, 0.12);
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.14;
  text-align: center;
  color: #0f4a42;
}

#clone-line.base-status-active,
#premium-clone-line.base-status-active {
  border-color: #87cdbd;
  background: #dff6ef;
  box-shadow:
    0 8px 20px rgba(8, 99, 86, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#clone-line.base-status-inactive,
#premium-clone-line.base-status-inactive {
  border-color: #e0b4b2;
  background: #ffecec;
  color: #8d1f1f;
  box-shadow:
    0 8px 20px rgba(141, 31, 31, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rules-panel p + p {
  margin-top: 6px;
}

.rules-layout {
  position: relative;
  display: block;
}

.rules-info {
  width: 100%;
  min-width: 0;
}

.rules-action {
  position: absolute;
  right: 0;
  top: 94px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.rules-action .btn {
  white-space: nowrap;
}

.rules-info p:not(#clone-line):not(#premium-clone-line) {
  max-width: calc(100% - 180px);
}

.clone-list {
  display: grid;
  gap: 9px;
}

.clone-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--card-strong);
  position: relative;
}

.clone-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.clone-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.history-menu-wrap {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.history-menu-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ghost-border);
  border-radius: 10px;
  background: var(--ghost-bg);
  color: #19524a;
  cursor: pointer;
  user-select: none;
  font-size: 1.15rem;
  line-height: 1;
}

.history-menu-toggle::-webkit-details-marker {
  display: none;
}

.history-menu-wrap[open] .history-menu-toggle {
  border-color: var(--primary);
  color: var(--primary);
}

.history-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 132px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(18, 69, 61, 0.12);
  padding: 6px;
  z-index: 5;
}

.history-menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.84rem;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.history-menu-item:hover {
  background: var(--primary-soft);
}

.history-menu-item.danger {
  color: var(--danger);
}

.clone-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.clone-card p + p {
  margin-top: 6px;
}

.destination-eta {
  margin-top: 8px;
  display: grid;
  gap: 5px;
}

.destination-eta-title {
  font-weight: 800;
  color: var(--text);
}

.destination-eta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.destination-eta-label {
  min-width: 70px;
  font-weight: 800;
  color: var(--text);
}

.clone-card code {
  border-radius: 7px;
  background: var(--primary-soft);
  padding: 2px 6px;
}

.base-rental-card {
  display: grid;
  gap: 10px;
}

.base-rental-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 12px;
}

.base-rental-summary-grid p {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.base-rental-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.base-rental-account-row p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.base-rental-account-row .btn {
  margin-top: 0;
}

.base-rental-empty-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.clone-card .auth-btn,
.clone-card .btn {
  margin-top: 8px;
}

.checkout-summary {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(232, 248, 244, 0.95), rgba(255, 255, 255, 0.98));
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.checkout-summary-row + .checkout-summary-row {
  margin-top: 6px;
}

.checkout-summary-row strong {
  color: var(--text);
}

.checkout-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.88rem;
}

.checkout-feedback.is-pending {
  border-color: #e3d38f;
  background: #fffced;
  color: #6e5711;
}

.checkout-feedback.is-paid {
  border-color: #9cd4ab;
  background: #f2fff5;
  color: #136f37;
}

.checkout-feedback.is-failed {
  border-color: #f0b7b7;
  background: #fff4f4;
  color: #9c2626;
}

.checkout-embed {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 252, 250, 0.96), rgba(255, 255, 255, 0.98));
}

.checkout-embed-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-embed-head .meta-title {
  margin-bottom: 4px;
}

.checkout-embed-container {
  width: 100%;
  height: 720px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(20, 83, 79, 0.14);
  background: #f6fbfa;
}

.premium-coachmark {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.premium-coachmark-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 24, 0.5);
  backdrop-filter: blur(2px);
}

.premium-coachmark-shell {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  display: grid;
  justify-items: center;
}

.premium-coachmark-orb {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.premium-coachmark-spark {
  position: absolute;
  left: -12px;
  top: 16px;
  width: 18px;
  height: 18px;
  background: #d7b311;
  clip-path: polygon(50% 0%, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0% 50%, 38% 36%);
  filter: drop-shadow(0 4px 8px rgba(163, 128, 5, 0.28));
}

.premium-coachmark-badge {
  width: 98px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(0, 0, 0, 0.46);
  border-radius: 10px;
  background:
    linear-gradient(180deg, #fefefe, #f2f2f2);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.premium-coachmark-avatar {
  position: relative;
  width: 26px;
  height: 30px;
  display: inline-block;
}

.premium-coachmark-avatar::before,
.premium-coachmark-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
}

.premium-coachmark-avatar::before {
  top: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.premium-coachmark-avatar::after {
  top: 14px;
  width: 18px;
  height: 12px;
  border-radius: 8px 8px 6px 6px;
}

.premium-coachmark-dialog {
  position: relative;
  width: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  animation: premiumUpsellEnter 0.24s ease-out;
  overflow: hidden;
}

.premium-coachmark-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}

.premium-coachmark-title {
  margin: 0;
  padding: 40px 24px 12px;
  color: #303030;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.premium-coachmark-copy {
  margin: 0;
  padding: 0 24px 14px;
  color: #666;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.premium-coachmark-handle {
  display: block;
  width: 22px;
  height: 7px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #9a9a9a;
}

.premium-coachmark-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 14px;
  border-top: 1px solid #ededed;
}

.premium-coachmark-actions .btn {
  width: auto;
  min-width: 148px;
  border-color: #cfcfcf;
  background: #fff;
  color: #4a4a4a;
  font-weight: 500;
}

.premium-coachmark-actions .btn:hover {
  background: #f7f7f7;
  border-color: #bebebe;
}

.send-premium-coachmark {
  --send-premium-coachmark-arrow-left: 50%;
  --send-premium-spotlight-left: 50%;
  --send-premium-spotlight-top: 72px;
  --send-premium-spotlight-width: 160px;
  --send-premium-spotlight-height: 44px;
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: auto;
}

.send-premium-coachmark-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(229, 246, 241, 0.14);
  backdrop-filter: blur(7px) saturate(0.95);
  -webkit-backdrop-filter: blur(7px) saturate(0.95);
  mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000);
  mask-size:
    100% 100%,
    var(--send-premium-spotlight-width) var(--send-premium-spotlight-height);
  mask-position:
    0 0,
    var(--send-premium-spotlight-left) var(--send-premium-spotlight-top);
  mask-repeat: no-repeat, no-repeat;
  mask-composite: exclude;
  -webkit-mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000);
  -webkit-mask-size:
    100% 100%,
    var(--send-premium-spotlight-width) var(--send-premium-spotlight-height);
  -webkit-mask-position:
    0 0,
    var(--send-premium-spotlight-left) var(--send-premium-spotlight-top);
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: xor;
}

.send-premium-coachmark-dialog {
  position: absolute;
  z-index: 35;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 252, 248, 0.98));
  box-shadow: 0 18px 34px rgba(11, 64, 58, 0.18);
  overflow: hidden;
  pointer-events: auto;
  animation: premiumUpsellEnter 0.24s ease-out;
}

.send-premium-coachmark-arrow {
  position: absolute;
  top: -10px;
  left: var(--send-premium-coachmark-arrow-left);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #fdfefe;
  border-top: 1px solid rgba(15, 118, 110, 0.16);
  border-left: 1px solid rgba(15, 118, 110, 0.16);
  transform: translateX(-50%) rotate(45deg);
}

.send-premium-coachmark-top .send-premium-coachmark-arrow {
  top: auto;
  bottom: -10px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(15, 118, 110, 0.16);
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
}

.send-premium-coachmark-eyebrow {
  margin: 0;
  padding: 18px 20px 0;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.send-premium-coachmark-title {
  margin: 0;
  padding: 6px 20px 8px;
  color: #123d37;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
}

.send-premium-coachmark-copy {
  margin: 0;
  padding: 0 20px 16px;
  color: #476d67;
  font-size: 0.84rem;
  line-height: 1.55;
}

.send-premium-coachmark-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(15, 118, 110, 0.08);
}

.send-premium-coachmark-actions .btn {
  width: auto;
  min-width: 128px;
}

.premium-link-highlight {
  position: relative;
  z-index: 40;
  border-color: #0f766e !important;
  box-shadow:
    0 0 0 5px rgba(15, 118, 110, 0.16),
    0 0 0 11px rgba(255, 255, 255, 0.55),
    0 16px 30px rgba(15, 118, 110, 0.24);
  animation: premiumLinkPulse 1.4s ease-in-out infinite;
}

.premium-link-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(15, 118, 110, 0.72);
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.send-premium-focus-active .page-wrap {
  isolation: isolate;
}

.send-premium-focus-active .glass-card,
.send-premium-focus-active .support-contact {
  position: relative;
}

.premium-summary-coachmark {
  --premium-summary-coachmark-arrow-left: 50%;
  --premium-summary-spotlight-left: 24px;
  --premium-summary-spotlight-top: 120px;
  --premium-summary-spotlight-width: 420px;
  --premium-summary-spotlight-height: 220px;
  --premium-summary-spotlight-x: 50%;
  --premium-summary-spotlight-y: 72px;
  --premium-summary-spotlight-radius: 44px;
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: auto;
}

.premium-summary-coachmark-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(229, 246, 241, 0.14);
  backdrop-filter: blur(7px) saturate(0.95);
  -webkit-backdrop-filter: blur(7px) saturate(0.95);
  mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000);
  mask-size:
    100% 100%,
    var(--premium-summary-spotlight-width) var(--premium-summary-spotlight-height);
  mask-position:
    0 0,
    var(--premium-summary-spotlight-left) var(--premium-summary-spotlight-top);
  mask-repeat: no-repeat, no-repeat;
  mask-composite: exclude;
  -webkit-mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000);
  -webkit-mask-size:
    100% 100%,
    var(--premium-summary-spotlight-width) var(--premium-summary-spotlight-height);
  -webkit-mask-position:
    0 0,
    var(--premium-summary-spotlight-left) var(--premium-summary-spotlight-top);
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: xor;
}

.premium-summary-coachmark-history-step .premium-summary-coachmark-backdrop {
  mask-image: radial-gradient(
    circle var(--premium-summary-spotlight-radius) at var(--premium-summary-spotlight-x) var(--premium-summary-spotlight-y),
    transparent 0,
    transparent 78%,
    #000 100%
  );
  mask-size: auto;
  mask-position: 0 0;
  mask-repeat: no-repeat;
  mask-composite: add;
  -webkit-mask-image: radial-gradient(
    circle var(--premium-summary-spotlight-radius) at var(--premium-summary-spotlight-x) var(--premium-summary-spotlight-y),
    transparent 0,
    transparent 78%,
    #000 100%
  );
  -webkit-mask-size: auto;
  -webkit-mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-over;
}

.premium-summary-coachmark-dialog {
  position: absolute;
  z-index: 35;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 252, 248, 0.98));
  box-shadow: 0 18px 34px rgba(11, 64, 58, 0.18);
  overflow: hidden;
  pointer-events: auto;
  animation: premiumUpsellEnter 0.24s ease-out;
}

.premium-summary-coachmark-arrow {
  position: absolute;
  top: -10px;
  left: var(--premium-summary-coachmark-arrow-left);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #fdfefe;
  border-top: 1px solid rgba(15, 118, 110, 0.16);
  border-left: 1px solid rgba(15, 118, 110, 0.16);
  transform: translateX(-50%) rotate(45deg);
}

.premium-summary-coachmark-top .premium-summary-coachmark-arrow {
  top: auto;
  bottom: -10px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(15, 118, 110, 0.16);
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
}

.premium-summary-coachmark-eyebrow {
  margin: 0;
  padding: 18px 20px 0;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-summary-coachmark-title {
  margin: 0;
  padding: 6px 20px 8px;
  color: #123d37;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
}

.premium-summary-coachmark-copy {
  margin: 0;
  padding: 0 20px 16px;
  color: #476d67;
  font-size: 0.84rem;
  line-height: 1.55;
}

.premium-summary-coachmark-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(15, 118, 110, 0.08);
}

.premium-summary-coachmark-actions .btn {
  width: auto;
  min-width: 128px;
}

.premium-buy-shortcut-highlight {
  position: relative;
  z-index: 40;
  border-color: #0f766e !important;
  box-shadow:
    0 0 0 5px rgba(15, 118, 110, 0.16),
    0 0 0 11px rgba(255, 255, 255, 0.55),
    0 16px 30px rgba(15, 118, 110, 0.24);
  animation: premiumLinkPulse 1.4s ease-in-out infinite;
}

.premium-history-shortcut-highlight {
  position: relative;
  z-index: 40;
  border-color: #0f766e !important;
  background: #fafffd !important;
  box-shadow:
    0 0 0 5px rgba(15, 118, 110, 0.16),
    0 0 0 11px rgba(255, 255, 255, 0.55),
    0 16px 30px rgba(15, 118, 110, 0.24);
  animation: premiumLinkPulse 1.4s ease-in-out infinite;
}

.premium-summary-focus-active .page-wrap {
  isolation: isolate;
}

.premium-summary-focus-active .glass-card,
.premium-summary-focus-active .support-contact {
  position: relative;
}

@keyframes premiumUpsellEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes premiumLinkPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 5px rgba(15, 118, 110, 0.16),
      0 0 0 11px rgba(255, 255, 255, 0.55),
      0 16px 30px rgba(15, 118, 110, 0.24);
  }

  50% {
    transform: translateY(-1px);
    box-shadow:
      0 0 0 8px rgba(15, 118, 110, 0.12),
      0 0 0 15px rgba(255, 255, 255, 0.45),
      0 20px 34px rgba(15, 118, 110, 0.3);
  }
}

@media (max-width: 720px) {
  .checkout-embed-head {
    flex-direction: column;
  }

  .checkout-embed-container {
    height: 620px;
  }

  .premium-coachmark-shell {
    width: min(320px, 100%);
  }

  .premium-coachmark-title {
    padding: 36px 18px 10px;
  }

  .premium-coachmark-copy {
    padding: 0 18px 12px;
  }

  .send-premium-coachmark-dialog {
    border-radius: 16px;
  }

  .send-premium-coachmark-eyebrow {
    padding: 16px 18px 0;
  }

  .send-premium-coachmark-title {
    padding: 6px 18px 8px;
    font-size: 0.98rem;
  }

  .send-premium-coachmark-copy {
    padding: 0 18px 14px;
    font-size: 0.81rem;
  }

  .send-premium-coachmark-actions {
    padding: 12px 14px 14px;
  }

  .premium-summary-coachmark-dialog {
    border-radius: 16px;
  }

  .premium-summary-coachmark-eyebrow {
    padding: 16px 18px 0;
  }

  .premium-summary-coachmark-title {
    padding: 6px 18px 8px;
    font-size: 0.98rem;
  }

  .premium-summary-coachmark-copy {
    padding: 0 18px 14px;
    font-size: 0.81rem;
  }

  .premium-summary-coachmark-actions {
    padding: 12px 14px 14px;
  }
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.status-chip.status-pending {
  background: #fff8dd;
  color: #8c6700;
}

.status-chip.status-paid {
  background: #e9fff1;
  color: #146d39;
}

.status-chip.status-failed {
  background: #fff0f0;
  color: #a12b2b;
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none;
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 20% 0%, rgba(15, 118, 110, 0.09) 0%, transparent 32%),
      linear-gradient(160deg, var(--bg-1), var(--bg-2) 55%, var(--bg-3));
  }

  .page-wrap {
    display: block;
    padding: 10px 8px 22px;
  }

  .glass-card {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .support-contact {
    width: 100%;
    padding: 12px 13px;
    font-size: 0.84rem;
  }

  .topbar {
    display: block;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar .action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .action-row .btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
  }

  h1 {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
    line-height: 1.06;
  }

  .subtitle {
    margin: 4px 0 14px;
    font-size: 0.87rem;
  }

  .public-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .info-section {
    margin-top: 12px;
    padding: 14px;
  }

  .info-split,
  .payment-grid,
  .feature-list,
  .workflow-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-item,
  .workflow-list li {
    min-height: 0;
  }

  .workflow-list li {
    padding: 12px 12px 12px 48px;
  }

  .workflow-list li::before {
    top: 12px;
    left: 12px;
  }

  .faq-list summary {
    padding: 11px 12px;
  }

  .faq-list p {
    padding: 11px 12px 12px;
  }

  .cta-steps {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 68px;
    padding: 10px;
  }

  .stat-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.28rem;
  }

  .stat-value {
    font-size: 1.28rem;
  }

  .panel {
    padding: 12px;
    border-radius: 12px;
  }

  .base-rental-summary-grid,
  .base-rental-account-row,
  .base-rental-empty-card {
    grid-template-columns: 1fr;
  }

  .premium-summary-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .premium-summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .premium-summary-item {
    padding: 12px;
    border-radius: 14px;
  }

  .premium-summary-value {
    font-size: clamp(1.1rem, 5.4vw, 1.42rem);
  }

  #clone-line,
  #premium-clone-line {
    font-size: clamp(1.05rem, 5.4vw, 1.34rem);
    padding: 11px 12px;
    margin-bottom: 8px;
  }

  .rules-panel p {
    font-size: 0.86rem;
  }

  .meta-action-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }

  .convert-actions {
    width: 100%;
    margin-top: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .convert-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .rules-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .rules-action {
    position: static;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .rules-action .btn {
    width: auto;
    min-width: 140px;
  }

  .rules-info p:not(#clone-line):not(#premium-clone-line) {
    max-width: none;
  }

  .btn {
    width: 100%;
  }

  .btn-link {
    width: auto;
    align-self: flex-start;
  }

  .checkbox {
    font-size: 0.86rem;
    gap: 8px;
  }

  #convert-preview-meta,
  #premium-convert-preview-meta {
    border-radius: 10px;
    display: block;
    padding: 7px 9px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .status {
    margin-top: 12px;
    font-size: 0.86rem;
  }

  .premium-coachmark {
    padding: 12px;
  }

  .premium-coachmark-badge {
    width: 90px;
    height: 78px;
  }

  .premium-coachmark-title {
    font-size: 0.88rem;
  }

  .premium-coachmark-copy {
    font-size: 0.74rem;
  }

  .premium-coachmark-actions .btn {
    min-width: 136px;
  }

  .send-premium-coachmark {
    max-width: calc(100vw - 24px);
  }

  .send-premium-coachmark-actions .btn {
    min-width: 118px;
  }

  .premium-summary-coachmark-actions .btn {
    min-width: 118px;
  }
}

@media (max-width: 760px) {
  .send-page {
    background: #f7fbfa;
  }

  .send-page .page-wrap {
    padding: 2px 0 18px;
  }

  .send-page .glass-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 14px 20px 16px;
    box-shadow: none;
    background: #fbfefd;
  }

  .send-page .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .send-page .brand-head {
    gap: 9px;
    align-items: flex-start;
  }

  .send-page .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    box-shadow: none;
  }

  .send-page .brand-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
  }

  .send-page h1 {
    margin-top: 1px;
    font-size: clamp(1.18rem, 6vw, 1.48rem);
    line-height: 1.02;
  }

  .send-page .topbar .action-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: start;
    gap: 7px;
    width: auto;
  }

  .send-page .topbar .action-row .btn {
    width: auto;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .send-page .subtitle {
    margin: 5px 0 10px;
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .send-page .panel {
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
  }

  .send-page .panel + .panel {
    margin-top: 9px;
  }

  .send-page #auth-box p,
  .send-page #token-only-box p {
    margin: 0 0 8px;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .send-page #auth-box .btn,
  .send-page #token-only-box .btn,
  .send-page #submit-btn {
    width: auto;
    min-height: 34px;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.74rem;
  }

  .send-page #clone-line {
    padding: 9px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: clamp(1.05rem, 5vw, 1.28rem);
    box-shadow: none;
  }

  .send-page .rules-panel p {
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .send-page .rules-layout {
    gap: 6px;
  }

  .send-page .rules-action {
    justify-content: flex-end;
    margin-top: -34px;
  }

  .send-page .rules-action .btn {
    width: auto;
    min-width: 0;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 0.7rem;
  }

  .send-page .rules-info p:not(#clone-line) {
    max-width: calc(100% - 96px);
  }

  .send-page label {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .send-page input,
  .send-page textarea,
  .send-page select,
  .send-page .input-like {
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .send-page textarea {
    min-height: 98px;
  }

  .send-page .meta,
  .send-page .hint {
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .send-page .meta-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-bottom: 10px;
  }

  .send-page .convert-actions {
    justify-content: flex-end;
  }

  .send-page .convert-actions .btn {
    width: auto;
    min-height: 34px;
    max-width: 100%;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 0.68rem;
    white-space: normal;
  }

  .send-page input[type="file"] {
    font-size: 0.7rem;
  }

  .send-page .checkbox {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .send-page .status {
    min-height: 18px;
    margin-top: 9px;
    font-size: 0.72rem;
  }

  .send-page .support-contact {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-top: 0;
    padding: 10px 20px 12px;
    box-shadow: none;
    font-size: 0.72rem;
  }

  .send-page .support-contact-title {
    margin-bottom: 3px;
    font-size: 0.76rem;
  }

  .premium-page {
    background: #f7fbfa;
  }

  .premium-page .page-wrap {
    padding: 2px 0 18px;
  }

  .premium-page .glass-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 14px 20px 16px;
    box-shadow: none;
    background: #fbfefd;
  }

  .premium-page .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .premium-page .brand-head {
    gap: 9px;
    align-items: flex-start;
  }

  .premium-page .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    box-shadow: none;
  }

  .premium-page .brand-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
  }

  .premium-page h1 {
    margin-top: 1px;
    font-size: clamp(1.18rem, 6vw, 1.48rem);
    line-height: 1.02;
  }

  .premium-page .topbar .action-row {
    display: grid;
    grid-template-columns: 34px minmax(0, auto) minmax(0, auto);
    justify-content: start;
    gap: 7px;
    width: auto;
  }

  .premium-page .topbar .action-row .btn {
    width: auto;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.74rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .premium-page .topbar .action-row .btn-icon {
    min-width: 30px;
    width: 30px;
    padding: 6px;
  }

  .premium-page .btn-icon-svg {
    width: 14px;
    height: 14px;
  }

  .premium-page .subtitle {
    margin: 5px 0 10px;
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .premium-page .panel {
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
  }

  .premium-page .panel + .panel {
    margin-top: 9px;
  }

  .premium-page #premium-clone-line {
    padding: 9px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: clamp(1.05rem, 5vw, 1.28rem);
    box-shadow: none;
  }

  .premium-page .rules-panel p {
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .premium-page .rules-layout {
    gap: 6px;
  }

  .premium-page .rules-action {
    justify-content: flex-end;
    margin-top: -34px;
  }

  .premium-page .rules-action .btn {
    width: auto;
    min-width: 0;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 0.7rem;
  }

  .premium-page .rules-info p:not(#premium-clone-line) {
    max-width: calc(100% - 96px);
  }

  .premium-page .premium-summary-head {
    flex-direction: row;
    align-items: center;
    margin-bottom: 9px;
  }

  .premium-page .premium-summary-kicker {
    padding: 4px 8px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .premium-page .meta-title {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .premium-page .premium-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .premium-page .premium-summary-item {
    padding: 9px 10px;
    border-radius: 8px;
  }

  .premium-page .premium-summary-label {
    margin-bottom: 6px;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    line-height: 1.35;
  }

  .premium-page .premium-summary-value {
    font-size: clamp(1.08rem, 5.2vw, 1.32rem);
  }

  .premium-page .premium-summary-note {
    margin-top: 7px;
    font-size: 0.7rem;
  }

  .premium-page .summary-action-row {
    margin-top: 10px;
    align-items: flex-start;
  }

  .premium-page .summary-action-row .btn,
  .premium-page #premium-auth-box .btn,
  .premium-page #premium-submit-btn,
  .premium-page #create-order-btn,
  .premium-page #refresh-orders-btn {
    width: auto;
    min-height: 34px;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.74rem;
  }

  .premium-page #premium-auth-box p {
    margin: 0 0 8px;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .premium-page label {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .premium-page input,
  .premium-page textarea,
  .premium-page select,
  .premium-page .input-like {
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .premium-page textarea {
    min-height: 98px;
  }

  .premium-page .meta,
  .premium-page .hint {
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .premium-page .meta-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-bottom: 10px;
  }

  .premium-page .convert-actions {
    justify-content: flex-end;
  }

  .premium-page .convert-actions .btn {
    width: auto;
    min-height: 34px;
    max-width: 100%;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 0.68rem;
    white-space: normal;
  }

  .premium-page input[type="file"] {
    font-size: 0.7rem;
  }

  .premium-page .checkbox {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .premium-page .status {
    min-height: 18px;
    margin-top: 9px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .topbar .action-row {
    grid-template-columns: 1fr;
  }

  .brand-kicker {
    font-size: 0.68rem;
  }

  .btn {
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  .send-page .glass-card {
    padding-inline: 14px;
  }

  .send-page .topbar .action-row {
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 6px;
  }

  .send-page .topbar .action-row .btn {
    padding-inline: 8px;
    font-size: 0.66rem;
  }

  .premium-page .glass-card {
    padding-inline: 14px;
  }

  .premium-page .topbar .action-row {
    grid-template-columns: 30px minmax(0, auto) minmax(0, auto);
    gap: 6px;
  }

  .premium-page .topbar .action-row .btn {
    padding-inline: 9px;
    font-size: 0.68rem;
  }
}

/* Ambis Space homepage redesign */
.home-page {
  --home-bg: #f6faf8;
  --home-surface: #ffffff;
  --home-surface-soft: #eef8f5;
  --home-ink: #163b37;
  --home-muted: #58736e;
  --home-line: #d9e8e4;
  --home-line-strong: #b9d7d0;
  --home-primary: #0f766e;
  --home-primary-dark: #0b5f59;
  --home-accent: #be5a3c;
  --home-warning: #b7841d;
  --home-radius: 8px;
  --home-shadow: 0 14px 34px rgba(22, 59, 55, 0.1);
  --home-shadow-soft: 0 8px 22px rgba(22, 59, 55, 0.08);
  background:
    linear-gradient(180deg, #f8fcfa 0%, #eef8f5 42%, #f9fbfa 100%);
  color: var(--home-ink);
}

.home-page *,
.home-page *::before,
.home-page *::after {
  letter-spacing: 0;
}

.home-page .hidden {
  display: none !important;
}

.home-page a {
  color: inherit;
}

.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page select:focus-visible,
.home-page input:focus-visible,
.home-page textarea:focus-visible,
.home-page summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.home-page .btn {
  min-height: 42px;
  border-radius: var(--home-radius);
  padding: 10px 16px;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.home-page .btn:hover {
  transform: translateY(-1px);
}

.home-page .btn:disabled,
.home-page .btn[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.home-page .btn[aria-busy="true"] {
  position: relative;
  color: transparent;
}

.home-page .btn[aria-busy="true"]::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: homeSpin 0.75s linear infinite;
}

.home-page .btn-main,
.home-page .btn-dark {
  border-color: var(--home-primary);
  background: var(--home-primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.home-page .btn-main:hover,
.home-page .btn-dark:hover {
  border-color: var(--home-primary-dark);
  background: var(--home-primary-dark);
}

.home-page .btn-ghost {
  border-color: var(--home-line);
  background: rgba(255, 255, 255, 0.74);
  color: #214d48;
}

.home-page .btn-ghost:hover {
  border-color: var(--home-line-strong);
  background: #ffffff;
}

.home-page .btn-link {
  min-height: 38px;
  color: var(--home-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-page .btn-large {
  min-height: 48px;
  padding: 13px 18px;
}

.home-page .btn-rental-hero {
  min-height: 42px;
  border-color: rgba(190, 90, 60, 0.3);
  background: #fff5ef;
  color: #8d3f28;
  box-shadow: none;
}

.home-page .btn-rental-hero:hover {
  border-color: rgba(190, 90, 60, 0.48);
  background: #ffeadd;
  color: #72311f;
  box-shadow: 0 10px 20px rgba(190, 90, 60, 0.12);
}

.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid rgba(217, 232, 228, 0.9);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(22, 59, 55, 0.08);
  backdrop-filter: blur(12px);
}

.home-page .site-brand,
.home-page .footer-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-ink);
  text-decoration: none;
}

.home-page .site-brand img,
.home-page .footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--home-radius);
  border: 1px solid rgba(22, 59, 55, 0.12);
  object-fit: cover;
}

.home-page .site-brand strong,
.home-page .footer-brand span {
  display: block;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 1.06rem;
  line-height: 1.05;
}

.home-page .site-brand small {
  display: block;
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.home-page .site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.home-page .site-nav a {
  border-radius: var(--home-radius);
  padding: 9px 11px;
  color: #345c57;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.home-page .site-nav a:hover {
  background: var(--home-surface-soft);
  color: var(--home-primary-dark);
}

.home-page .site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.home-page .hero-block {
  overflow: hidden;
  margin-top: -86px;
  padding: 138px 0 42px;
}

.home-page .hero-inner,
.home-page .section-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.home-page .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
}

.home-page .hero-copy {
  max-width: 700px;
  animation: homeRise 0.58s ease both;
}

.home-page .eyebrow,
.home-page .section-kicker,
.home-page .panel-kicker {
  margin: 0 0 10px;
  color: var(--home-primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  overflow-wrap: anywhere;
}

.home-page h1 {
  margin: 0;
  color: #102f2c;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 3.55rem;
  line-height: 0.98;
}

.home-page .hero-lede {
  max-width: 640px;
  margin: 18px 0 0;
  color: #426963;
  font-size: 1.08rem;
  line-height: 1.7;
}

.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-page .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.home-page .trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: var(--home-radius);
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #315d57;
  font-size: 0.82rem;
  font-weight: 800;
}

.home-page .hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(185, 215, 208, 0.86);
  border-radius: var(--home-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 246, 0.96));
  box-shadow: var(--home-shadow);
  animation: homeRise 0.68s ease 0.08s both, homeFloat 5.2s ease-in-out 1.2s infinite;
}

.home-page .hero-visual::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(15, 118, 110, 0.08);
  border-radius: var(--home-radius);
  pointer-events: none;
}

.home-page .visual-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-page .visual-brand img {
  width: 72px;
  height: 72px;
  border-radius: var(--home-radius);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(22, 59, 55, 0.16);
}

.home-page .visual-brand p,
.home-page .visual-brand strong {
  margin: 0;
  display: block;
}

.home-page .visual-brand p {
  color: #123d37;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 1.48rem;
  line-height: 1.08;
  font-weight: 800;
}

.home-page .visual-brand strong {
  margin-top: 4px;
  color: #123d37;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 1.44rem;
  line-height: 1.08;
}

.home-page .visual-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.home-page .visual-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 3px;
  align-items: center;
  min-height: 66px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 12px;
  background: #ffffff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-page .visual-row:hover {
  transform: translateY(-2px);
  border-color: var(--home-line-strong);
  box-shadow: var(--home-shadow-soft);
}

.home-page .visual-row.active {
  border-color: rgba(15, 118, 110, 0.32);
  background: #f5fffc;
}

.home-page .visual-row span {
  grid-row: 1;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius);
  background: var(--home-surface-soft);
  color: var(--home-primary-dark);
  font-weight: 900;
}

.home-page .visual-row strong,
.home-page .visual-row small {
  min-width: 0;
}

.home-page .visual-row strong {
  color: #183d39;
  font-size: 0.94rem;
}

.home-page .visual-row small {
  color: var(--home-muted);
  font-size: 0.8rem;
}

.home-page .section-container {
  padding-block: 66px;
}

.home-page .stats-section {
  padding-block: 42px 24px;
}

.home-page .section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.home-page .section-header.compact {
  margin-bottom: 18px;
}

.home-page .feature-section .section-header {
  max-width: none;
}

.home-page .section-header h2,
.home-page .final-cta h2 {
  margin: 0;
  color: #12332f;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 2.35rem;
  line-height: 1.08;
}

.home-page .section-header p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.home-page .stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.home-page .stat-card {
  min-height: 118px;
  border-color: var(--home-line);
  border-radius: var(--home-radius);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--home-shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-page .stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--home-line-strong);
  box-shadow: var(--home-shadow);
}

.home-page .stat-symbol {
  width: 46px;
  height: 46px;
  border-radius: var(--home-radius);
  background: var(--home-surface-soft) !important;
  color: var(--home-primary-dark);
  font-size: 0;
}

.home-page .stat-symbol svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .stat-label {
  color: #56766f;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-page .stat-value {
  color: #153d38;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.home-page .action-section {
  padding-top: 56px;
  scroll-margin-top: 96px;
}

.home-page .action-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(260px, 0.72fr);
  border: 1px solid var(--home-line-strong);
  border-radius: var(--home-radius);
  background: #ffffff;
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.home-page .action-primary,
.home-page .action-auth,
.home-page .action-support {
  min-width: 0;
  padding: 24px;
}

.home-page .action-auth,
.home-page .action-support {
  border-left: 1px solid var(--home-line);
}

.home-page .field-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.home-page .field-head h3,
.home-page .action-support h3 {
  margin: 0;
  color: #153d38;
  font-size: 1.1rem;
  line-height: 1.25;
}

.home-page .panel-kicker {
  margin-bottom: 5px;
  color: #4d7a73;
  font-size: 0.72rem;
}

.home-page .status-badge,
.home-page .service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  background: #edf9f5;
  color: var(--home-primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.home-page .status-badge.soft {
  border-color: rgba(183, 132, 29, 0.28);
  background: #fff9ea;
  color: #816015;
}

.home-page label {
  color: #1f4b46;
  font-size: 0.86rem;
  font-weight: 900;
}

.home-page select,
.home-page .input-like {
  min-height: 48px;
  border-color: var(--home-line-strong);
  border-radius: var(--home-radius);
  color: #163b37;
}

.home-page .hint,
.home-page .action-auth p,
.home-page .action-support p {
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-page .action-auth p,
.home-page .action-support p {
  margin: 0 0 16px;
}

.home-page .action-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-page .price-line {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 14px 0;
  border-block: 1px solid var(--home-line);
}

.home-page .price-line span {
  color: var(--home-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.home-page .price-line strong {
  color: #123d37;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 1.32rem;
  line-height: 1.1;
}

.home-page .home-status {
  min-height: 0;
  margin-top: 14px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #456b65;
  font-size: 0.9rem;
  font-weight: 800;
}

.home-page .home-status:empty {
  display: none;
}

.home-page .home-status.error,
.home-page .error-alert {
  border-color: rgba(180, 35, 24, 0.22);
  background: #fff4f2;
  color: #9a2c22;
}

.home-page .home-status.success {
  border-color: rgba(21, 127, 63, 0.22);
  background: #effbf3;
  color: #157f3f;
}

.home-page .feature-section,
.home-page .payment-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(238, 248, 245, 0.68), rgba(255, 255, 255, 0));
}

@media (min-width: 900px) {
  .home-page .payment-section .section-header {
    max-width: 1040px;
  }
}

.home-page .feature-grid,
.home-page .info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-page .feature-card,
.home-page .info-card,
.home-page .step-card,
.home-page .empty-state,
.home-page .error-alert {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 59, 55, 0.06);
}

.home-page .feature-card,
.home-page .info-card {
  padding: 20px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-page .feature-grid {
  align-items: start;
}

.home-page .feature-card {
  min-height: 0;
}

.home-page .info-card {
  min-height: 224px;
}

.home-page .feature-card:hover,
.home-page .info-card:hover,
.home-page .step-card:hover {
  transform: translateY(-2px);
  border-color: var(--home-line-strong);
  box-shadow: var(--home-shadow-soft);
}

.home-page .feature-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius);
  background: #edf9f5;
  color: var(--home-primary-dark);
  font-weight: 900;
}

.home-page .feature-card h3,
.home-page .info-card h3,
.home-page .step-card h3 {
  margin: 16px 0 0;
  color: #153d38;
  font-size: 1.04rem;
  line-height: 1.25;
}

.home-page .feature-card p,
.home-page .info-card p,
.home-page .step-card p {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-page .feature-card strong {
  display: block;
  margin-top: 16px;
  color: #235953;
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-page .step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.home-page .step-card {
  position: relative;
  min-height: 190px;
  padding: 20px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-page .step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39px;
  right: -16px;
  width: 18px;
  height: 2px;
  background: var(--home-line-strong);
}

.home-page .step-card span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius);
  background: var(--home-primary);
  color: #ffffff;
  font-weight: 900;
}

.home-page .info-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .info-card li {
  position: relative;
  padding-left: 18px;
  color: #416b65;
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-page .info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-primary);
}

.home-page .faq-section {
  padding-bottom: 78px;
}

.home-page .faq-accordion {
  gap: 10px;
  margin: 0;
}

.home-page .faq-accordion details {
  border-color: var(--home-line);
  border-radius: var(--home-radius);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(22, 59, 55, 0.05);
  overflow: hidden;
}

.home-page .faq-accordion summary {
  position: relative;
  display: block;
  padding: 18px 48px 18px 18px;
  color: #163b37;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
}

.home-page .faq-accordion summary::-webkit-details-marker {
  display: none;
}

.home-page .faq-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: #f6fbf9;
  color: var(--home-primary-dark);
  transform: translateY(-50%);
}

.home-page .faq-accordion details[open] summary::after {
  content: "-";
}

.home-page .faq-accordion details[open] summary {
  border-bottom: 1px solid var(--home-line);
}

.home-page .faq-accordion p {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  animation: homeAccordion 0.22s ease both;
}

.home-page .final-cta {
  border-block: 1px solid var(--home-line);
  background: #102f2c;
  color: #ffffff;
}

.home-page .final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-page .final-cta .section-kicker {
  color: #9fe1d7;
}

.home-page .final-cta h2 {
  max-width: 720px;
  color: #ffffff;
}

.home-page .final-cta .btn-main {
  border-color: #ffffff;
  background: #ffffff;
  color: #0c625b;
  box-shadow: none;
  white-space: nowrap;
}

.home-page .footer-block {
  background: #f8fbfa;
  color: var(--home-ink);
}

.home-page .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.72fr));
  gap: 34px;
  padding-block: 44px;
}

.home-page .footer-grid h2 {
  margin: 0 0 12px;
  color: #153d38;
  font-size: 0.96rem;
}

.home-page .footer-grid p,
.home-page .footer-grid a {
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-page .footer-grid p {
  margin: 12px 0 0;
}

.home-page .footer-grid a:not(.footer-brand) {
  display: block;
  margin-top: 8px;
  text-decoration: none;
}

.home-page .footer-grid a:hover {
  color: var(--home-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-page .empty-state,
.home-page .error-alert {
  padding: 16px;
  color: var(--home-muted);
}

@keyframes homeRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes homeAccordion {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .home-page .site-header {
    grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .home-page .site-nav {
    grid-column: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .home-page .site-actions {
    justify-content: flex-end;
  }

  .home-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-page .hero-copy {
    max-width: 780px;
  }

  .home-page h1 {
    font-size: 3.25rem;
  }

  .home-page .hero-visual {
    max-width: 620px;
  }

  .home-page .action-panel {
    grid-template-columns: 1fr;
  }

  .home-page .action-auth,
  .home-page .action-support {
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .home-page .feature-grid,
  .home-page .info-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .step-card:not(:last-child)::after {
    display: none;
  }

  .home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-page {
    background: #f8fbfa;
  }

  .home-page .site-header,
  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 24px, 1180px);
  }

  .home-page .site-header {
    min-height: 62px;
    margin-top: 10px;
    padding: 8px;
    gap: 10px;
  }

  .home-page .site-brand {
    gap: 9px;
  }

  .home-page .site-brand img {
    width: 38px;
    height: 38px;
  }

  .home-page .site-brand strong {
    font-size: 0.98rem;
  }

  .home-page .site-brand small {
    display: none;
  }

  .home-page .hero-block {
    margin-top: -72px;
    padding: 132px 0 44px;
  }

  .home-page h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .home-page .hero-lede {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .home-page .hero-actions .btn,
  .home-page .final-cta .btn,
  .home-page .action-buttons .btn,
  .home-page .action-support .btn {
    width: 100%;
  }

  .home-page .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .hero-visual {
    padding: 16px;
    animation-name: homeRise;
  }

  .home-page .visual-brand img {
    width: 64px;
    height: 64px;
  }

  .home-page .visual-brand p,
  .home-page .visual-brand strong {
    font-size: 1.22rem;
  }

  .home-page .visual-row {
    min-height: 66px;
  }

  .home-page .section-container {
    padding-block: 46px;
  }

  .home-page .stats-section {
    padding-block: 34px 14px;
  }

  .home-page .section-header {
    margin-bottom: 20px;
  }

  .home-page .section-header h2,
  .home-page .final-cta h2 {
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .home-page .section-header p:not(.section-kicker) {
    font-size: 0.94rem;
  }

  .home-page .stats-grid,
  .home-page .feature-grid,
  .home-page .info-card-grid,
  .home-page .step-grid {
    grid-template-columns: 1fr;
  }

  .home-page .stat-card {
    min-height: 96px;
    padding: 15px;
  }

  .home-page .stat-value {
    font-size: 1.62rem;
  }

  .home-page .action-primary,
  .home-page .action-auth,
  .home-page .action-support,
  .home-page .feature-card,
  .home-page .info-card,
  .home-page .step-card {
    padding: 16px;
  }

  .home-page .field-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .home-page .status-badge {
    min-height: 26px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .home-page .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .feature-card,
  .home-page .info-card,
  .home-page .step-card {
    min-height: 0;
  }

  .home-page .faq-accordion summary {
    padding: 15px 46px 15px 15px;
  }

  .home-page .faq-accordion p {
    padding: 14px 15px 16px;
  }

  .home-page .final-cta-inner {
    display: grid;
    align-items: start;
  }

  .home-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 34px;
  }

  .home-page .site-header,
  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 14px, 1180px);
  }

  .home-page .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 42px;
    margin-top: 6px;
    padding: 5px;
    gap: 6px;
  }

  .home-page .site-brand {
    min-width: 82px;
    gap: 5px;
  }

  .home-page .site-brand img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
  }

  .home-page .site-brand strong {
    font-size: 0.62rem;
    line-height: 1.05;
  }

  .home-page .site-brand small {
    display: block;
    max-width: 70px;
    color: #6a817c;
    font-size: 0.42rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-page .site-nav {
    min-width: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
  }

  .home-page .site-nav a {
    min-width: 0;
    padding: 4px 0;
    font-size: 0.56rem;
    line-height: 1;
    white-space: nowrap;
  }

  .home-page .site-actions {
    display: flex;
    gap: 4px;
  }

  .home-page .site-actions .btn {
    min-height: 24px;
    border-radius: 5px;
    padding: 4px 6px;
    font-size: 0.56rem;
    line-height: 1;
    white-space: nowrap;
  }

  .home-page .hero-block {
    margin-top: -54px;
    padding: 78px 0 26px;
  }

  .home-page .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(124px, 0.82fr);
    align-items: center;
    gap: 12px;
  }

  .home-page .eyebrow,
  .home-page .section-kicker,
  .home-page .panel-kicker {
    margin-bottom: 6px;
    font-size: 0.58rem;
  }

  .home-page h1 {
    font-size: 1.72rem;
    line-height: 1.03;
  }

  .home-page .hero-lede {
    margin-top: 8px;
    font-size: 0.62rem;
    line-height: 1.45;
  }

  .home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
  }

  .home-page .hero-actions .btn {
    width: auto;
    min-height: 28px;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.56rem;
    line-height: 1.05;
  }

  .home-page .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 8px;
  }

  .home-page .trust-row span {
    min-height: 22px;
    border-radius: 5px;
    padding: 4px 5px;
    font-size: 0.48rem;
    line-height: 1.25;
  }

  .home-page .hero-visual {
    gap: 7px;
    padding: 7px;
    border-radius: 6px;
    animation-name: homeRise;
  }

  .home-page .hero-visual::before {
    inset: 5px;
    border-radius: 6px;
  }

  .home-page .visual-brand {
    gap: 7px;
  }

  .home-page .visual-brand img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
  }

  .home-page .visual-brand p,
  .home-page .visual-brand strong {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .home-page .visual-brand strong {
    margin-top: 1px;
    font-size: 0.62rem;
    line-height: 1.15;
  }

  .home-page .visual-stack {
    gap: 5px;
  }

  .home-page .visual-row {
    min-height: 36px;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 6px;
    row-gap: 1px;
    border-radius: 5px;
    padding: 6px;
  }

  .home-page .visual-row span {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.54rem;
  }

  .home-page .visual-row strong {
    font-size: 0.56rem;
    line-height: 1.15;
  }

  .home-page .visual-row small {
    font-size: 0.48rem;
    line-height: 1.15;
  }

  .home-page .section-container {
    padding-block: 30px;
  }

  .home-page .stats-section {
    padding-block: 22px 10px;
  }

  .home-page .section-header {
    max-width: 74%;
    margin-bottom: 14px;
  }

  .home-page .section-header h2,
  .home-page .final-cta h2 {
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .home-page .section-header p:not(.section-kicker) {
    margin-top: 6px;
    font-size: 0.58rem;
    line-height: 1.45;
  }

  .home-page .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-page .stat-card {
    min-height: 58px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    border-radius: 5px;
    padding: 7px;
  }

  .home-page .stat-symbol {
    width: 22px;
    height: 22px;
    border-radius: 4px;
  }

  .home-page .stat-symbol svg {
    width: 12px;
    height: 12px;
  }

  .home-page .stat-label {
    font-size: 0.46rem;
    line-height: 1.1;
  }

  .home-page .stat-value {
    margin-top: 1px;
    font-size: 0.92rem;
  }

  .home-page .action-section {
    padding-top: 30px;
  }

  .home-page .action-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr);
    border-radius: 5px;
  }

  .home-page .action-auth,
  .home-page .action-support {
    border-top: 0;
    border-left: 1px solid var(--home-line);
  }

  .home-page .action-primary,
  .home-page .action-auth,
  .home-page .action-support,
  .home-page .feature-card,
  .home-page .info-card,
  .home-page .step-card {
    padding: 9px;
  }

  .home-page .field-head {
    gap: 5px;
    margin-bottom: 8px;
  }

  .home-page .field-head h3,
  .home-page .action-support h3,
  .home-page .feature-card h3,
  .home-page .info-card h3,
  .home-page .step-card h3 {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .home-page .status-badge,
  .home-page .service-tag {
    min-height: 16px;
    padding: 2px 5px;
    font-size: 0.46rem;
  }

  .home-page label,
  .home-page .hint,
  .home-page .action-auth p,
  .home-page .action-support p {
    font-size: 0.54rem;
    line-height: 1.4;
  }

  .home-page select,
  .home-page .input-like {
    min-height: 28px;
    border-radius: 5px;
    padding: 5px 24px 5px 7px;
    font-size: 0.56rem;
  }

  .home-page .select-field::after {
    right: 10px;
    width: 6px;
    height: 6px;
  }

  .home-page .action-auth p,
  .home-page .action-support p {
    margin-bottom: 8px;
  }

  .home-page .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-page .action-buttons .btn,
  .home-page .action-support .btn,
  .home-page .final-cta .btn {
    width: 100%;
    min-height: 24px;
    border-radius: 5px;
    padding: 5px 6px;
    font-size: 0.5rem;
    line-height: 1.05;
  }

  .home-page .price-line {
    gap: 2px;
    margin: 8px 0;
    padding: 7px 0;
  }

  .home-page .price-line span {
    font-size: 0.48rem;
  }

  .home-page .price-line strong {
    font-size: 0.7rem;
  }

  .home-page .home-status {
    margin-top: 7px;
    border-radius: 4px;
    padding: 6px 7px;
    font-size: 0.52rem;
  }

  .home-page .feature-grid,
  .home-page .info-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-page .step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .home-page .feature-card,
  .home-page .info-card,
  .home-page .step-card {
    min-height: 0;
    border-radius: 5px;
  }

  .home-page .feature-icon,
  .home-page .step-card span {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 0.54rem;
  }

  .home-page .feature-card h3,
  .home-page .info-card h3,
  .home-page .step-card h3 {
    margin-top: 7px;
  }

  .home-page .feature-card p,
  .home-page .info-card p,
  .home-page .step-card p,
  .home-page .info-card li {
    margin-top: 5px;
    font-size: 0.54rem;
    line-height: 1.36;
  }

  .home-page .feature-card strong {
    margin-top: 7px;
    font-size: 0.5rem;
    line-height: 1.3;
  }

  .home-page .step-card:not(:last-child)::after {
    display: block;
    top: 20px;
    right: -8px;
    width: 8px;
  }

  .home-page .info-card ul {
    gap: 4px;
    margin-top: 7px;
  }

  .home-page .info-card li {
    padding-left: 10px;
  }

  .home-page .info-card li::before {
    width: 4px;
    height: 4px;
  }

  .home-page .faq-accordion {
    gap: 6px;
  }

  .home-page .faq-accordion summary {
    padding: 9px 30px 9px 9px;
    font-size: 0.64rem;
  }

  .home-page .faq-accordion summary::after {
    right: 8px;
    width: 18px;
    height: 18px;
  }

  .home-page .faq-accordion p {
    padding: 8px 9px 10px;
    font-size: 0.56rem;
    line-height: 1.45;
  }

  .home-page .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-block: 24px;
  }
}

@media (max-width: 420px) {
  .home-page .site-header,
  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 18px, 1180px);
  }

  .home-page h1 {
    font-size: 1.58rem;
  }

  .home-page .section-header h2,
  .home-page .final-cta h2 {
    font-size: 1rem;
  }

  .home-page .visual-row {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 5px;
  }

  .home-page .visual-row span {
    width: 22px;
    height: 22px;
  }

  .home-page .site-nav {
    gap: 3px;
  }

  .home-page .site-nav a,
  .home-page .site-actions .btn {
    font-size: 0.46rem;
  }

  .home-page .site-brand {
    min-width: 76px;
    gap: 4px;
  }

  .home-page .site-brand img {
    width: 22px;
    height: 22px;
  }

  .home-page .site-brand strong {
    font-size: 0.58rem;
  }

  .home-page .site-brand small {
    max-width: 58px;
    font-size: 0.39rem;
  }

  .home-page .site-actions {
    gap: 3px;
  }

  .home-page .site-actions .btn {
    min-height: 23px;
    padding: 4px 5px;
  }

  .home-page .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.74fr);
    gap: 8px;
  }

  .home-page .trust-row {
    grid-template-columns: 1fr;
  }

  .home-page .action-primary,
  .home-page .action-auth,
  .home-page .action-support,
  .home-page .feature-card,
  .home-page .info-card,
  .home-page .step-card {
    padding: 8px;
  }
}

/* Shared public route layout. Popup/coachmark selectors are intentionally untouched. */
.portal-page {
  background:
    radial-gradient(circle at 12% -12%, rgba(15, 118, 110, 0.11), transparent 34%),
    linear-gradient(180deg, #f8fbfa 0%, #edf7f4 48%, #f8fbfa 100%);
}

.portal-page .page-wrap {
  display: block;
  min-height: 100vh;
  padding: 22px 16px 34px;
}

.portal-page .portal-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  border-color: rgba(184, 221, 212, 0.78);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(18, 69, 61, 0.1);
}

.portal-page .portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 228, 222, 0.8);
}

.portal-page .portal-topbar .brand-head {
  align-items: center;
}

.portal-page .portal-topbar .action-row {
  justify-content: flex-end;
  gap: 8px;
}

.portal-page .portal-intro {
  display: grid;
  gap: 7px;
  margin: 20px 0 18px;
  max-width: 760px;
}

.portal-page .portal-intro .subtitle {
  margin: 0;
  color: #24544d;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.55;
}

.portal-page .portal-helper {
  margin: 0;
  color: #5f817a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.portal-page .portal-layout,
.portal-page .rental-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
}

.portal-page .portal-sidebar,
.portal-page .portal-main,
.portal-page .rental-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.portal-page .panel {
  border-color: rgba(200, 228, 222, 0.9);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(18, 69, 61, 0.05);
}

.portal-page .panel + .panel {
  margin-top: 0;
}

.portal-page .panel-label {
  margin: 0 0 7px;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.portal-page .form-heading,
.portal-page .section-heading {
  margin-bottom: 16px;
}

.portal-page .form-heading h2,
.portal-page .section-heading h2,
.portal-page .profile-guide-panel h2,
.portal-page .rental-plan-panel h2,
.portal-page .rental-mode-panel h2 {
  margin: 0;
  color: #123d37;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.15;
}

.portal-page .form-heading .hint,
.portal-page .section-heading .hint,
.portal-page .profile-guide-panel .hint,
.portal-page .rental-plan-panel .hint {
  margin-top: 8px;
}

.portal-page .form-field-group,
.portal-page .form-panel > div:not(.form-heading) {
  min-width: 0;
}

.portal-page .form-panel label:not(.checkbox) {
  margin-top: 14px;
}

.portal-page .form-heading + label {
  margin-top: 0;
}

.portal-page textarea {
  min-height: 156px;
}

.portal-page input,
.portal-page textarea,
.portal-page select,
.portal-page .input-like {
  border-radius: 8px;
}

.portal-page .meta-action-row {
  align-items: stretch;
  margin-top: 10px;
}

.portal-page .convert-actions {
  justify-content: flex-end;
}

.portal-page .convert-actions .btn {
  max-width: 320px;
  white-space: normal;
}

.portal-page .rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.portal-page .rules-info .hint {
  margin-top: 8px;
}

.portal-page .rules-action {
  margin-top: 4px;
  position: static;
  justify-content: flex-start;
}

.portal-page .rules-action .btn {
  width: auto;
}

.portal-page .rules-info p:not(#clone-line):not(#premium-clone-line) {
  max-width: none;
}

.portal-page #clone-line,
.portal-page #premium-clone-line {
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: none;
}

.portal-page .status {
  min-height: 0;
  margin-top: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0;
}

.portal-page .status:not(:empty) {
  margin-top: 2px;
  border-color: rgba(200, 228, 222, 0.9);
  padding: 12px 14px;
  background: #ffffff;
}

.portal-page .status.error:not(:empty) {
  border-color: #f0b7b7;
  background: #fff4f4;
}

.portal-page .status.success:not(:empty) {
  border-color: #9cd4ab;
  background: #f2fff5;
}

.portal-page .clone-list {
  gap: 10px;
}

.portal-page .clone-card {
  border-color: rgba(200, 228, 222, 0.92);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(18, 69, 61, 0.05);
}

.portal-page .clone-card-head {
  align-items: flex-start;
}

.portal-page .clone-card h3 {
  color: #123d37;
  font-size: 1rem;
  line-height: 1.25;
}

.portal-page .clone-card .action-row {
  gap: 8px;
  margin-top: 10px;
}

.portal-page .base-rental-summary-grid {
  gap: 8px;
}

.portal-page .checkout-summary {
  border-radius: 8px;
  background: #f6fbf9;
}

.portal-page .checkout-summary-row {
  gap: 12px;
}

.portal-page .profile-dashboard-grid,
.portal-page .profile-content-grid,
.portal-page .rental-lists-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.portal-page .profile-dashboard-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-bottom: 14px;
}

.portal-page .profile-content-grid,
.portal-page .rental-lists-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.portal-page .profile-history-section {
  grid-column: 1 / -1;
}

.portal-page .profile-account-panel,
.portal-page .profile-guide-panel {
  min-height: 156px;
}

.portal-page .profile-account-panel.hidden {
  display: none;
}

.portal-page .profile-dashboard-grid:has(.profile-account-panel.hidden) {
  grid-template-columns: 1fr;
}

.portal-page .rental-sidebar {
  position: sticky;
  top: 18px;
}

.portal-page .rental-plan-panel h2,
.portal-page .rental-mode-panel h2 {
  margin-bottom: 8px;
}

.portal-page .rental-mode-panel .action-row,
.portal-page .rental-checkout-panel .action-row {
  align-items: stretch;
}

.portal-page .rental-form-panel {
  min-height: 100%;
}

.portal-page .premium-route-layout:has(#premium-order-history:not(.hidden)) {
  grid-template-columns: minmax(0, 1fr);
}

.portal-page .premium-route-layout:has(#premium-order-history:not(.hidden)) .premium-aside {
  display: none;
}

.portal-page .premium-summary-panel {
  box-shadow: 0 8px 22px rgba(18, 69, 61, 0.05);
}

.portal-page .premium-summary-grid {
  grid-template-columns: 1fr;
}

.portal-page .premium-action-panel.hidden,
.portal-page .premium-form-panel.hidden,
.portal-page .route-section.hidden {
  display: none;
}

.portal-page .support-contact {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.1fr repeat(3, auto);
  gap: 10px 18px;
  align-items: center;
  margin: 12px auto 0;
  border-radius: 8px;
}

.portal-page .support-contact-title,
.portal-page .support-contact p {
  margin: 0;
}

.profile-page .portal-shell {
  width: min(1040px, 100%);
  padding: 22px 26px;
}

.profile-page .portal-intro {
  max-width: 720px;
  margin: 18px 0 16px;
}

.profile-page .profile-dashboard-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-page .profile-content-grid {
  align-items: start;
  gap: 12px;
  margin-top: 12px;
}

.profile-page .profile-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.profile-page .profile-account-panel,
.profile-page .profile-guide-panel {
  min-height: 132px;
}

.profile-page .profile-account-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
}

.profile-page .profile-account-panel #profile-summary {
  margin: 0;
  max-width: 44rem;
  color: #244841;
  font-size: 0.98rem;
  line-height: 1.55;
}

.profile-page .profile-account-panel .action-row,
.profile-page .profile-guide-panel .action-row {
  margin-top: 2px;
}

.profile-page .profile-guide-panel {
  display: grid;
  align-content: start;
  gap: 8px;
}

.profile-page .profile-guide-panel .hint {
  max-width: 40rem;
}

.profile-page .profile-guide-panel .btn {
  width: fit-content;
}

.profile-page .route-section {
  align-self: start;
}

.profile-page .token-wallet-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-page .token-wallet-toolbar .action-row {
  margin-top: 0;
}

.profile-page .section-heading {
  margin-bottom: 12px;
}

.profile-page .clone-list:empty::before {
  content: "Belum ada data untuk ditampilkan.";
  display: block;
  color: #6b8a83;
  font-size: 0.92rem;
  line-height: 1.55;
}

.profile-page .support-contact {
  width: min(1040px, 100%);
}

@media (max-width: 920px) {
  .portal-page .portal-layout,
  .portal-page .rental-layout,
  .portal-page .profile-dashboard-grid,
  .portal-page .profile-content-grid,
  .portal-page .rental-lists-grid {
    grid-template-columns: 1fr;
  }

  .portal-page .rental-sidebar {
    position: static;
  }

  .portal-page .profile-history-section {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .portal-page .page-wrap {
    padding: 0 0 20px;
  }

  .portal-page .portal-shell {
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 14px;
    box-shadow: none;
  }

  .portal-page .portal-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 12px;
  }

  .portal-page .portal-topbar .action-row {
    justify-content: flex-start;
  }

  .portal-page .portal-topbar .brand-logo {
    width: 42px;
    height: 42px;
  }

  .portal-page .portal-intro {
    margin: 14px 0;
  }

  .portal-page .panel {
    padding: 14px;
  }

  .portal-page .portal-main,
  .portal-page .portal-sidebar,
  .portal-page .rental-main {
    gap: 10px;
  }

  .portal-page .meta-action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .portal-page .convert-actions,
  .portal-page .rules-action {
    justify-content: flex-start;
  }

  .portal-page .convert-actions .btn,
  .portal-page .rules-action .btn,
  .portal-page .panel .action-row .btn {
    width: 100%;
    max-width: none;
  }

  .portal-page .panel .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .portal-page .premium-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-page .support-contact {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    margin-top: 0;
  }

  .profile-page .portal-shell {
    padding: 14px;
  }

  .profile-page .profile-guide-panel .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .portal-page .portal-shell {
    padding-inline: 12px;
  }

  .portal-page .premium-summary-grid {
    grid-template-columns: 1fr;
  }

  .portal-page .checkout-summary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* Mobile IA redesign */
:root {
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 8px;
  --mobile-bg: #f7faf9;
  --mobile-surface: #ffffff;
  --mobile-surface-soft: #eef7f4;
  --mobile-line: #d5e5e1;
  --mobile-ink: #142b27;
  --mobile-muted: #5f746f;
  --mobile-primary: #0f766e;
  --mobile-primary-dark: #0a5e58;
  --mobile-info: #176b87;
  --mobile-warning: #9a6700;
  --mobile-danger: #b42318;
  --mobile-success: #157f3f;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.btn,
input,
textarea,
select,
.input-like,
.glass-card,
.panel,
.clone-card,
.support-contact,
.checkout-summary,
.checkout-feedback,
.home-page .home-quick-card,
.home-page .feature-card,
.home-page .info-card,
.home-page .step-card,
.home-page .stat-card {
  border-radius: 8px;
}

.product-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.08) 0%, transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(12, 98, 91, 0.05) 0%, transparent 36%),
    linear-gradient(160deg, #f3fcf9, #e8f6f1 52%, #f8fbfa);
  color: var(--text);
}

.product-page-wrap {
  display: block;
  padding: 30px 18px;
}

.product-shell {
  width: min(960px, 100%);
  display: grid;
  gap: 18px;
  padding: 24px;
}

.detail-product-shell article {
  display: grid;
  gap: 16px;
}

.success-shell {
  width: min(720px, 100%);
}

.product-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-topbar .action-row {
  justify-content: flex-end;
}

.product-intro {
  display: grid;
  gap: 6px;
}

.product-intro .subtitle {
  margin: 0;
  max-width: 44rem;
}

.base-search-panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.base-search-panel input {
  min-height: 50px;
  border-color: var(--line);
  background: #fff;
}

.base-page #base-status:empty {
  display: none;
}

.base-section,
.detail-section {
  display: grid;
  gap: 14px;
}

.base-list,
.rule-summary-list,
.delivery-mode-list {
  display: grid;
  gap: 12px;
}

.base-link-card,
.empty-state-card,
.error-state-panel,
.rule-summary-item,
.delivery-mode-card,
.detail-skeleton,
.base-detail-hero {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(18, 69, 61, 0.06);
}

.base-link-card {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.base-link-card:hover {
  border-color: rgba(15, 118, 110, 0.28);
  background: #f8fcfb;
  transform: translateY(-1px);
}

.base-link-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.base-link-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.base-link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.base-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.base-social-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  padding: 5px 8px;
  background: #f4fbf8;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.base-social-link:hover {
  border-color: rgba(15, 118, 110, 0.34);
  background: #eaf7f3;
}

.base-social-link span {
  color: var(--muted);
}

.base-social-link strong {
  overflow: hidden;
  max-width: 160px;
  color: var(--primary);
  font-size: inherit;
  font-weight: 900;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.base-link-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  background: #eff8f5;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.empty-state-card,
.error-state-panel,
.detail-skeleton {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.error-state-panel h2,
.error-state-panel h3,
.base-detail-hero h2,
.delivery-mode-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.25;
}

.error-state-panel p,
.empty-state-card p,
.rule-summary-item span,
.delivery-mode-card p,
.success-state-panel p,
.base-detail-hero p,
.rules-accordion p,
.detail-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.base-detail-hero {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.rule-summary-item {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.rule-summary-item strong {
  color: var(--text);
  font-size: 0.9rem;
}

.delivery-mode-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.delivery-mode-card.is-disabled {
  background: #f6f8f7;
}

.disabled-control {
  opacity: 0.58;
  pointer-events: none;
}

.status-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  width: auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.status-pill.is-info {
  border-color: rgba(23, 107, 135, 0.2);
  background: #edf7fb;
  color: #176b87;
}

.status-pill.is-success {
  border-color: rgba(21, 127, 63, 0.18);
  background: #edf9f1;
  color: #157f3f;
}

.status-pill.is-warning {
  border-color: rgba(154, 103, 0, 0.2);
  background: #fff7e5;
  color: #9a6700;
}

.rules-accordion {
  display: grid;
  gap: 10px;
}

.rules-accordion details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.rules-accordion summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 800;
}

.rules-accordion p {
  padding: 0 16px 16px;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.base-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.base-action-row .btn {
  min-height: 46px;
}

.success-state-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  box-shadow: none;
}

.success-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.success-detail-list div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f9fcfb;
}

.success-detail-list dt,
.success-detail-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  line-height: 1.35;
}

.success-detail-list dt {
  color: var(--muted);
  font-weight: 700;
}

.success-detail-list dd {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.success-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.success-actions .btn {
  min-height: 46px;
}

.skeleton-card,
.skeleton-line,
.skeleton-box {
  position: relative;
  overflow: hidden;
  background: #e8f2ef;
}

.skeleton-card {
  min-height: 148px;
  border-radius: 16px;
}

.skeleton-line {
  width: 72%;
  height: 18px;
  border-radius: 999px;
}

.skeleton-line.wide {
  width: 92%;
  height: 28px;
}

.skeleton-box {
  height: 112px;
  border-radius: 16px;
}

.skeleton-box.short {
  height: 72px;
}

.skeleton-card::after,
.skeleton-line::after,
.skeleton-box::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: productShimmer 1.25s ease-in-out infinite;
}

@keyframes productShimmer {
  to {
    transform: translateX(100%);
  }
}

.home-page .home-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-page .home-quick-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  border: 1px solid var(--home-line);
  padding: 14px;
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(20, 43, 39, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-page .home-quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--home-line-strong);
  box-shadow: var(--home-shadow-soft);
}

.home-page .home-quick-card span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--mobile-surface-soft);
  color: var(--mobile-primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.home-page .home-quick-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.home-page .home-quick-card small {
  color: var(--home-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-page .hero-block {
  padding-bottom: 24px;
}

.home-page .section-container {
  padding-block: 38px;
}

.home-page .home-quick-section.section-container {
  padding-block: 26px 18px;
}

.home-page .stats-section {
  padding-block: 24px 12px;
}

.home-page .action-section.section-container {
  padding-block: 26px;
}

.home-page .feature-section.section-container,
.home-page .process-section.section-container,
.home-page .payment-section.section-container,
.home-page .faq-section.section-container {
  padding-block: 32px;
}

@media (max-width: 760px) {
  body {
    background: #f7faf9;
  }

  .home-page {
    background: #f7faf9;
  }

  .home-page .site-header,
  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 24px, 960px);
  }

  .home-page .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
  }

  .home-page .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .home-page .site-nav::-webkit-scrollbar {
    display: none;
  }

  .home-page .site-nav a {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .home-page .site-actions {
    gap: 8px;
  }

  .home-page .site-actions .btn {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 0.78rem;
  }

  .home-page .hero-block {
    margin-top: -72px;
    padding: 124px 0 28px;
  }

  .home-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page h1 {
    font-size: 2.3rem;
    line-height: 1.05;
  }

  .home-page .hero-lede {
    max-width: 24rem;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .home-page .hero-actions .btn,
  .home-page .final-cta .btn,
  .home-page .action-buttons .btn,
  .home-page .action-support .btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .home-page .hero-visual {
    display: none;
  }

  .home-page .trust-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 12px;
  }

  .home-page .trust-row span {
    min-height: 0;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .home-page .home-quick-grid,
  .home-page .feature-grid,
  .home-page .info-card-grid,
  .home-page .step-grid,
  .home-page .action-panel {
    grid-template-columns: 1fr;
  }

  .home-page .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .stat-card {
    min-height: 0;
    padding: 10px;
  }

  .home-page .stat-symbol {
    display: none;
  }

  .home-page .stat-label {
    font-size: 0.56rem;
  }

  .home-page .stat-value {
    font-size: 1rem;
  }

  .home-page .action-auth,
  .home-page .action-support {
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .home-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 24px;
  }

  .portal-page {
    background: linear-gradient(180deg, #f7faf9 0%, #eef7f4 46%, #f8fbfa 100%);
  }

  .portal-page .page-wrap {
    display: block;
    padding: 22px 14px 30px;
  }

  .portal-page .portal-shell {
    width: min(100%, 760px);
    padding: 16px;
  }

  .portal-page .portal-topbar {
    display: grid;
    gap: 12px;
    padding-bottom: 12px;
  }

  .portal-page .portal-topbar .brand-head {
    align-items: flex-start;
  }

  .portal-page .portal-topbar .action-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .send-page .portal-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 8px;
  }

  .send-page .portal-topbar .action-row {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .portal-page .portal-topbar .action-row .btn {
    width: 100%;
    min-height: 40px;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .send-page .portal-topbar .action-row .btn {
    width: auto;
    min-height: 32px;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .premium-page .portal-topbar .action-row {
    grid-template-columns: 44px repeat(2, minmax(0, 1fr));
  }

  .premium-page .portal-topbar .action-row .btn-icon {
    width: 44px;
    min-width: 44px;
    padding: 10px;
  }

  .portal-page h1 {
    font-size: 1.34rem;
  }

  .portal-page .portal-intro {
    margin: 12px 0 14px;
  }

  .portal-page .portal-helper {
    display: none;
  }

  .portal-page .portal-layout,
  .portal-page .profile-dashboard-grid,
  .portal-page .profile-content-grid,
  .portal-page .rental-layout,
  .portal-page .rental-lists-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal-page .portal-sidebar,
  .portal-page .portal-main,
  .portal-page .profile-column,
  .portal-page .rental-main {
    gap: 12px;
  }

  .portal-page .panel {
    padding: 14px;
  }

  .portal-page .panel-label {
    font-size: 0.68rem;
  }

  .portal-page .form-heading,
  .portal-page .section-heading {
    margin-bottom: 12px;
  }

  .portal-page .form-heading h2,
  .portal-page .section-heading h2,
  .portal-page .profile-guide-panel h2,
  .portal-page .rental-plan-panel h2,
  .portal-page .rental-mode-panel h2 {
    font-size: 1.08rem;
    line-height: 1.24;
  }

  .portal-page input,
  .portal-page textarea,
  .portal-page select,
  .portal-page .input-like {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .portal-page textarea {
    min-height: 130px;
  }

  .portal-page .meta-action-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .portal-page .convert-actions {
    justify-content: flex-start;
  }

  .portal-page .convert-actions .btn {
    min-height: 42px;
    white-space: normal;
  }

  .portal-page .rules-layout {
    display: block;
  }

  .portal-page .rules-action {
    position: static;
    margin-top: 10px;
    justify-content: flex-start;
  }

  .portal-page .rules-info p:not(#clone-line):not(#premium-clone-line) {
    max-width: none;
  }

  .portal-page .clone-card {
    padding: 12px;
  }

  .portal-page .checkout-summary {
    padding: 12px;
  }

  .portal-page .checkout-summary-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .portal-page .support-contact {
    width: min(760px, 100%);
    margin: 12px auto 0;
  }

  body:not(.home-page):not(.portal-page):not(.product-page) .page-wrap {
    display: block;
    padding: 18px 14px 24px;
  }

  body:not(.home-page):not(.portal-page):not(.product-page) .glass-card {
    width: min(100%, 760px);
    margin-inline: auto;
    padding: 18px;
  }

  .product-page-wrap {
    padding: 20px 14px 28px;
  }

  .product-shell {
    padding: 16px;
    gap: 14px;
  }

  .product-topbar {
    display: grid;
    gap: 12px;
  }

  .product-topbar .action-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-topbar .action-row .btn {
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }

  .base-link-card,
  .delivery-mode-card,
  .base-action-row,
  .success-actions {
    grid-template-columns: 1fr;
  }

  .base-link-action {
    width: 100%;
  }

  .success-detail-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .success-detail-list dd {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .home-page .site-header,
  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 20px, 960px);
  }

  .home-page .site-header {
    gap: 8px;
    padding: 8px;
  }

  .home-page .site-brand img {
    width: 34px;
    height: 34px;
  }

  .home-page .site-brand strong {
    font-size: 0.9rem;
  }

  .home-page .site-brand small {
    display: none;
  }

  .home-page .site-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .site-actions .btn {
    width: 100%;
  }

  .home-page .hero-actions {
    grid-template-columns: 1fr;
  }

  .home-page h1 {
    font-size: 1.96rem;
  }

  .home-page .stats-grid {
    grid-template-columns: 1fr;
  }

  .portal-page .page-wrap {
    padding-inline: 12px;
  }

  .portal-page .portal-topbar .action-row,
  .product-topbar .action-row,
  .premium-page .portal-topbar .action-row {
    grid-template-columns: 1fr;
  }

  .send-page .portal-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 8px;
  }

  .send-page .portal-topbar .action-row {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .send-page .portal-topbar .action-row .btn {
    width: auto;
    min-height: 30px;
    padding: 7px 10px;
    font-size: 0.72rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .premium-page .portal-topbar .action-row .btn-icon {
    width: 100%;
    min-width: 0;
  }

  .portal-page .panel {
    padding: 12px;
  }

  .portal-page .checkout-summary-row,
  .success-detail-list div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-card::after,
  .skeleton-line::after,
  .skeleton-box::after {
    animation: none;
  }
}

/* Final mobile normalization for homepage */
@media (max-width: 760px) {
  .home-page .site-header {
    position: static;
    top: auto;
    width: min(100% - 24px, 960px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    column-gap: 10px;
    row-gap: 8px;
    margin: 10px auto 0;
    padding: 10px;
    border-radius: 8px;
  }

  .home-page .site-brand {
    gap: 10px;
  }

  .home-page .site-brand img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .home-page .site-brand strong {
    font-size: 1rem;
    line-height: 1.1;
  }

  .home-page .site-brand small {
    display: none;
  }

  .home-page .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
  }

  .home-page .site-nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .home-page .site-actions {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr;
    width: 118px;
    gap: 6px;
  }

  .home-page .site-actions .btn {
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.8rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .home-page .hero-block {
    margin-top: 0;
    padding: 26px 0 22px;
  }

  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 24px, 960px);
  }

  .home-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .hero-visual {
    display: none;
  }

  .home-page h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .home-page .hero-lede {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .home-page .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .home-page .hero-actions .btn,
  .home-page .final-cta .btn,
  .home-page .action-buttons .btn,
  .home-page .action-support .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .home-page .trust-row span {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 0;
    padding: 9px 10px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .home-page .trust-row span:last-child {
    grid-column: 1 / -1;
  }

  .home-page .section-container {
    padding-block: 30px;
  }

  .home-page .stats-section {
    padding-block: 24px 16px;
  }

  .home-page .section-header {
    max-width: none;
    margin-bottom: 16px;
  }

  .home-page .section-header h2,
  .home-page .final-cta h2 {
    font-size: 1.95rem;
    line-height: 1.12;
  }

  .home-page .section-header p:not(.section-kicker) {
    margin-top: 10px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .home-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .stat-card {
    min-height: 0;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .home-page .stat-card > div {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .home-page .stat-symbol {
    width: 30px;
    height: 30px;
    display: inline-flex;
    border-radius: 8px;
  }

  .home-page .stat-symbol svg {
    width: 14px;
    height: 14px;
  }

  .home-page .stat-card:last-child {
    grid-column: 1 / -1;
    width: clamp(180px, 62vw, 210px);
    justify-self: center;
  }

  .home-page .stat-label {
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }

  .home-page .stat-value {
    margin-top: 1px;
    font-size: 1.1rem;
    line-height: 1.1;
  }

  .home-page .action-panel,
  .home-page .info-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-page .feature-grid,
  .home-page .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .feature-grid {
    align-items: stretch;
  }

  .home-page .feature-card {
    height: 100%;
  }

  .home-page .home-quick-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-page .home-quick-card {
    min-height: 112px;
    padding: 12px;
    gap: 6px;
  }

  .home-page .home-quick-card span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  .home-page .home-quick-card strong {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .home-page .home-quick-card small {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 520px);
    margin-inline: auto;
    align-items: stretch;
  }

  .home-page .footer-grid > div {
    background: #ffffff;
    border: 1px solid rgba(151, 201, 192, 0.58);
    border-radius: 12px;
    padding: 12px;
  }

  .home-page .footer-grid p,
  .home-page .footer-grid a {
    overflow-wrap: anywhere;
  }

  .home-page .action-primary,
  .home-page .action-auth,
  .home-page .action-support,
  .home-page .feature-card,
  .home-page .info-card,
  .home-page .step-card {
    min-height: 0;
    padding: 12px;
  }

  .home-page .action-auth,
  .home-page .action-support {
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .home-page .field-head {
    margin-bottom: 10px;
    gap: 8px;
  }

  .home-page .field-head h3,
  .home-page .action-support h3,
  .home-page .feature-card h3,
  .home-page .info-card h3,
  .home-page .step-card h3 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .home-page label,
  .home-page .hint,
  .home-page .action-auth p,
  .home-page .action-support p,
  .home-page .feature-card p,
  .home-page .info-card p,
  .home-page .step-card p,
  .home-page .info-card li {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .home-page .feature-card strong {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .home-page select,
  .home-page .input-like {
    min-height: 44px;
    padding: 10px 34px 10px 12px;
    font-size: 0.92rem;
  }

  .home-page .status-badge,
  .home-page .service-tag {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .home-page .price-line {
    margin: 10px 0;
    padding: 10px 0;
  }

  .home-page .price-line span {
    font-size: 0.84rem;
  }

  .home-page .price-line strong {
    font-size: 1.1rem;
  }

  .home-page .home-status {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .home-page .faq-accordion summary {
    padding: 12px 44px 12px 12px;
    font-size: 0.92rem;
  }

  .home-page .faq-accordion p {
    padding: 10px 12px 12px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .home-page .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .home-page .site-header,
  .home-page .hero-inner,
  .home-page .section-container {
    width: min(100% - 20px, 960px);
  }

  .home-page h1 {
    font-size: 1.85rem;
  }

  .home-page .section-header h2,
  .home-page .final-cta h2 {
    font-size: 1.65rem;
  }

  .home-page .site-actions {
    grid-column: 2;
    grid-row: 1;
    width: 108px;
    gap: 5px;
  }

  .home-page .site-actions .btn {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .send-page .portal-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 6px;
  }

  .send-page .portal-topbar .action-row {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
  }

  .send-page .portal-topbar .action-row .btn {
    width: auto;
    min-height: 28px;
    padding: 6px 9px;
    font-size: 0.68rem;
    border-radius: 7px;
  }

  .home-page .feature-grid,
  .home-page .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .feature-card,
  .home-page .step-card {
    padding: 10px;
  }

  .home-page .feature-card h3,
  .home-page .step-card h3 {
    font-size: 0.98rem;
  }
}

/* Premium: compact segmented top actions */
.premium-page .portal-topbar .action-row.premium-top-actions {
  width: clamp(360px, 42vw, 520px);
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  flex: 0 1 520px;
  display: grid;
  grid-template-columns: 44px repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(150, 201, 191, 0.92);
  border-radius: 8px;
  overflow: hidden;
  background: #f6fbf9;
}

.premium-page .portal-topbar .action-row.premium-top-actions .btn {
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  border: 0;
  border-right: 1px solid rgba(150, 201, 191, 0.92);
  border-radius: 0;
  justify-content: center;
  font-size: 0.74rem;
  line-height: 1.1;
  white-space: nowrap;
}

.premium-page .portal-topbar .action-row.premium-top-actions .btn:last-child {
  border-right: 0;
}

.premium-page .portal-topbar .action-row.premium-top-actions .btn-icon {
  min-width: 0;
  padding: 8px;
}

.premium-page .portal-topbar .action-row.premium-top-actions.premium-history-mode-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-page #premium-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 420px) {
  .premium-page .portal-topbar .action-row.premium-top-actions {
    grid-template-columns: 38px repeat(2, minmax(0, 1fr));
  }

  .premium-page .portal-topbar .action-row.premium-top-actions.premium-history-mode-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Send page: nudge top-right action slightly lower and vertically centered */
@media (max-width: 760px) {
  .send-page .portal-topbar .action-row {
    align-self: center;
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  .send-page .portal-topbar .action-row {
    margin-top: 5px;
  }
}

/* Send: match premium header segmented actions */
.send-page .portal-topbar .action-row.send-top-actions {
  width: clamp(330px, 34vw, 390px);
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  flex: 0 1 360px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(150, 201, 191, 0.92);
  border-radius: 8px;
  overflow: hidden;
  background: #f6fbf9;
}

.send-page .portal-topbar .action-row.send-top-actions .btn {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid rgba(150, 201, 191, 0.92);
  border-radius: 0;
  justify-content: center;
  font-size: 0.74rem;
  line-height: 1.1;
  white-space: nowrap;
}

.send-page .portal-topbar .action-row.send-top-actions .btn:last-child {
  border-right: 0;
}

.send-page .portal-topbar .action-row.send-top-actions:has(#edit-base-link.hidden) #profile-link {
  border-right: 0;
}

@media (max-width: 760px) {
  .send-page .portal-topbar {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
  }

  .send-page .portal-topbar .brand-head {
    width: 100%;
  }

  .send-page .portal-topbar .action-row.send-top-actions {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    align-self: stretch;
    justify-content: stretch;
  }

  .send-page .portal-topbar .action-row.send-top-actions .btn {
    min-height: 38px;
    padding: 8px 8px;
    font-size: 0.76rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .send-page .portal-topbar .action-row.send-top-actions .btn {
    min-height: 36px;
    padding: 7px 6px;
    font-size: clamp(0.64rem, 2.7vw, 0.68rem);
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

/* Base: match premium header segmented actions */
.base-page .product-topbar .action-row.base-top-actions {
  width: clamp(220px, 24vw, 260px);
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  flex: 0 1 260px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(150, 201, 191, 0.92);
  border-radius: 8px;
  overflow: hidden;
  background: #f6fbf9;
}

.base-page .product-topbar .action-row.base-top-actions .btn {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid rgba(150, 201, 191, 0.92);
  border-radius: 0;
  justify-content: center;
  font-size: 0.74rem;
  line-height: 1.1;
  white-space: nowrap;
}

.base-page .product-topbar .action-row.base-top-actions .btn:last-child {
  border-right: 0;
}

@media (max-width: 760px) {
  .base-page .product-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    align-items: start;
    gap: 10px;
  }

  .base-page .product-topbar .brand-head {
    min-width: 0;
    align-items: flex-start;
  }

  .base-page .product-topbar .brand-logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .base-page .product-topbar .action-row.base-top-actions {
    width: 92px;
    max-width: 92px;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    gap: 6px;
    align-self: start;
    justify-self: end;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .base-page .product-topbar .action-row.base-top-actions .btn {
    min-height: 20px;
    padding: 4px 8px;
    border: 1px solid rgba(150, 201, 191, 0.92);
    border-radius: 999px;
    font-size: 0.66rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .base-page .product-topbar .action-row.base-top-actions .btn:last-child {
    border-right: 1px solid rgba(150, 201, 191, 0.92);
  }
}

/* Send page: split status + mode into two compact columns */
.send-page .rules-base-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin-top: 4px;
}

.send-page .rules-base-meta .rule-meta-item {
  min-width: 0;
  margin: 0;
  color: #2e5e58;
  font-size: 0.82rem;
  line-height: 1.45;
}

.premium-page .rules-base-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin-top: 4px;
}

.premium-page .rules-base-meta .rule-meta-item {
  min-width: 0;
  margin: 0;
  color: #2e5e58;
  font-size: 0.82rem;
  line-height: 1.45;
}

.premium-page .premium-rules-meta-box {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 16px;
  background: #ffffff;
}

.premium-page .premium-rules-meta-box .rules-base-meta {
  margin-top: 0;
}

.premium-page #premium-trigger-line {
  margin: 6px 0 0;
  max-width: none;
  color: #2e5e58;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Premium summary: force 2-column split */
.premium-page .premium-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .send-page .rules-base-meta {
    gap: 4px 10px;
    margin-top: 3px;
  }

  .send-page .rules-base-meta .rule-meta-item {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .premium-page .rules-base-meta {
    gap: 4px 10px;
    margin-top: 3px;
  }

  .premium-page .rules-base-meta .rule-meta-item {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .premium-page .premium-rules-meta-box {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .premium-page #premium-trigger-line {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.4;
  }
}

/* Premium summary: keep compact 2-column cards on mobile */
@media (max-width: 760px) {
  .premium-page .premium-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .premium-page .premium-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .premium-page .premium-summary-item {
    padding: 8px;
  }

  .premium-page .premium-summary-label {
    margin-bottom: 5px;
    font-size: 0.56rem;
  }

  .premium-page .premium-summary-value {
    font-size: 1.2rem;
  }
}

/* Premium intro: compact base status under subtitle */
.premium-page .premium-base-status {
  margin: 2px 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  color: #5d7772;
  text-transform: lowercase;
}

/* Homepage mobile header tidy-up */
@media (max-width: 760px) {
  .home-page .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    column-gap: 12px;
    row-gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .home-page .site-brand {
    grid-area: brand;
    min-width: 0;
    align-items: center;
    gap: 10px;
  }

  .home-page .site-brand span {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .home-page .site-brand strong {
    font-size: 1.04rem;
    line-height: 1.14;
  }

  .home-page .site-brand small {
    display: block;
    margin-top: 1px;
    color: #607a75;
    font-size: 0.7rem;
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .home-page .site-actions {
    grid-area: actions;
    grid-column: auto;
    grid-row: auto;
    width: 122px;
    gap: 8px;
  }

  .home-page .site-actions .btn {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .home-page .site-nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 0;
    scrollbar-width: none;
  }

  .home-page .site-nav::-webkit-scrollbar {
    display: none;
  }

  .home-page .site-nav a {
    flex: 0 0 auto;
    max-width: min(38vw, 180px);
    padding: 2px 0;
    border-radius: 0;
    font-size: 0.96rem;
    line-height: 1.24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 420px) {
  .home-page .site-header {
    width: min(100% - 20px, 960px);
    column-gap: 10px;
    row-gap: 10px;
    padding: 11px;
  }

  .home-page .site-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .home-page .site-brand strong {
    font-size: 0.98rem;
  }

  .home-page .site-brand small {
    display: block;
    font-size: 0.62rem;
    line-height: 1.18;
  }

  .home-page .site-actions {
    width: 114px;
    gap: 6px;
  }

  .home-page .site-actions .btn {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .home-page .site-nav {
    gap: 10px;
    padding-top: 3px;
  }

  .home-page .site-nav a {
    font-size: 0.9rem;
  }
}

/* Homepage mobile: tighten section spacing */
@media (max-width: 760px) {
  .home-page .home-quick-section.section-container,
  .home-page .action-section.section-container,
  .home-page .feature-section.section-container,
  .home-page .process-section.section-container,
  .home-page .payment-section.section-container,
  .home-page .faq-section.section-container {
    padding-block: 18px;
  }

  .home-page .section-header {
    margin-bottom: 12px;
  }
}

