.v3-demo-button{position:fixed;right:22px;bottom:20px;z-index:15;background:#fff;border:1px solid #008b78;border-radius:6px;padding:10px 16px;color:#007567;box-shadow:0 3px 12px #17413315}.v3-note{color:#6f849a;line-height:1.7;margin:8px 0}.v3-scheme-input{width:100%;padding:10px;border:1px solid #c2d7e2;border-radius:6px}.v3-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.v3-fields label{display:block;color:#6f849a;margin-bottom:6px}.v3-panel{padding:20px;background:#fff;border:1px solid #dce7ed;border-radius:8px;margin-bottom:16px}.v3-panel h2{font-size:16px;margin:0 0 18px}.v3-panel h3{font-size:14px;color:#007567}.v3-files{display:flex;flex-wrap:wrap;gap:14px}.v3-files img{width:145px;height:100px;object-fit:contain;border:1px solid #dce7ed}.v3-files figcaption{max-width:160px;font-size:12px}.v3-files figure{margin:8px 0}.v3-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.v3-scheme-error{color:#bd3535;margin-top:6px;font-size:13px}.v3-scheme-status{margin-top:8px;color:#6f849a;font-size:13px}.v3-actions{display:flex;gap:12px;justify-content:center;padding:20px}.v3-required{color:#c23c3c}.v3-panel details{margin:12px 0}.v3-panel summary{cursor:pointer;color:#007567}@media(max-width:900px){.v3-fields,.v3-details-grid{grid-template-columns:1fr}}

/* Isolate V3 success feedback from inherited legacy toast positioning. */
#demoToast.toast{inset:24px auto auto 50%;width:max-content;max-width:calc(100vw - 48px);height:auto;min-height:0;max-height:none;box-sizing:border-box;transform:translateX(-50%);padding:12px 18px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;pointer-events:none}
#demoToast.toast.show{display:block;transform:translateX(-50%)}
#demoModal .dialog.v3-plan-dialog{display:flex;flex-direction:column;width:min(820px,100%);max-height:calc(100dvh - 40px);overflow:hidden}
#demoModal .v3-plan-dialog>header,#demoModal .v3-plan-dialog>footer{flex-shrink:0}
#demoModal .v3-plan-dialog>.body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.v3-scheme-details{margin-top:18px;padding:16px;border:1px solid #dce7ed;border-radius:8px;background:#f7fbfa}
.v3-scheme-details[hidden]{display:none}
.v3-scheme-details h3{margin:0 0 8px;font-size:15px;color:#123656}
.v3-scheme-group+.v3-scheme-group{margin-top:18px;border-top:1px solid #dce7ed;padding-top:14px}
.v3-scheme-group h4{margin:0 0 10px;font-size:14px;color:#007567}
.v3-scheme-group dl{margin:0}.v3-scheme-group dl>div{display:grid;grid-template-columns:minmax(130px,32%) 1fr;gap:12px;padding:6px 0;line-height:1.7}
.v3-scheme-group dt{color:#526b7b}.v3-scheme-group dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#123656}
@media(max-width:560px){.v3-scheme-group dl>div{grid-template-columns:1fr;gap:2px}#demoModal .v3-plan-dialog>.body{padding:16px}}
