.ia64-vga-text-screen {
    --ia64-vga-cell-width: 1ch;
    --ia64-vga-cell-height: 1em;
    --ia64-vga-cell-font-size: 1em;
    background: #000;
    box-sizing: border-box;
    color: #aaa;
    display: block;
    font-family: monospace;
    font-size: var(--ia64-vga-cell-font-size);
    height: 100%;
    line-height: var(--ia64-vga-cell-height);
    margin: 0;
    overflow: hidden;
    white-space: normal;
    width: 100%;
}

.ia64-vga-text-screen--compact {
    font-size: var(--ia64-vga-cell-font-size);
}

.ia64-vga-text-row {
    display: block;
    height: var(--ia64-vga-cell-height);
    line-height: var(--ia64-vga-cell-height);
    overflow: hidden;
    white-space: pre;
    width: 100%;
}

.ia64-vga-text-cell {
    display: inline-block;
    height: var(--ia64-vga-cell-height);
    line-height: var(--ia64-vga-cell-height);
    overflow: hidden;
    text-align: center;
    vertical-align: top;
    width: var(--ia64-vga-cell-width);
}

.ia64-call-link {
    color: #ffff00;
    cursor: pointer;
    text-decoration: none;
}

#code tr.ia64-call-hover td {
    box-shadow: inset 0 0 0 2px #00ffff;
}

#code tr.ia64-call-target-row td {
    box-shadow: inset 0 0 0 2px #ffff00;
}

#code tr.ia64-call-selected-row td {
    box-shadow: inset 0 0 0 3px #ffff00;
}

.ia64-call-arrow {
    overflow: visible;
    pointer-events: none;
    position: absolute;
    z-index: 8;
}

.ia64-zone-symbol,
.ia64-memory-plan-symbol {
    align-items: center;
    color: #fff;
    display: inline-flex;
    height: 1em;
    justify-content: center;
    width: 2ch;
}

.ia64-zone-symbol--code,
.ia64-memory-plan-symbol--code,
.ia64-memory-plan-brick--code {
    background: #005fd7;
}

.ia64-zone-symbol--data,
.ia64-memory-plan-symbol--data,
.ia64-memory-plan-brick--data {
    background: #8700af;
}

.ia64-zone-symbol--noinit,
.ia64-memory-plan-symbol--noinit,
.ia64-memory-plan-brick--noinit {
    background: #af5f00;
}

.ia64-zone-symbol--reserved,
.ia64-memory-plan-symbol--reserved,
.ia64-memory-plan-brick--reserved {
    background: #5f5f87;
}

.ia64-zone-symbol--reserved-code,
.ia64-memory-plan-symbol--reserved-code,
.ia64-memory-plan-brick--reserved-code {
    background: #8787af;
}

.ia64-zone-symbol--vga,
.ia64-memory-plan-symbol--vga,
.ia64-memory-plan-brick--vga {
    background: #0000ff;
}

.ia64-zone-symbol--entry,
.ia64-memory-plan-symbol--entry,
.ia64-memory-plan-brick--entry {
    background: #00af00;
}

.ia64-memory-plan-brick--free {
    background: #050058;
}

.ia64-memory-plan-layout {
    box-sizing: border-box;
    display: grid;
    gap: 2ch;
    grid-template-columns: minmax(44ch, 1fr) minmax(28ch, 34ch);
    height: 100%;
    overflow: hidden;
    padding: 1ch;
    width: 100%;
}

.ia64-memory-plan-map {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: auto;
}

.ia64-memory-plan-title {
    flex: 0 0 auto;
}

.ia64-memory-plan-bricks {
    align-content: flex-start;
    background: #00002a;
    border: 1px solid #fff;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 2px;
    width: 100%;
}

.ia64-memory-plan-brick {
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex: 0 0 2.4em;
    font-size: 0.65em;
    height: 2.4em;
    justify-content: center;
    line-height: 1;
    overflow: hidden;
    width: 2.4em;
}

.ia64-memory-plan-brick--entry {
    box-shadow: inset 0 0 0 2px #ffff00;
}

.ia64-memory-plan-brick--current {
    box-shadow: inset 0 0 0 4px #ff0000;
}

.ia64-memory-plan-brick--entry.ia64-memory-plan-brick--current {
    box-shadow: inset 0 0 0 2px #ffff00, inset 0 0 0 4px #ff0000;
}

.ia64-memory-plan-brick--breakpoint {
    outline: 3px solid #00ffff;
    outline-offset: -3px;
}

.ia64-memory-plan-hint {
    margin-top: 0.4em;
}

.ia64-memory-plan-hint .ia64-memory-plan-symbol {
    margin-right: 0.25ch;
}

.ia64-memory-plan-hint .ia64-memory-plan-marker {
    font-weight: bold;
}

.ia64-memory-plan-marker--entry {
    color: #00af00;
}

.ia64-memory-plan-marker--current {
    color: #ff0000;
}

.ia64-memory-plan-marker--breakpoint {
    color: #00ffff;
}

.ia64-memory-plan-legend {
    border-left: 2px solid #fff;
    max-height: 100%;
    min-width: 0;
    overflow: auto;
    padding-left: 1ch;
}

.ia64-memory-plan-legend-item {
    column-gap: 1ch;
    display: grid;
    grid-template-columns: 2ch 1fr;
    margin-bottom: 4px;
}
