/* AeroPublic 3.7.2 — Database export review / FreshGreen claymorphism */
.ap-export-body-lock { overflow: hidden !important; }
.ap-export-overlay { position:fixed; inset:0; z-index:100500; display:grid; place-items:center; padding:16px;
  background:rgba(7,32,25,.68); backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); }
.ap-export-dialog { width:min(1020px,100%); max-height:min(94dvh,920px); overflow:auto; border-radius:26px;
  color:var(--text,#14352b); background:var(--surface,#f6fbf8); border:1px solid rgba(255,255,255,.7);
  box-shadow:0 26px 75px rgba(0,20,14,.3),inset 0 1px 0 rgba(255,255,255,.72); padding:clamp(16px,2vw,28px); }
.ap-export-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.ap-export-head small {font-size:11px; letter-spacing:.1em; color:var(--primary,#178566);font-weight:800}
.ap-export-head h2 { font-size:clamp(1.15rem,2.5vw,1.65rem); font-weight:800; margin:6px 0 16px; }
.ap-export-close {border:0; border-radius:14px; font-size:26px; line-height:1; width:42px; height:42px; cursor:pointer;
  color:inherit; background:var(--surface-secondary,#e5f2eb); box-shadow:4px 4px 12px #0001,inset 1px 1px 0 #fff8;}
.ap-export-details {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px;}
.ap-export-details>div{border-radius:14px; background:var(--surface-secondary,#eaf3ee);box-shadow:inset 2px 2px 6px #00000010,inset -2px -2px 6px #ffffff75;padding:10px 13px;min-width:0}
.ap-export-details span,.ap-export-details strong{display:block;overflow-wrap:anywhere}
.ap-export-details span{color:var(--text-secondary,#647c70);font-size:11px;margin-bottom:3px}
.ap-export-details strong{font-size:13px}
.ap-export-state{margin:15px 0; padding:12px 14px;border-radius:14px;background:#e5f4ec;color:#0d583c;font-size:13px}
.ap-export-state.ap-export-error{background:#fff0ec;color:#a22d22}
.ap-export-table-scroll{overflow-x:auto;max-width:100%}
.ap-export-sample table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
.ap-export-sample th{text-align:left;background:#156f54;color:#fff;padding:9px;white-space:nowrap}
.ap-export-sample td{border-bottom:1px solid var(--border,#d8e7de);padding:8px 9px;min-width:85px}
.ap-export-pdfview{margin-top:16px}
.ap-export-pdfview p{font-size:13px;font-weight:700;margin-bottom:10px}
.ap-export-pdfview iframe{height:min(46dvh,520px);width:100%;border:1px solid var(--border,#d5e8de);border-radius:14px;background:#fff}
.ap-export-open{display:inline-block;margin:8px 0;color:var(--primary,#14865a);font-weight:700;font-size:12px;text-decoration:underline}
.ap-export-open[hidden],.ap-export-pdfview[hidden],.ap-export-sample[hidden]{display:none!important}
.ap-export-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap}
.ap-export-actions button{min-height:44px;border-radius:14px;padding:10px 18px;font-weight:750;cursor:pointer;border:1px solid var(--border,#d5e4db)}
.ap-export-cancel{background:var(--surface-secondary,#eaf3ee);color:inherit}
.ap-export-confirm{background:#11926a;color:white;border-color:#0d805f!important;box-shadow:0 4px 13px #0c6a4b45}
.ap-export-confirm:disabled{opacity:.55;cursor:not-allowed}
.ap-export-actions button:focus-visible,.ap-export-close:focus-visible,.ap-export-open:focus-visible{outline:3px solid #47a8ff;outline-offset:2px}
@media(max-width:690px){.ap-export-dialog{max-height:94dvh;border-radius:19px}.ap-export-details{grid-template-columns:repeat(2,minmax(0,1fr))}.ap-export-actions button{flex:1}}
@media(max-width:400px){.ap-export-details{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ap-export-dialog,.ap-export-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
