.export-access-dialog{--studio-action-height:44px;--studio-action-font:14px;--studio-action-padding:10px 16px;box-sizing:border-box;max-width:480px;width:calc(100% - 32px);padding:28px;border:1px solid #c9cec1;background:#f5f5f2;color:#1b1d18;font:16px/1.5 Montreal,Arial,sans-serif}
.export-access-dialog::backdrop{background:rgb(15 20 12 / .55)}
.export-access-dialog h2{font-size:28px;line-height:1.15;font-weight:400;margin:0 0 18px}
.export-access-dialog p{margin:0 0 18px}.export-access-dialog .export-access-hint{font-size:13px;color:#59624a}
.export-access-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body.site-design .export-access-dialog .export-access-actions :is(a,button){box-sizing:border-box;min-height:44px;font:inherit;font-size:14px;line-height:20px;padding:10px 16px;border:0;cursor:pointer;text-align:center;text-decoration:none;color:inherit}
.export-access-actions a{background:#d2f47b}.export-access-actions a[hidden]{display:none}.export-access-actions button{background:#e4e8dd}
.export-access-actions :focus-visible{outline:2px solid #527532;outline-offset:4px}
.export-policy{font:13px/1.5 Montreal,Arial,sans-serif;color:#59624a;margin:12px 0}

.checkout-dialog{max-width:480px}.checkout-dialog #export-access-price{font-size:18px}.checkout-dialog #export-access-status:empty{display:none}.checkout-dialog #export-access-action{background:#ffff61;color:#090909}.checkout-dialog #export-access-action:hover:not(:disabled){background:#090909;color:white}.checkout-dialog button{min-height:44px}.checkout-dialog button[hidden]{display:none!important}.checkout-return-notice{position:relative;z-index:10;margin:12px 24px;padding:14px 18px;border:1px solid #d4d5d7;border-radius:16px;background:#f7f8f9;color:#090909;font:14px/1.4 Montreal,Arial,sans-serif;display:flex;gap:12px;align-items:center}.checkout-return-notice[hidden]{display:none}.checkout-return-notice button{min-height:44px}body[data-theme=dark] .checkout-return-notice{background:#242424;color:white}

.checkout-dialog .export-access-actions{flex-direction:column;align-items:flex-start;gap:8px}body.site-design .checkout-dialog #export-access-stay{background:transparent;color:var(--ui-text)}body.site-design .checkout-dialog #export-access-stay:hover{background:transparent;color:var(--ui-text);text-decoration:underline}@media(max-width:600px){.checkout-dialog .export-access-actions{align-items:stretch}}

/* Upgrade offer only: leave save, picker and recovery dialogs unchanged. */
html body.site-design .checkout-dialog{max-width:400px;padding:28px;border-radius:24px;max-height:calc(100dvh - 32px);overflow:auto;outline:none}
html body.site-design .checkout-dialog .export-access-brand{display:block;font-size:12px;letter-spacing:.12em;color:var(--ui-muted);margin-bottom:12px}
html body.site-design .checkout-dialog h2{font-size:32px;line-height:1.08;letter-spacing:-.045em;margin:0 0 10px}
html body.site-design .checkout-dialog #export-access-message{font-size:15px;line-height:1.5;color:var(--ui-muted);margin:0 0 24px}
html body.site-design .checkout-dialog #export-access-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;margin:0 0 24px;font-size:15px}
html body.site-design .checkout-dialog #export-access-price strong{font-size:38px;line-height:1;font-weight:400;letter-spacing:-.04em}
html body.site-design .checkout-dialog #export-access-price small{flex-basis:100%;font-size:12px;color:var(--ui-muted);margin-top:5px}
html body.site-design .checkout-dialog #export-access-status{font-size:13px;line-height:1.45;margin:0 0 14px;color:var(--ui-text)}
html body.site-design .checkout-dialog .export-access-actions{display:grid;grid-template-columns:1fr;gap:6px}
html body.site-design .checkout-dialog #export-access-action{width:100%;background:#ffff61;color:#090909}
html body.site-design .checkout-dialog #export-access-action:hover:not(:disabled){background:#eeee50;color:#090909}
html body.site-design .checkout-dialog #export-access-stay{background:transparent;color:var(--ui-muted)}
html body.site-design .checkout-dialog [hidden]{display:none!important}
@media(max-width:480px){html body.site-design .checkout-dialog{padding:24px;max-width:360px}html body.site-design .checkout-dialog h2{font-size:30px}}

/* Carousel download choices align with the full-width quality field. */
html body.site-design #carousel-download-options{max-height:calc(100dvh - 32px);overflow:auto}
html body.site-design #carousel-download-options .export-quality-field{margin:0 0 20px}
html body.site-design #carousel-download-options .export-quality-field select{width:100%;min-width:0;min-height:44px;font-size:16px}
html body.site-design #carousel-download-options .export-access-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px}
html body.site-design #carousel-download-options .export-access-actions button{width:100%;min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere}
html body.site-design #carousel-download-options :is(#carousel-download-again,#carousel-download-close){grid-column:1/-1}
html body.site-design #carousel-download-options [hidden]{display:none!important}
@media(max-width:520px){html body.site-design #carousel-download-options{padding:24px}html body.site-design #carousel-download-options .export-access-actions{grid-template-columns:minmax(0,1fr)}}

/* Shared save prompt: save, explicit departure without saving, and close to retain edits. */
html body.site-design .leave-project-dialog{max-height:calc(100dvh - 32px);overflow:auto}
.leave-project-dialog .export-access-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
html body.site-design .leave-project-dialog #leave-project-save{width:100%;min-height:44px;background:var(--ui-accent);color:var(--ui-ink)}
html body.site-design .leave-project-dialog #leave-project-save:hover:not(:disabled){background:#eeee50;color:var(--ui-ink)}
html body.site-design .leave-project-dialog :is(#leave-project-login,#leave-project-discard){align-self:center;min-height:44px;margin:0;padding:8px 12px;background:transparent;color:var(--ui-text);border:0;--action-hover-bg:transparent;--action-hover-ink:var(--ui-text)}
.leave-project-dialog #leave-project-error{font-size:13px;color:var(--ui-text);overflow-wrap:anywhere}
.leave-project-dialog #leave-project-error:empty{display:none}
.leave-project-dialog [hidden]{display:none!important}

.leave-project-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px}
.leave-project-dialog .leave-project-heading h2{flex:1;min-width:0;margin:0}
html body.site-design .leave-project-dialog #leave-project-close{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ui-text);--action-hover-bg:var(--ui-field);--action-hover-ink:var(--ui-text)}
html body.site-design .leave-project-dialog #leave-project-close:hover:not(:disabled){background:var(--ui-field);color:var(--ui-text)}
html body.site-design .leave-project-dialog #leave-project-close:focus-visible{outline:2px solid var(--ui-text);outline-offset:2px}
.leave-project-dialog #leave-project-close svg{display:block;pointer-events:none}
