@font-face{font-family:StudioPoppins;src:url('/files/fonts/Poppins-Regular.ttf?fontEncoding=3')}@font-face{font-family:StudioSourceHan;src:url('/files/fonts/SourceHanSansSC-Regular.ttf?fontEncoding=3')}body,input,textarea,select,button{font-family:StudioPoppins,StudioSourceHan,"Microsoft YaHei",sans-serif}.role-badge{border:1px solid #d5ded8;padding:5px 9px;font-size:11px;border-radius:20px;white-space:nowrap;color:#53675b}.role-badge.admin{background:#e4eee5;color:#315740}.library-tabs{display:flex;gap:8px;margin-bottom:20px}.library-tabs button.active,.folder-button.active{background:#e7efe7;color:#264e36;border-color:#cbdacb}.library-layout{display:grid;grid-template-columns:210px 1fr;gap:24px}.folder-tree{padding:12px 0;align-self:start}.folder-button{width:100%;border:0;text-align:left;border-radius:0;padding:12px 14px;background:transparent;white-space:normal}.library-toolbar{display:flex;gap:16px;justify-content:space-between;align-items:start;margin-bottom:16px}.library-toolbar .help{margin-bottom:0}.library-toolbar input{max-width:220px}.library-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.library-card{margin:0;overflow:hidden}.library-thumb{height:148px;display:grid;place-items:center;background:#f8f9f6;border-bottom:1px solid #e4e9e2}.library-thumb img{width:85%;height:122px;object-fit:contain}.font-sample{font-size:44px;color:#31533f}.library-card-body{padding:16px;overflow-wrap:anywhere}.library-card-body>strong{font-size:13px;display:block}.library-card-body>small{display:block;color:#8b9389;margin-top:5px;font-size:10px}.library-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.library-card-actions .small{font-size:11px}.library-project{max-width:420px;margin-bottom:20px}.usage-list{max-height:50vh;overflow:auto;border:1px solid #e2e7e0;border-radius:8px}.usage-list article{padding:12px 16px;border-bottom:1px solid #e5e9e3}.usage-list article:last-child{border:0}.usage-list strong,.usage-list span,.usage-list small{display:block}.usage-list strong{font-size:13px}.usage-list span{font-size:12px;margin:5px 0}.usage-list small{color:#879184;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}button:disabled{opacity:.45;cursor:default}@media(max-width:1000px){.library-layout{grid-template-columns:160px 1fr}.top-actions{flex-wrap:wrap;justify-content:flex-end}.role-badge{display:none}}@media(max-width:700px){.library-layout{display:block}.folder-tree{margin-bottom:16px}.library-toolbar{display:block}.library-cards{grid-template-columns:1fr}}

/* The grid shows transparency; it is a UI background, never part of the artwork. */
.library-thumb:has(img){background-color:#fafbf9;background-image:linear-gradient(45deg,#e8ece5 25%,transparent 25%),linear-gradient(-45deg,#e8ece5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8ece5 75%),linear-gradient(-45deg,transparent 75%,#e8ece5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}

.mark-protection,.mark-checks{margin:14px 0;padding:12px;border:1px solid #cbd8cf;border-radius:10px;background:#f5f9f6}.mark-protection summary,.mark-checks summary{cursor:pointer;font-weight:600;color:#254d3d}.mark-protection>.fields{margin-top:12px}.mark-rule-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.mark-caution{padding:10px;background:#fff5d9;color:#715416;border-radius:8px}.mark-check-list{display:grid;gap:8px;margin-top:10px}.mark-check-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px;background:#fff;border:1px solid #dce4dd;border-radius:8px}.mark-check-item.invalid{border-color:#d99d8f}.mark-check-item span,.mark-check-item small{display:block;margin-top:3px}.mark-check-item small{color:#6c7770}.mark-checks ul{padding-left:20px;line-height:1.7}.mark-checks{max-height:390px;overflow:auto}#dialog-content h3{margin:18px 0 8px}#dialog-content p{line-height:1.65}#dialog-content a{color:#23614a;text-decoration:underline}
