.ix { display: grid; min-width: 0; gap: 14px; }
.ix-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ix-card { display: grid; text-align: left; gap: 5px; min-height: 72px; overflow-wrap: anywhere; }
.ix-card[aria-pressed="true"] { border: 2px solid var(--green); background: #e5efce; padding: 7px 12px; }
.ix-card small { font-weight: 500; }
.ix-live:not(:empty) { padding: 9px 12px; background: #eef3e7; border-radius: 8px; overflow-wrap: anywhere; }
.ix-live:empty { height: 0; margin-top: -14px; }
.ix-live.danger:not(:empty) { background: #fff0ea; }
.ix-panel { display: grid; gap: 12px; }
.ix-panel > p { overflow-wrap: anywhere; }
.ix h3 { font-size: 1.12rem; letter-spacing: -.015em; }
.ix-settings { border-block: 1px solid var(--line); padding: 6px 0; }
.ix-settings[open] { padding-bottom: 14px; }
.ix summary { min-height: 38px; width: fit-content; padding: 8px 3px; cursor: pointer; font-weight: 640; }
.ix a { display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.ix-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; max-width: 700px; margin: 6px 0; }
.ix-form button, .ix-panel > button, .ix-reply button { justify-self: start; }
.ix .ix-auto { grid-column: 1/-1; display: flex; align-items: center; min-height: 44px; gap: 10px; width: fit-content; }
.ix .ix-auto input { margin: 0; min-height: 0; width: 20px; height: 20px; flex: none; accent-color: var(--green); }
.ix-actions, .ix-contact { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding-top: 8px; }
.ix-disconnect button { color: #96392c; }
.ix button, .ix select, .ix input { min-height: 42px; }
.ix-panel :focus-visible { scroll-margin: 8px; }
.ix-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.ix-table caption { padding: 10px 14px; text-align: left; color: var(--muted); }
.ix-threads { display: grid; padding: 0; margin: 0; list-style: none; gap: 12px; }
.ix-thread { padding: 12px; border: 1px solid var(--line); border-radius: 9px; overflow-wrap: anywhere; }
.ix-thread h4 { margin: 0 0 3px; }
.ix-copy { white-space: pre-wrap; margin: 8px 0; }
.ix-reply { display: grid; gap: 6px; margin-top: 14px; max-width: 620px; }
.ix-reply p:not(:empty) { padding: 6px 0; }
.ix-contact label { width: min(270px, 100%); }
@media (max-width: 900px) { .ix-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 500px) {
  .ix-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ix-form { grid-template-columns: minmax(0, 1fr); }
  .ix button, .ix select, .ix input, .ix summary { min-height: 44px; }
}
