/* Target: supplied teaching-resource UI specification, 2026-11-30. */
:root{color:#24352d;background:#fff;--green:#216b51}header{height:60px}.shell{grid-template-columns:clamp(200px,9vw,220px) minmax(0,1fr)}aside{background:#f6f8f7;position:relative;min-height:calc(100dvh - 60px)}aside button.active{background:#e3efe8;color:var(--green)}.shell>main{padding:24px 28px}#workspace>h1{font-size:24px;margin:0 0 14px}#workspace>.toolbar{position:relative;margin:0 0 10px}.brand{color:var(--green)}.type-shortcuts{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.type-shortcuts button{min-width:78px;color:#6b7b73;border-color:#e4e9e6}.type-shortcuts button[aria-pressed=true]{background:#e3efe8;color:var(--green)}.search input{max-width:none;height:40px;background:#fafbfa}.search label{font-size:0;gap:0}.search{margin:10px 0}.filters{padding:0 0 16px;border:0;gap:8px}.filters label{width:130px}.filters input{height:34px;margin-top:0}.filters label{font-size:0}.filters input{font-size:13px}td{height:55px;border-color:#e4e9e6}.filename{font-size:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.name-cell>div{overflow:hidden}.mobile-meta{display:block;font-size:12px;color:#6b7b73}.column-meta{color:#6b7b73}.column-meta:nth-child(4),.column-meta:nth-child(5){display:none}.selection-bar{background:#e3efe8;padding:6px 12px;min-height:42px;margin:8px 0}.compact td,.preview-open td{height:42px}.primary{background:var(--green);border-color:var(--green)}#sidebar-capacity{position:sticky;top:calc(100dvh - 130px);padding-top:40px}button:focus-visible,a:focus-visible{outline:2px solid #216b51;outline-offset:3px}.preview-selected{background:#e3efe8!important}.document-split.preview-open{height:calc(100dvh - 330px)}.mobile-bottom,.mobile-filter{display:none}.guest .mobile-bottom{display:none!important}
@media(max-width:1199px) and (min-width:768px){.shell{grid-template-columns:175px minmax(0,1fr)}.shell>main{padding:20px}.filters label{width:110px}.column-meta:nth-child(6),.column-meta:nth-child(7){display:none}}
@media(max-width:767px){.shell{display:block}.shell>aside{display:none}.shell>main{padding:16px 12px 80px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e4e9e6;padding-bottom:env(safe-area-inset-bottom);z-index:60;justify-content:space-around}.mobile-bottom button{border:0;min-height:48px;flex:1}.mobile-filter{display:block;margin:8px 0;min-height:44px}.filters{display:none}.filters.mobile-expanded{display:flex;position:fixed;bottom:60px;left:0;right:0;background:white;z-index:70;padding:24px;border-top:1px solid #e4e9e6;box-shadow:0 -10px 80px #24352d33}.filters label{width:calc(50% - 4px)}.filters input{height:44px}.filters button{min-height:44px}.type-shortcuts{flex-wrap:nowrap;overflow:auto}.type-shortcuts button{min-height:44px;flex-shrink:0}.document-split.preview-open{display:block;height:auto}.preview-open .document-preview{position:fixed;inset:0;z-index:75;height:100dvh}.preview-open>.table-wrap{display:none}.preview-heading button,.preview-tools button{min-height:44px}.search button{min-height:44px}.column-meta{display:none}}

#workspace .toolbar>h1{font-size:24px;margin:0}.preview-open td{padding-top:4px;padding-bottom:4px}.document-split.preview-open{height:calc(100dvh - 330px)}

.preview-open table{table-layout:fixed}.preview-open th:last-child{width:130px}.preview-open .name-cell{overflow:hidden}.preview-open .name-cell>div{overflow:hidden}

@media(min-width:768px){body.previewing{overflow:hidden}body.previewing .document-split.preview-open{min-height:0}.previewing .table-wrap{overscroll-behavior:contain}.previewing .page-viewport{overscroll-behavior:contain}}

@media(min-width:768px){html:has(body.previewing){overflow:clip;height:100dvh}body.previewing{height:100dvh;overflow:clip}}

.search input{font-size:14px}@media(max-width:767px){.more-menu{left:0!important;right:0;top:auto!important;bottom:calc(58px + env(safe-area-inset-bottom));border-radius:12px 12px 0 0;max-height:70dvh;overflow:auto}.more-menu button{min-height:44px}}

.environment-label{font-size:11px!important;white-space:nowrap;border:1px solid #bbcfc1;padding:2px 5px;border-radius:3px;color:#587562!important;font-weight:400;margin-left:6px;flex:none}
