/* Portfolio style fields (templates/portfolio/style-fields.html) and the style line on cards
   and the portfolio page. Written to hold up against the pages' inline styles (every label has a
   min-width and padding, every input takes the full width) and the dark theme, which forces label
   colours with !important: colours are set on the chip's <span>, not its <label>. */
.ps-select { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.ps-chips { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 4px; }
.ps-chips label.ps-chip { position: relative; min-width: 0; padding: 0; margin: 0; flex: 0 0 auto; cursor: pointer; font-weight: 500; }
.ps-chips label.ps-chip input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px !important; height: 1px;
                                padding: 0 !important; border: 0 !important; pointer-events: none; }
.ps-chip > span { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid #cfd8e3;
                  background: #fff; color: #34495e; font-size: 13px; line-height: 1.3; transition: background .12s, border-color .12s; }
.ps-chip:hover > span { border-color: #3498db; }
.ps-chip input:checked + span { background: #3498db; border-color: #3498db; color: #fff; }
.ps-chip input:focus-visible + span { outline: 2px solid #3498db; outline-offset: 2px; }
.ps-hint { font-size: 12px; color: #7f8c8d; margin-left: 4px; }
[data-theme="dark"] .ps-chip > span { background: #0f1e36; border-color: #29456a; color: #cbd5e1; }
[data-theme="dark"] .ps-chip input:checked + span { background: #2f7de1; border-color: #2f7de1; color: #fff; }
[data-theme="dark"] .ps-hint { color: #93a7c4; }

/* "Aggressive · Long term · Growth, AI" */
.ps-line { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #5b6b82; margin: 4px 0 8px; line-height: 1.4; }
.ps-line i { color: #3498db; margin-top: 1px; }
[data-theme="dark"] .ps-line { color: #a9bcd8; }
[data-theme="dark"] .ps-line i { color: #4da3ff; }
