:root{color:#111310;font-synthesis:none;text-rendering:optimizelegibility;--text:#111310;--muted:#727386;--border:#e4e5e1;--border-strong:#d4d6d0;--soft:#f5f6f3;--accent:#ddf24a;--danger:#d94d3c;--sidebar-width:232px;background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html{background:#fff;min-width:320px;min-height:100%}body{background:#fff;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #111310}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.boot-screen{text-align:center;place-content:center;gap:12px;min-height:100vh;display:grid}.boot-screen strong{letter-spacing:-.05em;font-size:30px}.boot-screen span{color:var(--muted);font-size:14px}.admin-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);background:#fff;min-height:100vh;display:grid}.sidebar{z-index:20;width:var(--sidebar-width);border-right:1px solid var(--border);background:#fff;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid var(--border);letter-spacing:-.06em;align-items:center;height:72px;padding:0 28px;font-size:27px;font-weight:800;display:flex}.sidebar-nav{flex-direction:column;flex:1;gap:6px;padding:22px 16px;display:flex}.nav-item{color:#3f423d;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;min-height:48px;padding:0 14px;font-size:14px;font-weight:500;transition:background-color .16s,color .16s;display:flex}.nav-item:hover{background:var(--soft);color:var(--text)}.nav-item.is-active{background:var(--accent);color:var(--text);font-weight:650}.sidebar-account{border-top:1px solid var(--border);grid-template-columns:40px minmax(0,1fr) 32px;align-items:center;gap:10px;min-height:88px;padding:16px;display:grid}.avatar{background:var(--soft);border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.account-copy{gap:3px;min-width:0;display:grid}.account-copy strong{font-size:13px}.account-copy span{color:var(--muted);text-overflow:ellipsis;font-size:12px;overflow:hidden}.account-menu{cursor:pointer;background:0 0;border:0;place-items:center;width:32px;height:32px;display:grid}.admin-main{background:#fff;grid-column:2;min-width:0}.mobile-menu-backdrop,.mobile-nav-button{display:none}.topbar{z-index:10;border-bottom:1px solid var(--border);background:#fffffff5;justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex;position:sticky;top:0}.topbar-actions{align-items:center;gap:10px;display:flex}.topbar-user{margin-left:8px;font-size:14px}.icon-button{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:inline-grid}.icon-button:hover{background:var(--soft)}.content{background:#fff;min-height:100vh;padding:28px 28px 52px}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;max-width:none;margin:0 0 24px;display:flex}.page-heading h1{letter-spacing:0;margin:0;font-size:28px;line-height:1.15}.page-heading p{color:var(--muted);margin:9px 0 0;font-size:14px;line-height:1.6}.page-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.button{cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 18px;font-size:14px;font-weight:650;transition:background-color .15s,border-color .15s,transform .1s;display:inline-flex}.button:active{transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{background:var(--accent);color:var(--text)}.button-primary:hover:not(:disabled){background:#d2e83e}.button-secondary{border-color:var(--border-strong);background:#fff}.button-secondary:hover{background:var(--soft)}.button-accent{background:var(--accent);color:var(--text)}.button-accent:hover{background:#d2e83e}.text-danger{color:var(--danger)}.metrics{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(5,minmax(0,1fr));max-width:none;margin:0 0 28px;display:grid}.metric{border-right:1px solid var(--border);align-content:center;gap:13px;min-height:118px;padding:20px 24px;display:grid}.metric:last-child{border-right:0}.metric span{color:#50534e;font-size:13px}.metric strong{letter-spacing:-.04em;font-size:clamp(26px,2.5vw,36px);font-weight:500}.metrics.is-loading{color:var(--muted)}.data-section{border:1px solid var(--border);background:#fff;border-radius:8px;max-width:none;margin:0;overflow:hidden}.section-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:68px;padding:0 22px;display:flex}.section-header h2{letter-spacing:-.02em;margin:0;font-size:17px}.text-button{cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;min-height:40px;font-size:13px;font-weight:600;display:inline-flex}.text-button:disabled{cursor:not-allowed;opacity:.55}.wallpapers-workspace .page-heading,.wallpapers-workspace .data-section{max-width:none}.wallpapers-workspace .page-heading{margin-bottom:22px}.wallpapers-workspace .data-section{background:0 0;border:0;border-radius:0;overflow:visible}.wallpapers-workspace .resource-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:10px;min-height:0;padding:0 0 18px}.toolbar-select select,.toolbar-select-all{border:1px solid var(--border);height:42px;color:var(--text);background:#fff;border-radius:8px;font-size:13px}.toolbar-select select{min-width:132px;padding:0 32px 0 12px}.toolbar-more{position:relative}.toolbar-more summary{border:1px solid var(--border);height:42px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;align-items:center;padding:0 12px;font-size:13px;list-style:none;display:flex}.toolbar-more summary::-webkit-details-marker{display:none}.toolbar-more[open]>.toolbar-select{z-index:3;border:1px solid var(--border);background:#fff;border-radius:8px;padding:8px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 24px #0f172a1a}.toolbar-select-all{white-space:nowrap;align-items:center;gap:7px;padding:0 12px;display:inline-flex}.toolbar-select-all input,.wallpaper-card__select input{width:16px;height:16px;accent-color:var(--accent)}.wallpaper-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:16px;padding:18px 0 0;display:grid}.wallpaper-card{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:8px;min-width:0;transition:border-color .16s,box-shadow .16s,transform .16s;overflow:hidden}.wallpaper-card:hover,.wallpaper-card:focus-visible{border-color:var(--border-strong);outline:0;transform:translateY(-2px);box-shadow:0 10px 24px #11131014}.wallpaper-card.is-selected{border-color:#bdd424;box-shadow:0 0 0 2px #ddf24a47}.wallpaper-card__media{aspect-ratio:4/3;background:var(--soft);position:relative;overflow:hidden}.wallpaper-card__media img{object-fit:cover;width:100%;height:100%;display:block}.wallpaper-card__select,.wallpaper-card__edit{width:30px;height:30px;color:var(--text);background:#fffffff0;border:1px solid #1113101f;border-radius:8px;place-items:center;display:grid;position:absolute}.wallpaper-card__select{top:8px;right:8px}.wallpaper-card__edit{cursor:pointer;opacity:0;transition:opacity .14s,transform .14s;bottom:8px;right:8px;transform:translateY(4px)}.wallpaper-card:hover .wallpaper-card__edit,.wallpaper-card:focus-visible .wallpaper-card__edit{opacity:1;transform:translateY(0)}.wallpaper-card__body{gap:6px;padding:12px;display:grid}.wallpaper-card__title-row{align-items:center;gap:6px;min-width:0;display:flex}.wallpaper-card__title-row strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;line-height:1.35;overflow:hidden}.wallpaper-card__title-row .status-badge{flex:none}.wallpaper-card__serial,.wallpaper-card__meta,.wallpaper-card time{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4;overflow:hidden}.wallpaper-card time{font-size:11px}.wallpaper-card__metrics{color:#575b62;gap:10px;padding-top:2px;display:flex}.wallpaper-card__metrics span{align-items:center;gap:4px;font-size:12px;display:inline-flex}.wallpaper-grid-empty,.editor-loading{min-height:240px;color:var(--muted);place-items:center;font-size:14px;display:grid}.wallpaper-editor-page{width:100%;max-width:none;margin:0}.wallpaper-editor-page__header{gap:10px;margin-bottom:22px;display:grid}.wallpaper-editor-page__header h1{letter-spacing:0;margin:0;font-size:28px}.wallpaper-editor-page__header p{color:var(--muted);margin:0;font-size:14px}.wallpaper-editor-form__surface{border:1px solid var(--border);background:#fff;border-radius:8px}.wallpaper-editor-form .dialog-header{display:none}.wallpaper-editor-form .dialog-form-wide{grid-template-columns:minmax(0,1fr) minmax(280px,320px);padding:24px}.wallpaper-editor-form .upload-zone{min-height:180px}.wallpaper-editor-form .upload-zone.has-preview,.wallpaper-editor-form .upload-zone>img{height:240px;min-height:240px}.wallpaper-editor-form .field-wide{grid-column:1/-1}.wallpaper-editor-form .dialog-actions{background:#fff;justify-content:flex-end;padding:16px 0 0;display:flex;position:sticky;bottom:0}@media (width<=1599px){.wallpaper-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=1359px){.wallpaper-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=1079px){.wallpaper-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}@media (width<=859px){.wallpaper-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wallpaper-editor-form .dialog-form-wide{grid-template-columns:1fr}}@media (width<=639px){.wallpaper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wallpapers-workspace .resource-toolbar{align-items:stretch}.toolbar-select,.toolbar-select select{flex:1;width:100%;min-width:0}}.table-action{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:999px;margin-left:10px;padding:4px 8px;font-size:12px;font-weight:600}.table-action:hover:not(:disabled){color:#111827;border-color:#111827}.table-action:disabled{cursor:not-allowed;opacity:.5}.table-scroll{overflow-x:auto}.resource-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:900px}.resource-table th,.resource-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;height:68px;padding:10px 16px;font-size:13px}.resource-table th{color:#4f524d;height:48px;font-weight:600}.resource-table tbody tr:last-child td{border-bottom:0}.resource-table tbody tr:hover{background:#fafbf8}.wallpaper-table{min-width:1180px}.wallpaper-table.is-selectable{min-width:1240px}.taxonomy-table{min-width:960px}.taxonomy-table-tags{min-width:820px}.users-table{min-width:1080px}.resource-table th:first-child,.resource-table td:first-child{width:92px}.resource-table th:nth-child(2),.resource-table td:nth-child(2){width:230px}.resource-table th:nth-child(3),.resource-table td:nth-child(3),.resource-table th:nth-child(4),.resource-table td:nth-child(4){width:145px}.resource-table th:nth-child(5),.resource-table td:nth-child(5),.resource-table th:nth-child(6),.resource-table td:nth-child(6){width:115px}.resource-table .selection-cell{text-align:center;width:52px;padding-inline:12px}.resource-table .selection-cell input{width:16px;height:16px;accent-color:var(--text)}.users-table th:first-child,.users-table td:first-child{width:260px}.users-table th:nth-child(2),.users-table td:nth-child(2){width:150px}.users-table th:nth-child(3),.users-table td:nth-child(3),.users-table th:nth-child(4),.users-table td:nth-child(4){width:118px}.users-table th:nth-child(5),.users-table td:nth-child(5),.users-table th:nth-child(6),.users-table td:nth-child(6),.users-table th:nth-child(7),.users-table td:nth-child(7){width:88px}.wallpaper-table.is-selectable th:nth-child(2),.wallpaper-table.is-selectable td:nth-child(2){width:92px}.wallpaper-table.is-selectable th:nth-child(3),.wallpaper-table.is-selectable td:nth-child(3){width:230px}.wallpaper-table.is-selectable th:nth-child(4),.wallpaper-table.is-selectable td:nth-child(4),.wallpaper-table.is-selectable th:nth-child(5),.wallpaper-table.is-selectable td:nth-child(5){width:145px}.wallpaper-table.is-selectable th:nth-child(6),.wallpaper-table.is-selectable td:nth-child(6),.wallpaper-table.is-selectable th:nth-child(7),.wallpaper-table.is-selectable td:nth-child(7){width:115px}.resource-thumb{background:var(--soft);object-fit:cover;border-radius:8px;width:68px;height:44px;display:block}.title-cell{gap:4px;display:grid}.title-cell strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.title-cell span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.table-actions{flex-wrap:wrap;gap:4px 10px;display:flex}.count-link{border:1px solid var(--border);min-height:32px;color:var(--text);cursor:pointer;background:#fff;border-radius:9px;padding:0 10px;font-size:12px;font-weight:650}.count-link:hover{border-color:var(--text);background:var(--soft)}.taxonomy-icon{border:1px solid var(--border);background:var(--soft);object-fit:contain;border-radius:10px;place-items:center;width:42px;height:42px;display:inline-grid}.taxonomy-icon.is-empty{color:var(--muted)}.taxonomy-icon-preview{border:1px solid var(--border);background:var(--soft);object-fit:contain;border-radius:12px;width:64px;height:64px}.taxonomy-cover-preview{background:var(--soft);object-fit:cover;border-radius:12px;width:180px;height:112px}.status-badge{border-radius:7px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.status-published{color:#33400b;background:#edf8ca}.status-draft{color:#565954;background:#f0f1ee}.status-archived{color:#8c3328;background:#f8e9e6}.status-active{color:#33400b;background:#edf8ca}.status-disabled{color:#8c3328;background:#f8e9e6}.user-cell{align-items:center;gap:12px;min-width:0;display:flex}.user-avatar{background:var(--soft);width:40px;height:40px;color:var(--muted);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.user-avatar img{object-fit:cover;width:100%;height:100%}.user-cell strong,.user-cell span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.user-cell span{color:var(--muted);margin-top:4px;font-size:12px}.empty-table{min-height:180px;color:var(--muted);place-content:center;font-size:13px;display:grid}.settings-section{max-width:none}.settings-form{gap:16px;padding:24px;display:grid}.settings-save{width:fit-content}.settings-share-uploader{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:14px;display:grid}.settings-share-preview,.settings-share-placeholder{border-radius:8px;width:112px;height:112px}.settings-share-preview{object-fit:cover;background:var(--soft);display:block}.settings-community-qr-preview{object-fit:contain;border:1px solid var(--border);background:#fff}.settings-share-placeholder{border:1px dashed var(--border);background:var(--soft);color:var(--muted);place-items:center;display:grid}.settings-share-controls{gap:10px;display:grid}.settings-community-qr-actions{flex-wrap:wrap;gap:10px;display:flex}.settings-upload-button{width:fit-content}.empty-state{min-height:260px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:9px;display:grid}.empty-state strong{color:var(--text);font-size:15px}.empty-state span{font-size:13px}.inline-error{max-width:none;color:var(--danger);background:#fff7f5;border:1px solid #efb9b1;border-radius:10px;margin:0 0 20px;padding:12px 14px;font-size:13px}.inline-success,.inline-status{border-bottom:1px solid var(--border);color:#3f4d0d;align-items:center;gap:8px;min-height:44px;padding:0 20px;font-size:13px;font-weight:600;display:flex}.inline-success{background:#fbffe8}.inline-status{color:var(--muted)}.resource-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:12px 20px;display:flex}.bulk-action-bar{border-bottom:1px solid var(--border);background:#fbfcf7;flex-wrap:wrap;align-items:center;gap:8px 12px;min-height:58px;padding:10px 20px;display:flex}.bulk-action-bar>strong{margin-right:4px;font-size:13px}.bulk-select{min-height:38px;color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:600;display:inline-flex}.bulk-select select{border:1px solid var(--border);max-width:150px;height:36px;color:var(--text);background:#fff;border-radius:9px;padding:0 28px 0 10px;font-size:12px}.bulk-toggle.is-active{color:#20231d;background:#eef6cf;border-radius:9px;min-height:36px;padding:0 10px;box-shadow:inset 0 0 0 1px #c2d66b}.bulk-save-button{color:#fff;background:#20231d;border:1px solid #20231d;border-radius:9px;min-height:36px;padding:0 12px}.bulk-save-button:hover:not(:disabled){background:#30342b}.resource-toolbar>span{color:var(--muted);font-size:12px}.taxonomy-header{gap:18px}.taxonomy-count{color:var(--muted);white-space:nowrap;font-size:12px}.tab-strip{border:1px solid var(--border);background:var(--soft);border-radius:12px;gap:4px;min-height:42px;padding:4px;display:inline-flex}.tab-button{color:#4f524d;background:0 0;border:0;border-radius:9px;min-width:88px;font-size:13px;font-weight:650}.tab-button.is-active{color:var(--text);background:#fff;box-shadow:0 1px 6px #11131014}.search-control{border:1px solid var(--border);width:min(360px,100%);min-height:44px;color:var(--muted);border-radius:12px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-control:focus-within{border-color:var(--text)}.search-control input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:13px}.placeholder-page{text-align:center;place-content:center;justify-items:center;gap:10px;min-height:calc(100vh - 160px);display:grid}.placeholder-page h1{margin:8px 0 0;font-size:24px}.placeholder-page p{max-width:420px;color:var(--muted);margin:0;font-size:14px;line-height:1.7}.dialog-backdrop{z-index:40;background:#0b0d0c85;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.dialog-panel{background:#fff;border-radius:8px;width:min(680px,100%);max-height:calc(100vh - 48px);overflow:auto}.dialog-panel-wide{width:min(920px,100%)}.lookup-dialog{width:min(1120px,100%)}.lookup-loading{min-height:160px;color:var(--muted);justify-content:center;align-items:center;gap:9px;font-size:13px;font-weight:650;display:flex}.lookup-error{margin:18px 24px}.lookup-empty{min-height:220px}.lookup-table-wrap{max-height:min(560px,100vh - 180px)}.lookup-wallpaper-table{min-width:1060px}.lookup-wallpaper-table th:first-child,.lookup-wallpaper-table td:first-child{width:92px}.lookup-wallpaper-table th:nth-child(2),.lookup-wallpaper-table td:nth-child(2){width:210px}.lookup-wallpaper-table th:nth-child(3),.lookup-wallpaper-table td:nth-child(3),.lookup-wallpaper-table th:nth-child(4),.lookup-wallpaper-table td:nth-child(4),.lookup-wallpaper-table th:nth-child(5),.lookup-wallpaper-table td:nth-child(5),.lookup-wallpaper-table th:nth-child(7),.lookup-wallpaper-table td:nth-child(7){width:120px}.lookup-wallpaper-table th:nth-child(6),.lookup-wallpaper-table td:nth-child(6){width:180px}.lookup-wallpaper-table th:nth-child(8),.lookup-wallpaper-table td:nth-child(8){width:110px}.lookup-tags{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.dialog-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.dialog-header h2{letter-spacing:-.03em;margin:0;font-size:21px}.dialog-header p{color:var(--muted);margin:7px 0 0;font-size:13px}.dialog-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px;display:grid}.field{gap:8px;display:grid}.field-wide{grid-column:1/-1}.field>span{font-size:13px;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--border-strong);width:100%;color:var(--text);background:#fff;border-radius:11px;outline:0;padding:0 13px;font-size:14px}.field input,.field select{height:46px}.field textarea{resize:vertical;min-height:92px;padding-top:12px;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--text)}.field input::placeholder,.field textarea::placeholder{color:#a3a69f}.field-hint{color:var(--muted);font-size:12px}.url-upload-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.file-button{min-width:104px;position:relative}.tag-picker{flex-wrap:wrap;gap:10px;display:flex}.tag-option{border:1px solid var(--border);background:#fff;border-radius:10px;align-items:center;gap:8px;min-height:36px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.tag-option input{width:16px;height:16px;accent-color:var(--text)}.checkbox-field{align-items:center;gap:10px;min-height:44px;font-size:13px;font-weight:600;display:flex}.checkbox-field input{width:18px;height:18px;accent-color:var(--text)}.form-error{color:var(--danger);margin:0;font-size:13px;line-height:1.5}.upload-zone{border:1px dashed var(--border-strong);background:var(--soft);cursor:pointer;border-radius:14px;place-items:center;min-height:230px;display:grid;position:relative;overflow:hidden}.upload-zone:hover{border-color:var(--text)}.upload-zone.has-preview{background:#e9ebe6;min-height:300px}.upload-zone>img{object-fit:contain;width:100%;height:300px;display:block}.upload-placeholder{color:var(--muted);text-align:center;place-items:center;gap:8px;display:grid}.upload-placeholder strong{color:var(--text);font-size:14px}.upload-placeholder small{font-size:12px}.upload-overlay,.upload-replace{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#111310e0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 13px;font-size:12px;font-weight:650;display:inline-flex;position:absolute;inset:auto 12px 12px}.upload-overlay{border-radius:0;inset:0}.upload-spinner{animation:.9s linear infinite upload-spin}.upload-success{color:#4b5c12;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}@keyframes upload-spin{to{transform:rotate(360deg)}}.dialog-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.page{width:100%;margin:0}.page__header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.page__title{letter-spacing:0;margin:0;font-size:28px}.page__subtitle{color:var(--muted);margin:9px 0 0;font-size:14px}.primary-button,.secondary-button{border:1px solid var(--text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-size:13px;font-weight:650;display:inline-flex}.primary-button{background:var(--accent);color:var(--text);border-color:#0000}.secondary-button{border-color:var(--border-strong);background:#fff}.bulk-tag-select,.bulk-tag-menu{position:relative}.bulk-tag-menu>summary{border:1px solid var(--border);width:112px;height:36px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;justify-content:space-between;align-items:center;padding:0 10px;font-size:12px;font-weight:500;list-style:none;display:flex}.bulk-tag-menu>summary::-webkit-details-marker{display:none}.bulk-tag-menu>summary:after{content:"";border-bottom:1px solid;border-right:1px solid;width:6px;height:6px;transition:transform .14s;transform:rotate(45deg)translateY(-2px)}.bulk-tag-menu[open]>summary:after{transform:rotate(225deg)translate(-2px,-1px)}.bulk-tag-menu.is-disabled>summary{cursor:not-allowed;opacity:.55}.bulk-tag-menu__popover{z-index:30;border:1px solid var(--border);background:#fff;border-radius:8px;width:224px;padding:8px;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 12px 28px #0f172a1a}.bulk-tag-menu__clear{width:100%;min-height:34px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;padding:0 9px;font-size:12px}.bulk-tag-menu__clear:hover,.bulk-tag-menu__clear.is-active{background:var(--soft);color:var(--text)}.bulk-tag-menu__options{border-top:1px solid var(--border);max-height:220px;margin-top:5px;padding-top:5px;display:grid;overflow-y:auto}.bulk-tag-option{cursor:pointer;border-radius:6px;align-items:center;gap:8px;min-height:34px;padding:0 9px;font-size:12px;font-weight:500;display:flex}.bulk-tag-option:hover{background:var(--soft)}.bulk-tag-option input{width:15px;height:15px;accent-color:var(--text)}.bulk-tag-menu__empty{color:var(--muted);padding:9px;font-size:12px;font-weight:400}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.55}.page__toolbar{grid-template-columns:minmax(240px,1fr) minmax(150px,220px) minmax(150px,220px);gap:12px;margin-bottom:14px;display:grid}.text-input,.select,.textarea{border:1px solid var(--border-strong);width:100%;color:var(--text);background:#fff;border-radius:8px;outline:0;font-size:14px}.text-input,.select{height:44px;padding:0 12px}.textarea{resize:vertical;padding:11px 12px}.text-input:focus,.select:focus,.textarea:focus{border-color:var(--text)}.page__error,.dialog__error{color:var(--danger);margin:12px 0;font-size:13px}.page__loading,.page__empty{border:1px solid var(--border);min-height:180px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:10px;margin:0;display:flex}.table-wrap{border:1px solid var(--border);border-radius:8px;overflow-x:auto}.data-table{border-collapse:collapse;background:#fff;width:100%;min-width:940px}.data-table th,.data-table td{border-bottom:1px solid var(--border);text-align:left;padding:13px 15px;font-size:13px}.data-table th{color:var(--muted);background:#fafbf8;font-size:12px;font-weight:650}.data-table tbody tr:last-child td{border-bottom:0}.row-cover{background:var(--soft);object-fit:cover;border-radius:8px;width:60px;height:42px}.row-title{max-width:260px;font-weight:650}.row-slug{max-width:190px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.row-actions{gap:6px;display:flex}.status-chip{border-radius:7px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.document-pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:14px;margin-top:16px;font-size:13px;display:flex}.dialog{background:#fff;border-radius:8px;flex-direction:column;width:min(920px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden}.dialog__header,.dialog__footer{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.dialog__header h2{margin:0;font-size:20px}.dialog__body{gap:18px;padding:22px;display:grid;overflow-y:auto}.dialog__footer{border-top:1px solid var(--border);border-bottom:0;justify-content:flex-end}.form-row,.form-field{gap:8px;display:grid}.form-row--inline{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.document-access-toggle{border-top:1px solid var(--border);border-bottom:1px solid var(--border);cursor:pointer;justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:12px 0;display:flex}.document-access-toggle__copy{gap:5px;min-width:0;display:grid}.document-access-toggle__copy strong{color:var(--text);font-size:13px;font-weight:650}.document-access-toggle__copy span{color:var(--muted);font-size:12px;line-height:1.5}.document-access-toggle input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.document-access-toggle__track{border:1px solid var(--border-strong);background:#e8eae5;border-radius:999px;flex:0 0 42px;width:42px;height:24px;transition:background .16s,border-color .16s;display:block;position:relative}.document-access-toggle__thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #1113102e}.document-access-toggle input:checked+.document-access-toggle__track{border-color:var(--accent);background:var(--accent)}.document-access-toggle input:checked+.document-access-toggle__track .document-access-toggle__thumb{transform:translate(18px)}.document-access-toggle input:focus-visible+.document-access-toggle__track{outline:2px solid var(--text);outline-offset:2px}.form-label{font-size:13px;font-weight:650}.cover-picker{align-items:center;gap:14px;display:flex}.cover-picker__preview,.cover-picker__placeholder{border:1px solid var(--border);background:var(--soft);width:150px;height:94px;color:var(--muted);object-fit:cover;border-radius:8px;place-items:center;display:grid;overflow:hidden}.editor-toolbar{border:1px solid var(--border-strong);background:#fafbf8;border-bottom:0;border-radius:11px 11px 0 0;flex-wrap:wrap;gap:6px;padding:8px;display:flex}.editor-toolbar--side{background:0 0;border:0;border-radius:0;padding:0}.editor-toolbar button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:5px;min-height:32px;padding:0 10px;display:inline-flex}.editor-toolbar button:hover,.editor-toolbar button.is-active{border-color:var(--border-strong);background:#fff}.editor-toolbar__select{border:1px solid var(--border);min-height:32px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:6px;padding:0 8px;font-size:12px;display:inline-flex}.editor-toolbar__select select{height:26px;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.editor-toolbar__select:has(select:disabled){opacity:.45}.document-editor-workspace{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:18px;display:grid}.document-editor-main{gap:9px;min-width:0;display:grid}.document-editor-tools{border:1px solid var(--border);background:#fbfcf7;border-radius:8px;gap:14px;padding:14px;display:grid;position:sticky;top:20px}.document-editor-tools__group{gap:10px;display:grid}.document-editor-tools__group+.document-editor-tools__group{border-top:1px solid var(--border);padding-top:14px}.document-editor-tools__group h3{color:var(--muted);margin:0;font-size:12px;font-weight:700}.document-editor-tools .editor-toolbar button,.document-editor-tools .editor-toolbar__select{justify-content:flex-start;width:100%}.document-editor-tools .editor-toolbar__select{justify-content:space-between}.editor-content{border:1px solid var(--border-strong);border-radius:11px;min-height:260px;padding:16px}.editor-content .ProseMirror{outline:0;min-height:220px;line-height:1.7}.editor-content .ProseMirror>:first-child{margin-top:0}.editor-content a{color:#1677ff;text-underline-offset:3px;text-decoration:underline}.editor-content img{border-radius:10px;max-width:100%;height:auto;margin-left:auto;margin-right:auto;display:block}.document-editor-page{width:100%;max-width:none;margin:0}.document-editor-surface .document-editor-form{border:1px solid var(--border);border-radius:8px;width:100%;max-height:none;overflow:visible}.document-editor-form .dialog__header{display:none}.document-editor-form .dialog__body{padding:24px;overflow:visible}@media (width<=1120px){.document-editor-workspace{grid-template-columns:1fr}.document-editor-tools{position:static}}.document-editor-form .dialog__footer{z-index:2;background:#fff;border-radius:0 0 8px 8px;position:sticky;bottom:0}.spin{animation:.9s linear infinite upload-spin}.login-page{background:#fff;grid-template-columns:minmax(0,1fr) minmax(460px,.85fr);min-height:100vh;display:grid}.login-panel{flex-direction:column;justify-content:center;width:min(520px,100% - 48px);margin:0 auto;padding:48px 0;display:flex}.login-brand{letter-spacing:-.06em;margin-bottom:72px;font-size:29px;font-weight:800}.login-copy h1{letter-spacing:-.05em;margin:0;font-size:38px}.login-copy p{color:var(--muted);margin:12px 0 0;font-size:15px}.login-form{gap:20px;margin-top:40px;display:grid}.login-submit{justify-content:space-between;min-height:50px;margin-top:4px;padding:0 18px}.login-aside{color:#fff;background:#111310;align-items:flex-end;padding:64px;display:flex}.login-aside-copy{gap:24px;display:grid}.login-aside-copy span{color:var(--accent);letter-spacing:.12em;font-size:12px;font-weight:700}.login-aside-copy strong{letter-spacing:-.06em;font-size:clamp(36px,4vw,58px);line-height:1.15}.settings-workspace{width:100%}.metrics-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.downloads-toolbar .page-actions{flex:1;justify-content:flex-end}.downloads-toolbar .search-control{width:min(360px,100%)}.downloads-channel-filter{width:190px}.downloads-table{min-width:900px}.downloads-table th:first-child,.downloads-table td:first-child{width:260px}.table-secondary{color:var(--muted);margin-top:4px;font-size:11px;display:block}.settings-heading{align-items:center}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.settings-module-card,.settings-avatar-panel{border:1px solid var(--border);background:#fff;border-radius:8px}.settings-module-card{align-content:start;gap:16px;min-height:224px;padding:20px;display:grid;box-shadow:0 3px 12px #11131008}.settings-module-header{grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.settings-module-header h2{letter-spacing:0;margin:1px 0 0;font-size:15px}.settings-module-header p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.55}.settings-module-icon{border:1px solid var(--border);color:#4c5048;border-radius:6px;place-items:center;width:34px;height:34px;display:grid}.settings-state{background:var(--soft);min-height:24px;color:var(--muted);white-space:nowrap;border-radius:6px;padding:4px 7px;font-size:11px;line-height:16px}.settings-state.is-configured{color:#52610f;background:#edf8ca}.settings-module-card .field{align-self:end}.settings-image-field{grid-template-columns:92px minmax(0,1fr);align-items:center;gap:14px;display:grid}.settings-image-preview{border:1px dashed var(--border-strong);background:var(--soft);width:92px;height:92px;color:var(--muted);border-radius:8px;place-items:center;display:grid;overflow:hidden}.settings-image-preview img{object-fit:cover;width:100%;height:100%}.settings-image-preview.is-contain img{object-fit:contain;background:#fff}.settings-image-controls{gap:9px;min-width:0;display:grid}.settings-image-controls>input{border:1px solid var(--border-strong);border-radius:8px;outline:0;width:100%;min-width:0;height:42px;padding:0 11px}.settings-image-actions{align-items:center;gap:8px;display:flex}.settings-image-actions .button{min-height:38px;padding-inline:12px;font-size:12px}.settings-avatar-panel{margin-top:14px;padding:20px}.settings-avatar-panel__header{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;padding-bottom:18px}.settings-avatar-panel__header>div{grid-column:1}.settings-avatar-panel__header>.button{grid-area:1/2}.settings-inline-message{margin:14px 0 0}.avatar-inline-form{border-bottom:1px solid var(--border);grid-template-columns:72px minmax(160px,.6fr) minmax(280px,1.4fr) 110px auto;align-items:end;gap:12px;padding:18px 0;display:grid}.avatar-form-preview{border:1px dashed var(--border-strong);background:var(--soft);width:58px;height:58px;color:var(--muted);border-radius:8px;align-self:end;place-items:center;display:grid;overflow:hidden}.avatar-form-preview img{object-fit:cover;width:100%;height:100%}.avatar-form-actions{align-items:center;gap:6px;display:flex}.avatar-settings-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding-top:18px;display:grid}.avatar-setting-card{border:1px solid var(--border);border-radius:8px;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.avatar-setting-card>img{object-fit:cover;border-radius:8px;width:50px;height:50px}.avatar-setting-card>div:nth-child(2){gap:4px;min-width:0;display:grid}.avatar-setting-card strong,.avatar-setting-card span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar-setting-card strong{font-size:13px}.avatar-setting-card>div>span{color:var(--muted);font-size:11px}.avatar-setting-card>.status-badge{grid-column:1/-1;justify-self:start}.avatar-setting-actions{grid-area:1/3;display:flex}.avatar-setting-actions .icon-button{width:30px;height:30px}.settings-empty-line{color:var(--muted);text-align:center;padding:28px 0 8px;font-size:13px}.settings-workspace>.inline-success{border:1px solid #dbe9a8;border-radius:8px;margin-bottom:16px}@media (width<=1380px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.avatar-settings-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=980px){.settings-grid{grid-template-columns:1fr}.avatar-inline-form{grid-template-columns:64px minmax(0,1fr) 100px auto}.avatar-url-field{grid-area:2/2/auto/-1}.avatar-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:root{--sidebar-width:84px}.brand{justify-content:center;padding:0;font-size:20px}.sidebar-nav{padding-inline:12px}.nav-item{justify-content:center;padding:0}.nav-item span,.account-copy,.account-menu{display:none}.sidebar-account{justify-content:center;padding:12px;display:flex}.metrics{grid-template-columns:repeat(3,1fr)}.metric:nth-child(3){border-right:0}.metric:nth-child(n+4){border-top:1px solid var(--border)}.login-page{grid-template-columns:1fr}.login-aside{display:none}}@media (width<=680px){:root{--sidebar-width:0px}.admin-shell{display:block}.sidebar{display:none}.sidebar.is-mobile-open{z-index:31;width:min(280px,84vw);display:flex;box-shadow:24px 0 60px #11131024}.sidebar.is-mobile-open .brand{justify-content:flex-start;padding:0 24px;font-size:24px}.sidebar.is-mobile-open .sidebar-nav{padding-inline:16px}.sidebar.is-mobile-open .nav-item{justify-content:flex-start;padding:0 14px}.sidebar.is-mobile-open .nav-item span{display:inline}.sidebar.is-mobile-open .account-copy,.sidebar.is-mobile-open .account-menu{display:grid}.sidebar.is-mobile-open .sidebar-account{justify-content:initial;padding:16px;display:grid}.mobile-menu-backdrop{z-index:30;background:#0b0d0c61;border:0;width:100%;height:100%;display:block;position:fixed;inset:0}.admin-main{width:100%}.mobile-nav-button{z-index:25;border:1px solid var(--border);background:#fffffff0;border-radius:50%;place-items:center;width:44px;height:44px;display:inline-grid;position:fixed;top:14px;left:14px;box-shadow:0 10px 30px #11131014}.content{padding:72px 16px 40px}.settings-module-card,.settings-avatar-panel{padding:16px}.settings-image-field{grid-template-columns:1fr}.settings-image-preview{width:100%;height:140px}.settings-image-controls,.settings-image-controls>input,.settings-image-actions{min-width:0;max-width:100%}.settings-image-actions{flex-wrap:wrap}.avatar-inline-form{grid-template-columns:58px minmax(0,1fr)}.avatar-url-field,.avatar-sort-field,.avatar-form-actions{grid-area:auto/1/auto/-1}.avatar-settings-grid{grid-template-columns:1fr}.page-heading{flex-direction:column;align-items:stretch}.page-actions{justify-content:flex-start}.page-heading .button{align-self:flex-start}.metrics{grid-template-columns:repeat(2,1fr)}.metric,.metric:nth-child(3){border-right:1px solid var(--border);border-top:1px solid var(--border);min-height:96px}.metric:first-child,.metric:nth-child(2){border-top:0}.metric:nth-child(2n){border-right:0}.dialog-form{grid-template-columns:1fr}.field-wide{grid-column:auto}.dialog-actions{flex-direction:column-reverse}.dialog-actions .button{width:100%}.resource-toolbar{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
