.cms-repository{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-top:16px;overflow:hidden}.cms-repository__head,.cms-toolbar,.cms-footer,.cms-repository__head>div,.cms-file,.cms-row-actions,.cms-pager,.cms-pager>span{align-items:center;display:flex}.cms-repository__head{border-bottom:1px solid var(--line);justify-content:space-between;gap:24px;padding:22px 24px}.cms-repository__head h2,.cms-repository__head p{margin:0}.cms-repository__head>div:first-child{display:block}.cms-repository__head p{color:var(--muted);margin-top:5px;font-size:13px}.cms-storage{color:var(--muted);gap:10px;font-size:12px}.cms-storage strong{background:var(--surface-strong);color:var(--primary);border-radius:999px;padding:7px 11px}.cms-type-tabs{border-bottom:1px solid var(--line);gap:2px;padding:0 20px;display:flex}.cms-type-tabs button{min-width:96px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:16px 14px 13px}.cms-type-tabs button.is-active{border-bottom-color:var(--primary);color:var(--primary);font-weight:800}.cms-type-tabs small{color:var(--muted);margin-left:7px}.cms-workspace{grid-template-columns:220px minmax(0,1fr);min-height:620px;display:grid}.cms-groups{border-right:1px solid var(--line);background:color-mix(in srgb, var(--surface-strong) 68%, white);padding:18px 12px}.cms-groups__title{color:var(--muted);justify-content:space-between;align-items:center;padding:0 10px 12px;font-size:13px;display:flex}.cms-groups__title button{border:1px solid var(--line);background:var(--surface);width:28px;height:28px;color:var(--primary);cursor:pointer;border-radius:50%}.cms-groups>button{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;gap:10px;padding:11px 12px;display:flex}.cms-groups>button.is-active{background:var(--surface);color:var(--primary);box-shadow:inset 3px 0 0 var(--primary);font-weight:800}.cms-groups small{color:var(--muted)}.cms-main{min-width:0}.cms-toolbar{gap:10px;padding:18px 20px 12px}.cms-toolbar label{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;margin-left:auto;font-size:12px;display:flex}.cms-toolbar .input{width:150px}.cms-toolbar .cms-search{width:min(260px,30vw)}.cms-status-tabs{justify-content:flex-end;gap:4px;padding:0 20px 14px;display:flex}.cms-status-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;padding:8px 15px}.cms-status-tabs button:first-child{border-radius:8px 0 0 8px}.cms-status-tabs button:last-child{border-radius:0 8px 8px 0}.cms-status-tabs button.is-active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:800}.cms-notice{border:1px solid var(--line);background:var(--surface-strong);color:var(--primary);border-radius:8px;margin:0 20px 12px;padding:10px 12px;font-size:13px}.cms-table-wrap{border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow-x:auto}.cms-table{border-collapse:collapse;width:100%;min-width:940px}.cms-table th{background:var(--surface-strong);color:var(--muted);text-align:left;white-space:nowrap;padding:12px;font-size:12px}.cms-table td{border-top:1px solid var(--line);color:var(--muted);padding:13px 12px;font-size:13px}.cms-table tbody tr:hover{background:color-mix(in srgb, var(--primary-soft) 35%, transparent)}.cms-file{gap:12px;min-width:250px}.cms-file__preview{border:1px solid var(--line);background:var(--surface-strong);width:68px;height:52px;color:var(--primary);border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid;overflow:hidden}.cms-file__preview img{object-fit:cover;width:100%;height:100%}.cms-file strong,.cms-file small{display:block}.cms-file strong{color:var(--text)}.cms-file small{max-width:270px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;overflow:hidden}.cms-state:before{content:"";background:#c8a06e;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.cms-state--published:before{background:#64a86b}.cms-state--trashed:before{background:#b55a4a}.cms-row-actions{white-space:nowrap;gap:10px}.cms-row-actions button,.cms-row-actions a{color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none}.cms-row-actions .danger{color:#a8493d}.cms-footer{color:var(--muted);justify-content:space-between;gap:16px;padding:14px 20px;font-size:12px}.cms-footer>div:first-child{align-items:center;gap:8px;display:flex}.cms-pager,.cms-pager>span{gap:5px}.cms-pager i{font-style:normal}.cms-pager button{border:1px solid var(--line);background:var(--surface);min-width:32px;height:32px;color:var(--text);cursor:pointer;border-radius:7px}.cms-pager button.is-active{border-color:var(--primary);background:var(--primary);color:#fff}.cms-pager button:disabled{opacity:.4;cursor:not-allowed}.cms-modal{z-index:100;background:#2a211d8c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.cms-modal__card{border:1px solid var(--line);background:var(--surface);border-radius:16px;width:min(720px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 24px 80px #2a211d38}.cms-preview-modal{padding:32px}.cms-preview-card{background:var(--surface);border-radius:14px;flex-direction:column;width:min(980px,100%);max-height:calc(100vh - 64px);display:flex;overflow:hidden}.cms-preview-card header,.cms-preview-card footer{justify-content:space-between;align-items:center;gap:18px;padding:14px 18px;display:flex}.cms-preview-card header{border-bottom:1px solid var(--line)}.cms-preview-card header strong,.cms-preview-card header span{display:block}.cms-preview-card header span{color:var(--muted);margin-top:3px;font-size:12px}.cms-preview-card header button{background:var(--surface-strong);width:36px;height:36px;color:var(--text);cursor:pointer;border:0;border-radius:50%;font-size:24px}.cms-preview-stage{background:#241f1c;place-items:center;height:min(68vh,680px);min-height:360px;padding:20px;display:grid;overflow:auto}.cms-preview-stage>img,.cms-preview-stage>video{object-fit:contain;max-width:100%;max-height:100%}.cms-preview-stage>video{width:100%;height:100%}.cms-preview-stage>iframe{background:#fff;border:0;width:100%;height:100%}.cms-audio-preview{place-items:center;gap:28px;width:min(580px,100%);display:grid}.cms-audio-preview__mark{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:130px;height:130px;font-size:24px;font-weight:800;display:grid}.cms-audio-preview audio{width:100%}.cms-document-preview{background:var(--surface);max-width:520px;color:var(--text);text-align:center;border-radius:12px;padding:30px}.cms-document-preview p{color:var(--muted);line-height:1.7}.cms-preview-card footer{border-top:1px solid var(--line);color:var(--muted);font-size:13px}.cms-preview-card footer span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cms-preview-card footer a{color:var(--primary);flex:none;font-weight:700;text-decoration:none}@media (prefers-reduced-motion:reduce){.cms-modal{scroll-behavior:auto}}.cms-upload-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.cms-upload-hint{color:var(--muted);margin:0 0 10px;font-size:12px}.cms-upload{border:1px dashed var(--line);border-radius:var(--radius);cursor:pointer;background:#ffffff70;align-content:center;gap:8px;min-height:126px;padding:16px;display:grid}.cms-upload span,.cms-upload strong,.cms-upload em{display:block}.cms-upload span{color:var(--muted);font-size:12px;font-weight:700}.cms-upload strong{overflow-wrap:anywhere;font-size:14px}.cms-upload em{color:var(--primary);font-size:13px;font-style:normal;font-weight:700}.cms-upload__preview{object-fit:contain;background:var(--surface-strong);border-radius:6px;width:100%;height:78px}
