/* Final shared service layer. Loaded after tool-specific CSS so every service
   keeps the fee-calculator shell and typography. */
.vau-service-shell .hero2026 {
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: none;
}
.vau-service-shell .hero2026 .page-title,
.vau-service-shell .hero2026 h2.page-title,
.vau-service-shell .hero2026 h2.text-3xl,
.vau-service-shell .hero2026 h2.text-4xl {
  width: 100%;
  max-width: none;
  font-size: clamp(24px, 3.5vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.045em;
}
.vau-service-shell .hero2026 p.page-subtitle,
.vau-service-shell .hero2026 > .relative.z-10 > p {
  margin-top: 10px;
  color: var(--vau-muted, #737373);
  font-size: 15px;
  line-height: 1.5;
}
.vau-service-shell .hero-links,
.vau-service-shell .hero2026 > .relative.z-10 > .flex.flex-col,
.vau-service-shell .hero2026 > .relative.z-10 > .flex.flex-wrap:has(a.page-subtitle) {
  gap: 8px 12px;
  margin-top: 10px;
}
.vau-service-shell .hero-links a.page-subtitle,
.vau-service-shell .hero2026 > .relative.z-10 > a.page-subtitle,
.vau-service-shell .hero2026 > .relative.z-10 > .flex a.page-subtitle {
  margin: 0;
  padding: .15rem 0;
  color: #4338ca;
  font-size: 15px;
  line-height: 1.5;
}
.vau-service-shell .card,
.vau-service-shell .panel,
.vau-service-shell .tool-card,
.vau-service-shell .module {
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: none;
}
.vau-service-shell .card.p-6,
.vau-service-shell .panel.p-6,
.vau-service-shell .tool-card.p-6,
.vau-service-shell .module {
  padding: 24px;
  margin-bottom: 16px;
}
.vau-service-shell .vau-news-strip,
.vau-service-shell .hero2026,
.vau-service-shell .card,
.vau-service-shell .panel,
.vau-service-shell .tool-card,
.vau-service-shell .module {
  border-color: var(--vau-line, rgba(26, 24, 48, .1));
}
.vau-service-shell .section-kicker {
  font-size: 11px;
  line-height: 1.45;
}
.vau-service-shell .module h2,
.vau-service-shell .card h2,
.vau-service-shell .card h3,
.vau-service-shell .tool-card h2,
.vau-service-shell .tool-card h3 {
  font-size: 18px;
  line-height: 1.3;
}
.vau-service-shell button,
.vau-service-shell .btn,
.vau-service-shell [type="submit"] {
  font-size: 15px;
  line-height: 1.4;
}
.vau-service-shell .calc .payment-amount::after {
  content: none;
}
.vau-service-shell table th {
  font-size: 12px;
  line-height: 1.4;
}
.vau-service-shell table td {
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 700px) {
  .vau-service-shell .hero2026 {
    padding: 24px 20px;
  }
  .vau-service-shell .card.p-6,
  .vau-service-shell .panel.p-6,
  .vau-service-shell .tool-card.p-6,
  .vau-service-shell .module {
    padding: 20px;
  }
}

.vau-service-shell .payment-purpose-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 24, 48, .38);
}
.vau-service-shell .payment-purpose-dialog[hidden] {
  display: none;
}
.vau-service-shell .payment-purpose-dialog__panel {
  width: min(100%, 480px);
  padding: 24px;
  border: 1px solid var(--vau-line, rgba(26, 24, 48, .1));
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(26, 24, 48, .2);
}
.vau-service-shell .payment-purpose-dialog__title {
  display: block;
  margin-bottom: 12px;
  color: var(--vau-ink, #1a1830);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}
.vau-service-shell .payment-purpose-dialog__input {
  width: 100%;
  margin: 0;
}
.vau-service-shell .payment-purpose-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.vau-service-shell .payment-purpose-dialog__btn {
  min-height: 40px;
}
.vau-service-shell .payment-purpose-dialog__btn--primary {
  background: var(--vau-violet, #7657ff);
  color: #fff;
  border-color: var(--vau-violet, #7657ff);
}

/* Certificate renewal parser controls stay grouped with the editor content. */
.vau-service-shell .parse-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.vau-service-shell .parse-controls .btn-toggle {
  width: auto;
  min-width: 0;
  min-height: 42px;
  flex: 0 0 auto;
}

.vau-service-shell .right-grid .renewal-paper-note,
.vau-service-shell .right-grid .fee-action-hint {
  grid-column: 1 / -1;
  width: 100%;
}

.vau-service-shell .renewal-paper-note {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7f5ff;
  color: #403b5e;
  font-size: 14px;
  line-height: 1.5;
}

.vau-service-shell .renewal-paper-note p {
  margin: 0;
}

.vau-service-shell .renewal-paper-note p + p {
  margin-top: 8px;
}

.vau-service-shell .notice-jump-link {
  display: inline;
  margin-left: 6px;
  color: #5d45c7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.vau-service-shell .notice-jump-link:hover,
.vau-service-shell .notice-jump-link:focus-visible {
  color: #382391;
}

.vau-service-shell .jump-target {
  scroll-margin-top: 96px;
}

.vau-service-shell .department42-notes__heading {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.vau-service-shell .ignored-errors-notice__button {
  display: none;
}

/* The renewal page ends with its information card; keep the page finish compact. */
.vau-service-shell main.calc {
  padding-bottom: 24px;
}

.vau-service-shell .term-counting-help-content {
  color: #343047;
  font-size: 15px;
  line-height: 1.65;
}

.vau-service-shell .term-counting-help-content > p {
  margin: 0 0 14px;
}

.vau-service-shell .term-counting-help-content > p:first-child {
  color: #625d79;
  font-size: 14px;
  font-weight: 600;
}

.vau-service-shell .term-counting-help-content .letter-rule {
  margin-top: 22px;
  padding: 12px 14px;
  border-left: 3px solid #7657ff;
  border-radius: 0 10px 10px 0;
  background: #f7f5ff;
}

.vau-service-shell .term-counting-help-content .letter-subrule {
  margin: 12px 0 8px 16px;
  color: #514b69;
}

.vau-service-shell .term-counting-help-content .letter-example {
  margin: 8px 0 14px 28px;
  padding-left: 12px;
  border-left: 2px solid #e5defe;
  color: #5f5975;
  line-height: 1.55;
}

.vau-service-shell .term-counting-help-content .letter-exception-title {
  color: #4d3ba2;
}

@media (max-width: 640px) {
  .vau-service-shell .term-counting-help-content {
    font-size: 15px;
  }

  .vau-service-shell .term-counting-help-content .letter-example,
  .vau-service-shell .term-counting-help-content .letter-subrule {
    margin-left: 10px;
  }
}

.vau-service-shell .class-list-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f5ff;
}

.vau-service-shell .class-list-nav--floating {
  position: fixed;
  right: 78px;
  bottom: 22px;
  z-index: 39;
  width: min(320px, calc(100vw - 136px));
  max-height: min(38vh, 260px);
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(118, 87, 255, .18);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 28px rgba(46, 35, 87, .14);
}

.vau-service-shell .class-list-nav__label {
  margin-right: 2px;
  color: #625d79;
  font-size: 13px;
  font-weight: 600;
}

.vau-service-shell .class-list-nav__link {
  min-width: 34px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(118, 87, 255, .25);
  border-radius: 8px;
  background: #fff;
  color: #503ab2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.vau-service-shell .class-list-nav__link:hover,
.vau-service-shell .class-list-nav__link:focus-visible {
  border-color: #7657ff;
  background: #7657ff;
  color: #fff;
}

.vau-service-shell .class-list-row {
  scroll-margin-top: 84px;
  transition: background .2s, box-shadow .2s;
}

.vau-service-shell .class-list-row.is-targeted {
  background: #f7f5ff;
  box-shadow: 0 0 0 2px rgba(118, 87, 255, .18);
}

.vau-service-shell .ce-input mark.num-header {
  scroll-margin-top: 96px;
  transition: background .2s, box-shadow .2s;
}

.vau-service-shell .ce-input mark.num-header.is-targeted {
  background: #ddd5ff;
  box-shadow: 0 0 0 3px rgba(118, 87, 255, .2);
}

.vau-service-shell .back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(118, 87, 255, .25);
  border-radius: 50%;
  background: #7657ff;
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, background .2s;
}

.vau-service-shell .back-to-top::before {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: '';
  transform: translateY(3px) rotate(45deg);
}

.vau-service-shell .back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vau-service-shell .back-to-top:hover,
.vau-service-shell .back-to-top:focus-visible {
  background: #6045d6;
}

@media (max-width: 640px) {
  .vau-service-shell .class-list-nav--floating {
    right: 66px;
    bottom: 14px;
    width: min(230px, calc(100vw - 124px));
  }

  .vau-service-shell .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 640px) {
  .vau-service-shell .parse-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vau-service-shell .parse-controls .btn-toggle {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .vau-service-shell .payment-purpose-dialog__panel {
    padding: 20px;
  }
  .vau-service-shell .payment-purpose-dialog__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* The dialog is appended to document.body, outside the service shell. */
.payment-purpose-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 24, 48, .38);
}
.payment-purpose-dialog[hidden] { display: none; }
.payment-purpose-dialog__panel {
  width: min(100%, 480px);
  padding: 24px;
  border: 1px solid rgba(26, 24, 48, .1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(26, 24, 48, .2);
}
.payment-purpose-dialog__title {
  display: block;
  margin-bottom: 12px;
  color: #1a1830;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}
.payment-purpose-dialog__input { width: 100%; margin: 0; }
.payment-purpose-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.payment-purpose-dialog__btn { min-height: 40px; }
.payment-purpose-dialog__btn--primary {
  background: #7657ff;
  color: #fff;
  border-color: #7657ff;
}
@media (max-width: 560px) {
  .payment-purpose-dialog__panel { padding: 20px; }
  .payment-purpose-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Refined payment-purpose modal: quiet overlay, clear hierarchy and a single
   primary action. */
.payment-purpose-dialog {
  background: rgba(20, 18, 40, .48);
  backdrop-filter: blur(4px);
}
.payment-purpose-dialog__panel {
  width: min(100%, 500px);
  padding: 28px;
  border: 1px solid rgba(118, 87, 255, .18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(26, 24, 48, .24);
}
.payment-purpose-dialog__title {
  margin-bottom: 16px;
  color: #1a1830;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.payment-purpose-dialog__input {
  display: block;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 24, 48, .16);
  border-radius: 12px;
  background: #fbfaff;
  color: #1a1830;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.payment-purpose-dialog__input::placeholder {
  color: #8a879c;
}
.payment-purpose-dialog__input:focus {
  border-color: #7657ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(118, 87, 255, .16);
}
.payment-purpose-dialog__actions {
  gap: 12px;
  margin-top: 20px;
}
.payment-purpose-dialog__btn {
  min-width: 124px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(118, 87, 255, .22);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.payment-purpose-dialog__btn:hover {
  transform: translateY(-1px);
}
.payment-purpose-dialog__btn:not(.payment-purpose-dialog__btn--primary) {
  background: #fff;
  color: #4f4675;
}
.payment-purpose-dialog__btn:not(.payment-purpose-dialog__btn--primary):hover {
  background: #f7f4ff;
  border-color: rgba(118, 87, 255, .42);
}
.payment-purpose-dialog__btn--primary {
  background: #7657ff;
  color: #fff;
  border-color: #7657ff;
  box-shadow: 0 7px 18px rgba(118, 87, 255, .22);
}
.payment-purpose-dialog__btn--primary:hover {
  background: #6849ee;
  border-color: #6849ee;
}
.payment-purpose-dialog__btn:focus-visible {
  outline: 3px solid rgba(118, 87, 255, .3);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .payment-purpose-dialog { padding: 16px; }
  .payment-purpose-dialog__panel { padding: 22px; }
  .payment-purpose-dialog__actions { grid-template-columns: 1fr 1fr; }
  .payment-purpose-dialog__btn { min-width: 0; }
}

/* Payment form: group choices and data entry into a calm, scannable flow. */
.vau-service-shell .payment-parameters-card {
  border-top: 3px solid var(--vau-violet, #7657ff);
}
.vau-service-shell .payment-parameters-card > .card-title {
  margin-bottom: 6px;
}
.vau-service-shell .payment-parameters-card > .muted {
  margin: 0 0 14px;
  color: var(--vau-muted, #737373);
  font-size: 13px;
  line-height: 1.45;
}
.vau-service-shell .payment-options {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}
.vau-service-shell .payment-option-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(118, 87, 255, .14);
  border-radius: 12px;
  background: rgba(248, 247, 255, .72);
}
.vau-service-shell .payment-option-group .chip-group__title {
  flex: 0 0 100%;
  margin-bottom: 1px;
  color: var(--vau-ink, #1a1830);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.vau-service-shell .payment-option-group .chip {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
}
.vau-service-shell .payment-option-group .chip--range {
  flex: 1 1 210px;
  justify-content: flex-start;
  text-align: left;
}
.vau-service-shell .payment-form {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--vau-line, rgba(26, 24, 48, .1));
}
.vau-service-shell .payment-form .field {
  display: grid;
  gap: 6px;
}
.vau-service-shell .payment-form .field label {
  margin: 0;
  color: var(--vau-ink, #1a1830);
  font-size: 13px;
  font-weight: 700;
}
.vau-service-shell .payment-form .va-help {
  margin: -8px 0 0;
  color: var(--vau-muted, #737373);
  font-size: 12px;
}
.vau-service-shell .payment-form .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.vau-service-shell .payment-form .btn-row .btn-primary {
  min-width: 172px;
}
@media (max-width: 640px) {
  .vau-service-shell .payment-option-group .chip--range {
    flex-basis: 100%;
  }
  .vau-service-shell .payment-form .btn-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .vau-service-shell .payment-form .btn-row .btn {
    width: 100%;
  }
}
/* Payment form: grouped quick choices and a clear data-entry flow. */
.vau-service-shell .payment-parameters-card__heading { margin-bottom: 6px; }
.vau-service-shell .payment-parameters-card__heading .card-title { margin: 0; }
.vau-service-shell .payment-parameters-card > .muted { margin: 0 0 14px; color: var(--vau-muted, #737373); font-size: 13px; line-height: 1.45; }
.vau-service-shell .payment-options { display: grid; gap: 12px; margin: 0 0 20px; }
.vau-service-shell .payment-option-group { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 10px 12px 12px; border: 1px solid rgba(118, 87, 255, .14); border-radius: 12px; background: rgba(248, 247, 255, .72); }
.vau-service-shell .payment-option-group .chip-group__title { flex: 0 0 100%; margin-bottom: 1px; color: var(--vau-ink, #1a1830); font-size: 12px; font-weight: 700; line-height: 1.3; }
.vau-service-shell .payment-option-group .chip { min-height: 34px; padding: 7px 10px; border-radius: 9px; font-size: 12px; font-weight: 650; }
.vau-service-shell .payment-option-group .chip--range { flex: 1 1 210px; justify-content: flex-start; text-align: left; }
.vau-service-shell .payment-form { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--vau-line, rgba(26, 24, 48, .1)); }
.vau-service-shell .payment-form .field { display: grid; gap: 6px; }
.vau-service-shell .payment-form .field label { margin: 0; color: var(--vau-ink, #1a1830); font-size: 13px; font-weight: 700; }
.vau-service-shell .payment-form .va-help { margin: 0; color: var(--vau-muted, #737373); font-size: 12px; }
.vau-service-shell .payment-form .btn-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.vau-service-shell .payment-form .btn-row .btn-primary { min-width: 172px; }
@media (max-width: 640px) { .vau-service-shell .payment-option-group .chip--range { flex-basis: 100%; } .vau-service-shell .payment-form .btn-row { display: grid; grid-template-columns: 1fr; } .vau-service-shell .payment-form .btn-row .btn { width: 100%; } }
.vau-service-shell .qr-empty-hint { margin: 6px 0 18px; color: var(--vau-muted, #737373); font-size: 13px; line-height: 1.5; }
.vau-service-shell .qr-slot { min-height: 18px; margin-bottom: 18px; display: grid; place-items: center; }
.vau-service-shell .qr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .vau-service-shell .qr-actions { display: grid; grid-template-columns: 1fr; } .vau-service-shell .qr-actions .btn { width: 100%; } }

.vau-service-shell .qr-card-title { text-align: center; }

.vau-service-shell .payment-form .va-input.is-invalid { border-color: #d6455d; background: #fff4f5; box-shadow: 0 0 0 3px rgba(214, 69, 93, .12); }
.vau-service-shell .payment-form .field-error { margin-top: 2px; color: #b4233c; font-size: 12px; line-height: 1.4; }

/* Payment reference panels: a guided sequence and a readable requisites sheet. */
.vau-service-shell .payment-section-heading { margin-bottom: 18px; }
.vau-service-shell .payment-section-kicker { display: block; margin-bottom: 5px; color: var(--vau-violet, #7657ff); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.vau-service-shell .payment-section-heading .card-title { margin: 0; max-width: 34ch; }
.vau-service-shell .payment-instructions-card { border-top: 3px solid #8c7aff; }
.vau-service-shell .payment-instructions-card > .list-compact { display: grid; gap: 14px; margin: 0; padding-left: 1.65rem; counter-reset: payment-step; list-style: none; }
.vau-service-shell .payment-instructions-card > .list-compact > li { position: relative; padding: 12px 14px; border: 1px solid rgba(118,87,255,.13); border-radius: 11px; background: rgba(248,247,255,.7); line-height: 1.55; counter-increment: payment-step; }
.vau-service-shell .payment-instructions-card > .list-compact > li::before { content: counter(payment-step); position: absolute; left: -1.65rem; top: 12px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--vau-violet,#7657ff); color: #fff; font-size: 12px; font-weight: 800; }
.vau-service-shell .payment-instructions-card > .list-compact > li b { display: block; margin-bottom: 3px; color: var(--vau-ink,#1a1830); }
.vau-service-shell .payment-requisites-card { border-top: 3px solid #38a98b; }
.vau-service-shell .payment-requisites-card > .muted { display: grid; gap: 0; color: #3d3857; font-size: 14px; line-height: 1.58; }
.vau-service-shell .payment-requisites-card > .muted > p { margin: 0; padding: 11px 0; border-bottom: 1px solid rgba(26,24,48,.08); }
.vau-service-shell .payment-requisites-card > .muted > p:last-child { border-bottom: 0; padding-bottom: 0; }
.vau-service-shell .payment-requisites-card > .muted > p:first-child { padding-top: 0; }
.vau-service-shell .payment-requisites-card > .muted b { color: var(--vau-ink,#1a1830); }
@media (max-width: 640px) { .vau-service-shell .payment-instructions-card > .list-compact { padding-left: 1.45rem; } .vau-service-shell .payment-instructions-card > .list-compact > li::before { left: -1.45rem; } }
/* Keep the instruction card compact while preserving step order. */
.vau-service-shell .payment-instructions-card > .list-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; padding-left: 1.45rem; }
.vau-service-shell .payment-instructions-card > .list-compact > li { padding: 9px 11px; line-height: 1.42; }
.vau-service-shell .payment-instructions-card > .list-compact > li::before { left: -1.45rem; top: 9px; width: 23px; height: 23px; border-radius: 7px; }
.vau-service-shell .payment-instructions-card > .list-compact > li b { margin-bottom: 2px; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .vau-service-shell .payment-instructions-card > .list-compact { grid-template-columns: 1fr; gap: 8px; } .vau-service-shell .payment-instructions-card > .list-compact > li:last-child { grid-column: auto; } }
/* Final instruction treatment: one quiet timeline instead of stacked mini-cards. */
.vau-service-shell .payment-instructions-card > .list-compact { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 0 0 34px; list-style: none; }
.vau-service-shell .payment-instructions-card > .list-compact > li { min-height: 42px; margin: 0; padding: 0 0 16px 16px; border: 0; border-left: 1px solid rgba(118,87,255,.24); border-radius: 0; background: transparent; line-height: 1.48; counter-increment: payment-step; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child { grid-column: auto; padding-bottom: 0; }
.vau-service-shell .payment-instructions-card > .list-compact > li::before { left: -13px; top: 0; width: 25px; height: 25px; border: 4px solid #fff; border-radius: 50%; background: var(--vau-violet,#7657ff); box-shadow: 0 0 0 1px rgba(118,87,255,.3); font-size: 11px; }
.vau-service-shell .payment-instructions-card > .list-compact > li b { margin-bottom: 3px; font-size: 14px; }
.vau-service-shell .payment-instructions-card > .list-compact > li > ul { margin-top: 8px; padding-left: 18px; }
.vau-service-shell .payment-instructions-card > .list-compact > li > br:first-child { display: none; }
@media (max-width: 640px) { .vau-service-shell .payment-instructions-card > .list-compact { padding-left: 27px; } .vau-service-shell .payment-instructions-card > .list-compact > li { padding-left: 14px; } .vau-service-shell .payment-instructions-card > .list-compact > li::before { left: -12px; } }
.vau-service-shell .payer-status-option { white-space: normal; }

.vau-service-shell .payment-instructions-card .fee-details { margin: 8px 0 0; padding-left: 18px; color: var(--vau-muted, #737373); }
.vau-service-shell .payment-instructions-card .fee-details > li { padding: 0 0 6px; line-height: 1.45; }
.vau-service-shell .payment-instructions-card .fee-details > li:last-child { padding-bottom: 0; }
.vau-service-shell .payment-instructions-card .fee-details p { margin: 6px 0 0; }


/* Only the step lead is a block; inline emphasis stays in the sentence. */
.vau-service-shell .payment-instructions-card > .list-compact > li > b:first-child { display: block; }
.vau-service-shell .payment-instructions-card > .list-compact > li b:not(:first-child) { display: inline; }
.vau-service-shell .payer-status-option b { display: inline; }

.vau-service-shell .payer-status-option { display: block; white-space: normal; }

.vau-service-shell .payment-instructions-card > .list-compact > li .payer-status-option b { display: inline; }

/* Return-payment guidance: clear heading, steps and address spacing. */
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child { padding-top: 4px; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > br:first-child { display: none; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > b { display: block; margin: 0 0 10px; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > .fee-details { display: grid; gap: 10px; margin: 0; padding: 0 0 0 18px; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > .fee-details > li { padding: 0; line-height: 1.5; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > .fee-details > li:last-child { display: grid; gap: 8px; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > .fee-details p { margin: 0; }
.vau-service-shell .payment-instructions-card > .list-compact > li:last-child > .fee-details { padding-left: 0; list-style: none; }

.vau-service-shell .payment-requisites-card .payment-section-heading .card-title { max-width: none; width: 100%; }

/* QR actions use a compact two-column control grid. */
.vau-service-shell .qr-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.vau-service-shell .qr-actions .btn { width: 100%; min-width: 0; }
@media (max-width: 640px) { .vau-service-shell .qr-actions { grid-template-columns: 1fr; } }
/* Certificate renewal registry lookup: keep the number field and action together. */
.vau-service-shell .calc .input-row:has(#openRegistryBtn) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 10px 12px;
}
.vau-service-shell .calc .input-row:has(#openRegistryBtn) > label {
  grid-column: 1 / -1;
  margin: 0;
}
.vau-service-shell .calc .input-row:has(#openRegistryBtn) > #tmNumber {
  width: 100%;
  min-width: 0;
}
.vau-service-shell .calc .input-row:has(#openRegistryBtn) > #openRegistryBtn {
  width: auto;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .vau-service-shell .calc .input-row:has(#openRegistryBtn) {
    grid-template-columns: minmax(0, 1fr);
  }
  .vau-service-shell .calc .input-row:has(#openRegistryBtn) > #openRegistryBtn {
    width: 100%;
  }
}
