.truth-shell{max-width:1120px;margin:0 auto;padding:2.2rem 2rem 4rem;color:#14231f}.truth-header{display:flex;align-items:end;justify-content:space-between;gap:2rem;padding-bottom:1.5rem}.truth-header h1{margin:.15rem 0 .35rem;font-size:2rem;letter-spacing:0}.truth-header p:last-child,.dialog-heading p:last-child{margin:0;color:#66736f;font-size:.78rem}.truth-actions{display:flex;gap:.55rem}.truth-actions button{display:inline-flex;align-items:center;gap:.42rem}.truth-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.truth-brand-tabs{display:flex;gap:.25rem;padding:.25rem;overflow:auto;border-bottom:1px solid #dfe5e2}.truth-brand-tabs a{padding:.65rem .8rem;border-radius:6px;color:#66736f;font-size:.72rem;font-weight:700;text-decoration:none;white-space:nowrap}.truth-brand-tabs a[aria-current=page]{color:#103f34;background:#edf5f1}.truth-summary{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 0 .75rem}.truth-summary strong{font-size:.85rem}.truth-summary span{color:#7b8783;font-size:.68rem}.truth-library{border-top:1px solid #dfe5e2}.truth-category{border-bottom:1px solid #dfe5e2}.truth-category>header{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:.85rem;padding:1.1rem .25rem}.truth-category-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;color:#146b58;background:#edf6f2}.truth-category-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.truth-category header small{display:block;margin-bottom:.12rem;color:#83908c;font-size:.54rem;font-weight:800;text-transform:uppercase}.truth-category h2{margin:0;font-size:.85rem;letter-spacing:0}.truth-count{min-width:24px;padding:.22rem .4rem;border-radius:999px;color:#66736f;background:#f0f3f2;font-size:.6rem;text-align:center}.truth-promotion-state{display:flex;align-items:center;gap:.55rem;color:#66736f;font-size:.61rem}.truth-promotion-state .is-expired{color:#ad4138}.truth-toggle{position:relative;width:34px;height:20px;padding:0;border:0;border-radius:999px;background:#ccd4d1;box-shadow:none}.truth-toggle span{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .16s}.truth-toggle.is-on{background:#168269}.truth-toggle.is-on span{transform:translateX(14px)}
.truth-resources{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.85rem;padding:.1rem 0 1.2rem 3.95rem}.truth-resource-card{position:relative;min-width:0;border:1px solid #dfe5e2;border-radius:7px;background:#fff;transition:border-color .16s,box-shadow .16s,transform .16s}.truth-resource-card:hover{border-color:#b9c8c3;box-shadow:0 10px 24px rgb(20 48 39/8%);transform:translateY(-1px)}.truth-resource-preview{display:grid;width:100%;height:144px;padding:.75rem;place-items:center;overflow:hidden;border:0;border-radius:6px 6px 0 0;background:#f5f7f6;box-shadow:none}.truth-resource-preview:hover{background:#f0f4f2}.truth-resource-preview.is-image{padding:0}.truth-resource-preview>img{width:100%;height:100%;object-fit:cover}.truth-resource-card footer{display:grid;grid-template-columns:28px minmax(0,1fr) 30px;align-items:center;gap:.55rem;min-height:58px;padding:.55rem .5rem;border-top:1px solid #e7ecea}.truth-resource-card footer>div{display:grid;min-width:0;gap:.12rem}.truth-resource-card footer strong{overflow:hidden;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.truth-resource-card footer span{color:#7b8783;font-size:.55rem}.truth-format-icon{display:grid;width:27px;height:31px;place-items:center;border-radius:4px;color:#52615d!important;background:#edf1ef;font-size:.46rem!important;font-weight:900}.truth-format-icon.is-pdf{color:#a6453d!important;background:#fbeeed}.truth-format-icon.is-markdown{color:#2c5aa0!important;background:#edf3fc}.truth-format-icon.is-image{color:#16705c!important;background:#eaf6f1}.truth-format-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.truth-document-sheet{display:grid;width:82px;height:102px;padding:17px 13px 12px;align-content:start;gap:9px;border:1px solid #d7dedb;border-radius:5px;background:#fff;box-shadow:0 5px 14px rgb(25 48 40/8%)}.truth-document-sheet>span{margin-bottom:5px;color:#2c5aa0;font-size:.64rem;font-weight:900}.truth-resource-preview[data-format=pdf] .truth-document-sheet>span{color:#a6453d}.truth-document-sheet i{display:block;width:100%;height:3px;border-radius:2px;background:#dce3e0}.truth-document-sheet i:last-child{width:62%}
.truth-resource-menu{position:relative}.truth-resource-menu summary{display:grid;width:30px;height:30px;place-items:center;border-radius:6px;cursor:pointer;list-style:none}.truth-resource-menu summary:hover{background:#eef2f0}.truth-resource-menu>div{position:absolute;z-index:4;top:34px;right:0;display:grid;width:250px;padding:.55rem;gap:.3rem;border:1px solid #dfe5e2;border-radius:7px;background:#fff;box-shadow:0 14px 32px rgb(24 44 38/14%)}.truth-resource-menu form{display:grid;gap:.4rem}.truth-resource-menu textarea,.truth-resource-menu input{width:100%}.truth-resource-menu button,.truth-resource-menu a{width:100%;padding:.5rem .55rem;border:0;border-radius:5px;color:#193c33;background:transparent;font-size:.62rem;font-weight:700;text-align:left;text-decoration:none;box-shadow:none}.truth-resource-menu button:hover,.truth-resource-menu a:hover{background:#eef4f1}.truth-resource-menu .is-danger{color:#a43832}.truth-resource-menu .is-danger:hover{background:#fff0ef}.truth-empty-row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:.8rem .65rem;color:#8b9692;font-size:.65rem}.truth-category.is-inactive{opacity:.55}.truth-empty{display:grid;min-height:320px;place-content:center;justify-items:center;text-align:center}.truth-empty svg{width:38px;height:38px;margin-bottom:.6rem;fill:none;stroke:#7a8d87;stroke-width:1.4}.truth-empty h2{margin:0;font-size:1rem}.truth-empty p{max-width:390px;margin:.35rem 0 1rem;color:#7b8783;font-size:.7rem}
.truth-dialog{width:min(540px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);padding:1.4rem;border:0;border-radius:8px;box-shadow:0 24px 70px rgb(8 28 22/24%)}.truth-dialog::backdrop{background:rgb(8 25 20/42%);backdrop-filter:blur(3px)}.dialog-close{float:right;display:grid;width:34px;height:34px;padding:0;place-items:center;color:#53635e;background:#f1f4f3;font-size:1.1rem;box-shadow:none}.dialog-heading{padding:0 2.7rem 1rem 0}.dialog-heading h2{margin:.1rem 0 .25rem;font-size:1.25rem;letter-spacing:0}.truth-preview-dialog{width:min(880px,calc(100vw - 2rem))}.truth-preview-media{display:grid;margin:0;gap:.6rem;justify-items:center}.truth-preview-media img{display:block;max-width:100%;max-height:68vh;border-radius:6px;object-fit:contain;background:#f4f6f5}.truth-preview-media figcaption{color:#697772;font-size:.65rem}.truth-preview-document{display:grid;grid-template-columns:180px minmax(0,1fr);gap:1rem}.truth-preview-meta{display:flex;flex-direction:column;gap:.4rem;color:#6c7975;font-size:.65rem}.truth-preview-document pre{max-height:65vh;margin:0;padding:1.15rem;overflow:auto;border:1px solid #e0e6e3;border-radius:6px;color:#233b34;background:#fafbfa;font:400 .72rem/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.truth-delete-dialog{width:min(440px,calc(100vw - 2rem))}.truth-delete-form{display:flex;justify-content:flex-end;gap:.55rem}.truth-form{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.truth-form .field:has(input[type=file]),.truth-form .field:has(textarea),.truth-form>button,.truth-form .errorlist{grid-column:1/-1}.truth-form input[type=file]{padding:.7rem;border:1px dashed #aab8b3;background:#f7f9f8}.truth-form small{display:block;margin-top:.2rem;color:#83908c;font-size:.56rem}.truth-form>button{margin-top:.2rem}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:720px){.truth-shell{padding:1.35rem 1rem 3rem}.truth-header{display:grid;gap:1rem}.truth-actions{width:100%}.truth-actions button{flex:1;justify-content:center}.truth-category>header{grid-template-columns:34px minmax(0,1fr) auto}.truth-promotion-state{grid-column:2/-1;justify-content:space-between}.truth-resources{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:0}.truth-resource-preview{height:118px}.truth-resource-card footer{grid-template-columns:26px minmax(0,1fr) 30px}.truth-resource-menu>div{position:fixed;top:auto;right:1rem;bottom:1rem;width:calc(100vw - 2rem)}.truth-preview-document{grid-template-columns:1fr}.truth-preview-meta{flex-direction:row;flex-wrap:wrap}.truth-form{grid-template-columns:1fr}.truth-form .field{grid-column:1}}@media(max-width:420px){.truth-resources{grid-template-columns:1fr}.truth-resource-preview{height:158px}}

/* Document viewer */
.truth-preview-document{grid-template-columns:160px minmax(0,1fr);gap:1.15rem;align-items:start}.truth-preview-meta{position:sticky;top:0;padding:.15rem 0}.truth-preview-meta strong{color:#213b33;font-size:.72rem}.truth-document-viewer{max-height:66vh;padding:1.2rem;overflow:auto;border:1px solid #e0e6e3;border-radius:6px;background:#edf1ef}.truth-document-page{box-sizing:border-box;width:min(100%,720px);min-height:56vh;margin:0 auto;padding:2.5rem 3rem;color:#243932;background:#fff;box-shadow:0 4px 16px rgb(18 44 36/8%);font-size:.78rem;line-height:1.7}.truth-document-page+.truth-document-page{margin-top:1rem}.truth-page-number{display:block;margin:0 0 1.4rem;padding-bottom:.55rem;border-bottom:1px solid #e6ebe9;color:#788580;font-size:.58rem;font-weight:800;text-transform:uppercase}.truth-page-text{white-space:pre-wrap}.truth-pdf-notice{display:grid;width:min(100%,720px);margin:0 auto 1rem;padding:.7rem .85rem;border:1px solid #d8e4df;border-radius:5px;color:#53655f;background:#f7faf8;font-size:.61rem}.truth-pdf-notice strong{color:#166b57}.truth-markdown-body h1,.truth-markdown-body h2,.truth-markdown-body h3{margin:1.4em 0 .55em;color:#122d25;line-height:1.2;letter-spacing:0}.truth-markdown-body h1:first-child,.truth-markdown-body h2:first-child{margin-top:0}.truth-markdown-body h1{font-size:1.65rem}.truth-markdown-body h2{padding-bottom:.35rem;border-bottom:1px solid #e1e8e5;font-size:1.15rem}.truth-markdown-body h3{font-size:.92rem}.truth-markdown-body p{margin:.65rem 0}.truth-markdown-body ul,.truth-markdown-body ol{margin:.7rem 0;padding-left:1.4rem}.truth-markdown-body li+li{margin-top:.3rem}.truth-markdown-body code{padding:.08rem .25rem;border-radius:3px;color:#174f42;background:#eef4f1;font-size:.72rem}.truth-markdown-body blockquote{margin:1rem 0;padding:.1rem 0 .1rem .9rem;border-left:3px solid #62b49f;color:#53665f}.truth-markdown-body a{color:#08775e;text-decoration:underline}
@media(max-width:720px){.truth-preview-document{grid-template-columns:1fr}.truth-preview-meta{position:static}.truth-document-viewer{padding:.65rem}.truth-document-page{min-height:55vh;padding:1.4rem 1.15rem}.truth-markdown-body h1{font-size:1.35rem}}
.truth-form-error{grid-column:1/-1;min-height:1em;color:#a43832;font-size:.63rem}.truth-category-menu{justify-self:end}.truth-category-menu>div{width:180px}.truth-category-menu summary{color:#53635e}.truth-category.is-inactive .truth-category-menu{opacity:1}.truth-category>header:has(.truth-category-menu){grid-template-columns:36px minmax(0,1fr) auto auto auto}@media(max-width:720px){.truth-category>header:has(.truth-category-menu){grid-template-columns:34px minmax(0,1fr) auto auto}.truth-category-menu{grid-column:auto}}
.truth-pdf-frame{display:block;width:100%;height:min(70vh,820px);border:0;border-radius:5px;background:#fff}@media(max-width:720px){.truth-pdf-frame{height:68vh}}
