/* ===================== BẢNG THÔNG TIN (.in-) ===================== */
.in { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--bg-elev); }
.in-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--border); flex: none; font-size: var(--fs-md); }
.in-body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 20px; }
.in-hero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px 14px; text-align: center; }
.in-hero__av { border-radius: 50%; }
.in-hero__name { margin-top: 10px; font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.in-hero__sub { color: var(--text-3); font-size: var(--fs-sm); }
.in-hero__sub.is-online { color: var(--online); }
.in-actions { display: flex; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.in-action { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; font-size: var(--fs-xs); color: var(--text-2); font-weight: 600; text-align: center; }
.in-action__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background var(--dur-fast), color var(--dur-fast); }
.in-action:hover .in-action__ic { background: var(--hover); color: var(--accent); }
.in-action.is-on .in-action__ic { background: var(--accent-soft); color: var(--accent); }

.in-section { margin: 8px 12px; padding: 6px; border-radius: var(--r-lg); background: var(--surface-2); }
.in-section[hidden] { display: none; }
.in-section__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 4px; font-size: var(--fs-sm); }
.in-kv { display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px; color: var(--text-2); }
.in-kv span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.in-kv small { color: var(--text-3); } .in-kv b { color: var(--text); font-weight: 600; }
.in-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: var(--r-md); text-align: left; color: var(--text); }
button.in-row:hover:not(:disabled) { background: var(--hover); }
.in-row:disabled { opacity: .5; cursor: not-allowed; }
.in-row > span:not(.kit-switch) { flex: 1; min-width: 0; }
.in-row__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-row.is-danger { color: var(--danger); }
.in-row--switch { cursor: default; }
.in-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; font-size: var(--fs-sm); padding: 4px 8px; border-radius: var(--r-sm); }
.in-link:hover { background: var(--accent-soft); }
.in-link--block { width: 100%; justify-content: center; padding: 8px; }

.in-member { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: var(--r-md); cursor: pointer; }
.in-member:hover { background: var(--hover); }
.in-member__name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.in-role { color: var(--accent); font-weight: 600; font-size: var(--fs-xs); }
.in-member__more { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text-3); opacity: 0; }
.in-member:hover .in-member__more, .in-member:focus-within .in-member__more { opacity: 1; }
.in-member__more:hover { background: var(--surface); color: var(--text); }

.in-gallery__tabs { padding: 4px; }
.in-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
.in-gallery__cell { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.in-gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur); }
.in-gallery__cell:hover img { transform: scale(1.06); }
.in-file { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-md); color: inherit; text-decoration: none; }
.in-file:hover { background: var(--hover); }
.in-file__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.in-file__meta { display: flex; flex-direction: column; min-width: 0; }
.in-file__meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-file__meta small { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hộp thoại nhóm */
.in-dialog { display: flex; flex-direction: column; gap: 12px; }
.in-dialog__top { display: flex; align-items: center; gap: 12px; }
.in-dialog__label { font-weight: 700; font-size: var(--fs-sm); color: var(--text-2); }
.in-photo { border-radius: 50%; flex: none; }
.in-input { flex: 1; height: 46px; padding: 0 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--surface); color: var(--text); outline: 0; }
.in-input:focus { border-color: var(--accent); }
.in-count { margin-right: auto; align-self: center; color: var(--text-2); font-size: var(--fs-sm); }
.in-pick { display: flex; flex-direction: column; gap: 8px; }
.in-pick__list { max-height: 280px; overflow-y: auto; }
.in-pick__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.in-pick__chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: var(--fs-sm); font-weight: 600; }
.in-pick__row { display: flex; align-items: center; gap: 10px; }
.in-pick__name { display: flex; flex-direction: column; line-height: 1.25; }
.in-pick__name small { color: var(--text-3); }
