.resource-library-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.resource-library-head p{font-size:13px;color:#53647c;margin:0;max-width:62ch}.resource-filters{display:flex;gap:10px;margin-bottom:14px}.resource-filters input{flex:1;min-width:0}.resource-filters input,.resource-filters select,.resource-list-actions select{border:1px solid #c9d6e6;background:#fff;color:#243a55;border-radius:9px;padding:9px}.resource-list{display:grid;gap:9px;max-height:min(55vh,580px);overflow:auto}.resource-list-item{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #d8e3ed;background:#f8fbfe;border-radius:12px}.resource-list-glyph{width:44px;height:44px;display:grid;place-items:center;background:#e4eefb;color:#2554a8;border-radius:10px;font-size:24px;flex-shrink:0}.resource-list-info{flex:1;min-width:0}.resource-list-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-list-info small{display:block;color:#60718a}.resource-list-info p{font-size:12px;margin:3px 0 0;color:#53647c}.resource-list-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.resource-list-actions button,.resource-list-actions a{border:1px solid #d1deec;border-radius:8px;background:#fff;color:#244c84;padding:7px;min-height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}.resource-list-actions .b-primary{background:#245acb;color:#fff;border-color:#245acb;font-size:12px;padding:7px 11px}.resource-list-actions select{max-width:140px;font-size:12px}.resource-list-actions button[aria-pressed="true"]{color:#a66c00;background:#fff4d2}.type-resource .b-widget-body{padding:5px!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;overflow:hidden}.resource-card,.resource-viewer{width:100%;height:100%;min-height:0;min-width:0;border-radius:inherit}.resource-card{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:clamp(3px,2cqh,14px);padding:clamp(5px,3cqw,20px);background:linear-gradient(150deg,#f3f8ff,#e7f1f8);color:#23446c}.resource-glyph{font-size:clamp(24px,12cqi,70px);line-height:1}.resource-card strong{font-size:clamp(12px,5cqi,30px);line-height:1.12;max-width:100%;overflow-wrap:anywhere}.resource-card small{font-size:clamp(10px,2.5cqi,16px)}.resource-open{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#174ba2;background:#fff;border:1px solid #b4ccec;border-radius:8px;padding:5px 10px;font-size:clamp(10px,2.4cqi,15px);font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-viewer{display:flex;flex-direction:column;background:#f3f7fd;color:#27384d}.resource-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-shrink:0;padding:3px 7px;min-height:25px;font-size:clamp(10px,2cqi,15px)}.resource-viewer-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-viewer-head .resource-open{padding:3px 6px}.resource-viewer iframe,.resource-viewer img{width:100%;flex:1;min-height:0;border:0;object-fit:contain;background:#fff}.resource-pdf-controls{display:flex;align-items:center;justify-content:center;gap:clamp(2px,1cqi,8px);flex-shrink:0;padding:3px;background:#f0f4fb;font-size:clamp(10px,2cqi,14px)}.resource-pdf-controls button{padding:2px 5px!important;min-width:25px;min-height:25px}.resource-embed-fallback{font-size:11px;text-align:center;flex-shrink:0;padding:3px}.screen-thumb-resource{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#e7f1fc;color:#24508a;gap:2px;text-align:center}.screen-thumb-resource b{font-size:clamp(11px,3vw,26px)}.screen-thumb-resource small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
@media(max-width:700px){.resource-library-head,.resource-list-item{align-items:stretch}.resource-library-head{flex-direction:column}.resource-list-item{flex-wrap:wrap}.resource-list-actions{width:100%;justify-content:flex-start}.resource-list-info{flex:1 1 calc(100% - 65px)}}
.resource-filters input{width:auto!important;flex:1 1 0}
.resource-filters select{width:auto!important;flex:0 0 170px}
.resource-list-actions button,.resource-list-actions a{flex-shrink:0}
.resource-list-actions .b-primary{white-space:nowrap}
@media(max-width:480px){.resource-filters select{flex-basis:125px}}

.b-shell:not(.b-presenting) .resource-viewer iframe{pointer-events:none}.class-section-head{flex-wrap:wrap}
.type-resource:has(.resource-compact){border-radius:12px!important}
.b-widget.type-resource{container-type:size}
.type-resource:has(.resource-compact) .b-widget-body{padding:0!important;overflow:hidden!important}
.resource-compact{position:relative;display:flex;align-items:center;gap:clamp(3px,1.4cqi,12px);width:100%;height:100%;min-width:0;min-height:0;padding:clamp(2px,1.2cqi,10px);border-radius:inherit;background:var(--widget-bg,#eaf3ff);color:var(--widget-text,#17375f);box-sizing:border-box;container-type:size;cursor:grab;touch-action:none}
.resource-compact-label{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0;overflow:hidden}
.resource-compact-label strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(11px,28cqh,21px);line-height:1.15}
.resource-compact-label small{display:none;color:var(--widget-muted,#456587);font-size:clamp(11px,14cqh,14px)}
.resource-compact-description{display:none;max-width:50ch;overflow:hidden;color:var(--widget-muted,#456587);font-size:clamp(12px,9cqh,16px);line-height:1.3}
.resource-site-icon{position:relative;display:grid;place-items:center;flex:none;width:clamp(17px,42cqh,46px);height:clamp(17px,42cqh,46px);border-radius:7px;background:var(--widget-soft,#dceaff);color:var(--widget-accent,#2563c9);overflow:hidden}
.resource-icon-fallback{line-height:1;font-size:clamp(13px,29cqh,27px)}
.resource-site-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--widget-soft,#dceaff)}
.resource-site-icon.failed img{display:none}
.b-shell .resource-launch{display:grid!important;place-items:center!important;flex:none;width:clamp(25px,44cqh,36px)!important;height:clamp(25px,44cqh,36px)!important;min-width:0!important;min-height:0!important;padding:0!important;border:1px solid var(--widget-border,#a9c8f4)!important;border-radius:8px!important;background:#ffffffda!important;color:var(--widget-accent,#2563c9)!important;text-decoration:none!important;font-size:17px!important;cursor:pointer!important}
.b-shell .resource-launch:hover,.b-shell .resource-launch:focus-visible{background:#fff!important;outline:2px solid var(--widget-accent,#2563c9);outline-offset:1px}
@container (min-height:95px){.resource-compact{flex-direction:column;align-items:flex-start;justify-content:center}.resource-compact-label{flex:0 1 auto;width:100%}.resource-compact .resource-launch{position:absolute;top:7px;right:7px}.resource-compact .resource-site-icon{width:clamp(27px,28cqh,58px);height:clamp(27px,28cqh,58px)}}
@container (min-width:210px) and (min-height:95px){.resource-compact-label small{display:block}}
@container (min-width:340px) and (min-height:160px){.resource-compact-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}
.b-widget.resource-menu-open{overflow:visible!important;z-index:850!important}
.resource-open-actions{position:absolute;top:calc(100% + 6px);left:0;z-index:852;min-width:min(235px,90vw);display:flex;flex-direction:column;gap:3px;padding:5px;border:1px solid #c9d6e5;border-radius:10px;background:#fff;box-shadow:0 8px 24px #102a4740}
.b-widget.resource-menu-right .resource-open-actions{left:auto;right:0}
.b-widget.resource-menu-above .resource-open-actions{top:auto;bottom:calc(100% + 6px)}
.resource-open-actions button,.resource-open-actions a{display:flex!important;align-items:center!important;min-height:36px!important;padding:7px 10px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#263b55!important;font:600 13px system-ui!important;text-decoration:none!important;text-align:left!important;cursor:pointer!important}
.resource-open-actions button:hover,.resource-open-actions a:hover{background:#edf3fb!important}
.b-presenting .b-widget.resource-menu-open{overflow:visible!important;z-index:850!important}
.b-presenting .b-widget.resource-menu-open .b-widget-controls{display:none!important}
.screen-thumb-widget.type-resource:has(.screen-thumb-resource.compact){border-radius:4px}
.screen-thumb-resource.compact{flex-direction:row;justify-content:flex-start;gap:3px;padding:0 3px}
.screen-thumb-resource .resource-site-icon{width:min(35%,16px);height:min(70%,16px);border-radius:2px}
.screen-thumb-resource .resource-icon-fallback{font-size:clamp(6px,.8vw,11px)}
.screen-thumb-resource.compact small{flex:1;min-width:0;text-align:left;font-size:clamp(5px,.65vw,9px)}
.screen-thumb-resource.viewer{justify-content:flex-start;align-items:flex-start;padding:3px;background:linear-gradient(#e7f1fc 0 19%,#fff 19%);border:1px solid #c6d9ec}
.screen-thumb-resource.viewer .resource-site-icon{height:min(14%,14px);width:min(14%,14px)}
.screen-thumb-resource.viewer small{position:absolute;top:2px;left:20%;max-width:75%;font-size:clamp(5px,.65vw,9px)}
