| 1 | .client-shell { height:100vh; display:flex; flex-direction:column; min-width:0; } |
| 2 | .client-toolbar, .local-background { flex:none; display:flex; align-items:center; gap:9px; padding:6px 16px; background:var(--chrome); border-bottom:1px solid var(--line); font-size:.86rem; } |
| 3 | .client-toolbar { min-height:34px; } |
| 4 | .client-toolbar strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } |
| 5 | .client-toolbar .brand-logo { height:18px; width:18px; } |
| 6 | .client-toolbar-hint, .local-background span { color:var(--muted); } |
| 7 | .client-toolbar .ssh-fallback, .local-background button { margin-left:auto; } |
| 8 | .client-shell:has(.ssh-navigation) .ssh-fallback { display:none; } |
| 9 | .local-background { background:var(--selected); min-height:38px; } |
| 10 | .local-background span { margin-left:8px; } |
| 11 | .local-background button { flex:none; } |
| 12 | .client-stage { flex:1; display:flex; min-height:0; min-width:0; } |
| 13 | .client-workbench { flex:1; min-width:0; min-height:0; overflow:hidden; } |
| 14 | .client-workbench > .app, .client-workbench .account-gate { height:100%; min-height:0; } |
| 15 | .client-workbench .boot-screen { height:100%; } |
| 16 | .client-loading { flex:1; display:flex; align-items:center; justify-content:center; gap:12px; color:var(--muted); } |
| 17 | .client-error { display:flex; align-items:center; gap:12px; justify-content:space-between; margin:12px; } |
| 18 | .ssh-sidebar { width:var(--sidebar-width); flex:0 0 var(--sidebar-width); min-width:0; } |
| 19 | .ssh-sidebar-body { overflow:auto; min-height:0; padding-bottom:16px; } |
| 20 | .ssh-list-heading { margin:12px 0 4px; padding-left:6px; display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:.82rem; } |
| 21 | .ssh-list-heading button { flex:none; } |
| 22 | .ssh-host-row { display:flex; width:100%; align-items:center; gap:8px; text-align:left; padding:8px; border:0; border-radius:6px; background:transparent; color:var(--ink); } |
| 23 | .ssh-host-row.selected { background:var(--selected); } |
| 24 | .ssh-host-row > span { flex:1; min-width:0; } |
| 25 | .ssh-host-row strong, .ssh-host-row small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } |
| 26 | .ssh-host-row strong { font-weight:550; }.ssh-host-row small { margin-top:1px; color:var(--muted); font-size:.8rem; } |
| 27 | .ssh-host-actions, .ssh-connection, .ssh-empty { display:grid; gap:10px; margin:14px 2px; } |
| 28 | .ssh-empty p, .ssh-help, .ssh-connection p { margin:0; color:var(--muted); line-height:1.6; font-size:.86rem; } |
| 29 | .ssh-connection code { font-size:.8rem; word-break:break-all; user-select:text; } |
| 30 | .ssh-local-action, .ssh-help { border-top:1px solid var(--line); padding-top:13px; margin:18px 0 10px; } |
| 31 | .ssh-sidebar-body button, .environment-picker button, .ssh-fallback { display:inline-flex; align-items:center; justify-content:center; gap:7px; } |
| 32 | .ssh-sidebar-body .ssh-host-row { justify-content:flex-start; } |
| 33 | .environment-picker { flex:1; min-width:0; overflow:auto; display:grid; align-items:start; justify-items:center; padding:clamp(40px,12vh,140px) 24px 32px; background:var(--paper); } |
| 34 | .environment-picker > div { width:min(100%,492px); } |
| 35 | .environment-logo { width:40px; height:40px; object-fit:contain; margin-bottom:12px; } |
| 36 | .environment-picker h1 { font-size:1.7rem; margin:0 0 8px; color:var(--strong); } |
| 37 | .environment-picker p { line-height:1.65; margin:0 0 18px; color:var(--muted); } |
| 38 | .environment-actions, .remote-button-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; } |
| 39 | .environment-recent { margin-top:24px; border-top:1px solid var(--line); } |
| 40 | .environment-recent h2 { margin:16px 0 8px; color:var(--muted); font-size:.88rem; font-weight:500; } |
| 41 | .environment-recent button { width:100%; justify-content:flex-start; gap:8px; border:none; background:var(--chrome); margin-bottom:4px; } |
| 42 | .environment-recent small { margin-left:auto; color:var(--muted); } |
| 43 | .ssh-dialog-body, .remote-host-form { padding:14px 22px 18px; overflow-y:auto; overscroll-behavior:contain; } |
| 44 | .ssh-dialog-body p { margin:0 0 10px; color:var(--ink); line-height:1.65; } |
| 45 | .ssh-dialog-body svg { vertical-align:middle; } |
| 46 | .remote-host-form > fieldset { border:0; padding:0; min-width:0; margin:0; display:grid; gap:15px; } |
| 47 | .remote-host-form label, .ssh-host-actions label { display:flex; flex-direction:column; gap:7px; font-weight:500; } |
| 48 | .remote-host-form input, .ssh-host-actions input { width:100%; min-width:0; height:36px; border:1px solid var(--line); border-radius:6px; background:var(--input); color:var(--ink); padding:7px 10px; font:inherit; font-weight:400; } |
| 49 | .remote-host-form .inline-select-trigger { justify-content:space-between; height:36px; border-radius:6px; background:var(--input); padding:7px 10px; } |
| 50 | .remote-host-form small, .remote-host-form summary { color:var(--muted); font-weight:400; font-size:.85rem; } |
| 51 | .remote-host-form summary { cursor:pointer; } |
| 52 | .remote-form-row { display:flex; align-items:start; gap:12px; } |
| 53 | .remote-form-row > label { flex:1; min-width:0; } |
| 54 | .remote-form-row > .remote-port { flex:0 0 92px; } |
| 55 | .remote-advanced { display:grid; gap:16px; margin-top:16px; } |
| 56 | .remote-directory-picker { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; } |
| 57 | .remote-directory-heading { display: flex; align-items: start; gap: 12px; } |
| 58 | .remote-directory-heading strong { flex: 1; min-width: 0; overflow-wrap: anywhere; } |
| 59 | .remote-directory-list { display: grid; gap: 8px; max-height: 240px; overflow: auto; } |
| 60 | .remote-directory-list button { justify-content: flex-start; text-align: left; overflow-wrap: anywhere; } |
| 61 | |
| 62 | @media(max-width:640px) { |
| 63 | .client-stage:has(.ssh-sidebar) > .client-workbench, .client-stage:has(.ssh-sidebar) > .environment-picker { display:none; } |
| 64 | .ssh-sidebar { flex:1; width:100%; max-width:none; } |
| 65 | .client-toolbar, .local-background { padding:6px 10px; } |
| 66 | .local-background span { display:block; margin:0; } |
| 67 | } |