/* 部署总控 Web · 布局与专属组件（复用 theme.css 的 Polar Precision 令牌） */

/* ── 应用外壳 ── */
/* height 按 --zoom 反向补偿：根元素 zoom<1 会把 100vh 一起缩小，导致底部留白；
   除以缩放系数后再被 zoom 缩回，正好铺满视口。--zoom 默认 1（未缩放）。 */
.shell { display: flex; height: calc(100vh / var(--zoom, 1)); position: relative; z-index: 1; }
.sidebar {
  width: 216px; flex: none; display: flex; flex-direction: column;
  background: rgba(var(--glass-rgb), .7); border-right: 1px solid var(--border);
  backdrop-filter: blur(8px); transition: transform .28s var(--ease-premium);
}
.side-brand { height: 56px; padding: 0 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.logo { width: 32px; height: 32px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(145deg, var(--accent-grad-a), var(--accent-grad-b)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.side-name { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.side-name small { display: block; font-size: 10px; font-weight: 500; color: var(--text-3); letter-spacing: .04em; }
.side-nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.nav-group { margin-bottom: 16px; }
.nav-eyebrow { padding: 0 10px 8px; font-size: 10px; }
.nav-item { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 11px; border-radius: 9px;
  color: var(--text-2); text-decoration: none; font-weight: 520; position: relative; cursor: pointer;
  background: none; border: 0; width: 100%; text-align: left; font-family: inherit; font-size: 13px;
  transition: background .16s, color .16s; }
.nav-item:hover { background: var(--surface-2); color: var(--text-1); }
.nav-item.active { background: var(--accent-dim); color: var(--accent); font-weight: 600; }
.nav-item.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.nav-ico { display: flex; flex: none; }
.nav-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-family: var(--mono);
  font-size: 11px; display: flex; align-items: center; justify-content: center; }
.nav-badge.run { color: #03161B; background: var(--accent); }
.side-foot { padding: 10px 12px; border-top: 1px solid var(--border); }
.health-card { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(var(--glass-rgb), .5); }
.health-title { display: flex; align-items: center; gap: 7px; }
.health-title b { font-size: 12px; font-weight: 580; }
.health-title .mono { margin-left: auto; font-size: 10px; }
.live-i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--st-online); position: relative; }
.live-i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: side-beat 1.9s var(--ease-premium) infinite; }
.live-i.off { background: var(--st-offline); }
.live-i.off::after { animation: none; }
@keyframes side-beat { to { transform: scale(2.6); opacity: 0; } }
html.reduce-motion .live-i::after { animation: none; }
.health-metric { margin-top: 10px; }
.health-metric .line { display: flex; justify-content: space-between; color: var(--text-2); font-size: 11px; }
.health-metric .line b { color: var(--text-1); font-size: 11px; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.topbar { height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
  border-bottom: 1px solid var(--border); background: rgba(var(--glass-rgb), .6); backdrop-filter: blur(8px); }
.crumb { display: flex; align-items: center; gap: 6px; min-width: 0; }
.crumb-root { font-size: 13px; color: var(--text-3); }
.crumb-sep { color: var(--text-3); font-size: 13px; }
.crumb-cur { font-size: 15px; font-weight: 620; letter-spacing: -.02em; }
.content { flex: 1; overflow-y: auto; padding: 24px; }
.acontent { max-width: 1080px; margin: 0 auto; }

/* ── 通用控件 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 15px;
  border: 1px solid var(--border-strong); background: var(--surface-1); color: var(--text-1); border-radius: 10px;
  font-family: inherit; font-size: 13px; font-weight: 560; cursor: pointer;
  transition: transform .3s var(--ease-premium), box-shadow .3s, border-color .2s, background .2s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); }
.btn:active:not(:disabled) { transform: scale(.975); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.sm { height: 28px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn-primary { color: #fff; border-color: var(--accent);
  background: linear-gradient(145deg, var(--accent-grad-a), var(--accent-grad-b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 14px 28px -20px rgba(var(--accent-rgb),.75); }
.btn-primary:hover:not(:disabled) { color: #fff; }
html.dark .btn-primary { color: #03161B; }
.btn-danger { color: #fff; border-color: var(--danger); background: linear-gradient(145deg, #E45B67, #C83544); }
.btn-danger:hover:not(:disabled) { color: #fff; border-color: var(--danger); }
.btn-ghost { background: transparent; border-color: transparent; }
.icon-btn { width: 34px; height: 34px; flex: none; border: 1px solid transparent; background: transparent; border-radius: 9px;
  color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .16s, color .16s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text-1); }

.inp { height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(var(--glass-rgb),.72);
  box-shadow: inset 0 0 0 1px var(--border); color: var(--text-1); font-family: inherit; font-size: 13px; width: 100%; }
.inp:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent), var(--ring); }
.inp.mono { font-family: var(--mono); }
label.field { display: flex; flex-direction: column; gap: 6px; }
label.field > span { font-size: 12px; color: var(--text-2); font-weight: 540; }

/* 分段控件 */
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 11px; background: rgba(238,244,246,.72); gap: 2px; }
html.dark .seg { background: rgba(8,12,18,.5); }
.seg button { border: 0; background: transparent; color: var(--text-2); height: 28px; padding: 0 13px; border-radius: 8px;
  font-family: inherit; font-size: 12px; font-weight: 540; cursor: pointer; transition: background .16s, color .16s; }
.seg button.on { color: #fff; background: var(--accent); }
html.dark .seg button.on { color: #03161B; }

/* 开关 */
.sw { width: 40px; height: 23px; border-radius: 999px; border: 0; background: var(--surface-3); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease-premium); }
.sw.on { background: var(--accent); }
.sw.on::after { transform: translateX(17px); }
.sw:disabled { opacity: .45; cursor: not-allowed; }
.sw.sm { width: 32px; height: 18px; }
.sw.sm::after { width: 13px; height: 13px; top: 2.5px; left: 2.5px; }
.sw.sm.on::after { transform: translateX(14px); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn.danger-hover:hover { color: var(--danger); background: rgba(217,71,84,.1); }

/* 状态徽标 */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 540;
  background: var(--surface-2); color: var(--text-2); }
.chip.ok { background: rgba(13,157,114,.12); color: var(--success); }
.chip.warn { background: rgba(197,138,29,.14); color: var(--warning); }
.chip.bad { background: rgba(217,71,84,.12); color: var(--danger); }
.chip.run { background: var(--accent-dim); color: var(--accent); }

/* ── 状态总览卡 ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { padding: 15px 16px; display: flex; flex-direction: column; gap: 8px; }
.stat-card .stat-top { display: flex; align-items: center; gap: 8px; }
.stat-card .stat-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.stat-card .stat-val { font-size: 19px; font-weight: 680; letter-spacing: -.02em; }
.stat-card .stat-sub { font-size: 11px; color: var(--text-3); font-family: var(--mono); min-height: 14px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 步骤流水线 ── */
.pipe { display: flex; flex-direction: column; gap: 0; }
.step { position: relative; display: flex; gap: 14px; padding: 14px 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 44px; bottom: -14px; width: 2px; background: var(--border); }
.step.done:not(:last-child)::before { background: var(--success); opacity: .5; }
.step-num { width: 36px; height: 36px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 640; font-size: 14px; background: var(--surface-2); color: var(--text-2);
  border: 1px solid var(--border); z-index: 1; }
.step.done .step-num { background: rgba(13,157,114,.12); color: var(--success); border-color: transparent; }
.step.run .step-num { background: var(--accent); color: #fff; border-color: transparent; }
html.dark .step.run .step-num { color: #03161B; }
.step-body { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: rgba(var(--glass-rgb),.55); padding: 13px 15px; }
.step.run .step-body { border-color: var(--accent); box-shadow: var(--ring); }
.step-head { display: flex; align-items: center; gap: 10px; }
.step-title { font-size: 14px; font-weight: 600; }
.step-tag { font-size: 11px; padding: 1px 7px; border-radius: 5px; background: var(--surface-2); color: var(--text-3); font-family: var(--mono); }
.step-desc { font-size: 12px; color: var(--text-2); margin-top: 3px; line-height: 1.5; }
.step-actions { display: flex; align-items: center; gap: 10px; margin-top: 11px; flex-wrap: wrap; }
.step-opts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: 1; min-width: 0; }
.opt { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.opt .inp { height: 30px; width: 200px; max-width: 100%; }
.step-last { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--text-2); }
.step-log { color: var(--accent); cursor: pointer; font-size: 12px; }
.step-log:hover { text-decoration: underline; }
.need-msg { font-size: 12px; color: var(--warning); margin-left: auto; margin-right: 8px; }

/* ── 总控台：旅程条 + 下一步 hero ── */
.journey { display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 4px 2px; }
.jn { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: none; }
.jn-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 640; font-size: 13px; background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border); }
.jn.done .jn-dot { background: rgba(13,157,114,.14); color: var(--success); border-color: transparent; }
.jn.run .jn-dot { background: var(--accent); color: #fff; border-color: transparent; }
html.dark .jn.run .jn-dot { color: #03161B; }
.jn-label { font-size: 12px; color: var(--text-2); font-weight: 540; }
.jn.done .jn-label, .jn.run .jn-label { color: var(--text-1); }
.jn-line { flex: 1; min-width: 24px; height: 2px; background: var(--border); border-radius: 2px; }
.jn-line.done { background: var(--success); opacity: .5; }

.card.hero { border-color: var(--accent); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--accent-dim); }
.card.hero.err { border-color: var(--danger); }
.hero-top { margin-bottom: 8px; }
.hero-title { font-size: 18px; font-weight: 640; letter-spacing: -.02em; }
.hero-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.hero-btn { height: 40px; padding: 0 22px; font-size: 14px; flex: none; }

.manifest { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow-y: auto; background: var(--surface-2);
  border-radius: 8px; padding: 10px 12px; }

/* ── 容器终端页 ── */
.term-card { padding: 0; overflow: hidden; }
.term-host { height: 62vh; min-height: 340px; padding: 8px 10px; background: #0A0C10; }
html.dark .term-host { background: #0B1018; }
.term-idle { padding: 60px 16px; text-align: center; color: var(--text-3); font-size: 13px; }
.term-page .acontent, .term-page { max-width: 1100px; }

/* ── 命令面板 ── */
.cmdk-mask { position: fixed; inset: 0; z-index: 60; background: rgba(25,45,55,.28); backdrop-filter: blur(2px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.cmdk { width: min(600px, 92vw); background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: var(--shadow-pop); overflow: hidden; }
.cmdk-input { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.cmdk-input input { flex: 1; border: 0; background: transparent; outline: none; font-family: inherit; font-size: 15px; color: var(--text-1); }
.cmdk-input kbd { font-family: var(--mono); font-size: 11px; color: var(--text-3); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }
.cmdk-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.cmdk-empty { padding: 24px; text-align: center; color: var(--text-3); font-size: 13px; }
.cmdk-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 9px 11px; border-radius: 9px; cursor: pointer; color: var(--text-1); font-family: inherit; font-size: 13px; }
.cmdk-item.sel { background: var(--accent-dim); }
.cmdk-item.dis { opacity: .4; cursor: not-allowed; }
.ci-k { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 5px; flex: none; }
.ci-k.nav { background: var(--surface-3); color: var(--text-2); }
.ci-k.act { background: var(--accent-dim); color: var(--accent); }
.ci-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-hint { font-size: 11px; color: var(--text-3); }
.cmdk-hint { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 10px; padding: 8px 11px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--text-2);
  cursor: pointer; font-family: inherit; font-size: 12px; transition: background .16s, color .16s; }
.cmdk-hint:hover { background: var(--surface-3); color: var(--text-1); }
.cmdk-hint kbd { margin-left: auto; font-family: var(--mono); font-size: 10px; border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }

/* ── 确认弹窗 ── */
.modal-mask { position: fixed; inset: 0; z-index: 50; background: rgba(25,45,55,.42); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { width: min(480px, 92vw); background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow-pop); overflow: hidden; }
.modal-head { padding: 16px 18px 10px; font-size: 15px; font-weight: 620; }
.modal-head.danger { color: var(--danger); }
.modal-body { padding: 0 18px 16px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* 淡入淡出 */
.fade-enter-active, .fade-leave-active { transition: opacity .18s var(--ease-premium); }
.fade-enter-from, .fade-leave-to { opacity: 0; }
html.reduce-motion .fade-enter-active, html.reduce-motion .fade-leave-active { transition: none; }

/* ── 日志坞：子工具行 ── */
.log-sub { flex: none; display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--border); background: rgba(var(--glass-rgb),.5); }
.log-filter { flex: 1; display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-3); }
.log-filter input { flex: 1; border: 0; background: transparent; outline: none; font-family: var(--mono); font-size: 12px; color: var(--text-1); }
.log-follow { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.lh-time { font-size: 11px; color: var(--text-3); margin-left: 2px; }

/* ── 日志控制台（右侧停靠 + 左缘拖拽调宽） ── */
.logdock { position: relative; flex: none; width: 460px; border-left: 1px solid var(--border);
  background: rgba(var(--glass-rgb),.8); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; overflow: hidden; transition: width .24s var(--ease-premium); }
.logdock.dragging { transition: none; }
.logdock.collapsed { width: 46px; }
/* 左缘拖拽把手 */
.log-resize { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 3; cursor: col-resize; }
.log-resize::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .16s; }
.log-resize:hover::before, .logdock.dragging .log-resize::before { background: var(--accent); }
.logdock.collapsed .log-resize { display: none; }
/* 折叠竖条 */
.log-rail { width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; transition: background .16s; }
.log-rail:hover { background: var(--surface-2); color: var(--text-1); }
.log-rail .rail-label { writing-mode: vertical-rl; letter-spacing: .18em; font-size: 12px; font-weight: 560; }
.log-rail .rail-dot { margin-top: auto; }
.log-head { height: 44px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--border); }
.log-head .lh-title { font-size: 13px; font-weight: 580; display: flex; align-items: center; gap: 8px; min-width: 0; }
.log-head .lh-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-body { flex: 1; overflow-y: auto; background: #0A0C10; color: #C9D6DE; font-family: var(--mono); font-size: 12px; line-height: 1.55;
  padding: 12px 16px; white-space: pre-wrap; word-break: break-word; }
.log-body .ln { display: block; }
.log-body .ln.cmd { color: #7C8B96; }
.log-body .ln.ok { color: #5BE0A8; }
.log-body .ln.warn { color: #F2C14E; }
.log-body .ln.err { color: #FF6B7A; }
.log-body .ln.live::after { content: "▋"; color: var(--accent); margin-left: 1px; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
html.reduce-motion .log-body .ln.live::after { animation: none; }
.log-empty { color: #5b6b76; padding: 20px 0; text-align: center; }
.spin { width: 13px; height: 13px; border: 2px solid rgba(var(--accent-rgb),.3); border-top-color: var(--accent); border-radius: 50%;
  display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
html.reduce-motion .spin { animation: none; }

/* ── 产物 / 运行记录列表 ── */
.frow { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.frow:last-child { border-bottom: 0; }
.frow .fname { font-family: var(--mono); font-size: 13px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow .fsize { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.frow .ftime { font-family: var(--mono); font-size: 11px; color: var(--text-3); white-space: nowrap; }
.run-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.run-row:last-child { border-bottom: 0; }
.run-row:hover { background: var(--surface-2); }
.run-row .rr-title { font-size: 13px; font-weight: 540; }
.run-row .rr-cmd { font-family: var(--mono); font-size: 11px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 设置 ── */
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.set-row:last-child { border-bottom: 0; }
.set-row .set-label { font-weight: 560; }
.set-row .set-hint { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.scale-ctl { display: flex; align-items: center; gap: 12px; }
.scale-ctl input[type=range] { width: 160px; accent-color: var(--accent); }

/* ── Toast：浮在主内容区（日志栏左侧）右上角，而非整个视口 ── */
.toasts { position: absolute; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toasts .toast { pointer-events: auto; }
.toast { padding: 10px 14px; border-radius: 10px; background: var(--surface-1); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2); font-size: 13px; display: flex; align-items: center; gap: 9px; min-width: 220px; max-width: 360px;
  animation: toast-in .3s var(--ease-premium); }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.toast.ok { border-left: 3px solid var(--success); }
.toast.err { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--accent); }

/* 顶栏移动端按钮 */
.nav-toggle { display: none; }
.nav-mask { position: fixed; inset: 0; z-index: 18; background: rgba(25,45,55,.24); backdrop-filter: blur(1px); }

/* ── 移动端 ── */
@media (max-width: 767px) {
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 240px; z-index: 20; transform: translateX(-100%); box-shadow: var(--shadow-2); }
  .sidebar.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .topbar { height: 48px; padding: 0 10px; }
  .content { padding: 12px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .step-opts .inp { width: 100%; }

  /* 窄屏退化为底部停靠：全宽，展开占屏下半，折叠只留标题条 */
  .shell { flex-direction: column; }
  .logdock { width: 100% !important; border-left: 0; border-top: 1px solid var(--border);
    transition: height .24s var(--ease-premium); }
  .logdock:not(.collapsed) { height: 48vh; }
  .logdock.collapsed { width: 100% !important; height: 44px; }
  .log-resize { display: none; }
  .log-rail { flex-direction: row; gap: 10px; padding: 0 16px; justify-content: flex-start; }
  .log-rail .rail-label { writing-mode: horizontal-tb; letter-spacing: .04em; }
  .log-rail .rail-dot { margin-top: 0; margin-left: auto; }
}
