.bot-progress{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;max-height:calc(100dvh - 32px);overflow:auto;padding:26px;background:#101d23;color:#eef6fa;border:1px solid #365057;border-radius:8px;font-family:system-ui,Arial,sans-serif;letter-spacing:0;box-shadow:0 18px 60px #0008}
.bot-progress::backdrop{background:rgba(0,8,12,.82)}
.bot-progress [hidden]{display:none!important}
.bot-progress-header{display:flex;align-items:center;gap:16px;margin:0 0 18px}
.bot-progress-header>div{min-width:0}
.bot-progress .bot-progress-eyebrow{color:#e7bd5a;font-size:11px;font-weight:700;margin:0 0 7px;letter-spacing:0}
.bot-progress h2{font:650 22px/1.3 system-ui,Arial,sans-serif;letter-spacing:0;overflow-wrap:anywhere;margin:0;padding:0;background:none;border:0}
.bot-progress-indicator{box-sizing:border-box;width:38px;height:38px;flex:0 0 38px;border:3px solid #34494e;border-top-color:#56dfc7;border-right-color:#56dfc7;border-radius:50%;animation:bot-progress-spin 1.2s linear infinite}
.bot-progress-context{margin:0 0 14px;color:#79dbcc;font-size:14px;overflow-wrap:anywhere}
.bot-progress-message{min-height:48px;font:400 15px/1.6 system-ui,Arial,sans-serif;margin:0 0 24px;overflow-wrap:anywhere}
.bot-progress-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:0 0 22px;list-style:none}
.bot-progress-steps li{display:grid;gap:9px;min-width:0;color:#9caeb3;border-top:2px solid #31444b;padding-top:12px}
.bot-progress-steps li>span{font:600 12px system-ui,Arial,sans-serif}
.bot-progress-steps li>strong{font:600 12px/1.4 system-ui,Arial,sans-serif;letter-spacing:0;overflow-wrap:anywhere}
.bot-progress-steps li.is-current{border-color:#e7bd5a;color:#f4d98e}
.bot-progress-steps li.is-done{border-color:#59d59c;color:#79dfb1}
.bot-progress-time{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #2c4249;padding-top:15px;font-size:13px;color:#b7cacf}
.bot-progress-time time{font-variant-numeric:tabular-nums;color:#edf6f4;min-width:48px;text-align:right}
.bot-progress-note{font:400 12px/1.6 system-ui,Arial,sans-serif;color:#c6d4d5;margin:16px 0 0;overflow-wrap:anywhere}
.bot-progress-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.bot-progress-actions>*{box-sizing:border-box;flex:1 1 140px;min-width:0;min-height:44px;padding:11px 14px;border:1px solid #4a6268;border-radius:5px;background:#182c32;color:#e9f5f1;font:600 14px/1.4 system-ui,Arial,sans-serif;text-decoration:none;text-align:center;cursor:pointer;letter-spacing:0;overflow-wrap:anywhere}
.bot-progress-actions>a{border-color:#56dfc7;color:#76e5d1}
.bot-progress[data-state="success"] .bot-progress-indicator{animation:none;border-color:#68daa3;background:#22443a}
.bot-progress[data-state="error"] .bot-progress-indicator{animation:none;border-color:#ff797d;background:#44292d}
.bot-progress[data-state="unknown"] .bot-progress-indicator{animation:none;border-color:#e7bd5a;background:#423b25}
.bot-progress[data-state="error"] .bot-progress-message{color:#ff9b9f}
.bot-progress[data-state="unknown"] .bot-progress-message{color:#f4d98e}
.bot-progress-reopen{min-height:44px;padding:10px 14px;border:1px solid #4a827c;border-radius:5px;background:#112c2d;color:#7ae4cd;font:600 14px system-ui,Arial,sans-serif;cursor:pointer;letter-spacing:0}
.bot-progress-form-error{color:#ff9b9f;line-height:1.5;overflow-wrap:anywhere}
@keyframes bot-progress-spin{to{transform:rotate(360deg)}}
@media(max-width:380px){.bot-progress{padding:20px}.bot-progress h2{font-size:20px}.bot-progress-header{gap:12px}.bot-progress-steps{gap:6px}}
@media(prefers-reduced-motion:reduce){.bot-progress-indicator{animation:none;border-color:#56dfc7;border-bottom-color:#34494e}}

.mcw-funding-wait[hidden],
form[data-funding-guard="waiting"] button[type="submit"][hidden] {
    display: none !important;
}
.mcw-funding-wait:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 44px;
    padding: .3em .8em;
    text-align: center;
    color: inherit;
    font-weight: 650;
}
.mcw-funding-spinner {
    display: inline-block;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -.09em;
    animation: mcw-funding-turn .85s linear infinite;
}
.mcw-funding-status-link { align-self: center; text-decoration: underline; }
@keyframes mcw-funding-turn { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
    .mcw-funding-spinner { animation: none; }
}
