/* Lịch Việt v16.55 r3 — premium checkout, shared App Shell & theme tokens. */
body[data-page="plus"] .lv54-checkout[hidden]{display:none!important}
body[data-page="plus"] .lv54-checkout{min-width:0;max-width:100%;overflow-wrap:anywhere;gap:14px}
body[data-page="plus"] .lv54-checkout .lv53-kicker{margin-bottom:-5px}
body[data-page="plus"] .lv54-checkout h2{font-size:clamp(19px,4.7vw,22px);letter-spacing:-.025em}
body[data-page="plus"] .lv54-message{min-height:30px;display:flex;align-items:center;padding:4px 0;line-height:1.65;font-size:13px}
body[data-page="plus"] .lv54-message[data-state="success"]{color:var(--lv-ui-primary,#08775c);font-weight:700}
body[data-page="plus"] .lv54-message[data-state="warning"],body[data-page="plus"] .lv54-message[data-state="error"]{font-weight:600}
body[data-page="plus"] .lv55r3-order-heading{font-size:14px;font-weight:750;line-height:1.5;color:var(--lv-ui-text,#173e35);overflow-wrap:anywhere}
body[data-page="plus"] .lv55r3-countdown{font:700 13px/1.5 'Bai Jamjuree',system-ui,sans-serif;color:var(--lv-ui-primary,#08775c);display:flex;align-items:center;min-height:38px;padding:6px 12px;border-radius:9px;background:var(--lv-ui-soft,rgba(0,100,70,.08));font-variant-numeric:tabular-nums}
body[data-page="plus"] .lv55r3-note{border-left:3px solid var(--lv-ui-border,#cdded5);padding:6px 0 6px 12px;display:grid;gap:4px;min-width:0}
body[data-page="plus"] .lv55r3-note strong{font:700 13px/1.5 'Bai Jamjuree',system-ui,sans-serif;color:var(--lv-ui-text,#173e35)}
body[data-page="plus"] .lv55r3-note p{font:400 13px/1.65 'Bai Jamjuree',system-ui,sans-serif;color:var(--lv-ui-muted,#526f65);margin:0}
body[data-page="plus"] .lv55r3-note-success{border-color:var(--lv-ui-primary,#08775c)}
body[data-page="plus"] .lv55r3-note-warning{border-color:#b58b4b}
body[data-page="plus"] .lv55r3-qr-wrap{display:flex;justify-content:center;align-items:center;max-width:100%;min-width:0;margin:2px 0 4px}
body[data-page="plus"] .lv55r3-qr-wrap .lv55-qr{box-sizing:border-box;display:block;width:min(100%,270px);aspect-ratio:1/1;object-fit:contain;max-height:none;margin:0 auto;padding:9px;background:#fff;border-radius:14px;border:1px solid var(--lv-ui-border,#d0ded8)}
body[data-page="plus"] .lv55-methods{margin:0;gap:8px}
body[data-page="plus"] .lv55-option{display:flex;min-height:54px;align-items:center;gap:12px;padding:10px 12px;background:transparent;border-radius:12px}
body[data-page="plus"] .lv55-option:has(input:checked){background:var(--lv-ui-soft,rgba(12,131,103,.08))}
body[data-page="plus"] .lv55r3-method-text{display:grid;gap:3px;min-width:0}
body[data-page="plus"] .lv55r3-method-text strong{font:700 13px/1.4 'Bai Jamjuree',system-ui,sans-serif;color:var(--lv-ui-text,#173e35)}
body[data-page="plus"] .lv55r3-method-text small{font:400 12px/1.45 'Bai Jamjuree',system-ui,sans-serif;color:var(--lv-ui-muted,#526f65)}
body[data-page="plus"] .lv54-transfer{min-width:0}
body[data-page="plus"] .lv54-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;min-width:0;gap:8px;padding:10px 0}
body[data-page="plus"] .lv54-row>span{flex:initial;font-size:12px;line-height:1.5}
body[data-page="plus"] .lv54-row>strong{font-size:13px;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}
body[data-page="plus"] .lv54-copy{font-size:11px;min-height:34px;min-width:65px;padding:6px 9px;white-space:normal}
body[data-page="plus"] .lv55r3-recovery{border-top:1px solid var(--lv-ui-border,#cfded7);padding:12px 0 2px;min-width:0}
body[data-page="plus"] .lv55r3-recovery summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:42px;color:var(--lv-ui-text,#153f35);font:700 13px/1.5 'Bai Jamjuree',system-ui,sans-serif}
body[data-page="plus"] .lv55r3-recovery summary::-webkit-details-marker{display:none}
body[data-page="plus"] .lv55r3-recovery summary:after{content:'+';font-size:19px;font-weight:400;line-height:1}
body[data-page="plus"] .lv55r3-recovery[open] summary:after{content:'−'}
body[data-page="plus"] .lv55r3-recovery ol{margin:4px 0 12px;padding:0 0 0 20px;color:var(--lv-ui-muted,#4b6b60);font:400 13px/1.75 'Bai Jamjuree',system-ui,sans-serif}
body[data-page="plus"] .lv55r3-recovery li+li{margin-top:6px}
body[data-page="plus"] .lv55r3-recovery-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}
body[data-page="plus"] .lv55r3-order-form{display:grid;gap:13px}
body[data-page="plus"] .lv55r3-ack{display:flex;gap:9px;align-items:flex-start;color:var(--lv-ui-text,#153f35);font:500 13px/1.55 'Bai Jamjuree',system-ui,sans-serif}
body[data-page="plus"] .lv55r3-ack input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:var(--lv-ui-primary,#08775c)}
body[data-page="plus"] .lv54-history{margin-top:3px;padding-top:13px}
body[data-page="plus"] .lv54-history-row{border-bottom:1px solid var(--lv-ui-border,#cdded5);padding:10px 0;gap:5px}
body[data-page="plus"] .lv55r3-history-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
body[data-page="plus"] .lv55r3-history-title strong{font-variant-numeric:tabular-nums;color:var(--lv-ui-text,#173e35);font-size:13px}
body[data-page="plus"] .lv55r3-state{font:600 11px/1.5 'Bai Jamjuree',system-ui,sans-serif;color:var(--lv-ui-muted,#526f65)}
body[data-page="plus"] .lv54-checkout :is(.lv55r3-recovery summary,.lv55-option,.lv55r3-ack):focus-within{outline:2px solid var(--lv-ui-primary,#08775c);outline-offset:2px}
@media(max-width:430px){
 body[data-page="plus"] .lv54-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}
 body[data-page="plus"] .lv54-row>span{grid-column:1/-1}
 body[data-page="plus"] .lv54-row>strong{text-align:left}
 body[data-page="plus"] .lv54-actions,body[data-page="plus"] .lv55r3-recovery-actions{grid-template-columns:1fr}
 body[data-page="plus"] .lv54-actions>.lv54-button,body[data-page="plus"] .lv55r3-recovery-actions>.lv54-button{width:100%}
}
@media(prefers-reduced-motion:reduce){body[data-page="plus"] .lv54-checkout *{scroll-behavior:auto;transition:none!important}}

/* While waiting for a remotely served VietQR, never show an unexplained empty block. */
body[data-page="plus"] .lv55r3-qr-wrap{position:relative}
body[data-page="plus"] .lv55r3-qr-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:600 12px/1.5 'Bai Jamjuree',system-ui,sans-serif;color:#476c64;text-align:center;pointer-events:none;max-width:80%}
/* Respect app typography control A+ without introducing horizontal overflow. */
html[data-lvg-font-scale="115"] body[data-page="plus"] .lv54-checkout :is(.lv54-caption,.lv54-message,.lv55r3-note p,.lv55r3-recovery li,.lv55r3-method-text strong,.lv54-row>strong),
html[data-lvg-font-scale="115"] body[data-page="plus"] .lv54-checkout :is(.lv54-button,.lv54-refresh,.lv55r3-recovery summary,.lv55r3-order-heading){font-size:15px}
html[data-lvg-font-scale="130"] body[data-page="plus"] .lv54-checkout :is(.lv54-caption,.lv54-message,.lv55r3-note p,.lv55r3-recovery li,.lv55r3-method-text strong,.lv54-row>strong){font-size:17px}
html[data-lvg-font-scale="130"] body[data-page="plus"] .lv54-checkout :is(.lv54-button,.lv54-refresh,.lv55r3-recovery summary,.lv55r3-order-heading){font-size:17px;line-height:1.5}
html[data-lvg-font-scale="130"] body[data-page="plus"] .lv54-checkout .lv54-copy{font-size:13px;min-height:42px}
