.detail-footer #detail-signature { white-space: nowrap; }
::highlight(portfolio-selection) { background-color: var(--red); color: var(--white); }
.detail-footer .selection-hint { flex: 0 0 auto; margin-left: 4px; color: var(--action); font-weight: 600; white-space: nowrap; }
.selection-question { position: relative; inset: auto; margin: 0; padding: 0; width: min(300px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid var(--rule); border-radius: 16px; background: #fdfcfb; color: var(--ink); box-shadow: 0 18px 48px rgb(22 17 17 / .18); font-family: inherit; }
.selection-question::backdrop { background: transparent; pointer-events: none; }
.selection-heading { padding: 12px 48px 12px 18px; }
.selection-heading strong { font-size: 15px; font-weight: 600; line-height: 1.5; }
.selection-question > .detail-close { position: absolute; top: 6px; right: 6px; }
.selection-form { padding: 0 14px 14px; }
.selection-form textarea { display: block; box-sizing: border-box; width: 100%; min-height: 68px; max-height: 160px; resize: vertical; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--composer-border, #c8c7c3); border-radius: 12px; font: inherit; font-size: 16px; line-height: 1.6; background: var(--white); color: var(--ink); caret-color: var(--action); }
.selection-form textarea::placeholder { color: var(--muted); font-size: 14px; }
.selection-form textarea:focus { outline: none; }
.selection-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.selection-modes { display: flex; margin: 0; padding: 0; border: 0; min-width: 0; gap: 2px; }
.selection-modes label { position: relative; cursor: pointer; }
.selection-modes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.selection-modes span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; min-width: 52px; padding: 0 10px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; color: var(--ink); }
.selection-modes svg { width: 15px; height: 15px; flex: 0 0 auto; }
.selection-modes input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.selection-modes input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.selection-modes input:disabled + span { opacity: .45; cursor: default; }
.selection-send { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 12px; background: var(--action); color: var(--white); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 180ms ease; }
.selection-send:hover { background: var(--action-hover, #b00f14); }
.selection-send:disabled { opacity: .45; cursor: default; }
.selection-send svg { width: 16px; height: 16px; }
.selection-status { margin: 10px 0 0; color: var(--action-text, #b00f14); font-size: 13px; line-height: 1.6; }
@media (max-width: 700px) { .selection-question { width: calc(100vw - 24px); } .detail-footer { gap: 8px; padding: 16px 16px; } .detail-footer .selection-hint { margin-left: 0; } .detail-footer #detail-signature { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .selection-send { transition: none; } }
