/* QA: shared desktop/mobile alignment and section editing. */
.ref-frontend .header-actions-guest { margin-left:auto; justify-content:flex-end; }
.ref-frontend .header-actions-guest > .header-login { margin-left:6px; flex-shrink:0; }
.ref-frontend .hero-track { border-radius:14px; overflow:visible; isolation:isolate; }
.ref-frontend .hero-track:after { border-radius:inherit; }
.ref-frontend .hero-slide { border-radius:inherit; overflow:hidden; }
.ref-frontend .footer-copyright { grid-column:1/-1; width:100%; margin-top:24px; padding:20px 16px; border-top:1px solid #ffffff20; text-align:center; color:#a1c5db; font-size:12px; }
.ref-frontend.has-mobile-navigation .site-footer { padding-bottom:calc(90px + env(safe-area-inset-bottom)); }
.ref-frontend .general-deposit-option > .deposit-recommended { position:static; align-self:flex-start; display:inline-block; margin:0 0 16px; padding:5px 10px; border-radius:6px; background:#68dbb320; color:#9ce5ce; font-size:12px; }
.ref-frontend .general-deposit-option ul { display:flex; flex-direction:column; align-items:flex-start; gap:10px; width:100%; }
.ref-frontend .profile-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:555px; margin-bottom:18px; }
.ref-frontend .profile-section-heading .subsection-heading { margin:0; }
.ref-frontend .profile-section-edit { flex:0 0 auto; min-height:44px; padding:8px 18px; }
.profile-section-dialog { width:560px; max-width:calc(100vw - 28px); max-height:85dvh; overflow:auto; }
.profile-dialog-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:12px; }
.profile-dialog-actions .button { min-height:44px; }
.profile-readonly-note { color:#adc7dc; font-size:13px; line-height:1.6; }
.profile-section-dialog .dialog-field input[readonly] { opacity:.75; }
@media(max-width:650px) {
  .ref-frontend .mobile-bottom-nav > a { position:relative; color:#b3d0e8; font-weight:500; }
  .ref-frontend .mobile-bottom-nav > a[aria-current] { color:#f1fbff; font-weight:700; background:#286ca0; box-shadow:inset 0 0 0 1px #8bdeff55; }
  .ref-frontend .mobile-bottom-nav > a[aria-current]::after { content:''; position:absolute; bottom:-4px; left:calc(50% - 12px); width:24px; height:3px; border-radius:3px; background:#8de8ff; }
  .ref-frontend .mobile-bottom-nav > .mobile-deposit-nav[aria-current] { box-shadow:none; }
  .ref-frontend .mobile-bottom-nav > .mobile-deposit-nav[aria-current] > span { box-shadow:0 0 0 3px #9ae6ff,0 0 12px #58bcff88; }
  .ref-frontend .hero-track { border-radius:12px; }
  .ref-frontend .profile-section-heading { gap:10px; }
  .ref-frontend .profile-section-heading .subsection-heading { font-size:18px; }
  .ref-frontend .footer-copyright { margin-top:20px; padding:18px 0; }
}

/* Compact payment checkout; keep the scan target before secondary order details. */
.qris-order-detail { grid-column:1; grid-row:1; }
.qris-order-detail dd { min-width:0; overflow-wrap:anywhere; }
.qris-payment-card { grid-column:2; grid-row:1; }
.qris-scan-amount { display:grid; gap:3px; margin-bottom:12px; }
.qris-scan-amount span { font-size:12px; color:#52718a; }
.qris-scan-amount strong { font-size:22px; color:#173d59; }
.ref-frontend .dialog-heading button[data-dialog-close] { top:50%; right:4px; transform:translateY(-50%); width:44px; height:44px; border:0; border-radius:8px; outline:none; box-shadow:none; }
.ref-frontend .dialog-heading button[data-dialog-close]:focus-visible { outline:none; box-shadow:none; background:rgba(0,38,70,.3); }
@media(max-width:760px) {
  .qris-checkout-grid { display:flex; flex-direction:column; gap:16px; margin-top:12px; }
  .qris-payment-card { order:0; }
  .qris-order-detail { order:1; }
  .ref-frontend .qris-checkout-pending { padding:16px; }
  .qris-checkout-pending .qris-checkout-heading { gap:8px; padding-bottom:12px; }
  .qris-checkout-pending .qris-checkout-heading h1 { font-size:20px; line-height:1.25; margin:4px 0 0; }
  .qris-checkout-pending .qris-checkout-heading p { display:none; }
  .qris-checkout-pending .qris-payment-card { padding:14px; }
  .qris-image img { width:min(100%,280px); }
  .qris-scan-caption { font-size:13px; margin:10px auto; }
}
