:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eef0f4;
  background: #090b0e;
  font-size: 15px;
  --surface: #111419;
  --surface-raised: #15191f;
  --line: #252a32;
  --muted: #8b94a3;
  --green: #56d69b;
  --red: #ef7474;
  --orange: #eab464;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { min-width: 320px; background: #090b0e; }
body { margin: 0; min-height: 100vh; background: radial-gradient(900px 420px at 75% -180px, #202b3a 0%, transparent 70%), #090b0e; }
a { color: inherit; }
button, input { font: inherit; }
button { border: 1px solid #343a45; background: #171b21; color: #eef0f4; border-radius: 8px; padding: 9px 13px; cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
button:hover { background: #20252d; border-color: #454c58; }
button:disabled { cursor: wait; opacity: .68; }

header { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1240px)/2)); border-bottom: 1px solid var(--line); background: #090b0ee8; backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; font-weight: 690; letter-spacing: -.02em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: #e9edf3; color: #101318; font-size: .84rem; }
.brand small { display: block; color: #737d8c; font-weight: 500; font-size: .67rem; letter-spacing: .02em; margin-top: 1px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a, nav .quiet { color: #9ba4b2; text-decoration: none; font-size: .84rem; }
nav form { margin: 0; }
nav .quiet { padding: 0; border: 0; background: none; }

main { max-width: 1240px; margin: auto; padding: 54px 24px 90px; }
.eyebrow { margin: 0 0 9px; color: #778291; text-transform: uppercase; letter-spacing: .14em; font-size: .67rem; font-weight: 700; }
.hero, .page-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.hero h1, .page-title h1, .login h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.1rem); line-height: .99; letter-spacing: -.058em; font-weight: 690; }
.hero-copy { display: flex; gap: 18px; color: #858f9e; margin: 19px 0 0; font-size: .84rem; }
.hero-compact { align-items: center; }
.hero-compact .hero-copy { margin: 0; }
.summary-online { color: var(--green); }
.refresh { min-width: 125px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.refresh.loading .refresh-icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.resource-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.resource-bar a { display: flex; justify-content: space-between; align-items: center; text-decoration: none; padding: 14px 17px; border: 1px solid var(--line); border-radius: 10px; background: #0e1115; color: #828c9a; font-size: .78rem; }
.resource-bar a:hover { border-color: #3a414c; background: #12161b; }
.resource-bar strong { color: #d6dae1; font-weight: 580; }

.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.device { background: linear-gradient(145deg, #13171c, #101318); border: 1px solid var(--line); border-radius: 14px; padding: 21px; min-width: 0; box-shadow: 0 20px 50px #0002; }
.device-head, .identity, .device-foot, .section-head { display: flex; align-items: center; }
.device-head, .device-foot, .section-head { justify-content: space-between; }
.identity { gap: 11px; }
.identity h2 { margin: 0; font-size: 1.02rem; letter-spacing: -.02em; }
.identity p { margin: 4px 0 0; color: #707b8a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #68717e; }
.dot.online { background: var(--green); box-shadow: 0 0 0 4px #56d69b13; }
.dot.offline { background: var(--red); box-shadow: 0 0 0 4px #ef747413; }
.dot.booting, .dot.shutting_down, .dot.restarting, .dot.checking { background: var(--orange); box-shadow: 0 0 0 4px #eab46413; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.state { border-radius: 999px; padding: 5px 8px; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 680; color: #8892a0; background: #1b2027; }
.state.online { color: var(--green); background: #153027; }
.state.offline { color: var(--red); background: #351d21; }
.state.booting, .state.shutting_down, .state.restarting, .state.checking { color: var(--orange); background: #332919; }
.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 25px 0 18px; background: var(--line); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.metrics div { min-width: 0; padding: 11px 9px; background: #11151a; }
.metrics span { display: block; color: #747f8e; font-size: .65rem; margin-bottom: 5px; }
.metrics strong { display: block; overflow: hidden; text-overflow: ellipsis; color: #d9dde4; font-size: .8rem; font-weight: 590; white-space: nowrap; }
.notice { display: none; min-height: 30px; margin-bottom: 15px; padding: 9px 11px; border-left: 2px solid var(--orange); background: #30261566; color: #d3b77f; border-radius: 0 7px 7px 0; font-size: .73rem; line-height: 1.45; }
.notice.visible { display: block; }
.notice summary { cursor: pointer; font-weight: 650; }
.notice details span { display: block; margin-top: 7px; overflow-wrap: anywhere; color: #bfa873; }
.device-foot { min-height: 34px; gap: 12px; }
.checked { color: #697483; font-size: .68rem; white-space: nowrap; }
.actions { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.actions form { margin: 0; }
.actions button { padding: 7px 9px; font-size: .7rem; }
.actions button.is-busy { position: relative; padding-left: 27px; }
.actions button.is-busy::before { content: ''; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.actions button:disabled:not(.is-busy) { color: #59616d; border-color: #252a32; background: #111419; opacity: .72; cursor: not-allowed; }
.actions .terminal-button { padding: 7px 9px; color: #d4dae2; border: 1px solid #343a45; border-radius: 8px; text-decoration: none; font-size: .7rem; }
.actions .terminal-button:hover { background: #20252d; border-color: #454c58; }
.actions .shutdown { color: #e9aaaa; }
.actions button.completed { color: var(--green); border-color: #56d69b55; }
.actions button.failed { color: var(--red); border-color: #ef747455; }
.action-dialog { width: min(430px, calc(100vw - 32px)); padding: 24px; border: 1px solid #3a424e; border-radius: 14px; background: #151a20; color: var(--text); box-shadow: 0 24px 80px #000b; }
.action-dialog::backdrop { background: #0009; backdrop-filter: blur(3px); }
.action-dialog h2 { margin: 0 0 8px; font-size: 1.15rem; }
.action-dialog p { margin-top: 0; }
.action-dialog-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

.lower-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 14px; }
.panel, .settings, .login, .audit-text { background: #101318; border: 1px solid var(--line); border-radius: 14px; }
.panel { padding: 21px; }
.section-head h2 { margin: 0; font-size: 1.03rem; letter-spacing: -.02em; }
.services { list-style: none; padding: 0; margin: 17px 0 0; }
.services li { display: grid; grid-template-columns: 10px 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-top: 1px solid #232831; }
.services strong { display: block; font-size: .81rem; font-weight: 590; }
.services small { display: block; color: #717b89; margin-top: 3px; font-size: .66rem; max-width: 440px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.services a { text-decoration: none; color: #aab2be; border: 1px solid #303640; border-radius: 7px; padding: 6px 8px; font-size: .68rem; }
.network-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-top: 23px; }
.network-facts span { display: block; color: #727d8b; font-size: .67rem; margin-bottom: 4px; }
.network-facts strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .77rem; font-weight: 520; }

.page-title p { color: var(--muted); margin-bottom: 0; }
.page-title h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.app-tailscale { text-decoration: none; white-space: nowrap; }
.directory-title { margin-bottom: 34px; }
.directory-tools { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; gap: 18px; align-items: end; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.directory-search { gap: 6px; }
.directory-search span { color: #778291; font-size: .68rem; font-weight: 650; }
.directory-search input { max-width: 430px; padding: 10px 12px; }
.scope-filters { display: flex; gap: 5px; padding-bottom: 1px; overflow-x: auto; }
.scope-filter { padding: 8px 10px; border-color: transparent; background: transparent; color: #858f9e; font-size: .7rem; white-space: nowrap; }
.scope-filter:hover { border-color: #343a45; }
.scope-filter.active { color: #edf0f4; border-color: #3a414c; background: #171b21; }
.directory-count { margin: 0 0 10px; color: #707a88; font-size: .7rem; white-space: nowrap; }
.directory-wrap { margin-top: 12px; }
.app-directory { width: 100%; border-collapse: collapse; table-layout: fixed; }
.app-directory thead th { position: sticky; top: 70px; z-index: 4; padding: 11px 12px; color: #707b89; border-bottom: 1px solid #343a44; background: #090b0ef2; text-align: left; text-transform: uppercase; letter-spacing: .09em; font-size: .59rem; backdrop-filter: blur(12px); }
.app-directory thead th:nth-child(1) { width: 39%; }
.app-directory thead th:nth-child(2) { width: 12%; }
.app-directory thead th:nth-child(3) { width: 13%; }
.app-directory thead th:nth-child(4) { width: 16%; }
.app-directory thead th:nth-child(5) { width: 20%; }
.directory-section th { padding: 31px 12px 9px; color: #d9dde4; border-bottom: 1px solid var(--line); text-align: left; font-size: .89rem; letter-spacing: -.01em; }
.directory-section th span { margin-left: 6px; color: #606a78; font-size: .62rem; font-weight: 550; }
.directory-row td { padding: 13px 12px; border-bottom: 1px solid #20252c; color: #aeb6c2; vertical-align: middle; font-size: .74rem; }
.directory-row:hover td { background: #101318; }
.directory-app { display: flex; align-items: center; gap: 12px; }
.directory-app > div { min-width: 0; }
.directory-app strong { display: block; color: #e2e6eb; font-size: .82rem; font-weight: 620; letter-spacing: -.01em; }
.directory-app small { display: block; max-width: 460px; margin-top: 3px; overflow: hidden; color: #727d8b; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; }
.app-icon { width: 32px; height: 32px; position: relative; flex: 0 0 32px; display: grid; place-items: center; overflow: hidden; color: #aeb7c4; border: 1px solid #303640; border-radius: 8px; background: #14181e; font-size: .58rem; font-weight: 720; letter-spacing: .03em; }
.app-icon > span { transition: opacity .12s; }
.app-icon img { width: 23px; height: 23px; position: absolute; inset: 4px; object-fit: contain; }
.app-icon.loaded > span { opacity: 0; }
.directory-row[data-app-id="codex-ide"] .app-icon img, .directory-row[data-app-id="codex-mobile"] .app-icon img { filter: invert(1); }
.device-label { color: #9ca5b2; white-space: nowrap; }
.app-health { display: inline-flex; align-items: center; gap: 8px; color: #98a2b0; white-space: nowrap; }
.app-health.online { color: #88cbaa; }
.app-health.offline, .app-health.host-offline { color: #d28b8b; }
.app-health .dot { width: 7px; height: 7px; flex-basis: 7px; box-shadow: none; }
.access-list { color: #7c8694 !important; white-space: nowrap; }
.directory-actions { position: relative; text-align: right; white-space: nowrap; }
.directory-open, .app-link { color: #cbd2dc; border: 1px solid #303640; border-radius: 7px; padding: 6px 8px; text-decoration: none; font-size: .68rem; }
.directory-open:hover, .app-link:hover { border-color: #66707e; background: #1b2027; }
.no-web-ui { color: #65707e; font-size: .67rem; }
.route-menu { position: relative; display: inline-block; margin-left: 5px; text-align: left; }
.route-menu summary { width: 30px; height: 29px; display: inline-grid; place-items: center; color: #8892a0; border: 1px solid #303640; border-radius: 7px; cursor: pointer; list-style: none; letter-spacing: .04em; }
.route-menu summary::-webkit-details-marker { display: none; }
.route-menu[open] summary { border-color: #596270; background: #1b2027; }
.route-menu div { position: absolute; z-index: 8; top: 35px; right: 0; min-width: 150px; padding: 6px; border: 1px solid #303640; border-radius: 9px; background: #15191f; box-shadow: 0 16px 45px #000a; }
.route-menu div a { display: block; padding: 8px 9px; color: #bdc5d0; border-radius: 6px; text-decoration: none; font-size: .7rem; }
.route-menu div a:hover { background: #20252d; color: #fff; }
.directory-empty { padding: 45px 12px; color: var(--muted); text-align: center; }
.secondary { background: transparent; }
.remote-page { height: 100dvh; min-height: 0; overflow: hidden; }
.remote-page > main { width: 100%; max-width: none; height: calc(100dvh - 70px); padding: 0; }
.remote-workspace { height: 100%; min-height: 0; display: grid; grid-template-rows: 58px minmax(0, 1fr); background: #090b0e; }
.remote-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(24px, calc((100vw - 1240px)/2)); border-bottom: 1px solid var(--line); background: #0d1014; }
.remote-title { min-width: 0; display: flex; align-items: center; gap: 11px; }
.remote-title .eyebrow { margin: 0 0 2px; font-size: .58rem; }
.remote-title h1 { margin: 0; font-size: .91rem; font-weight: 620; letter-spacing: -.015em; }
.remote-icon { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid #343b46; border-radius: 7px; color: #aab3c0; background: #171b21; font-size: .85rem; }
.remote-actions { display: flex; gap: 7px; }
.remote-focus { margin: 0; background: transparent; }
.remote-restore { display: none; position: fixed; z-index: 30; top: 10px; right: 10px; padding: 7px 10px; border-color: #3b424d; background: #11151be8; color: #b8c0cb; font-size: .68rem; box-shadow: 0 8px 28px #0008; backdrop-filter: blur(10px); }
.remote-stage { position: relative; min-height: 0; display: grid; overflow: hidden; background: radial-gradient(600px 300px at 50% 45%, #161c24, transparent 75%), #090b0e; }
.remote-launcher { width: min(520px, calc(100% - 30px)); align-self: center; justify-self: center; padding: 35px 25px; text-align: center; }
.remote-device-mark { width: 68px; height: 46px; position: relative; margin: 0 auto 27px; border: 2px solid #4a5360; border-radius: 6px; background: #10141a; box-shadow: inset 0 0 0 4px #090b0e; }
.remote-device-mark::before { content: ""; position: absolute; left: 25px; bottom: -10px; width: 15px; height: 8px; border-left: 2px solid #4a5360; border-right: 2px solid #4a5360; }
.remote-device-mark::after { content: ""; position: absolute; left: 18px; bottom: -13px; width: 29px; border-bottom: 2px solid #4a5360; }
.remote-device-mark span { width: 7px; height: 7px; position: absolute; right: 6px; bottom: 5px; border-radius: 50%; background: var(--green); }
.remote-launcher h2 { margin: 0; color: #edf0f4; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.045em; }
.remote-launcher > .muted { max-width: 460px; margin: 16px auto 0; color: #818b99; font-size: .82rem; }
.remote-connection-state { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 24px; margin: 25px 0 0; color: #9ba4b1; font-size: .74rem; }
.remote-connection-state.online { color: #89cbaa; }
.remote-connection-state.offline { color: #d49090; }
.remote-launch-actions { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.remote-launch-actions button { min-width: 110px; }
.remote-help { margin: 22px 0 0; color: #626d7b; font-size: .67rem; }
.remote-help a { color: #9aa4b1; }
.remote-frame { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: #080a0d; }
.remote-dialog { width: min(490px, calc(100% - 28px)); padding: 0; color: #dfe3e9; border: 1px solid #343b46; border-radius: 13px; background: #11151b; box-shadow: 0 24px 90px #000c; }
.remote-dialog::backdrop { background: #050608c7; backdrop-filter: blur(4px); }
.remote-dialog form { padding: 25px; }
.remote-dialog .eyebrow { margin-bottom: 7px; }
.remote-dialog h2 { margin: 0; color: #f0f2f5; font-size: 1.25rem; letter-spacing: -.025em; }
.remote-dialog form > p:not(.eyebrow) { margin: 12px 0 0; color: #8993a1; font-size: .78rem; line-height: 1.55; }
.remote-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 23px; }
.remote-dialog-actions button { font-size: .72rem; }
.remote-dialog .danger { color: #efb1b1; border-color: #61383d; background: #321d20; }
.remote-dialog .danger:hover { color: #ffd2d2; border-color: #855058; background: #48262b; }
.remote-page.remote-focus-mode > header, .remote-page.remote-focus-mode .remote-toolbar { display: none; }
.remote-page.remote-focus-mode > main { height: 100dvh; }
.remote-page.remote-focus-mode .remote-workspace { grid-template-rows: minmax(0, 1fr); }
.remote-page.remote-focus-mode .remote-restore { display: block; }
.terminal-intro { margin: -7px 0 22px; padding: 14px 16px; color: #8993a1; border-left: 2px solid #4b5665; background: #101318; font-size: .75rem; }
.terminal-intro p { margin: 0; }
.terminal-directory { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.terminal-directory li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 17px 5px; border-bottom: 1px solid var(--line); }
.terminal-directory li > div { display: flex; align-items: center; gap: 12px; }
.terminal-directory strong, .terminal-directory small { display: block; }
.terminal-directory strong { font-size: .86rem; }
.terminal-directory small { margin-top: 3px; color: #737d8b; font: .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-text { margin: 0; padding: 24px; color: #b9c0cb; white-space: pre-wrap; overflow-wrap: anywhere; font: .76rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; user-select: text; }

.login { max-width: 420px; margin: 8vh auto; padding: 34px; }
.nav-toggle { display: none; background: transparent; }
.codex-lock details { margin-top: 24px; color: var(--muted); }
.codex-lock details > summary { cursor: pointer; }
.recovery-form { margin-top: 16px; }
.recovery-codes { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #090c10; color: #d7dde5; font: .82rem/1.65 ui-monospace, monospace; user-select: all; }
.continue-codex { padding: 11px; border-radius: 8px; text-align: center; text-decoration: none; }
.login h1 { font-size: 2.7rem; }
.muted { color: var(--muted); line-height: 1.55; }
.stack { display: grid; gap: 17px; margin-top: 27px; }
label { display: grid; gap: 7px; color: #abb3bf; font-size: .78rem; }
input { width: 100%; padding: 11px; color: #f1f3f6; background: #0b0e12; border: 1px solid #303641; border-radius: 8px; }
.check { grid-template-columns: auto 1fr; align-items: center; }
.check input { width: auto; }
.primary { background: #e9edf2; color: #101318; border-color: #e9edf2; font-weight: 660; }
.settings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 22px; }
.settings > label, .settings > button { grid-column: 1/-1; }
.settings fieldset { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 9px; }
.settings legend { padding: 0 7px; }

@media (max-width: 850px) {
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .lower-grid { grid-template-columns: 1fr; }
  .directory-tools { grid-template-columns: 1fr; gap: 10px; }
  .directory-search input { max-width: none; }
  .directory-count { display: none; }
  .app-directory thead th:nth-child(4), .directory-row td:nth-child(4) { display: none; }
  .app-directory thead th:nth-child(1) { width: 43%; }
  .app-directory thead th:nth-child(2) { width: 15%; }
  .app-directory thead th:nth-child(3) { width: 17%; }
  .app-directory thead th:nth-child(5) { width: 25%; }
}
@media (max-width: 680px) {
  header { height: 62px; padding: 0 14px; }
  .nav-toggle { display: inline-flex; }
  nav { display: none; position: absolute; z-index: 20; top: 56px; right: 12px; min-width: 190px; padding: 10px; gap: 3px; align-items: stretch; flex-direction: column; background: #11151b; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 50px #0009; }
  nav.open { display: flex; }
  nav a, nav form, nav button { width: 100%; text-align: left; }
  nav a, nav button { padding: 10px 12px; }
  main { padding: 35px 13px 70px; }
  .hero, .page-title { align-items: flex-start; }
  .hero-copy { gap: 10px; flex-wrap: wrap; }
  .resource-bar, .device-grid { grid-template-columns: 1fr; }
  .device { padding: 17px; }
  .device-foot { align-items: flex-start; flex-direction: column; }
  .actions { justify-content: flex-start; }
  .settings { grid-template-columns: 1fr; }
  .directory-title { gap: 18px; flex-direction: column; }
  .directory-title .app-tailscale { align-self: flex-start; }
  .scope-filters { margin: 0 -13px; padding: 0 13px 3px; }
  .app-directory, .app-directory tbody { display: block; }
  .app-directory thead { display: none; }
  .directory-section { display: block; }
  .directory-section th { display: block; padding: 29px 4px 9px; }
  .directory-row { display: grid; grid-template-columns: 1fr auto; gap: 9px 14px; padding: 15px 4px; border-bottom: 1px solid #252a32; }
  .directory-row td { display: block !important; padding: 0; border: 0; background: transparent !important; }
  .directory-app { grid-column: 1 / -1; }
  .directory-app small { max-width: none; white-space: normal; line-height: 1.4; }
  .directory-row td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; color: #5f6977; text-transform: uppercase; letter-spacing: .08em; font-size: .52rem; }
  .directory-row td:nth-child(4) { display: none !important; }
  .directory-actions { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
  .app-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .app-icon img { width: 21px; height: 21px; }
  .route-menu div { position: fixed; top: auto; right: 13px; bottom: 13px; left: 13px; }
  .terminal-directory li { grid-template-columns: 1fr auto; gap: 12px; }
  .terminal-directory li .state { display: none; }
  .terminal-directory .directory-open { grid-column: 2; grid-row: 1; }
  .terminal-directory small { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .remote-page > main { height: calc(100dvh - 62px); padding: 0; }
  .remote-workspace { grid-template-rows: 50px minmax(0, 1fr); }
  .remote-toolbar { padding: 0 13px; }
  .remote-actions .app-link { white-space: nowrap; }
  .remote-actions .remote-advanced { display: none; }
  .remote-launcher { padding: 25px 17px; }
  .remote-dialog form { padding: 21px; }
  .remote-dialog-actions { align-items: stretch; flex-direction: column; }
  .remote-dialog-actions button { width: 100%; }
}
