.cms-head{display:flex;align-items:start;justify-content:space-between;gap:24px}.cms-head h3{margin-bottom:12px}.cms-actions{display:flex;gap:8px;flex-wrap:wrap}.cms-actions .action{font-size:14px;padding:10px 14px}.cms-head .cms-actions{flex-shrink:0}#cms-fields{border:0;padding:0;margin:0;min-width:0}#cms-root details{border:1px solid var(--line);margin-bottom:18px}#cms-root summary{cursor:pointer;padding:24px;font-size:20px}#cms-root summary span{color:var(--accent);margin-left:8px}.cms-section{padding:0 24px 24px}.cms-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}.cms-section label{display:flex;flex-direction:column;gap:8px;font-size:14px;min-width:0}.cms-section input,.cms-section textarea,.cms-section select{box-sizing:border-box;width:100%;font:inherit;font-size:16px;padding:12px;color:var(--fg);background:var(--surface);border:1px solid var(--line);border-radius:0}.cms-section textarea{resize:vertical}.cms-upload{display:grid;grid-template-columns:1fr 2fr;gap:18px;margin:24px 0}.cms-photos{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}.cms-photo{border:1px solid var(--line);min-width:0}.cms-photo>img{width:100%;height:230px;object-fit:contain;background:var(--surface);display:block}.cms-photo>div{padding:18px;display:flex;flex-direction:column;gap:14px}.cms-row{border-bottom:1px solid var(--line);padding:10px 0 24px;margin-bottom:24px}.cms-error{color:#ec997e}.cms-status{color:var(--accent)}#cms-status{min-height:24px;line-height:1.6;margin:22px 0;white-space:pre-wrap}#cms-root h4{font-size:18px;margin:28px 0 12px}html[data-theme=light] .cms-error{color:#983411}@media(max-width:750px){.cms-head{flex-direction:column}.cms-photos,.cms-pair,.cms-upload{grid-template-columns:1fr}.cms-section{padding:0 16px 20px}#cms-root summary{padding:20px 16px}.cms-head .cms-actions{width:100%}.cms-head .cms-actions>*{flex:1;text-align:center}.cms-photo>img{height:260px}}

.cms-hero-thumb{width:140px;height:85px;object-fit:cover}.cms-hero-list .cms-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.cms-hero-list .cms-row>span{flex:1;min-width:120px}
