.clh-admin-section{padding-top:3.5rem}
.admin-login{max-width:34rem;margin:0 auto}
.clh-admin-head{display:flex;align-items:start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:1.7rem}
.clh-admin-head h2{margin-bottom:.3rem}
.clh-admin-head p:last-child{color:var(--muted);margin:0}
.clh-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2rem}
.clh-admin-stats>div{padding:1.2rem 1.4rem;background:var(--paper);border-left:3px solid var(--gold)}
.clh-admin-stats strong{display:block;font-size:2rem;font-weight:400;line-height:1.2}
.clh-admin-stats span{font-size:.78rem;color:var(--muted)}
.clh-admin-tools{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1rem}
.clh-admin-tools label{font-size:.77rem;font-weight:700;min-width:min(100%,25rem)}
.clh-admin-tools input{display:block;width:100%;padding:.7rem .9rem;border:1px solid var(--line);margin-top:.35rem}
.clh-users{min-width:760px}
.clh-users th{background:#e8ebe8;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#53646b}
.clh-users td{vertical-align:top;font-size:.8rem}
.clh-users td strong,.clh-users td small{display:block}
.clh-users td small{color:var(--muted);line-height:1.5;margin-top:.2rem;overflow-wrap:anywhere}
.clh-users tr[hidden],.clh-empty[hidden],.clh-edit[hidden]{display:none}
.clh-row-actions{display:flex;flex-wrap:wrap;gap:.4rem;min-width:12rem}
.clh-action{cursor:pointer;border:1px solid #aeb8b7;background:white;color:var(--ink);padding:.42rem .62rem;font-size:.72rem}
.clh-action.primary{background:var(--navy);border-color:var(--navy);color:white}
.clh-action:disabled{opacity:.55;cursor:wait}
.clh-status{display:inline-block;border-radius:2rem;padding:.24rem .6rem;text-transform:capitalize;font-size:.7rem;background:#eff0ee;color:#46535a}
.clh-status-approved{background:#e0efe6;color:#21623e}
.clh-status-pending{background:#fff0ce;color:#875b0f}
.clh-status-rejected,.clh-status-revoked{background:#f6e2e0;color:#913d34}
.clh-protected{font-size:.72rem;color:var(--muted)}
.clh-edit{margin-top:2rem;background:var(--paper);max-width:54rem}
.clh-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
.clh-edit-actions{display:flex;align-items:center;gap:1rem}
.clh-edit-actions .button{width:auto}
.clh-admin-files{border-top:1px solid var(--line);margin-top:3rem;padding-top:3rem}
.clh-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.clh-library-item{display:flex;flex-direction:column;border:1px solid var(--line);padding:1.2rem;background:white;min-height:8rem}
.clh-library-item:hover{border-color:var(--gold)}
.clh-library-item span{text-transform:uppercase;letter-spacing:.09em;font-size:.65rem;color:#96702b}
.clh-library-item strong{font-size:1.12rem;font-weight:500;margin:.3rem 0 auto}
.clh-library-item small{font-size:.72rem;color:#365263;margin-top:1rem}
.clh-admin-message{color:#8b3f36;margin-top:1rem}
.standard-document-link{display:inline-block;border-bottom:1px solid var(--gold);padding-bottom:4px;line-height:1.35}
.standard-document-link:hover{color:#8b692a}
.standard-access-hint{font-size:.82rem;margin-top:1.4rem}
.standard-document-card{padding:36px;border:1px solid var(--line);background:var(--paper)}
.standard-document-card h2{margin-bottom:22px}
.standard-document-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;padding-top:18px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}
.clh-library-standards{margin-top:3rem;padding-top:2.5rem;border-top:1px solid var(--line)}
.clh-standards-library{grid-template-columns:repeat(2,minmax(0,1fr))}
.clh-standards-library .clh-library-item p{font-size:.82rem;color:var(--muted);margin:.5rem 0 0}
.resource-library-heading{display:flex;justify-content:space-between;align-items:start;gap:3rem}
.resource-library-heading>div:first-child{max-width:49rem}
.resource-library-heading h2{font-size:clamp(2rem,3.7vw,3.6rem);line-height:1.15;margin-bottom:1.2rem}
.resource-library-heading .lead{font-size:1rem;max-width:43rem}
.resource-library-summary{flex-shrink:0;border-left:1px solid var(--line);padding-left:2rem;max-width:16rem;margin-top:2rem}
.resource-library-summary strong{display:block;font-size:3.5rem;line-height:1;font-weight:400}
.resource-library-summary>span{display:block;color:var(--muted);font-size:.8rem;margin:.5rem 0 1.5rem}
.resource-library-summary .text-link{font-size:.8rem;line-height:1.6}
.resource-access-note{font-size:.86rem;color:#516771;padding:1rem 1.25rem;border-left:3px solid var(--gold);background:#e9edeb;margin:1.8rem 0}
.resource-tools{display:flex;align-items:end;gap:1rem;padding:1.5rem 0}
.resource-tools label{display:block;font-size:.75rem;font-weight:600;min-width:0}
.resource-tools label:first-child{flex:1}
.resource-tools label:nth-child(2){flex:0 1 18rem}
.resource-tools input,.resource-tools select{display:block;border:1px solid #b8c3c5;background:white;color:var(--ink);font:inherit;font-size:.88rem;width:100%;padding:.85rem 1rem;margin-top:.5rem;border-radius:0;min-height:48px}
.resource-tools input:focus,.resource-tools select:focus{outline:2px solid var(--gold);outline-offset:2px}
.resource-count{flex-shrink:0;font-size:.77rem;color:var(--muted);padding-bottom:1rem;min-width:6rem;text-align:right}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.resource-card{background:white;border:1px solid var(--line);display:flex;flex-direction:column;padding:1.6rem;min-width:0}
.resource-card:hover{border-color:#9b8354}
.resource-card-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:1.3rem}
.resource-topic{font-size:.63rem;text-transform:uppercase;letter-spacing:.08em;color:#846226;font-weight:600}
.resource-format{font-size:.61rem;letter-spacing:.06em;padding:.25rem .4rem;background:var(--paper);color:#52646b}
.resource-card h3{font-size:1.42rem;line-height:1.25;margin:0 0 .75rem;font-weight:400}
.resource-description{font-size:.86rem;line-height:1.65;color:var(--muted);margin:0 0 1.3rem}
.resource-meta{display:flex;flex-wrap:wrap;gap:.25rem .8rem;margin-top:auto;font-size:.73rem;color:#516771}
.resource-kind{font-size:.71rem;color:#7d6950;margin:.6rem 0 1.3rem}
.resource-card-actions{display:flex;justify-content:space-between;align-items:center;gap:.7rem;border-top:1px solid var(--line);padding-top:1rem;font-size:.76rem;font-weight:600}
.resource-read{color:var(--navy)}
.resource-download{color:#876424}
.resource-card-actions a:hover{text-decoration:underline;text-underline-offset:4px}
.resource-empty{padding:2rem;background:white;border:1px solid var(--line);text-align:center;color:var(--muted)}
.resource-card[hidden],.resource-empty[hidden],.resource-library-summary .resource-signin[hidden]{display:none}
.resource-library-footer{margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.resource-library-footer p{font-size:.82rem;color:var(--muted);line-height:1.6}
@media(max-width:1000px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-library-heading{gap:2rem}.resource-library-summary{max-width:12rem;padding-left:1.5rem}}
@media(max-width:650px){.resource-library-heading{display:block}.resource-library-summary{max-width:none;margin:1.5rem 0 0;border-left:0;border-top:1px solid var(--line);padding:1.25rem 0 0}.resource-library-summary strong{display:inline-block;font-size:2rem}.resource-library-summary>span{display:inline-block;margin:0 .75rem}.resource-library-summary .text-link{display:block;margin-top:.8rem;width:max-content}.resource-tools{flex-wrap:wrap;padding:1rem 0}.resource-tools label:first-child{flex-basis:100%}.resource-tools label:nth-child(2){flex:1}.resource-count{padding-bottom:1rem}.resource-grid{grid-template-columns:1fr}.resource-card{padding:1.4rem}.resource-card-actions{font-size:.8rem}.resource-access-note{font-size:.82rem}}
@media(max-width:800px){.clh-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clh-admin-head,.clh-admin-tools{display:block}.clh-admin-tools .text-link{margin-top:1rem}.clh-edit-grid{grid-template-columns:1fr}}
@media(max-width:520px){.clh-admin-stats{grid-template-columns:1fr 1fr}.clh-admin-stats>div:last-child{grid-column:1/-1}.clh-library-grid{grid-template-columns:1fr}.clh-admin-section{padding-top:2rem}}
