/* A focused purchase decision inside the existing Rendastic studio. */
.credit-offer{box-sizing:border-box;width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #3c4a51;border-radius:24px;background:#131a1e;color:#eef5f8;box-shadow:0 32px 110px #0009;overflow:auto}
.credit-offer::backdrop{background:#020609c9;backdrop-filter:blur(5px)}
.credit-offer form{position:relative;padding:34px 32px 22px;margin:0;text-align:center}
.credit-offer button{font:inherit;cursor:pointer}.credit-offer-close{position:absolute;right:12px;top:10px;width:36px;height:36px;background:transparent;border:0;color:#a8b9c2;font-size:25px!important;border-radius:50%}
.credit-offer-close:hover{background:#ffffff10;color:white}.credit-offer-eyebrow{display:block;color:#67d5fa;letter-spacing:.13em;font-size:11px;font-weight:700;margin:4px 30px 12px}
.credit-offer h2{font-size:clamp(25px,4vw,32px);line-height:1.2;letter-spacing:-.035em;color:#f6fafc;margin:0 15px 12px}
.credit-offer #credit-offer-reason{font-size:14px;line-height:1.6;color:#b5c2ca;max-width:480px;margin:0 auto 22px}
.credit-offer-project{display:flex;gap:12px;align-items:center;text-align:left;padding:14px;border:1px solid #ffffff0b;background:#ffffff04;border-radius:14px;margin-bottom:23px;font-size:12px}
.credit-offer-play{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:10px;background:#28bff21a;color:#6dd6f9;font-size:24px}.credit-offer-project>div{min-width:0;flex:1}.credit-offer-project strong{display:block;font-size:12px;margin-bottom:3px}.credit-offer-project div>span{display:block;font-size:11px;color:#a7b9c3;overflow-wrap:anywhere}.credit-offer-project>b{font-weight:600;color:#9ee5fb;white-space:nowrap}
.credit-offer fieldset{border:0;padding:0;margin:0;min-width:0}.credit-offer legend{font-size:13px;font-weight:600;text-align:left;padding:0 0 10px}.credit-offer-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.credit-offer-pack{position:relative;cursor:pointer;text-align:left}.credit-offer-pack>input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.credit-offer-card{box-sizing:border-box;height:100%;display:flex;flex-direction:column;min-height:164px;padding:16px 13px;border:1px solid #3b484f;border-radius:14px;background:#1b2429;transition:background .15s,border-color .15s}
.credit-offer-pack:has(input:checked) .credit-offer-card{border:2px solid #39c4f4;padding:15px 12px;background:#12313c}.credit-offer-pack:has(input:focus-visible) .credit-offer-card{outline:2px solid white;outline-offset:3px}.credit-offer-tag{font-size:10px;color:#a5b9c5;margin-bottom:15px}.credit-offer-pack:has(input:checked) .credit-offer-tag{color:#77dfff}.credit-offer-count{font-size:22px;line-height:1.15;letter-spacing:-.025em;margin-bottom:13px}.credit-offer-price{font-size:20px;font-weight:600}.credit-offer-card small{font-size:11px;color:#a8bdc8;margin-top:4px}
.credit-offer-caption{font-size:11px;line-height:1.5;color:#9aadb8;margin:12px 0 21px}.credit-offer .credit-offer-buy{width:100%;min-height:50px;border:0;border-radius:12px;background:#35c1f3;color:#06151d;font-size:15px;font-weight:700}.credit-offer-buy:hover{background:#6dd6fa}.credit-offer-terms{font-size:11px;line-height:1.5;color:#b0c2cb;margin:12px 0 19px}.credit-offer-footer{display:flex;justify-content:space-between;border-top:1px solid #ffffff0c;padding-top:14px}.credit-offer-footer button{padding:5px 0;border:0;background:transparent;color:#b5c7d1;font-size:12px}.credit-offer-footer button:hover{color:#70d6f7;text-decoration:underline}.credit-offer-wait{font-size:11px;color:#92a9b6;margin:12px 0 0;line-height:1.5}
.free-capacity-note{padding:12px 14px;background:#14242c;border:1px solid #2d4855;border-radius:12px;font-size:12px;line-height:1.5;color:#bad1dc;margin:12px 0}.free-capacity-note strong{display:block;color:#d4effb;margin-bottom:4px}.free-capacity-note p{margin:0}.free-capacity-note[hidden]{display:none}
.credit-offer-subscription{font-size:12px;line-height:1.7;color:#a7bac5;margin:0 0 18px}.credit-offer-subscription a{color:#7bdcff;text-underline-offset:3px;text-decoration:underline;display:inline-block;padding:4px 0}.credit-offer-subscription a:hover{color:#c0f1ff}.credit-offer-subscription a:focus-visible{outline:2px solid #7bdcff;outline-offset:4px;border-radius:2px}
.pricing-resume{display:inline-flex;margin-top:12px;align-items:center;gap:8px}.credit-context-note{padding:16px 20px;border:1px solid #2d7189;background:#0d2731;border-radius:14px;color:#b9eafa;line-height:1.6;margin:20px 0}.credit-pack.recommended{border-color:#39c4f4;box-shadow:0 0 0 1px #39c4f4}.pricing-page.packs-first #credit-pack{margin-top:30px;margin-bottom:54px;scroll-margin-top:calc(var(--header-height) - 35px)}.pricing-page.packs-first .free-allowance{display:none}
@media(max-width:520px){.credit-offer{border-radius:18px}.credit-offer form{padding:29px 16px 18px}.credit-offer h2{font-size:25px}.credit-offer #credit-offer-reason{font-size:13px;margin-bottom:16px}.credit-offer-packs{gap:7px}.credit-offer-card{padding:13px 9px;min-height:151px}.credit-offer-pack:has(input:checked) .credit-offer-card{padding:12px 8px}.credit-offer-count{min-height:2.3em;font-size:19px;overflow-wrap:anywhere}.credit-offer-price{font-size:18px}.credit-offer-tag{font-size:9px}.credit-offer-project{padding:10px;gap:8px;margin-bottom:16px}.credit-offer-play{display:none}.credit-offer-project>b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.credit-offer-card{transition:none}}
.login-offer-summary{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 14px;text-align:left;background:#112a35;border:1px solid #315363;border-radius:12px;padding:16px;margin:18px 0}.login-offer-summary strong{font-size:27px;color:#83defb}.login-offer-summary span{font-size:14px;color:#eef9ff}.login-offer-summary small{grid-column:1/-1;color:#b1c6d0;font-size:11px;line-height:1.7}.login-offer-summary[hidden],.next-creation[hidden]{display:none}
.rendastic-login:has(.login-offer-summary:not([hidden])) .login-content{padding-top:38px;overflow-y:auto}.rendastic-login:has(.login-offer-summary:not([hidden])) h2{margin:14px 0 12px}.rendastic-login:has(.login-offer-summary:not([hidden])) .google-sign-in{margin-top:18px}
.free-capacity-note a{display:inline-block;margin-top:8px;font-size:12px;font-weight:600;color:#7bdcff;text-underline-offset:3px}
.next-creation{display:flex;align-items:center;gap:20px;justify-content:space-between;max-width:760px;margin:20px auto;padding:20px;border:1px solid #2e4653;border-radius:14px;background:linear-gradient(110deg,#122733,#182126);text-align:left}.next-creation strong{font-size:16px;color:#edf9ff}.next-creation p{font-size:12px;color:#b1c6d0;line-height:1.7;margin:6px 0 0}.next-creation a{display:block;flex-shrink:0;padding:12px 18px;border-radius:10px;background:#38bdf8;color:#06151d;font-size:12px;font-weight:600}
@media(max-width:520px){.next-creation{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.next-creation a{text-align:center}.rendastic-login:has(.login-offer-summary:not([hidden])) .login-content{padding-top:40px}.login-offer-summary{margin:12px 0}}

.credit-offer-toggle{display:flex;gap:4px;padding:4px;background:#0a1115;border:1px solid #2d424d;border-radius:12px;margin:0 0 20px}.credit-offer-toggle button{flex:1;min-height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:#a9bdc8;font-size:12px;font-weight:600}.credit-offer-toggle button[aria-pressed="true"]{background:#173844;color:#83e2ff}.credit-offer-toggle button:focus-visible{outline:2px solid #83e2ff;outline-offset:2px}.credit-offer-toggle button[hidden]{display:none}.credit-offer-bonus{color:#85ddf7!important}.credit-offer-price{margin-top:8px}.free-capacity-note .capacity-secondary{margin-left:18px;font-weight:400;color:#b4c9d4}

.credit-offer-promotion{padding:14px 16px;margin:0 0 20px;border:1px solid #b58037;border-radius:12px;background:linear-gradient(115deg,#3a2a12,#24231a);color:#ffe3a5;text-align:center}.credit-offer-promotion[hidden]{display:none}.credit-offer-promotion>span{display:block;font-size:11px;font-weight:600;margin-bottom:5px}.credit-offer-promotion>strong{display:block;font-size:21px;line-height:1.25;letter-spacing:-.02em}.credit-offer-card .credit-offer-bonus{display:block;margin-top:12px;padding:10px 8px;background:#f6bf4f12;border:1px solid #bd954b66;border-radius:8px;color:#ffdb8b!important;font-size:11px;line-height:1.4}.credit-offer-bonus>b{display:block;font-size:23px;letter-spacing:-.02em;line-height:1.2}.credit-offer-card .credit-offer-bonus small{display:block;margin-top:6px;color:#ffe9b8;font-size:10px}.credit-offer-bonus small strong{font-size:13px}.free-capacity-note .capacity-bonus{margin-top:7px;color:#ffdd94;font-weight:600}.free-capacity-note a[data-capacity-offer="monthly"]{padding:7px 12px;background:#2abce9;color:#06151d;border-radius:7px;text-decoration:none}.free-capacity-note a[data-capacity-offer="monthly"]:focus-visible{outline:2px solid #fff;outline-offset:3px}@media(max-width:520px){.credit-offer-promotion{padding:12px;margin-bottom:14px}.credit-offer-promotion>strong{font-size:19px}.credit-offer-card .credit-offer-bonus{padding:8px 6px}.credit-offer-bonus>b{font-size:21px}}

.guest-access-form{display:grid;gap:10px;margin:16px 0;text-align:left}.guest-access-form input{box-sizing:border-box;min-width:0;width:100%;padding:12px;border:1px solid #486575;border-radius:8px;background:#101b24;color:#f4f7fa;font:inherit}.guest-access-form input[hidden]{display:none}.guest-access-form p{margin:0;overflow-wrap:anywhere}.rendastic-login:has([data-guest-access]:not([hidden])) .login-content{overflow-y:auto}

/* Private credit activity uses the shared dark palette and native dialog focus. */
.account-credit-balance{font-size:1.6rem;font-weight:750;margin:14px 0 6px}.account-credit-note{font-size:.88rem;color:var(--rd-secondary);line-height:1.5}.account-credit-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.account-credit-actions button{min-height:44px}.credit-history-link{display:inline-block;padding:6px 0;color:var(--rd-primary);background:none;border:0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.credit-account-context{font-size:.85rem;line-height:1.5;color:var(--rd-secondary);margin:6px 0}.credit-history-dialog{box-sizing:border-box;width:min(1000px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:28px;color:var(--rd-text);background:var(--rd-surface);border:1px solid var(--rd-line);border-radius:16px}.credit-history-dialog::backdrop{background:rgb(0 0 0 / .72)}.credit-history-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.credit-history-dialog h2{font-size:1.7rem;margin:4px 0 20px}.credit-eyebrow{color:var(--rd-secondary);margin:0;font-size:.85rem}.credit-history-close{border:1px solid var(--rd-line);color:var(--rd-text);background:var(--rd-field);border-radius:50%;width:40px;height:40px;font-size:1.4rem;cursor:pointer}.credit-history-summary{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px;padding:20px 0;border-top:1px solid var(--rd-line);border-bottom:1px solid var(--rd-line)}.credit-history-summary span{display:block;font-size:.85rem;color:var(--rd-secondary)}.credit-history-summary strong{display:block;font-size:1.8rem;margin-top:8px}.credit-history-summary>div:first-child strong{color:var(--rd-primary);font-size:2.4rem}.credit-history-controls{display:flex;gap:12px;align-items:center;margin:20px 0}.credit-history-explainer{font-size:.85rem;line-height:1.55;color:var(--rd-secondary);margin:14px 0}.credit-history-status{min-height:1.5em;color:var(--rd-secondary)}.credit-history-table{overflow-x:auto;max-width:100%}.credit-history-table table{width:100%;border-collapse:collapse;text-align:left;min-width:580px}.credit-history-table th{font-size:.8rem;color:var(--rd-secondary);font-weight:600;padding:12px 8px;border-bottom:1px solid var(--rd-line)}.credit-history-table td{font-size:.9rem;padding:16px 8px;border-bottom:1px solid var(--rd-line);vertical-align:top}.credit-history-table td:first-child{width:21%;font-variant-numeric:tabular-nums}.credit-history-table small{display:block;font-size:.77rem;color:var(--rd-secondary);line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.credit-history-amount{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.credit-in{color:var(--rd-primary)}.credit-history-state{font-size:.8rem}.credit-history-state[data-state=reserved]{color:var(--rd-primary-soft)}.credit-history-dialog [data-credit-more]{display:block;margin:20px auto}.credit-history-dialog [data-credit-more][hidden]{display:none}.credit-history-dialog button:focus-visible,.credit-history-link:focus-visible{outline:2px solid var(--rd-primary);outline-offset:3px}.rendastic-login:has(.account-credit-actions) .login-content{padding-top:36px;overflow-y:auto}.rendastic-login:has(.account-credit-actions) h2{font-size:1.5rem;margin:12px 0}.rendastic-login:has(.account-credit-actions) .login-mark{display:none}@media(max-width:600px){.credit-history-dialog{width:calc(100vw - 16px);padding:18px;max-height:94dvh}.credit-history-summary{gap:8px;grid-template-columns:1fr 1fr}.credit-history-summary>div:first-child{grid-column:1/-1}.credit-history-summary strong{font-size:1.3rem}.credit-history-table table{min-width:520px}.credit-history-controls{flex-wrap:wrap}.credit-history-dialog h2{font-size:1.4rem}}

@media(max-width:600px){.credit-history-table{overflow:visible}.credit-history-table table{min-width:0}.credit-history-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.credit-history-table tbody,.credit-history-table tr{display:block}.credit-history-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:16px 0;border-bottom:1px solid var(--rd-line)}.credit-history-table td{border:0;padding:0;min-width:0}.credit-history-table td:first-child{order:3;width:auto;grid-column:1/-1;font-size:.75rem;color:var(--rd-secondary)}.credit-history-table td:first-child small{display:inline;margin-left:10px}.credit-history-table td:nth-child(2){order:1}.credit-history-table td:nth-child(3){order:2;text-align:right}.credit-history-table td:nth-child(4){order:4;grid-column:1/-1}}
.free-capacity-countdown{font-variant-numeric:tabular-nums}
