.spa-shell {
min-height: 100dvh;
}
body.term-body #app {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.term-body-spa {
flex: 1;
min-height: 0;
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.term-body-spa .input-ribbon {
display: flex;
flex-wrap: nowrap;
white-space: nowrap;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
touch-action: pan-x;
}
.term-body-spa .input-ribbon button {
flex: 0 0 auto;
}
.app-header .app-wordmark {
cursor: pointer;
}
.spa-main {
padding: 1rem;
max-width: 640px;
margin: 0 auto;
}
.header-icon-btn {
background: none;
border: none;
cursor: pointer;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
min-width: 2rem;
min-height: 2rem;
font-family: inherit;
}
.node-picker {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 4px 0 12px;
}
.node-chip {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 14px;
color: var(--muted);
cursor: pointer;
font-family: var(--mono);
font-size: 13px;
padding: 4px 12px;
}
.node-chip.active {
border-color: var(--accent);
color: var(--text);
}
.node-chip .node-dead {
color: var(--danger);
font-size: 11px;
margin-left: 6px;
}
.node-row .node-name {
font-family: var(--mono);
}
.node-row .node-target {
color: var(--muted);
flex: 1;
font-family: var(--mono);
font-size: 13px;
margin-left: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.node-row .node-remove {
background: none;
border: 1px solid var(--border);
border-radius: 6px;
color: var(--danger);
cursor: pointer;
flex-shrink: 0;
padding: 2px 10px;
}
.node-add {
display: flex;
gap: 8px;
margin-top: 8px;
}
.node-add input {
flex: 1;
min-width: 0;
background: var(--bg);
color: var(--text);
border: 1px solid var(--border);
border-radius: 6px;
padding: 8px 10px;
font-size: 14px;
font-family: var(--mono);
}
.node-add input:focus {
border-color: var(--accent);
outline: none;
}
.node-add button {
flex-shrink: 0;
background: var(--panel);
color: var(--text);
border: 1px solid var(--border);
border-radius: 6px;
cursor: pointer;
padding: 8px 14px;
}