.ac-sds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ac-sds-card{border:1px solid #d4e3ed;border-radius:6px;overflow:hidden;background:#fff}.ac-sds-image{height:300px;padding:24px;background:#f3f8fc;display:flex;align-items:center;justify-content:center}.ac-sds-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.ac-sds-body{padding:24px}.ac-sds-body>span{color:#169aca;letter-spacing:2px;font-size:12px;font-weight:700}.ac-sds-body h2{font-size:21px;color:#12395e;margin:12px 0 24px}.ac-sds-actions{display:flex;gap:14px}.ac-sds-actions button{flex:1;min-width:0;border:1px solid #139bcd;border-radius:16px;background:#139bcd;color:white;padding:14px 8px;font-weight:700;cursor:pointer}.ac-sds-actions button+button{background:white;color:#139bcd}.ac-sds-actions button:disabled{opacity:.45;cursor:default}.ac-resource-dialog{width:min(1000px,94vw);max-width:94vw;padding:0;border:0;border-radius:12px;color:#12395e}.ac-resource-dialog::backdrop{background:#102b46b8}.ac-resource-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:12px 20px}.ac-resource-dialog-head button{background:transparent;border:0;font-size:30px;cursor:pointer}.ac-resource-preview{height:78vh;background:#f3f8fc}.ac-resource-preview iframe{width:100%;height:100%;border:0}.ac-resource-preview img{width:100%;height:100%;object-fit:contain}@media(max-width:900px){.ac-sds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.ac-sds-grid{grid-template-columns:1fr}.ac-sds-image{height:280px}}

/* Keep the document viewport bounded, with controls always visible. */
.ac-resource-dialog{width:min(1200px,96vw);max-width:96vw;max-height:94vh;overflow:hidden}
.ac-resource-dialog[open]{display:flex;flex-direction:column}
.ac-resource-dialog-head{flex:0 0 auto;gap:16px;min-height:64px;border-bottom:1px solid #d4e3ed}
.ac-resource-dialog-head strong{margin-right:auto}
.ac-resource-dialog-head a{font-size:14px;white-space:nowrap;color:#087ca8;text-decoration:underline}
.ac-resource-preview{height:calc(90vh - 64px);min-height:0;overflow:auto}
.ac-resource-preview iframe{display:block;width:100%;max-width:none;height:100%;min-height:100%;border:0}
.ac-resource-preview img{display:block;width:100%;height:100%;object-fit:contain;margin:auto}
@media(max-width:580px){.ac-resource-dialog-head{flex-wrap:wrap;padding:10px 14px;gap:8px}.ac-resource-dialog-head strong{font-size:15px}.ac-resource-dialog-head a{font-size:12px}}

.ac-resource-preview.ac-resource-preview-image{padding:24px;background:#e7edf2;overflow:auto}
.ac-resource-preview.ac-resource-preview-image img{width:100%;max-width:1000px;height:auto;max-height:none;object-fit:initial;box-shadow:0 2px 12px #102b4620}
@media(max-width:580px){.ac-resource-preview.ac-resource-preview-image{padding:8px}}
.ac-sds-actions a{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;border:1px solid #139bcd;border-radius:16px;background:#139bcd;color:#fff;padding:14px 8px;font-weight:700;text-decoration:none;text-align:center}
.ac-sds-actions a+a,.ac-sds-actions button+a{background:#fff;color:#139bcd}
.ac-sds-actions a:focus-visible{outline:3px solid #12395e;outline-offset:3px}
.ac-sds-actions small{display:block;font-size:11px;font-weight:400;margin-top:4px}

.ac-sds-actions button{width:100%;border-radius:6px;min-height:48px;padding:12px 16px}.ac-resource-dialog{width:min(860px,94vw);max-width:94vw}.ac-resource-preview img{user-select:none;-webkit-user-drag:none}

.ac-resource-preview.ac-resource-preview-image img+img{margin-top:16px}
