/* v16.7 native Personal Data Vault, 640px shared shell */
.lvg-vault-page .pv-shell{width:min(640px,calc(100% - 20px));margin:0 auto;padding:10px 0 calc(115px + env(safe-area-inset-bottom,0px));color:var(--title,#174436);min-width:0;font-family:'Bai Jamjuree',system-ui,sans-serif}
.pv-shell *{box-sizing:border-box}.pv-hero{padding:24px;border-radius:19px;background:linear-gradient(125deg,#086b55,#158f74);color:white;margin:0 0 14px}.pv-kicker,.pv-step{font-weight:850;font-size:11px;letter-spacing:.10em}.pv-hero h1{color:white;font-size:clamp(27px,6vw,35px);line-height:1.24;margin:8px 0}.pv-hero em{font-weight:500}.pv-hero p{font-size:13px;line-height:1.6;color:#edfff4;margin:0}
.pv-message{padding:10px 13px;border-radius:12px;background:var(--glass,#e2f2e8);font-size:13px;line-height:1.5;color:var(--title,#174436)}.pv-message[data-error="1"]{background:#ffefe8;color:#ad391d}.pv-grid{display:grid;gap:12px}.pv-card{padding:19px;border-radius:17px;background:var(--glass-strong,#fff);border:1px solid var(--outline,#d0e2d7);min-width:0}.pv-step{color:var(--accent,#08755d)}.pv-card h2{font-size:21px;line-height:1.25;margin:6px 0 9px}.pv-card h3{font-size:16px;margin:16px 0 10px}.pv-muted{font-size:12px;line-height:1.6;color:var(--text-muted,#58796b);margin:4px 0 12px}.pv-list{display:grid;gap:7px;max-height:450px;overflow:auto}.pv-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--outline,#d0e2d7);border-radius:11px;padding:11px;min-width:0}.pv-entry-text{min-width:0;flex:1}.pv-entry strong{font-size:13px;overflow-wrap:anywhere;display:block}.pv-entry small{font-size:11px;line-height:1.45;display:block;color:var(--text-muted,#58796b);overflow-wrap:anywhere;margin-top:3px}.pv-secondary,.pv-button{min-height:46px;border-radius:11px;padding:9px 13px;font:800 13px/1.3 'Bai Jamjuree',system-ui,sans-serif;cursor:pointer}.pv-secondary{border:1px solid var(--outline,#d0e2d7);color:var(--title,#174436);background:var(--glass,#e2f2e8)}.pv-button{border:0;background:#08755d;color:white}.pv-button:disabled{opacity:.5;cursor:not-allowed}.pv-link{display:inline-flex;min-height:44px;align-items:center;margin-left:12px;color:var(--accent,#08755d);font-weight:800;font-size:13px}
.pv-card fieldset{border:1px solid var(--outline,#d0e2d7);border-radius:11px;margin:12px 0;padding:10px;min-width:0}.pv-card legend{font-size:13px;font-weight:800;padding:0 4px}.pv-choices{display:grid;gap:7px;max-height:250px;overflow:auto}.pv-option{display:flex;gap:10px;align-items:center;padding:8px;border-radius:9px;border:1px solid var(--outline,#d0e2d7);font-size:13px;overflow-wrap:anywhere}.pv-option input{min-width:20px;min-height:20px;accent-color:#08755d;flex:none}.pv-formrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.pv-formrow label{font-size:13px;font-weight:800}.pv-formrow select{min-height:45px;min-width:130px;max-width:100%;padding:8px;border:1px solid var(--outline,#d0e2d7);border-radius:10px;background:var(--glass-strong,#fff);color:var(--title,#174436);font-size:16px}.pv-created{border:1px solid var(--outline,#d0e2d7);border-radius:12px;padding:12px;margin:12px 0;display:grid;gap:9px}.pv-created[hidden]{display:none}.pv-created label{font-size:12px;font-weight:800}.pv-created input{width:100%;min-width:0;min-height:44px;font-size:13px;padding:7px;border:1px solid var(--outline,#d0e2d7);border-radius:9px}.pv-footer{text-align:center;font-size:12px;line-height:1.6;color:var(--text-muted,#58796b);margin:20px 2px}.pv-shell :is(a,button,input,select):focus-visible{outline:3px solid #d9ae4c;outline-offset:2px}
@media(max-width:400px){.pv-hero{padding:20px 16px}.pv-card{padding:15px}.pv-link{display:flex;margin:6px 0 0}.pv-entry{gap:8px;padding:9px}}

.pv-history-details{padding:6px 12px;border-left:3px solid var(--accent,#087861);background:var(--glass,#edf7ee);border-radius:9px}.pv-history-details summary{cursor:pointer;font-size:12px;font-weight:800;min-height:35px;display:flex;align-items:center}.pv-diff{border-top:1px solid var(--outline,#d0e2d7);padding:7px 0;display:grid;gap:3px}.pv-diff strong{font-size:12px}.pv-diff span{font-size:11px;overflow-wrap:anywhere;line-height:1.45}
