.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 {
flex: 0 0 auto;
cursor: pointer;
}
.spa-main {
padding: 1rem;
max-width: 640px;
margin: 0 auto;
}
.spa-host-picker {
margin-left: auto;
min-width: 0;
flex-shrink: 1;
}
.host-select {
background: var(--bg);
color: var(--muted);
border: 1px solid var(--border);
border-radius: 4px;
padding: 0.3rem 0.5rem;
font-size: 0.9rem;
cursor: pointer;
max-width: 48vw;
min-width: 0;
-webkit-appearance: menulist;
appearance: menulist;
}
.host-select:focus {
outline: none;
border-color: var(--accent);
}
.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;
}
.mesh-hosts-heading {
font-size: 0.85rem;
font-weight: 600;
color: #6a7485;
text-transform: uppercase;
letter-spacing: 0.05em;
margin: 1.25rem 0 0.5rem;
}
.mesh-host-list {
list-style: none;
margin: 0 0 0.75rem;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.mesh-host-item {
display: flex;
align-items: center;
justify-content: space-between;
background: #1a1e2a;
border: 1px solid #2e3447;
border-radius: 4px;
padding: 0.35rem 0.6rem;
}
.mesh-host-label {
font-size: 0.9rem;
color: #9aa4b2;
font-family: monospace;
}
.mesh-host-remove {
background: none;
border: none;
color: #6a7485;
cursor: pointer;
font-size: 0.85rem;
padding: 0.1rem 0.3rem;
border-radius: 3px;
line-height: 1;
}
.mesh-host-remove:hover {
color: #c87e7e;
background: #2a1e1e;
}
.mesh-add-host {
display: flex;
gap: 0.5rem;
margin-top: 0.5rem;
}
.mesh-add-input {
flex: 1;
min-width: 0;
}
.mesh-add-btn {
white-space: nowrap;
flex-shrink: 0;
}