.review-row textarea, .contact-import textarea { width: 100%; min-height: 88px; resize: vertical; padding: 10px; border: 1px solid #dcecf2; border-radius: 10px; font: inherit; font-size: 13px; box-sizing: border-box; }
.contact-import { padding: 4px 12px; border: 1px solid #dcecf2; border-radius: 13px; background: white; margin: 8px 0 12px; }
.contact-import summary { cursor: pointer; font-size: 13px; font-weight: 700; min-height: 44px; align-content: center; color: var(--accent); }
.contact-import[open] { padding-bottom: 12px; }
.contact-import[open] summary { margin-bottom: 12px; }
.contact-search { display: flex; gap: 8px; margin-bottom: 8px; }
.contact-search input { width: 100%; min-width: 0; flex: 1; height: 45px; padding: 9px 11px; border: 1px solid #d9eaf0; border-radius: 12px; background: white; font-size: 16px; border-color: #c3d8e3; }
.contact-search button { min-width: 54px; border-radius: 12px; color: var(--accent); background: #e4f4fa; border: 1px solid var(--accent-border); font-weight: 650; }
.contacts-label { font-size: 13px; margin: 14px 0 8px; }
.contact-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
.contact-row { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e0edf2; background: white; border-radius: 14px; width: 100%; text-align: left; }
.contact-row .avatar { width: 35px; height: 35px; font-size: 12px; flex-shrink: 0; }
.contact-text { flex: 1; min-width: 0; }
.contact-name { display: block; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.contact-subtitle { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 4px; flex-shrink: 0; max-width: 100px; justify-content: flex-end; }
.contact-actions button { min-height: 44px; padding: 6px 8px; font-size: 12px; border-radius: 8px; color: var(--accent); background: #e8f6fc; border: 1px solid var(--accent-border); }
.contact-actions .accept { color: #176f52; background: #e5f7ed; border-color: #b8dfcc; }
.contact-empty { font-size: 13px; color: var(--muted); margin: 8px 0; padding: 14px; border-radius: 12px; border: 1px dashed #d8e8ee; line-height: 1.6; }
.contact-friend { position: relative; min-height: 64px; color: var(--ink); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y; overflow: hidden; }
.contact-friend:hover, .contact-friend:focus-visible { background: #f0fbff; border-color: #66c8df; }
.contact-friend:focus-visible { outline: 2px solid #2bb7d9; outline-offset: 2px; }
.contact-friend.is-holding::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; background: var(--gradient); animation: contact-hold 1s linear forwards; }
@keyframes contact-hold { from { width: 0; } to { width: 100%; } }
.contact-actions-dialog { width: 360px; max-width: calc(100vw - 28px); padding: 20px; border: 1px solid #cbe7ef; border-radius: 22px; background: #f8fcfe; }
.contact-actions-dialog h3 { margin: 0 0 10px; font-size: 17px; color: var(--ink); }
.contact-actions-name { font-size: 17px; font-weight: 750; color: var(--ink); overflow-wrap: anywhere; margin: 0 0 8px; }
.contact-actions-note { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 18px; }
.contact-actions-buttons { display: flex; gap: 9px; }
.contact-actions-buttons button { flex: 1; min-height: 46px; padding: 10px 13px; border-radius: 12px; font-size: 13px; font-weight: 650; color: var(--accent); background: #e8f5fb; border: 1px solid #c4e3ee; }
.contact-actions-buttons .contact-remove-button { color: #a24935; background: #fff1eb; border-color: #efcbbf; }
.contact-actions-buttons button:disabled { color: #71838e; background: #edf2f5; border-color: #d8e3e9; }
@media (prefers-reduced-motion: reduce) { .contact-friend.is-holding::after { animation: none; width: 100%; } }
