/* FFui application. Original eDEX-UI keyboard is isolated in its own component.
   System typography, straight panel rules, and real readings throughout. */
:root {
  color-scheme: dark;
  --mono: "SF Mono",Menlo,Consolas,monospace;
  --terminal-font: var(--mono);
  --bg: #05080d;
  --panel: #090e13;
  --ink: #d6e2e4;
  --ink-dim: #93a8ae;
  --muted: #91a4aa;
  --accent: #aacfd1;
  --hairline: #2c3c43;
  --hairline-strong: #607f87;
  --green: #aacfd1;
  --blue: #aacfd1;
  --amber: #ddbc7c;
  --red: #e39c94;
  --violet: #bcc1da;
  --theme-intensity: 1;
}
* {
  box-sizing: border-box;
}
html,body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
}
button,input,select {
  font: inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  border: 1px solid var(--hairline);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  padding: 7px 10px;
  min-height: 32px;
}
button:hover:not(:disabled) {
  background: #17242b;
  border-color: var(--hairline-strong);
}
button:active:not(:disabled) {
  background: #253a43;
}
button:disabled {
  cursor: default;
  color: #70838a;
  opacity: .7;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input,select {
  min-width: 0;
  color: var(--ink);
  background: #05080d;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 8px;
}
input[type=checkbox],input[type=range] {
  accent-color: var(--accent);
}
input[type=checkbox] {
  width: 20px;
  height: 20px;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
h1,h2,h3,p {
  margin: 0;
}
small {
  font-size: 11px;
}
strong,b {
  font-weight: 500;
}
pre,code {
  font-family: var(--mono);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.footnote {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.shell {
  height: 100%;
}
/* Desktop workspace */
.edex-grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: minmax(0,1fr) 33vh;
  gap: 8px;
  padding: 8px;
  height: 100dvh;
}
.edex-panel,.terminal-panel {
  border: 1px solid var(--hairline);
  min-width: 0;
  min-height: 0;
  background: var(--bg);
}
.system-rail {
  grid-column: 1/3;
  grid-row: 1;
}
.terminal-panel {
  grid-column: 3/11;
  grid-row: 1;
}
.network-rail {
  grid-column: 11/13;
  grid-row: 1;
}
.filesystem-panel {
  grid-column: 1/5;
  grid-row: 2;
}
.keyboard-panel {
  grid-column: 5/13;
  grid-row: 2;
}
.system-rail,.network-rail {
  overflow-y: auto;
  scrollbar-width: thin;
}
.edex-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--hairline);
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.edex-strip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.edex-section {
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
}
.edex-section:last-child {
  border-bottom: 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--accent);
  font: 12px/1.4 var(--mono);
  margin: 0 0 9px;
}
.section-title small {
  color: var(--muted);
}
.clock-module {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  gap: 2px;
}
.clock-module>strong {
  font-size: clamp(18px,1.8vw,30px);
  font-weight: 400;
  letter-spacing: -.05em;
}
.clock-module>span {
  font-size: 10px;
}
.clock-module>small {
  font-size: 10px;
  color: var(--muted);
}
.readouts {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  margin: 0;
  gap: 5px 9px;
  font: 10px/1.55 var(--mono);
}
.readouts dt {
  color: var(--muted);
}
.readouts dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.meter {
  height: 3px;
  background: #22323a;
  margin: 7px 0 9px;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width .3s;
}
.metric-detail {
  font: 10px/1.5 var(--mono);
  color: var(--muted);
  margin: 6px 0 12px;
}
.metric-detail:last-child {
  margin-bottom: 0;
}
.terminal-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.terminal-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--hairline);
  padding: 8px 10px;
  flex-wrap: wrap;
}
.terminal-tab {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex: 1;
  white-space: nowrap;
}
.terminal-tab small {
  font-family: var(--mono);
  color: var(--muted);
}
.terminal-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.terminal-actions button {
  font-size: 11px;
  padding: 4px 7px;
  min-height: 28px;
}
.terminal-frame {
  flex: 1;
  min-height: 0;
  padding: 12px;
  background: #05080d;
}
.terminal-stage-grid,.terminal-mainframe,#terminal {
  height: 100%;
  min-height: 0;
  min-width: 0;
}
.xterm {
  height: 100%;
}
.xterm-viewport {
  scrollbar-width: thin;
}
.terminal-statusbar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--hairline);
  padding: 5px 10px;
  color: var(--muted);
  font: 10px/1.4 var(--mono);
}
.terminal-statusbar span:last-child {
  margin-left: auto;
}
.terminal-statusbar span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spark {
  height: 90px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.traffic-svg {
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--hairline);
}
.traffic-line-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.traffic-svg text {
  fill: var(--muted);
  font: 9px var(--mono);
}
#netTotal {
  color: var(--muted);
  display: block;
  overflow-wrap: anywhere;
  font: 9px/1.5 var(--mono);
}
.process-list {
  display: grid;
  gap: 10px;
}
.list-row {
  position: relative;
  display: flex;
  gap: 8px;
  font: 10px/1.4 var(--mono);
}
.row-main {
  min-width: 0;
  flex: 1;
}
.row-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-meta {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.row-value {
  white-space: nowrap;
}
.proc-meter {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline);
}
.proc-meter span {
  display: block;
  height: 1px;
  background: var(--accent);
}
.empty-note {
  color: var(--muted);
  font: 11px/1.6 var(--mono);
  padding: 5px 0;
}
/* Local files */
.filesystem-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fs-toolbar {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 9px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.fs-toolbar button {
  font: 10px var(--mono);
  padding: 4px 6px;
  min-height: 25px;
}
.fs-toolbar span,.fs-toolbar small {
  font: 10px var(--mono);
  color: var(--muted);
  margin-left: auto;
}
.fs-layout {
  flex: 1;
  min-height: 0;
  display: flex;
}
.fs-list {
  min-height: 0;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
}
.fs-row {
  width: 100%;
  display: grid;
  grid-template-columns: 8px minmax(80px,1fr) 48px 48px;
  gap: 8px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #17252c;
  border-radius: 0;
  min-height: 31px;
  padding: 5px 10px;
  font: 11px/1.5 var(--mono);
}
.fs-row i {
  width: 6px;
  height: 6px;
  background: var(--muted);
  align-self: center;
}
.fs-row.kind-directory i {
  background: var(--accent);
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}
.fs-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fs-row small,.fs-row b {
  font: 10px/1.5 var(--mono);
  color: var(--muted);
}
.fs-row em {
  display: none;
}
.fs-row.is-selected {
  background: #20343e;
}
.fs-selection {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding: 5px 10px;
  font: 10px var(--mono);
  color: var(--muted);
  min-height: 24px;
}
.fs-selection>* {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fs-list>.empty-note {
  padding: 16px;
}
.mobile-app-shell {
  display: none;
}
/* Settings and tools use standard, labelled controls. */
.settings-overlay,.diagnostics-overlay,.consent-overlay,.native-permission-overlay {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.settings-overlay.is-open,.diagnostics-overlay.is-open,.consent-overlay.is-open,.native-permission-overlay.is-open {
  display: flex;
}
.settings-panel,.diagnostics-panel,.consent-panel,.native-permission-panel {
  width: min(100%,620px);
  max-height: 90dvh;
  overflow: auto;
  background: #0c1218;
  border: 1px solid var(--hairline-strong);
  padding: 24px;
}
.settings-head,.diagnostics-head,.consent-head,.native-permission-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.settings-head>div,.diagnostics-head>div,.consent-head>div,.native-permission-head>div {
  display: grid;
  gap: 3px;
}
.settings-head span,.diagnostics-head span {
  color: var(--muted);
  font-size: 12px;
}
.settings-head strong,.diagnostics-head strong {
  font-size: 23px;
  font-weight: 500;
}
.settings-grid {
  display: grid;
}
.settings-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.settings-card>span {
  grid-column: 1;
  font-size: 14px;
}
.settings-card>strong {
  grid-column: 1;
  grid-row: 2;
  color: var(--muted);
  font-size: 12px;
}
.settings-card>input,.settings-card>select {
  grid-column: 2;
  grid-row: 1/3;
  max-width: 190px;
}
.settings-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}
.net-lab {
  padding: 20px 0;
}
.net-lab-controls {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: end;
}
.net-lab-actions {
  display: flex;
  gap: 8px;
}
.net-lab-actions button {
  white-space: nowrap;
}
.net-lab-controls label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.net-lab-controls input {
  width: 100%;
}
.net-lab-output {
  margin: 16px 0 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--hairline);
  padding: 12px;
  font-size: 11px;
}
.diagnostics-overlay.has-bonjour-results .diagnostics-panel {
  width: min(100%, 1040px);
  height: 94dvh;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.diagnostics-overlay.has-bonjour-results.has-few-bonjour-results .diagnostics-panel {
  height: auto;
}
.has-few-bonjour-results .tools-content,
.has-few-bonjour-results .net-lab,
.has-few-bonjour-results .bonjour-results,
.has-few-bonjour-results .bonjour-results-list {
  flex: none;
}
.has-few-bonjour-results .bonjour-results-list {
  max-height: 50dvh;
}
.has-bonjour-results .diagnostics-head {
  flex: none;
}
.has-bonjour-results .tools-content,
.has-bonjour-results .net-lab {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.has-bonjour-results .net-lab {
  padding-bottom: 0;
}
.has-bonjour-results .net-lab-controls,
.has-bonjour-results .net-lab>.section-title,
.has-bonjour-results .utility-module {
  display: none;
}
.bonjour-results {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.bonjour-results[hidden] {
  display: none;
}
.bonjour-results-head {
  display: flex;
  flex: none;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
}
.bonjour-results-head>div:first-child {
  display: grid;
  gap: 2px;
  min-width: 160px;
}
.bonjour-results-head strong {
  font-size: 16px;
  font-weight: 500;
}
.bonjour-results-head small,
.bonjour-results-head label,
.bonjour-results-foot {
  color: var(--muted);
  font-size: 12px;
}
.bonjour-results-head label {
  display: grid;
  gap: 5px;
  flex: 1;
  max-width: 340px;
}
.bonjour-results-actions {
  display: flex;
  gap: 8px;
}
.bonjour-results-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--hairline);
  scrollbar-color: var(--hairline-strong) var(--panel);
}
.bonjour-result-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.4;
}
.bonjour-result-row:last-child {
  border-bottom: 0;
}
.bonjour-result-type {
  color: var(--muted);
  font: 12px/1.5 var(--mono);
}
.bonjour-result-name {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.bonjour-results-empty {
  padding: 18px;
  color: var(--muted);
}
.bonjour-results-foot {
  flex: none;
  margin: 10px 0 0;
}
@media (max-width: 700px) {
  .bonjour-results-head {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .bonjour-results-head label {
    max-width: none;
    order: 3;
    flex-basis: 100%;
  }
  .bonjour-result-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.utility-module {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
}
.utility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.utility-module .footnote {
  margin-top: 12px;
}
.consent-copy p,.native-permission-summary p {
  margin: 18px 0;
}
.consent-grid,.native-permission-grid {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}
.consent-grid div {
  display: grid;
  gap: 5px;
}
.consent-grid span {
  color: var(--muted);
  font-size: 11px;
}
.consent-grid strong {
  font-size: 13px;
}
.consent-actions,.native-permission-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.release-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  background: #17232b;
  border: 1px solid var(--hairline-strong);
  padding: 16px;
  width: min(390px,calc(100% - 36px));
  display: none;
}
.release-toast.is-visible,.release-toast.is-open {
  display: block;
}
.release-toast strong,.release-toast span {
  display: block;
}
.release-toast small {
  color: var(--muted);
}
.release-toast button {
  margin-top: 12px;
}
/* Phone: document-like tool lists and a dedicated console. */
@media (max-width:900px) {
  .edex-grid {
    display: none;
  }
  .boot-screen {
    display: none !important;
  }
  .mobile-app-shell {
    height: var(--app-height,100dvh);
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    background: #0b1015;
    padding-top: env(safe-area-inset-top,0px);
  }
  .mobile-app-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline);
    min-height: 66px;
  }
  .mobile-app-brand>div {
    display: flex;
    gap: 12px;
    align-items: baseline;
  }
  .mobile-app-brand span {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.5px;
  }
  .mobile-app-brand strong {
    display: none;
  }
  .mobile-app-live {
    text-align: right;
    display: grid;
    color: var(--muted);
    font: 11px/1.5 var(--mono);
  }
  .mobile-app-live small {
    font: 10px/1.4 var(--mono);
  }
  .mobile-app-main {
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 24px 20px 28px;
    min-height: 0;
    scrollbar-width: thin;
  }
  .mobile-app-page {
    display: none;
  }
  .mobile-app-page.is-active {
    display: block;
  }
  .mobile-app-dock {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    padding: 0 6px env(safe-area-inset-bottom,8px);
    border-top: 1px solid var(--hairline);
    background: #0b1015;
  }
  .mobile-app-dock button {
    border: 0;
    border-top: 2px solid transparent;
    min-height: 58px;
    padding: 10px 3px;
    border-radius: 0;
    font-size: 12px;
    color: var(--muted);
  }
  .mobile-app-dock button.is-active {
    border-top-color: var(--accent);
    color: #e7f0f2;
    background: #152129;
  }
  .page-heading,.mobile-cli-intro,.mobile-radar-intro {
    margin-bottom: 24px;
  }
  .page-heading h1,.mobile-cli-intro h2,.mobile-radar-intro h1 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.65px;
    font-weight: 500;
    margin: 0 0 10px;
  }
  .page-heading p,.mobile-cli-intro p,.mobile-radar-intro p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
  }
  .mobile-cli-intro>div,.mobile-radar-kicker {
    display: flex;
    justify-content: space-between;
    font: 10px/1.5 var(--mono);
    color: var(--muted);
    margin-bottom: 12px;
  }
  .mobile-connection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 14px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    margin: 0 0 12px;
  }
  .mobile-connection dt {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .mobile-connection dd {
    font: 12px var(--mono);
    margin: 0;
  }
  .tool-list {
    margin-bottom: 22px;
  }
  .tool-list button {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 4px 12px;
    min-height: 78px;
    padding: 15px 0;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
  }
  .tool-list strong {
    font-size: 17px;
    font-weight: 500;
  }
  .tool-list small {
    grid-column: 1;
    font-size: 12px;
    color: var(--muted);
  }
  .tool-list span {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    color: var(--muted);
    font-size: 23px;
  }
  .mobile-console-frame {
    border: 1px solid var(--hairline);
    background: #05080d;
  }
  .mobile-console-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hairline);
    font: 11px var(--mono);
    color: var(--muted);
  }
  .mobile-cli-feed {
    height: clamp(160px,36dvh,440px);
    overflow-y: auto;
    padding: 12px;
    scrollbar-width: thin;
  }
  .mobile-cli-entry {
    display: grid;
    grid-template-columns: 10px minmax(0,1fr);
    gap: 6px;
    font: 11px/1.65 var(--mono);
    margin-bottom: 10px;
  }
  .mobile-cli-entry pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
  }
  .mobile-cli-entry.is-command {
    color: var(--accent);
  }
  .mobile-cli-entry.is-note {
    color: var(--muted);
  }
  .mobile-cli-entry.is-error {
    color: var(--red);
  }
  .mobile-command-form {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--hairline);
    padding: 6px 8px;
    gap: 5px;
  }
  .mobile-command-form label {
    color: var(--accent);
  }
  .mobile-command-form input {
    border: 0;
    padding: 10px 4px;
    flex: 1;
    font: 16px var(--mono);
    width: 100%;
  }
  .mobile-command-form button {
    min-height: 42px;
    border: 0;
    color: var(--accent);
    padding: 8px;
  }
  .mobile-cli-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 16px 0;
  }
  .mobile-cli-shortcuts button {
    font: 11px var(--mono);
    min-height: 38px;
  }
  .mobile-cli-reference {
    display: grid;
    gap: 6px;
    font: 11px/1.7 var(--mono);
    color: var(--muted);
  }
  .mobile-network-stats,.about-list {
    display: grid;
    margin: 0 0 24px;
  }
  .mobile-network-stats article,.about-list>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 12px;
    border-bottom: 1px solid var(--hairline);
  }
  .mobile-network-stats span,.about-list dt {
    font-size: 13px;
    color: var(--muted);
  }
  .mobile-network-stats strong,.about-list dd {
    margin: 0;
    font: 12px var(--mono);
    text-align: right;
  }
  .mobile-attention-panel {
    border-top: 1px solid var(--hairline);
    padding-top: 18px;
  }
  .mobile-module-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
  }
  .mobile-attention-panel p {
    font-size: 14px;
    line-height: 1.6;
    margin: 14px 0 20px;
  }
  .mobile-command-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px;
    text-align: left;
    padding: 14px;
  }
  .mobile-command-row small {
    grid-column: 1;
    color: var(--muted);
  }
  .mobile-command-row b {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    color: var(--accent);
  }
  .settings-rows label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 62px;
    border-bottom: 1px solid var(--hairline);
  }
  .about-list {
    margin-top: 24px;
  }
  .settings-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    margin-top: 24px;
  }
  .settings-overlay,.diagnostics-overlay {
    padding: 14px;
  }
  .settings-panel,.diagnostics-panel {
    padding: 20px;
    max-height: 85dvh;
  }
  .settings-card>input[type=range] {
    max-width: 120px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
.filesystem-body,.fs-browser {
  min-height: 0;
  display: flex;
  flex: 1;
  overflow: hidden;
}
.fs-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-top: 1px solid var(--hairline);
  font: 10px var(--mono);
  color: var(--muted);
}
.fs-detail>* {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Reserve the native titlebar area in both windowed and full-screen mode. */
.native-mac .edex-grid {
  padding-top: 38px;
}
/* The marketing page embeds the running web interface. The regular app still
   plays the user-authored startup sequence in full. */
html.site-preview #bootScreen { display: none !important; }
