.edu-plan-downloads { display:grid; gap:4px; width:100%; min-width:0; margin:0 0 12px; }
.plan-content-list > .edu-plan-downloads { grid-column:1 / -1; }
.edu-plan-downloads .edu-plan-download-row { box-sizing:border-box; display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:18px; min-height:90px; padding:12px 22px; border:1px solid #f0f2f7; border-radius:16px; background:#fff; box-shadow:none; }
.edu-plan-downloads .edu-plan-download-icon { display:flex; align-items:center; justify-content:center; font-size:44px; line-height:1.2; }
.edu-plan-downloads .edu-plan-download-copy { min-width:0; }
.edu-plan-downloads .edu-plan-download-copy h3 { display:block; margin:0 0 4px; padding:0; font-size:17px; font-weight:800; line-height:1.4; color:#192349; overflow-wrap:anywhere; }
.edu-plan-downloads .edu-plan-download-copy h3 small { display:inline; font-size:inherit; font-weight:inherit; white-space:nowrap; color:inherit; }
.edu-plan-downloads .edu-plan-download-copy p { margin:0; padding:0; font-size:13px; font-weight:600; line-height:1.5; color:#76809b; }
.edu-plan-downloads .edu-plan-download-actions { display:flex; gap:14px; align-items:center; }
.edu-plan-downloads .edu-plan-download-actions a { box-sizing:border-box; display:inline-flex; justify-content:center; align-items:center; gap:8px; min-width:96px; min-height:38px; padding:7px 18px; border-radius:24px; font-size:14px; line-height:1.4; text-decoration:none; font-weight:700; white-space:nowrap; box-shadow:none; }
.edu-plan-downloads .edu-plan-download-actions .edu-plan-preview { border:1px solid #e1e5ed; color:#64708c; background:#fff; }
.edu-plan-downloads .edu-plan-download-actions .edu-plan-download { border:1px solid #2478de; background:linear-gradient(180deg,#3389eb,#2478de); color:#fff; }
.edu-plan-downloads .edu-plan-download-actions svg { display:block; flex:0 0 18px; width:18px; height:18px; margin:0; }
.edu-plan-downloads .edu-plan-download-actions a:focus-visible { outline:3px solid #153f7a; outline-offset:3px; }
@media(max-width:600px) {
 .edu-plan-downloads .edu-plan-download-row { grid-template-columns:42px minmax(0,1fr); gap:10px 12px; padding:14px; }
 .edu-plan-downloads .edu-plan-download-icon { font-size:34px; }
 .edu-plan-downloads .edu-plan-download-actions { grid-column:2; justify-content:flex-start; gap:8px; flex-wrap:wrap; }
 .edu-plan-downloads .edu-plan-download-copy h3 { font-size:15px; }
 .edu-plan-downloads .edu-plan-download-actions a { min-width:86px; min-height:40px; }
}
.edu-plan-downloads .edu-plan-download-actions .edu-plan-preview { color:var(--plan-document-color); border-color:color-mix(in srgb,var(--plan-document-color) 30%,white); }
.edu-plan-downloads .edu-plan-download-actions .edu-plan-download { background:var(--plan-document-color); border-color:var(--plan-document-color); }
.edu-plan-preview-dialog { box-sizing:border-box; width:min(1100px,94vw); max-width:96vw; height:86vh; max-height:94vh; padding:0; border:0; border-radius:16px; background:#fff; color:#24324a; box-shadow:0 24px 90px #0005; }
.edu-plan-preview-dialog::backdrop { background:#152035b3; }
.edu-plan-preview-dialog[open] { display:flex; flex-direction:column; }
dialog.edu-plan-preview-dialog {
 position:fixed;
 inset:0;
 margin:auto;
}
.edu-plan-preview-dialog > header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid #e2e8f0; flex-wrap:wrap; }
.edu-plan-preview-dialog > header strong { flex:1; overflow-wrap:anywhere; }
.edu-plan-preview-tools { display:flex; gap:8px; align-items:center; }
.edu-plan-preview-tools button,.edu-plan-preview-tools a { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:40px; box-sizing:border-box; padding:8px 12px; border:1px solid #dce3ee; border-radius:8px; background:white; color:#34435a; font:inherit; text-decoration:none; cursor:pointer; }
.edu-plan-preview-tools a { background:var(--plan-document-color); border-color:var(--plan-document-color); color:white; }
.edu-plan-preview-tools [data-close] { color:#c63246; }
.edu-plan-preview-body { flex:1; min-height:0; overflow:auto; background:#eef0f2; }
.edu-plan-preview-body > iframe { display:block; width:100%; height:100%; border:0; }
.edu-plan-preview-body > img { display:block; width:100%; height:auto; object-fit:contain; }
.edu-plan-preview-dialog.is-expanded { width:98vw; max-width:98vw; height:96vh; max-height:96vh; }
.edu-plan-preview-tools :focus-visible { outline:3px solid var(--plan-document-color); outline-offset:2px; }

@supports (height: 100dvh) {
 .edu-plan-preview-dialog { height:86dvh; max-height:94dvh; }
 .edu-plan-preview-dialog.is-expanded { height:96dvh; max-height:96dvh; }
}
.edu-plan-preview-tools [hidden] { display:none; }
@media (max-width: 480px) {
 .edu-plan-preview-dialog > header { padding:8px; gap:6px; }
 .edu-plan-preview-tools { flex-wrap:wrap; gap:4px; }
}

dialog.edu-plan-preview-dialog { width:min(1100px,94vw); max-width:96vw; height:86vh; height:86dvh; max-height:94vh; max-height:94dvh; border-radius:20px; overflow:hidden; }
.edu-plan-preview-dialog::backdrop { background:rgba(30,41,59,.72); backdrop-filter:blur(3px); }
.edu-plan-preview-dialog > header { flex-shrink:0; flex-wrap:nowrap; min-height:82px; box-sizing:border-box; padding:14px 20px; background:#fff; }
.edu-plan-preview-dialog > header strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#26344d; font-size:clamp(16px,1.4vw,22px); }
.edu-plan-preview-tools { flex-shrink:0; }
.edu-plan-preview-tools button, .edu-plan-preview-tools a { height:48px; min-width:48px; padding:0 12px; border-radius:10px; font-size:21px; }
.edu-plan-preview-tools a { background:#ff2860; border-color:#ff2860; font-size:17px; font-weight:800; }
.edu-plan-preview-tools a:hover { background:#e91f54; }
.edu-plan-preview-tools button:disabled { opacity:.4; cursor:default; }
.edu-plan-preview-tools :focus-visible { outline:3px solid #ff2860; outline-offset:3px; }
.edu-plan-preview-body { background:#262626; }
dialog.edu-plan-preview-dialog.is-expanded { width:100vw; max-width:none; height:100vh; height:100dvh; max-height:none; border-radius:0; }
@media (max-width:600px) {
 dialog.edu-plan-preview-dialog { width:94vw; height:86vh; height:86dvh; border-radius:14px; }
 .edu-plan-preview-dialog > header { flex-wrap:wrap; padding:10px; gap:8px; }
 .edu-plan-preview-dialog > header strong { flex-basis:100%; font-size:15px; }
 .edu-plan-preview-tools { width:100%; gap:6px; flex-wrap:nowrap; }
 .edu-plan-preview-tools button, .edu-plan-preview-tools a { min-width:44px; height:44px; padding:0 10px; }
 .edu-plan-preview-tools a { margin-left:auto; }
}
