/* COGO_TOSS_WIDGET_R1_STYLE */
html body dialog.cogo-toss-widget-r1{box-sizing:border-box;width:min(600px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:24px;border:1px solid #e1e6ef;border-radius:22px;background:#fff;color:#172033;box-shadow:0 24px 80px #101a3933;overflow-y:auto;overscroll-behavior:contain;font:inherit}
.cogo-toss-widget-r1::backdrop{background:rgba(15,23,42,.5);backdrop-filter:blur(4px)}
.cogo-toss-widget-r1 *{box-sizing:border-box}.cogo-toss-widget-r1 .ctw-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.cogo-toss-widget-r1 .ctw-head small{font-size:11px;font-weight:800;letter-spacing:.09em;color:#6054c7}.cogo-toss-widget-r1 h2{font-size:24px;line-height:1.35;margin:5px 0 0}
.cogo-toss-widget-r1 [data-close]{min-width:48px;min-height:40px;padding:8px 12px;border:1px solid #dbe1ec;border-radius:12px;background:#f6f8fc;color:#334155;font:inherit;cursor:pointer}
.cogo-toss-widget-r1 .ctw-summary{padding:18px 20px;border:1px solid #e4e6f2;border-radius:16px;background:#f7f8fd}.cogo-toss-widget-r1 [data-name]{font-size:14px;font-weight:700;margin:0 0 5px;overflow-wrap:anywhere}.cogo-toss-widget-r1 [data-amount]{display:block;font-size:30px;letter-spacing:-.03em;line-height:1.4}.cogo-toss-widget-r1 [data-period]{font-size:12px;line-height:1.7;color:#475569;margin:5px 0 0}
.cogo-toss-widget-r1 .ctw-guide{font-size:14px;line-height:1.6;margin:20px 0 12px}.cogo-toss-widget-r1 .ctw-widget{background:#fff;color:#172033;border-radius:12px;min-width:0}
.cogo-toss-widget-r1 [data-loading]{padding:18px 12px;border-radius:12px;background:#f4f6fa;font-size:14px;line-height:1.6;color:#475569}.cogo-toss-widget-r1 [data-loading][hidden]{display:none}
.cogo-toss-widget-r1 [data-hint]{margin:12px 0 0;font-size:12px;line-height:1.7;color:#475569;overflow-wrap:anywhere}.cogo-toss-widget-r1 [data-error]{margin:10px 0;color:#b42318;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.cogo-toss-widget-r1 [data-error]:empty{display:none}
.cogo-toss-widget-r1 .ctw-foot{margin-top:18px;display:grid;gap:9px;text-align:center}.cogo-toss-widget-r1 [data-pay]{width:100%;min-height:52px;padding:13px 16px;border:0;border-radius:14px;background:#6554d8;color:#fff;font-size:16px;font-weight:800;line-height:1.5;cursor:pointer}.cogo-toss-widget-r1 [data-pay]:disabled{background:#e4e7ef;color:#566077;cursor:wait}.cogo-toss-widget-r1 .ctw-foot small{color:#596579;font-size:12px}.cogo-toss-widget-r1 button:focus-visible{outline:3px solid #aea1ff;outline-offset:3px}
html[data-theme=dark] body dialog.cogo-toss-widget-r1,body.dark dialog.cogo-toss-widget-r1{background:#1c2230;color:#edf1f9;border-color:#394255}html[data-theme=dark] .cogo-toss-widget-r1 .ctw-summary,body.dark .cogo-toss-widget-r1 .ctw-summary{background:#252c3e;border-color:#3b4359}html[data-theme=dark] .cogo-toss-widget-r1 :is([data-hint],[data-period],.ctw-foot small),body.dark .cogo-toss-widget-r1 :is([data-hint],[data-period],.ctw-foot small){color:#c9d1e1}html[data-theme=dark] .cogo-toss-widget-r1 [data-error],body.dark .cogo-toss-widget-r1 [data-error]{color:#ffb4ab}
.cogo-toss-widget-r1 .ctw-foot{position:sticky;bottom:0;background:#fff;padding:12px 0 0;box-shadow:0 -8px 12px #ffffffee}
html[data-theme=dark] .cogo-toss-widget-r1 .ctw-foot,body.dark .cogo-toss-widget-r1 .ctw-foot{background:#1c2230;box-shadow:0 -8px 12px #1c2230ee}html[data-theme=dark] .cogo-toss-widget-r1 .ctw-head small,body.dark .cogo-toss-widget-r1 .ctw-head small{color:#b9aaff}
@media(max-width:420px){html body dialog.cogo-toss-widget-r1{padding:16px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.cogo-toss-widget-r1 h2{font-size:21px}.cogo-toss-widget-r1 .ctw-summary{padding:14px 16px}.cogo-toss-widget-r1 [data-amount]{font-size:27px}}
