.editorial-profile{margin-bottom:24px;padding:28px;min-width:0}
.profile-heading{display:flex;gap:24px;justify-content:space-between;align-items:start}
.profile-heading h2{font-size:24px;margin:0 0 8px;letter-spacing:-.02em}
.profile-project,.profile-format-tag{font-size:12px;background:#f1f4f7;border:1px solid #d6dde5;border-radius:6px;padding:8px 12px;color:#465164;flex-shrink:0}
.profile-note{max-width:85ch;color:#566174;line-height:1.6;margin:20px 0 28px}
.profile-formats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.profile-template-head{display:flex;justify-content:space-between;gap:20px;align-items:start}
.profile-template-head h4{font-size:18px;margin:0 0 6px}
.profile-template-head .hint{max-width:78ch;margin-top:0}
.profile-presets{padding:0;margin:20px 0 12px;border:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;min-width:0}
.profile-presets legend{font-size:14px;font-weight:600;padding:0;margin-bottom:12px}
.profile-preset{display:flex;flex-direction:column;gap:8px;position:relative;font-size:13px;cursor:pointer;min-width:0}
.profile-preset input{position:absolute;top:10px;left:10px;z-index:1;accent-color:#202020}
.profile-swatch{height:86px;border:1px solid #d6dde5;border-radius:6px;background:#f2f4f6;display:flex;align-items:end;justify-content:space-between;padding:14px;color:#202020}
.profile-swatch b{font-size:28px;line-height:1;font-weight:800}
.profile-swatch i{width:28px;height:6px;background:#d6f54b}
.profile-swatch-cinema{background:#17191e;color:#fff}.profile-swatch-cinema i{background:#f0c65b}
.profile-swatch-paper{background:#f2efdf;color:#121310}.profile-swatch-paper b{background:#121310;color:#f2efdf;padding:5px}
.profile-swatch-minimal{background:#fff}.profile-swatch-minimal i{background:#5265d9}
.profile-swatch-free{background:#eef1fa}.profile-swatch-free i{background:#5265d9;width:35px;height:22px}
.profile-swatch-custom{background:#fff;border-style:dashed}.profile-swatch-current{background:#202020;color:#fff}
[data-profile-section=chs] .profile-swatch-current i,[data-profile-section=pc] .profile-swatch-current i{background:#f0c65b}
[data-profile-section=instagram] .profile-swatch-current{background:#f2efdf;color:#121310}
[data-profile-section=free] .profile-swatch-current{background:#eef1fa;color:#202020}
.profile-preset:has(input:checked) .profile-swatch{outline:2px solid #9dbb23;outline-offset:2px}
.profile-preset:has(input:focus-visible) .profile-swatch{outline:3px solid #202020;outline-offset:3px}
.profile-fields{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:20px;margin-top:24px;max-width:850px}
.editorial-profile .field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin:16px 0;min-width:0}
.editorial-profile textarea,.editorial-profile input:not([type=radio]){border:1px solid #ccd5df;border-radius:6px;background:#fff;padding:12px;color:#15171b;font:inherit;font-weight:400;max-width:100%;width:100%;box-sizing:border-box}
.editorial-profile textarea{resize:vertical;line-height:1.6;min-height:110px}
.editorial-profile input[type=color]{width:72px;height:42px;padding:4px}
.profile-color small{font-weight:400;color:#566174}
.editorial-profile textarea:focus-visible,.editorial-profile input:focus-visible{outline:2px solid #9dbb23;outline-offset:2px}
.editorial-profile textarea::selection{background:#d6f54b;color:#15171b}
.profile-save{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:20px 0 0;flex-wrap:wrap}
.profile-save [role=status]{margin-right:auto;color:#566174;font-size:13px;max-width:55ch}
.profile-text,.profile-common{border-top:1px solid #d6dde5;margin-top:28px;padding-top:22px}
.editorial-profile summary{cursor:pointer;font-weight:600;line-height:1.5;padding:5px 0}
.profile-text>summary,.profile-common>summary{font-size:18px}
.profile-common p{max-width:85ch;line-height:1.6;color:#566174}
.profile-common .button{display:inline-flex;margin:8px 8px 0 0;text-decoration:none}
@media(max-width:900px){.profile-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-heading{flex-direction:column;gap:10px}}
@media(max-width:540px){.editorial-profile{padding:18px}.profile-heading h2{font-size:21px}.profile-project{white-space:normal}.profile-formats{display:grid;grid-template-columns:1fr 1fr}.profile-formats .button{padding:10px 8px;white-space:normal}.profile-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-fields{grid-template-columns:1fr}.profile-save [role=status]{flex-basis:100%}.profile-save .button{flex:1;white-space:normal}.profile-save .primary{flex-basis:100%}.profile-common .button{width:100%;box-sizing:border-box}.profile-note{margin:14px 0 24px}}
