.adm-main{min-height:65vh;padding-top:40px;padding-bottom:44px}.adm-login{max-width:530px;margin:45px auto;border:1px solid var(--line);border-radius:18px;background:#fff;padding:32px;box-shadow:var(--shadow)}.adm-login h1,.adm-hero h1{font-size:clamp(27px,4vw,36px);letter-spacing:-1px;margin:0 0 10px}.adm-login p{line-height:1.6}.adm-login form{display:grid;gap:10px;margin-top:23px}.adm-login input,.adm-form input,.adm-form select{border:1px solid #ccdcd3;border-radius:9px;background:#fff;color:var(--text);padding:12px 13px;width:100%}.adm-login label,.adm-form>label,.adm-twocol label{font-size:13px;font-weight:740}.adm-login button[type=submit]{margin-top:8px}.adm-login ol{padding-left:22px;line-height:1.8;font-size:14px}.adm-login code,.field-note code{background:#f1f6f3;padding:2px 5px;border-radius:5px}.adm-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.adm-hero p{margin:5px 0 0}.adm-warning{background:#fff7ea;border:1px solid #e9d6b7;color:#7d633d;padding:13px 16px;border-radius:11px;font-size:13px;line-height:1.6;margin:20px 0 28px}.adm-tabs{display:flex;gap:9px;border-bottom:1px solid var(--line);margin:24px 0 25px;padding-bottom:10px}.adm-tab{border:1px solid var(--line);background:#fff;color:var(--primary);border-radius:10px;padding:12px 16px;font-weight:750}.adm-tab.active{background:var(--primary);border-color:var(--primary);color:#fff}.adm-tab span{opacity:.7;font-size:12px}.adm-section-head{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:17px}.adm-section-head h2{margin:0;font-size:22px}.adm-list{display:grid;gap:11px}.adm-item{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px}.adm-item-main{min-width:0;flex:1}.adm-item-title{font-weight:750;margin:0 0 5px;font-size:15px;overflow-wrap:anywhere}.adm-item-meta{font-size:12px;color:var(--muted);line-height:1.7}.adm-item-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.adm-item-actions button{font-size:12px;padding:8px 11px;border-radius:8px}.adm-state{font-weight:720;padding:3px 7px;border-radius:5px;background:#edf2ee;color:#547665;font-size:11px;display:inline-block}.adm-state.published{background:#e7f2e9;color:#286b44}.adm-status{font-size:13px;color:var(--primary);min-height:20px;line-height:1.5}.adm-link{color:var(--primary);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.adm-empty{padding:24px;border:1px dashed var(--line);border-radius:13px;background:white;color:var(--muted)}.adm-dialog{width:min(590px,calc(100vw - 24px));max-height:90dvh;overflow:auto;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:16px;padding:25px;box-shadow:0 24px 70px #0a302747}.adm-dialog h2{font-size:24px;margin:0;letter-spacing:-.5px}.adm-form{display:grid;gap:9px}.adm-form label:not(:first-child){margin-top:9px}.adm-form .field-note{margin:-2px 0 5px;color:var(--muted);font-size:12px;line-height:1.6}.adm-twocol{display:grid;grid-template-columns:1fr 1fr;gap:12px}.adm-twocol>div{display:grid;gap:8px}.adm-form input[type=color]{height:44px;padding:3px}.publish-field{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.publish-field input{width:20px;height:20px;accent-color:var(--primary)}.publish-field span{display:grid;gap:5px}.publish-field small{font-weight:400;color:var(--muted)}.adm-form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:16px}.adm-item-actions select{font-size:12px;padding:8px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text)}@media(max-width:650px){.adm-main{padding-top:23px}.adm-login{margin:10px auto;padding:20px}.adm-hero,.adm-section-head{align-items:start;flex-direction:column}.adm-item{align-items:start;flex-direction:column}.adm-item-actions{justify-content:flex-start}.adm-twocol{grid-template-columns:1fr}.adm-dialog{padding:17px}}

.adm-upload-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:1px 0 8px}.adm-upload-row button{white-space:nowrap}.adm-upload-row .small{overflow-wrap:anywhere;flex:1;min-width:130px}

.adm-upload{display:grid;gap:10px;padding:14px 15px;border:1px solid var(--line);border-radius:10px;background:#f7faf8;margin:8px 0 4px}.adm-upload input[type=file]{max-width:100%;padding:9px;background:#fff;border:1px solid #ccdcd3;border-radius:9px}.adm-upload .secondary{justify-self:start}.adm-upload .adm-status{margin:0}
