
.gp-export {width:min(740px,calc(100% - 24px));max-height:92vh;padding:0;border:0;border-radius:20px;background:#f3f7f4;color:#17231b;box-shadow:0 24px 80px #0005}
.gp-export::backdrop{background:#071e18bb}
.gp-export-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px;background:#fff}
.gp-export-head h2{margin:0;font-size:22px}
.gp-export-close{border:0;background:#edf3ef;border-radius:8px;padding:8px 14px;font-size:24px}
.gp-export-body{padding:20px}
.gp-export-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.gp-export select{padding:10px;border:1px solid #bbcec2;border-radius:8px;background:#fff;color:#17231b}
.gp-export-preview{display:block;width:100%;max-width:432px;height:auto;margin:auto;border-radius:12px;box-shadow:0 10px 30px #0002}
.gp-export-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.gp-export-buttons button{flex:1;padding:12px;border:0;border-radius:10px;background:#08723b;color:#fff;font-weight:700;cursor:pointer}
.gp-export-buttons button:disabled{opacity:.5;cursor:wait}
.gp-export-status{font-size:13px;line-height:1.5;margin-top:12px}
.gp-export button:focus-visible,.gp-export select:focus-visible{outline:3px solid #56b979;outline-offset:3px}

.gp-export{margin:auto}.gp-export-tools{display:grid;grid-template-columns:auto 1fr}.gp-export-tools label{margin:0}.gp-export-tools span{grid-column:1/-1;font-size:13px}.gp-export select{width:100%;min-width:0}.gp-export-head{position:sticky;top:0;z-index:1}.gp-academy-actions button{cursor:pointer}
@media(max-width:480px){.gp-export-head{padding:14px}.gp-export-head h2{font-size:18px}.gp-export-body{padding:14px}.gp-export-tools{grid-template-columns:1fr}.gp-export-buttons button{flex-basis:100%}}

/* The legacy reset displays all dialog elements, including closed dialogs. */
dialog.gp-export:not([open]){display:none}
