/* Profile interest details follow SUMA's current light palette. */
.editorialApp .profileInterests {display:grid;gap:1rem;margin:1.5rem 0 0;min-width:0}
.editorialApp .profileInterests [hidden] {display:none!important}
.editorialApp .interestFamily {min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden;scroll-margin-top:6rem}
.editorialApp .interestFamily.is-selected {border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.editorialApp .interestFamilyHeader {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;padding:1.2rem 1.35rem;align-items:start}
.editorialApp .interestFamily.is-selected .interestFamilyHeader {background:var(--soft)}
.editorialApp .interestFamilyHeading {min-width:0}
.editorialApp .profileInterests .interestFamilyTitle {font-size:1.125rem;font-weight:650;line-height:1.45;letter-spacing:-.015em;margin:0}
.editorialApp .interestFamilyChoice {display:flex;align-items:flex-start;gap:.7rem;margin:0;color:var(--ink);cursor:pointer;min-height:1.65rem;font:inherit}
.editorialApp .interestFamily.is-selected .interestFamilyChoice {color:var(--brand-text,var(--brand))}
.editorialApp .interestFamilyChoice input {margin:.2rem 0 0;flex:0 0 1.2rem}
.editorialApp .interestFamilySummary {font-size:.9375rem;line-height:1.65;color:var(--muted);margin:.35rem 0 0 1.9rem;overflow-wrap:anywhere}
.editorialApp .interestFamilyActions {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}
.editorialApp .interestFamilyStatus {font-size:.75rem;font-weight:600;line-height:1.45;color:var(--muted);white-space:nowrap}
.editorialApp .interestFamilyStatus.is-complete {color:var(--success)}
.editorialApp .interestToggle {font:inherit;font-size:.9375rem;font-weight:650;border:1px solid var(--control-line,var(--line));border-radius:9px;padding:.55rem .8rem;min-height:44px;background:var(--surface);color:var(--brand-text,var(--brand));cursor:pointer}
.editorialApp .interestToggle:hover {border-color:var(--brand)}
.editorialApp .interestToggle::after {content:'⌄';display:inline-block;margin-left:.55rem;font-size:1rem;line-height:1;transform:translateY(-2px)}
.editorialApp .interestToggle[aria-expanded=true]::after {transform:rotate(180deg) translateY(-2px)}
.editorialApp .interestPanel {border-top:1px solid var(--line);padding:1.55rem 1.7rem 1.5rem;background:var(--surface)}
.editorialApp .interestQuestion {border:0;padding:0;margin:0 0 1.8rem;min-width:0}
.editorialApp .interestQuestion legend {font-size:1rem;font-weight:650;line-height:1.5;color:var(--ink);padding:0;max-width:100%;margin:0 0 .35rem}
.editorialApp .interestRequired {color:var(--brand-text,var(--brand))}
.editorialApp .interestScreenReader {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.editorialApp .interestQuestionHelp {font-size:.875rem;line-height:1.6;color:var(--muted);margin:0 0 .85rem}
.editorialApp .interestOptions {display:flex;flex-wrap:wrap;gap:.6rem;min-width:0}
.editorialApp .interestOption {display:inline-flex;align-items:flex-start;gap:.6rem;max-width:100%;min-height:46px;margin:0;padding:.65rem .85rem;border:1px solid var(--control-line,var(--line));border-radius:10px;background:var(--surface);color:var(--ink);font-size:.9375rem;font-weight:450;line-height:1.5;cursor:pointer}
.editorialApp .interestOption input {margin:.1rem 0 0;flex:0 0 1.2rem;width:1.2rem;height:1.2rem;accent-color:var(--brand-text,var(--brand))}
.editorialApp .interestOption span {min-width:0;overflow-wrap:anywhere}
.editorialApp .interestOption:hover {border-color:var(--brand)}
.editorialApp .interestOption.is-picked {background:var(--soft);border-color:var(--brand);color:var(--brand-text,var(--brand));box-shadow:inset 0 0 0 1px var(--brand)}
.editorialApp .interestOptionExclusive {flex-basis:100%;margin-top:.2rem}
.editorialApp .interestOptionsSingle {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.editorialApp .interestQuestionConditional {padding:1.25rem;border-left:3px solid var(--brand);border-radius:0 12px 12px 0;background:var(--bg)}
.editorialApp .interestQuestionConditional legend {float:left;width:100%}
.editorialApp .interestQuestionConditional .interestQuestionHelp {clear:both}
.editorialApp .interestQuestionError,.editorialApp .interestError {font-size:.9375rem;line-height:1.55;color:var(--danger);margin:.75rem 0 0}
.editorialApp .interestError {border-left:3px solid var(--danger);padding:.7rem 1rem;background:var(--surface);margin:1rem 0;scroll-margin-top:6rem}
.editorialApp .interestQuestion.is-invalid .interestOptions {outline:2px solid var(--danger);outline-offset:5px;border-radius:8px}
.editorialApp .interestPanelActions {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:1.2rem}
.editorialApp .interestFinish {background:var(--surface);border-color:var(--control-line,var(--line));color:var(--brand-text,var(--brand));font-size:.9375rem;min-height:46px}
.editorialApp .interestRemove {font:inherit;font-size:.875rem;color:var(--muted);background:transparent;border:0;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;min-height:44px;padding:.5rem 0}
.editorialApp .interestRemove:hover {color:var(--danger)}
.editorialApp .profileInterests :is(button,input):focus-visible {outline:3px solid var(--focus-ring,var(--brand));outline-offset:3px}
.editorialApp .profileForm:disabled .profileInterests label,.editorialApp fieldset:disabled .profileInterests label {cursor:default}
.editorialApp .interestSuggestion {margin:1.5rem 0 2rem}
.editorialApp .interestSuggestion label {font-size:1rem;margin-bottom:.5rem}
.editorialApp .interestSuggestionMeta {display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-top:.5rem}
.editorialApp .interestSuggestionMeta .profileHint {margin:0;max-width:40rem}
.editorialApp .interestSuggestionMeta output {font-size:.8125rem;color:var(--muted);white-space:nowrap;line-height:1.7}
@media(max-width:700px) {
  .editorialApp .interestFamilyHeader {padding:1rem;gap:.75rem}
  .editorialApp .interestFamilyActions {flex-direction:column-reverse;align-items:flex-end;gap:.3rem}
  .editorialApp .profileInterests .interestFamilyTitle {font-size:1rem}
  .editorialApp .interestFamilySummary {font-size:.875rem;line-height:1.6}
  .editorialApp .interestFamilyStatus {font-size:.6875rem;white-space:normal;text-align:right;max-width:5rem}
  .editorialApp .interestToggle {font-size:.875rem;padding:.5rem .65rem}
  .editorialApp .interestPanel {padding:1.3rem 1rem}
  .editorialApp .interestOptionsSingle {grid-template-columns:minmax(0,1fr)}
  .editorialApp .interestQuestionConditional {padding:1rem}
  .editorialApp .interestSuggestionMeta {flex-wrap:wrap;gap:.4rem}
}
@media(max-width:400px) {
  .editorialApp .interestFamilyHeader {grid-template-columns:minmax(0,1fr)}
  .editorialApp .interestFamilyActions {flex-direction:row;justify-content:space-between;align-items:center;margin-left:1.9rem}
  .editorialApp .interestFamilyActions:has(.interestToggle[hidden]) {display:none}
  .editorialApp .interestFamilyStatus {font-size:.75rem;max-width:none}
  .editorialApp .interestOption {width:100%}
  .editorialApp .interestPanelActions {align-items:stretch;flex-direction:column;gap:.4rem}
}
