/* image-prompt-style-mixer — style.css (RT-AI-018). Tokens only. Violet accent
 * (#8b5cf6) for selected chips. */
#psm { display: flex; flex-direction: column; gap: 1.1rem; }
.psm-subject-field { display: flex; flex-direction: column; gap: .35rem; }
.psm-subject-label { font-size: .8rem; font-weight: 600; color: var(--rt-ink-soft, #2A3340); }
.psm-subject-input {
  width: 100%; min-height: 44px; padding: .5rem .65rem; font-size: 16px; line-height: 1.5;
  border: 1px solid var(--rt-border, #d8dce2); border-radius: 8px;
  background: var(--rt-card, #fff); color: var(--rt-ink, #14213d); font-family: inherit;
}
.psm-subject-input:focus-visible { outline: 2px solid var(--rt-accent, #e8622a); outline-offset: 2px; }
.psm-groups { display: flex; flex-direction: column; gap: .9rem; }
.psm-group { display: flex; flex-direction: column; gap: .45rem; }
.psm-group-label { font-size: .8rem; font-weight: 600; color: var(--rt-ink-soft, #2A3340); }
.psm-chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.psm-chip {
  min-height: 34px; padding: .35rem .7rem; font-size: .85rem; line-height: 1.2;
  border: 1px solid var(--rt-border, #d8dce2); border-radius: 999px;
  background: var(--rt-card, #fff); color: var(--rt-ink, #14213d);
  font-family: inherit; cursor: pointer; transition: background .12s, border-color .12s, color .12s;
}
.psm-chip:hover { border-color: var(--rt-violet, #8b5cf6); }
.psm-chip.is-active {
  background: var(--rt-violet, #8b5cf6); border-color: var(--rt-violet, #8b5cf6); color: #fff; font-weight: 600;
}
.psm-chip:focus-visible { outline: 2px solid var(--rt-violet, #8b5cf6); outline-offset: 2px; }
.psm-out-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.psm-out-title { font-size: .8rem; font-weight: 600; color: var(--rt-ink-soft, #2A3340); }
.psm-out-actions { display: flex; gap: .4rem; }
.psm-btn {
  min-height: 40px; padding: .4rem .9rem; border: 1px solid var(--rt-border, #d8dce2);
  border-radius: 8px; background: var(--rt-card, #fff); color: var(--rt-ink, #14213d);
  font-family: inherit; font-weight: 600; cursor: pointer;
}
.psm-btn:hover { border-color: var(--rt-violet, #8b5cf6); }
.psm-btn:focus-visible { outline: 2px solid var(--rt-ink, #14213d); outline-offset: 2px; }
.psm-copy { background: var(--rt-accent, #e8622a); border-color: var(--rt-accent, #e8622a); color: #fff; }
.psm-copy:hover { filter: brightness(1.05); border-color: var(--rt-accent, #e8622a); }
.psm-copy:disabled { opacity: .5; cursor: not-allowed; }
.psm-output {
  width: 100%; min-height: 120px; padding: .75rem; font-size: .9rem; line-height: 1.6;
  font-family: var(--rt-mono, ui-monospace, 'SF Mono', Menlo, Consolas, monospace);
  border: 1px solid var(--rt-border, #d8dce2); border-radius: 10px; resize: vertical;
  background: var(--rt-bg, #f7f6f3); color: var(--rt-ink, #14213d);
}
.psm-output:focus-visible { outline: 2px solid var(--rt-accent, #e8622a); outline-offset: 2px; }
.psm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
