.cab.ix-main { padding-top: 1.25rem; }
.ix { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; grid-template-rows: auto 1fr; gap: 1.25rem 2rem; align-items: start; }
.ix-head { grid-column: 1; grid-row: 1; }
.ix-list { display: grid; gap: .625rem; grid-column: 1; grid-row: 2; min-width: 0; }
.ix-panel { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 4.5rem; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }

.ix-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.ix-count { min-width: 1.5rem; padding: 0 .4375rem; border-radius: 999px; background: var(--line); color: var(--text); font-size: .8125rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.cab .ix-order { padding-right: .25rem; color: var(--muted); font-size: .875rem; }

.ix-rows { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ix-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem 1.25rem; padding: .875rem .875rem .875rem 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: .625rem; scroll-margin-top: 5rem; }
.ix-row:focus { outline: none; box-shadow: 0 0 0 2px var(--brass-line); }
.ix-text { min-width: 0; overflow-wrap: anywhere; }
.ix-name { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .625rem; }
.cab .ix-name h3 { margin: 0; font-size: 1.125rem; font-weight: 650; font-stretch: 106%; line-height: 1.3; }
.cab .ix-what { margin-top: .25rem; max-width: 40rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.cab .ix-since { margin-top: .375rem; color: var(--muted); font-size: .8125rem; }
.cab .ix-fail { grid-column: 1 / -1; margin: 0; font-size: .9375rem; }
.ix-yours { color: var(--accent); font-weight: 650; }

.ix-row .pill, .ix-labels .pill, .ix-m-st .pill { font-size: .8125rem; padding: .125rem .5625rem; }
.pill.ix-dev { background: var(--lot-t); color: var(--lot); }
.pill.ix-dev::before { width: .5625rem; height: .5625rem; background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px currentColor; }
.pill.ix-plan { background: var(--raise); color: var(--muted); }
.pill.ix-plan::before { width: .5625rem; height: .5625rem; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.pill.ix-live { background: var(--up-t); color: var(--up); }
.pill.ix-live::before { width: .3125rem; height: .5625rem; margin: 0 .125rem .1875rem .0625rem; border-radius: 0; background: transparent; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ix-m-st .pill.ix-got { padding: .0625rem .5rem; background: transparent; color: var(--muted); border: 1px dashed var(--field); }
.pill.ix-got::before { width: .625rem; height: .625rem; background: transparent; border: 2px dotted currentColor; }
.pill.ix-no { background: var(--raise); color: var(--muted); }
.pill.ix-no::before { width: .5625rem; height: 2px; border-radius: 1px; }

.cab .ix-vote { flex-direction: column; gap: .0625rem; width: 4.75rem; min-height: 4.5rem; padding: .5rem .25rem .4375rem; border-radius: .625rem; background: var(--raise); border: 1px solid var(--line2); }
.ix-vote svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linejoin: round; }
.ix-vote b { font-size: 1.3125rem; font-weight: 750; font-stretch: 116%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ix-vote span { color: var(--muted); font-size: .75rem; font-weight: 600; }
.cab .ix-vote[aria-pressed="true"] { background: var(--brass-t); border-color: var(--brass-line); }
.ix-vote[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.ix-vote[aria-pressed="true"] :is(b, span) { color: var(--accent); }
.cab .ix-vote.ix-wait { cursor: progress; }
.cab .ix-row.ix-bad .ix-vote { border-color: var(--down); box-shadow: 0 0 0 1px var(--down); }
.ix-tally { display: flex; flex-direction: column; align-items: center; width: 4.75rem; color: var(--muted); }
.ix-tally b { font-size: 1.125rem; font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.ix-tally span { font-size: .75rem; font-weight: 600; }

.ix-done { display: grid; gap: .5rem; margin-top: .875rem; }
.ix-done h2 { display: flex; align-items: center; gap: .5rem; margin: 0; padding: 0 .25rem; font-size: 1.125rem; font-weight: 650; }
.ix-done .ix-rows { gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: .625rem; }
.ix-done .ix-row { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.ix-done .ix-row:first-child { border-top: 0; }
.ix-list:has(> .ix-rows[hidden]) .ix-done { margin-top: 0; }

.ix-list .empty-state { padding: 3rem 1.25rem; }
.ix-none { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 2.25rem 1.25rem; text-align: center; background: var(--panel); border: 1px dashed var(--line2); border-radius: .75rem; }
.cab .ix-none p { max-width: 26rem; color: var(--muted); }
.ix-loading { display: grid; gap: .5rem; }
.ix-skel { height: 6.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: .625rem; }
.ix-skel + .ix-skel { opacity: .7; }
.ix-skel + .ix-skel + .ix-skel { opacity: .45; }

.ix-p-head { padding: 1.125rem 1.25rem 0; }
.cab .ix-p-head h2 { margin: 0; font-size: 1.25rem; font-weight: 700; }
.cab .ix-p-head p { margin-top: .375rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.ix-labels { margin: 1.125rem 1.25rem 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ix-has-mine .ix-labels { margin-top: 1rem; padding-top: 0; border-top: 0; }
.cab .ix-labels h3 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 650; }
.ix-labels dl { display: grid; gap: .75rem; margin: 0; }
.ix-labels dl > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.ix-labels dt { justify-self: start; }
.ix-labels dd { margin: 0; font-size: .9375rem; line-height: 1.45; }
.ix-foot { padding: 1rem 1.25rem 1.125rem; border-top: 1px solid var(--line); background: var(--panel); border-radius: 0 0 .75rem .75rem; }
.cab .ix-foot button { width: 100%; min-height: 3.25rem; font-size: 1.0625rem; }
@media (min-width: 960px) {
  .ix-panel { max-height: calc(100vh - 5.5rem); overflow-y: auto; }
  .ix-foot { position: sticky; bottom: 0; z-index: 2; }
}

.ix-mine { padding: 1.125rem 1.25rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 4.5rem; }
.cab .ix-mine h2 { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1.25rem; font-weight: 700; }
.cab .ix-mine-head p { margin-top: .25rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.cab .ix-sent { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; padding: .5rem .75rem; background: var(--up-t); border-radius: .5rem; font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.ix-sent svg { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--up); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ix-mine-rows { margin: .625rem -1.25rem 0; padding: 0; list-style: none; }
.ix-mine-rows li { padding: .75rem 1.25rem .8125rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.ix-mine-rows li:first-child { border-top: 0; }
.cab .ix-m-t { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.ix-m-st { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .625rem; margin-top: .375rem; }
.cab .ix-m-when { color: var(--muted); font-size: .8125rem; }
.cab .ix-m-more { margin-top: .375rem; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.ix-m-more a { font-weight: 650; white-space: nowrap; }
.cab .ix-m-note { margin-top: .5rem; padding: .4375rem .625rem; background: var(--raise); border-radius: .375rem; font-size: .875rem; line-height: 1.45; }
.ix-m-note b { font-weight: 650; }
.ix-mine-rows li.ix-m-new { background: var(--raise); box-shadow: inset 3px 0 0 var(--brass-line); }
.cab .ix-m-all { display: none; }

dialog.ix-sheet .ix-w-form { display: grid; gap: 1.125rem; margin-top: 1.125rem; }
dialog.ix-sheet .ix-w-field label { display: block; margin-bottom: .375rem; font-size: .9375rem; font-weight: 650; }
dialog.ix-sheet .ix-w-field label small { margin-left: .25rem; color: var(--muted); font-size: .875rem; font-weight: 500; }
dialog.ix-sheet .ix-w-field input[type="text"] { margin-top: 0; font-size: 1rem; }
dialog.ix-sheet .ix-w-text { display: block; width: 100%; min-height: 8rem; margin: 0; padding: .75rem .875rem; resize: vertical; color: var(--text); background: var(--night); border: 1px solid var(--field); border-radius: .5rem; font: inherit; font-size: 1rem; line-height: 1.5; }
dialog.ix-sheet .ix-w-text:focus { outline: none; border-color: var(--brass-line); box-shadow: 0 0 0 1px var(--brass-line); }
dialog.ix-sheet .ix-w-text::placeholder { color: var(--faint); opacity: 1; }
:root[data-theme="light"] dialog.ix-sheet :is(.ix-w-text, input)::placeholder { color: var(--muted); }
dialog.ix-sheet .ix-w-count { display: flex; align-items: baseline; gap: .75rem; margin-top: .375rem; color: var(--muted); font-size: .8125rem; }
dialog.ix-sheet .ix-w-count .num { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
dialog.ix-sheet .ix-w-count .error { margin: 0; font-size: .875rem; }
dialog.ix-sheet .ix-bad :is(input, textarea) { border-color: var(--down); box-shadow: 0 0 0 1px var(--down); }
dialog.ix-sheet .ix-w-never { display: flex; align-items: center; gap: .375rem; margin: -.125rem 0 .5rem; color: var(--muted); font-size: .875rem; }
dialog.ix-sheet .ix-w-never svg { flex: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
dialog.ix-sheet .ix-w-busy textarea { color: var(--muted); background: var(--raise); border-style: dashed; }
dialog.ix-sheet .bw-foot button.ix-w-wait { cursor: progress; opacity: .75; }
dialog.ix-sheet .bw-foot button { min-height: 3.25rem; font-size: 1.0625rem; }
dialog.ix-sheet .bw-foot > :is(.ix-w-failed, .ix-w-limit) { flex: 1 0 100%; margin: 0; }
dialog.ix-sheet .ix-w-failed a { color: inherit; }
dialog.ix-sheet .ix-w-limit { padding: .625rem .875rem; background: var(--warn-t); color: var(--warn-ink); border-left: 3px solid var(--warn); border-radius: .375rem; font-size: .9375rem; line-height: 1.45; }
@media (max-width: 599px) {
  dialog.ix-sheet .bw-head h2 { font-size: 1.25rem; }
}

@media (max-width: 959px) {
  .ix { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 1rem; }
  .ix-head, .ix-list, .ix-panel { grid-column: 1; grid-row: auto; }
  .ix-panel { position: static; margin-top: .75rem; }
}
@media (max-width: 719px) {
  .cab.ix-main { padding: 1rem 1rem 7.5rem; }
  .cab .ix-head .hx-lead { font-size: 1rem; }
  .ix-bar .bl-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .cab .ix-bar .bl-tabs button { justify-content: center; }
  .cab .ix-order { padding-left: .25rem; }
  .ix-row { align-items: start; gap: .5rem .875rem; padding: .875rem .75rem .875rem 1rem; }
  .cab .ix-name h3 { font-size: 1.0625rem; }
  .cab .ix-vote { width: 4.25rem; min-height: 4.25rem; }
  .ix-tally { width: 4.25rem; }
  .ix-labels dl > div { grid-template-columns: 8rem minmax(0, 1fr); }
  .ix-panel { display: contents; }
  .ix-head { order: 0; }
  .ix-mine { order: 1; }
  .ix-list { order: 2; }
  .ix-about { order: 3; }
  .ix-mine, .ix-about { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }
  .ix-mine { padding: 1rem 1rem 0; overflow: hidden; }
  .ix-mine-head p { display: none; }
  .ix-mine-rows { margin: .5rem -1rem 0; }
  .ix-mine-rows li { padding: .75rem 1rem .8125rem; }
  .ix-mine:not(.ix-all) .ix-mine-rows li:nth-child(n+3) { display: none; }
  .cab .ix-m-all { display: flex; width: calc(100% + 2rem); margin: 0 -1rem; min-height: 3rem; color: var(--accent); background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 .75rem .75rem; font-size: .9375rem; }
  .ix-about { margin-top: .75rem; }
  .ix-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line2); border-radius: 0; box-shadow: 0 -.75rem 1.5rem var(--shade); }
}
