




.gcu { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #08090b; }
.gcu-ceu { position: relative; min-width: 0; }

.gcu-tela { display: block; width: 100%; height: clamp(560px, 80vh, 1100px); }
.gcu-trilha { position: absolute; left: 12px; top: 10px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: calc(100% - 200px); font-size: 12.5px; color: var(--txt-3); }
.gcu-trilha button { font: inherit; color: var(--txt-2); background: rgba(23, 22, 21, .85); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.gcu-trilha button:last-of-type { color: var(--txt); border-color: var(--line-2); font-weight: 600; }
.gcu-trilha button:hover { color: var(--txt); border-color: var(--line-2); }
.gcu-zoom { position: absolute; right: 12px; top: 10px; z-index: 2; display: flex; gap: 4px; }
.gcu-zoom button { font: 600 13px var(--font, inherit); min-width: 30px; height: 30px; padding: 0 10px; color: var(--txt-2); background: rgba(23, 22, 21, .85); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.gcu-zoom button:hover { color: var(--txt); border-color: var(--line-2); }


.gcu-lado { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; height: clamp(560px, 80vh, 1100px); box-sizing: border-box; padding: 16px 16px 10px; background: var(--bg-2); border-left: 1px solid var(--line); }
.gcu-l-cab { display: grid; gap: 2px; min-width: 0; }
.gcu-l-tit { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; overflow-wrap: break-word; }
.gcu-l-sub { margin: 0; font-size: 12.5px; color: var(--txt-3); }
.gcu-busca { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; color: var(--txt); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; }
.gcu-busca::placeholder { color: var(--txt-3); }
.gcu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gcu-chips .gcu-f-n { opacity: .75; margin-left: 2px; }
.gcu-ordem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12px; color: var(--txt-3); }
.gcu-ordem span { margin-right: 4px; }
.gcu-ordem button { font: inherit; color: var(--txt-2); background: none; border: 1px solid transparent; border-radius: 999px; padding: 3px 9px; cursor: pointer; }
.gcu-ordem button:hover { color: var(--txt); }
.gcu-ordem button.on { color: var(--txt); border-color: var(--line-2); background: var(--bg-3); font-weight: 600; }


.gcu-l-lista li { min-width: 0; }
.gcu-l-lista { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; align-content: start; overflow: auto; flex: 1 1 auto; min-height: 0; scrollbar-width: thin; }
.gcu-l-lista button { width: 100%; font: inherit; text-align: left; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: none; border: 0; border-radius: 8px; padding: 6px 8px; color: var(--txt-2); cursor: pointer; }
.gcu-l-lista button:hover { background: var(--bg-3); color: var(--txt); }
.gcu-l-lista b { font-size: 13px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcu-l-lista b small { display: block; margin-top: 1px; font-size: 11.5px; font-weight: 400; color: var(--txt-3); overflow: hidden; text-overflow: ellipsis; }
.gcu-l-lista span { flex: none; font-size: 11.5px; color: var(--txt-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gcu-l-vazio { padding: 6px 8px; font-size: 13px; color: var(--txt-3); }
.gcu-trilha button:focus-visible, .gcu-zoom button:focus-visible, .gcu-ordem button:focus-visible, .gcu-l-lista button:focus-visible { outline: 2px solid var(--txt-2); outline-offset: 1px; }
.gcu-busca:focus-visible { outline: 2px solid var(--txt); outline-offset: 1px; }

.gcu-pe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--txt-3); background: var(--bg-2); }


@container grc (max-width: 820px) {
  .gcu { grid-template-columns: minmax(0, 1fr); }
  .gcu-lado { height: auto; max-height: 460px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .gcu-tela { height: 1100px; } }
