.pdf-subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2rem}.pdf-subject{display:flex;flex-direction:column;gap:.5rem;text-decoration:none;border:2px solid #d7e0e7;border-radius:16px;padding:1.25rem;background:#fff;color:#122b47}.pdf-subject span{font-size:1.15rem;font-weight:750}.pdf-subject small{font-size:.9rem;color:#536375}.pdf-subject:hover,.pdf-subject.selected{border-color:#173e5b;background:#eff5f8}.pdf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:1rem 0 2rem}.pdf-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dce3e8;border-radius:18px;padding:1.5rem;min-width:0}.pdf-card h2{font-size:1.2rem;line-height:1.4;margin:1rem 0 .5rem;overflow-wrap:anywhere}.pdf-card p{line-height:1.6}.pdf-card-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}.pdf-file-icon{font-size:.75rem;font-weight:800;letter-spacing:.06em;border:1px solid #c2d3df;border-radius:7px;background:#edf4f8;color:#173e5b;padding:.7rem .5rem}.pdf-tag{font-size:.78rem;font-weight:700;color:#325c51;background:#edf5f1;border-radius:20px;padding:.35rem .65rem}.pdf-meta{font-size:.87rem;color:#536375}.pdf-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.pdf-card>.pdf-actions{margin-top:auto;padding-top:1rem}.pdf-filters{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.pdf-filters label,.pdf-admin-banner label,#pdf-editor label{display:block;font-weight:650}#pdf-search,#pdf-admin-search,.pdf-filters input,.pdf-filters select,#pdf-editor input:not([type=checkbox]):not([type=radio]),#pdf-editor textarea{display:block;width:100%;box-sizing:border-box;min-height:46px;margin:.4rem 0 1rem;padding:.7rem .85rem;border:1px solid #91a5b5;border-radius:8px;background:white;color:#172a3c;font:inherit}#pdf-editor input[type=file]{padding:1rem!important;border:2px dashed #91a5b5!important;background:#f6f9fb!important}#pdf-editor fieldset{border:0;padding:0;margin:1.5rem 0}#pdf-editor legend{font-weight:750;margin-bottom:.5rem}.pdf-options{display:flex;flex-wrap:wrap;gap:.6rem}.pdf-options label{border:1px solid #bac9d3;border-radius:8px;padding:.75rem;background:#fff;min-height:44px;box-sizing:border-box}.pdf-options input,.pdf-consent input{width:20px;height:20px;vertical-align:middle;accent-color:#183e5b}.pdf-consent{line-height:1.6;margin:1.5rem 0}.pdf-error{border-left:4px solid #a13024;background:#fff0ed;padding:1rem;color:#7b241b;font-weight:650}.pdf-empty{grid-column:1/-1}.pdf-admin-banner{background:#edf5f1;border-radius:12px;padding:1rem 1.5rem}.pdf-admin-actions{display:flex;flex-wrap:wrap;gap:.5rem;border-top:1px solid #e0e6eb;padding-top:1rem}.pdf-admin-actions .hub-button{font-size:.85rem}.pdf-viewer{margin:1.5rem 0;background:#e8edf1;border:1px solid #c7d3dd;border-radius:14px;overflow:hidden}.pdf-toolbar{padding:1rem;background:#fff;border-bottom:1px solid #c7d3dd;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.pdf-control-group{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.pdf-toolbar .hub-button{min-height:44px;padding:.55rem .8rem}.pdf-toolbar form{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.pdf-toolbar input{width:65px;min-height:44px;border:1px solid #8b9dab;border-radius:6px;padding:.4rem;font:inherit}.pdf-toolbar output{min-width:5rem;text-align:center;font-size:.85rem}.pdf-canvas-wrap{max-height:78vh;overflow:auto;padding:16px;min-height:150px;text-align:center;overscroll-behavior:contain}.pdf-canvas-wrap canvas{max-width:none;background:white;box-shadow:0 3px 14px #11273c25;display:block;margin:0 auto}.pdf-reader-status{margin:0;padding:.7rem 1rem;font-size:.9rem;background:#f8fafb}.pdf-page-text{background:#fff;padding:1rem;border-top:1px solid #c7d3dd}.pdf-page-text summary{cursor:pointer;min-height:40px;font-weight:700}.pdf-page-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.6}.pdf-admin-banner a{font-weight:650}.pdf-toolbar button:disabled{opacity:.45;cursor:default}[aria-pressed=true]#pdf-current,[aria-pressed=true]#pdf-trash-tab{background:#173e5b;color:white}.pdf-card .hub-button{font-size:.9rem}@media(max-width:760px){.pdf-subjects{grid-template-columns:1fr}.pdf-subject{padding:1rem}.pdf-grid{grid-template-columns:1fr}.pdf-filters{grid-template-columns:1fr}.pdf-toolbar{padding:.65rem}.pdf-control-group{width:100%}.pdf-card{padding:1.2rem}.pdf-canvas-wrap{max-height:65vh}.pdf-actions .hub-button{flex:1;text-align:center;justify-content:center}.pdf-options label{flex:1 1 140px}.pdf-subjects{gap:.6rem}}@media print{.pdf-toolbar,.pdf-admin-actions{display:none}.pdf-canvas-wrap{max-height:none;overflow:visible}}
.pdf-format-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem}.pdf-format-filters [aria-pressed=true]{background:#173e5b;color:#fff}.pdf-format-filters .hub-button{min-height:44px;padding:.65rem 1rem}.resource-player audio,.resource-player video{display:block;width:100%;max-width:100%;margin:1rem 0}.resource-player video{max-height:70vh;background:#122b47;border-radius:12px}.resource-player select{font:inherit;min-height:44px;padding:.5rem;border:1px solid #91a5b5;border-radius:8px;background:#fff}.resource-video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#122b47}.resource-transcript{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#pdf-editor [hidden]{display:none!important}#pdf-editor input[type=file]{max-width:100%;overflow:hidden}.pdf-file-icon{overflow-wrap:anywhere}.pdf-admin-banner p{overflow-wrap:anywhere}
