.flow-dialog{width:min(480px,calc(100% - 24px));border:0;border-radius:20px;padding:26px 22px;background:#fff;color:#12201a}
.flow-dialog::backdrop{background:rgba(0,0,0,.7)}
.flow-dialog h2{margin:0 0 14px;font-size:24px}
.flow-plans{display:grid;gap:8px;margin-bottom:12px}
.flow-plans label{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;border:2px solid #dde3df;border-radius:12px;cursor:pointer;font-weight:700}
.flow-plans label:has(input:checked){border-color:#073e2b;background:#f1f8f4}
.flow-plans small{display:block;font-weight:500;color:#556}
.flow-sum{font-size:14px;color:#334;margin:0 0 14px}
.flow-hint{font-size:14px;color:#445}
.flow-dialog input:is([type=text],[type=password]){width:100%;box-sizing:border-box;padding:14px;font-size:22px;letter-spacing:6px;text-align:center;border:2px solid #dde3df;border-radius:12px;margin:6px 0 12px}
.flow-dialog .button{width:100%}
.flow-link{display:block;margin:12px auto 0;background:none;border:0;color:#073e2b;text-decoration:underline;cursor:pointer}
.flow-link:disabled{color:#889;text-decoration:none;cursor:default}
.flow-qr{display:grid;place-items:center;min-height:220px;margin:0 auto 12px}
.flow-qr img{width:240px;height:240px;max-width:100%}
.flow-qr .qr-sample{display:grid;place-items:center;width:240px;height:240px;border:3px dashed #999;color:#777;font-weight:800}
.flow-pay{margin:0 0 10px}.flow-pay div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eee}
.flow-pay dt{color:#667}.flow-pay dd{margin:0;font-weight:700;text-align:right;word-break:break-all}
.flow-label{display:block;font-size:14px;font-weight:700;margin-top:6px}
.flow-dialog input#flow-store,.flow-dialog input#flow-pwd{font-size:16px;letter-spacing:0;text-align:left}
.flow-dialog input.flow-pwd{width:100%;box-sizing:border-box;padding:12px 14px;font-size:16px;border:2px solid #dde3df;border-radius:12px;margin:6px 0 10px}
.flow-rules{list-style:none;margin:0 0 14px;padding:0;font-size:13px;color:#556}.flow-rules li::before{content:"○ "}.flow-rules li.pass{color:#0a7a45}.flow-rules li.pass::before{content:"✓ "}.flow-rules li.fail{color:#b42318}.flow-rules li.fail::before{content:"✗ "}
.flow-progress{margin:2px 0 18px}
.flow-progress-label{font-size:13px;color:#5b6b63;margin:0 0 8px;font-weight:600}
.flow-progress-label b{color:#073e2b}
.flow-progress-bar{display:flex;gap:4px}
.flow-progress-bar i{flex:1;height:4px;border-radius:4px;background:#e3e9e5}
.flow-progress-bar i.on{background:#0a8a4a}
.flow-stores{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow:auto;margin:12px 0 4px;padding:2px}
.flow-store{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid #dde3df;border-radius:14px;cursor:pointer;background:#fff;text-align:left}
.flow-store:has(input:checked){border-color:#073e2b;background:#f1f7f3;box-shadow:0 0 0 1px #073e2b inset}
.flow-store-ava{flex:none;width:38px;height:38px;border-radius:10px;background:#e4f1e9;color:#073e2b;display:grid;place-items:center;font-weight:800;font-size:16px}
.flow-store-main{flex:1;min-width:0}
.flow-store-name{display:flex;align-items:center;gap:6px;font-weight:700;font-size:16px;color:#12201a}
.flow-store-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.flow-store-badge{flex:none;font-size:11px;font-weight:700;font-style:normal;color:#0a7a45;background:#dcf2e5;border-radius:99px;padding:2px 8px}
.flow-store-meta{display:block;font-size:13px;color:#6a776f;margin-top:2px}
.flow-store input{flex:none;width:20px;height:20px;accent-color:#073e2b;margin:0}
.flow-summary{display:flex;justify-content:space-between;align-items:center;background:#f6f8f7;border-radius:12px;padding:10px 14px;font-size:14px;margin:0 0 4px}
.flow-summary b{font-size:15px}
.flow-note{font-size:13px;color:#6a776f}
.flow-pay dd#flow-store-name{word-break:normal;overflow-wrap:anywhere}
.flow-dialog{padding-top:54px}.flow-dialog .dialog-close{top:12px;right:12px}.flow-steps{margin-bottom:20px}
