/* VMPal Fleet's console, after site.css, without the site's nav and footer: a web app. Signed out, adding a first
   passkey or in no organization, one card in the middle of the screen (.fl-gate); signed in, a sidebar on the left
   edge and the chosen tab filling the rest (.fl-app). */

.fleet-page { --fl-side: 248px; display: block; background: var(--vp-paper); }
/* A tool's controls, smaller than the site's pages': medium buttons and fields, and every row of buttons to the right,
   the main one last. */
.fleet-page .vp-button { min-height: 34px; padding: 6px 14px; gap: 7px; border-radius: 9px; font-size: 13px; }
.fleet-page .vp-button:hover { transform: none; }
.fleet-page .vp-button-small { min-height: 28px; padding: 3px 10px; border-radius: 8px; font-size: 12px; }
.fleet-page .vp-buttons { gap: 8px; }
.fleet-page .vp-buttons-start { justify-content: flex-end; }
.fleet-page .vp-input { height: 34px; padding: 0 11px; border-radius: 9px; font-size: 14px; }
/* No focus rings in the console (the user's choice): a field shows it's being typed in by its border alone. */
.fleet-page :focus-visible { outline: none; }
.fleet-page .vp-input:focus { box-shadow: none; }
.fleet-page .vp-field { gap: 5px; }
.fleet-page .vp-field + .vp-field { margin-top: 12px; }
.fleet-page .vp-label { font-size: 13px; }
.fl-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--vp-ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.fl-brand:hover { color: var(--vp-ink); text-decoration: none; }
.fl-brand img { border-radius: 8px; }
.fl-brand span { color: var(--vp-muted); font-weight: 400; white-space: nowrap; }

/* The gate */
.fl-gate { display: grid; place-items: center; min-height: 100vh; padding: 40px 16px; }
.fl-gate[hidden] { display: none; }
.fl-gate-card { width: min(460px, 100%); }
.fl-gate .vp-panel { padding: 22px 24px; border-radius: 16px; }
.fl-gate-head { text-align: center; }
.fl-gate-title { margin-top: 16px; color: var(--vp-ink); font-size: clamp(30px, 4.5vw, 38px); font-weight: 300; line-height: 1.1; letter-spacing: -.035em; }
.fl-lede { margin-top: 8px; color: var(--vp-muted); font-size: 14px; line-height: 1.55; }
.fl-gate-foot { display: flex; justify-content: center; margin-top: 20px; }

/* Shared pieces */
.fl-panel { margin-top: 20px; }
.fl-h2 { font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.fl-note { margin-top: 6px; color: var(--vp-muted); font-size: 13px; line-height: 1.5; max-width: 680px; }
.fl-note strong { color: var(--vp-ink); font-weight: 500; }
.fl-actions { margin-top: 14px; }
.fl-error { margin-top: 16px; padding: 8px 12px; border: 1px solid var(--vp-red); border-radius: 10px; background: var(--vp-red-tint); color: var(--vp-ink); font-size: 13px; }
.fl-success { margin-top: 12px; padding: 8px 12px; border: 1px solid var(--vp-green); border-radius: 10px; background: var(--vp-green-tint); color: var(--vp-ink); font-size: 13px; }
.fl-code-input, .fl-join-code { font-family: var(--vp-mono); font-size: 15px; letter-spacing: .1em; }
.fl-join-code { max-width: 200px; }
#fl-code-note, #fl-email-code-text { margin: 0 0 14px; }
.fl-vm-hardware { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.fl-vm-hardware .vp-field + .vp-field { margin-top: 0; }
#fl-vm-system-note { margin: 8px 0 18px; }
.fl-vmcard.is-problem .fl-vmstate { min-width: 0; color: var(--vp-red); }
.fl-vmstate-text { overflow: hidden; text-overflow: ellipsis; }
.fl-join-code { text-transform: uppercase; }
.fl-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.fl-inline .vp-field { margin: 0; }
.fl-link { padding: 0; border: 0; background: none; color: var(--vp-blue-bright); font: inherit; cursor: pointer; }
.fl-link:hover { text-decoration: underline; }
.fl-approve { margin-top: 8px; }
.fl-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; margin: 12px 0; padding: 10px 14px; border: 1px solid var(--vp-line); border-radius: 10px; background: var(--vp-sunk); font-size: 13px; }
.fl-details:first-child { margin-top: 0; }
.fl-details dt { color: var(--vp-muted); }
.fl-details dd { margin: 0; color: var(--vp-ink); overflow-wrap: anywhere; }
.fl-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.fl-section-head .fl-h2 { margin: 0; }
.fl-muted { color: var(--vp-muted); white-space: nowrap; }
.fl-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The app: the sidebar, fixed on the left edge */
.fl-app[hidden] { display: none; }
.fl-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--fl-side); display: flex; flex-direction: column; gap: 16px; padding: 16px 12px 12px; border-right: 1px solid var(--vp-line); background: var(--vp-paper-2); overflow-y: auto; overscroll-behavior: contain; }
.fl-sidebar > .fl-brand { padding: 2px 10px; }
.fl-side-org { display: grid; gap: 5px; padding: 10px 12px; border: 1px solid var(--vp-line); border-radius: 10px; background: var(--vp-card); }
.fl-org-name { color: var(--vp-ink); font-size: 14px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.fl-side-org-head { display: flex; align-items: center; gap: 8px; }
.fl-side-org-head .fl-org-name, .fl-side-org-head .fl-org { flex: 1; min-width: 0; }
.fl-update-plan { flex: none; font-size: 12px; }
/* Menus draw their own chevron (--vp-muted), 13px in from the edge: the system's sat against it */
.fleet-page select.vp-input { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a8c93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 13px center; background-size: 10px 6px; background-repeat: no-repeat; }
.fl-org-select { height: 30px; padding-top: 3px; padding-bottom: 3px; font-size: 13px; }
.fl-seats { color: var(--vp-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fl-meter { height: 4px; border-radius: 4px; background: var(--vp-line-strong); overflow: hidden; }
.fl-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--vp-green); transition: width .3s ease; }
.fl-meter span.is-full { background: var(--vp-amber); }
.fl-tabs { display: grid; gap: 2px; }
.fl-tab { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; color: var(--vp-muted); font-size: 13px; line-height: 1.35; text-decoration: none; }
.fl-tab[hidden] { display: none; }
button.fl-tab { width: 100%; border: 0; background: none; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.fl-tab:hover { background: rgba(255, 255, 255, .04); color: var(--vp-ink); text-decoration: none; }
.fl-tab[aria-current="page"] { background: var(--vp-card-2); color: var(--vp-ink); font-weight: 500; }
.fl-tab svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fl-tab-count { margin-left: auto; color: var(--vp-faint); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.fl-side-foot { display: grid; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--vp-line); }
.fl-tab-account { align-items: center; }
.fl-tab-text { display: grid; min-width: 0; }
.fl-tab-sub { color: var(--vp-faint); font-size: 12px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-side-foot .language-menu { padding: 2px 10px; }
.fl-side-foot .language-menu summary { font-size: 13px; }
.fl-side-foot .language-menu ul { top: auto; right: auto; bottom: calc(100% + 8px); left: 0; }
.fl-gate-foot .language-menu ul { top: auto; bottom: calc(100% + 8px); right: 50%; transform: translateX(50%); }

/* The view: everything right of the sidebar; each tab's title bar sticks to the top. */
.fl-view { margin-left: var(--fl-side); min-height: 100vh; }
.fl-mobile-bar { display: none; }
.fl-content { padding: 0 28px 48px; }
.fl-content > .fl-error, .fl-content-alert { margin: 14px 0 0; }
.fl-content-head { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 -28px; padding: 14px 28px 12px; border-bottom: 1px solid var(--vp-line); background: rgba(19, 20, 22, .92); backdrop-filter: saturate(140%) blur(14px); }
.fl-content-title { color: var(--vp-ink); font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.fl-content-sub { margin-top: 2px; max-width: 760px; color: var(--vp-muted); font-size: 13px; line-height: 1.45; }
.fl-head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fl-filter { position: relative; }
.fl-filter svg { position: absolute; top: 50%; left: 10px; width: 15px; height: 15px; transform: translateY(-50%); fill: none; stroke: var(--vp-faint); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.fl-filter .vp-input { width: 240px; height: 32px; padding: 4px 10px 4px 31px; font-size: 13px; }
/* Computers' second row: a status each, with its count, then the system and Export CSV on the right. */
.fl-toolbar { display: flex; flex-basis: 100%; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fl-segments { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; border: 1px solid var(--vp-line); border-radius: 9px; background: var(--vp-sunk); }
.fl-segment { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--vp-muted); font: inherit; font-size: 12.5px; cursor: pointer; }
.fl-segment:hover { color: var(--vp-ink); }
.fl-segment[aria-pressed="true"] { background: var(--vp-card-2); color: var(--vp-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.fl-segment-count { color: var(--vp-faint); font-variant-numeric: tabular-nums; }
.fl-segment[data-status="attention"] .fl-segment-count:not(:empty) { color: var(--vp-amber); }
.fl-toolbar-end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fl-toolbar-end .fl-small-select { min-width: 130px; height: 30px; }
.fl-toolbar-end .vp-button-small { min-height: 30px; }
.fl-content .vp-panel { padding: 16px 18px; border-radius: 12px; }
.fl-tabpanel > .fl-panel { margin-top: 16px; }
.fl-tabpanel > .fl-panel + .fl-panel { margin-top: 12px; }
/* Forms and settings read better narrow; the computers take the whole width. */
.fl-tabpanel[data-panel="add"] > .fl-panel, .fl-tabpanel[data-panel="tokens"] > .fl-panel { max-width: 720px; }
.fl-hosts-panel { padding-top: 8px !important; }
.fl-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px dashed var(--vp-line-strong); border-radius: 12px; }
.fl-empty .fl-actions { margin: 0; }
.fl-empty .fl-note { margin-top: 0; }
.fl-token-list:not(:empty) { margin-top: 10px; }

/* Narrow screens: the sidebar slides in over the view from a menu button. */
@media (max-width: 960px) {
  .fl-sidebar { transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; box-shadow: 0 0 60px rgba(0, 0, 0, .6); }
  .fl-menu-open .fl-sidebar { transform: none; visibility: visible; transition: transform .2s ease; }
  .fl-scrim { position: fixed; z-index: 30; inset: 0; background: rgba(0, 0, 0, .5); }
  .fl-view { margin-left: 0; }
  .fl-mobile-bar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--vp-line); background: rgba(19, 20, 22, .95); backdrop-filter: blur(14px); }
  .fl-menu-button { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-left: -8px; border: 0; border-radius: 9px; background: transparent; color: var(--vp-ink); cursor: pointer; }
  .fl-menu-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .fl-mobile-title { color: var(--vp-ink); font-size: 15px; font-weight: 500; }
  .fl-content { padding: 0 16px 48px; }
  .fl-content-head { position: static; margin: 0; padding: 12px 0; background: none; backdrop-filter: none; }
  /* The bar above already names the tab. */
  .fl-content-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fl-content-sub { margin-top: 0; }
  .fl-title-only { padding: 0; border: 0; }
  .fl-content .vp-panel { padding: 14px; }
}
@media (max-width: 640px) {
  .fl-head-actions, .fl-filter { width: 100%; }
  .fl-filter .vp-input { width: 100%; }
  .fl-details { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .fl-details dd + dt { margin-top: 8px; }
}

/* Lists: enrollment tokens and passkeys */
.fl-tree { list-style: none; margin: 0; padding: 0; }
.fl-host { padding: 8px 0; border-bottom: 1px solid var(--vp-line); }
.fl-host:last-child { border-bottom: 0; }
.fl-host-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.fl-host-main { display: grid; gap: 0; min-width: 0; flex: 1 1 220px; }
.fl-host-main strong { color: var(--vp-ink); font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.fl-meta { color: var(--vp-muted); font-size: 12.5px; }
.fl-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fl-chip { padding: 1px 8px; border: 1px solid var(--vp-line); border-radius: 999px; color: var(--vp-muted); font-size: 11.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* A computer's chips are as tall as its menu button beside them. */
.fl-hostcard-side .fl-chip { display: inline-flex; align-items: center; box-sizing: border-box; height: 30px; padding: 0 11px; font-size: 12px; }
.fl-chip.is-ok { border-color: var(--vp-green); color: var(--vp-green); }
.fl-chip.is-warn { border-color: var(--vp-amber); color: var(--vp-amber); }
.fl-small-select { width: auto; min-width: 150px; height: 30px; padding-top: 3px; padding-bottom: 3px; font-size: 13px; }

/* Computers: groups of cards, one per computer, each with a grid of its VMs */
.fl-hosts-wrap { margin-top: 16px; }
.fl-buckets { display: grid; gap: 22px; }
.fl-bucket[hidden] { display: none; }
.fl-bucket-head { display: flex; align-items: center; gap: 6px; min-height: 24px; margin-bottom: 6px; }
.fl-bucket-empty { margin: 0 0 4px; }
.fl-bucket-title { margin: 0; color: var(--vp-muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.fl-count { color: var(--vp-faint); }
.fl-hostcards { display: grid; gap: 10px; }
.fl-hostcard { padding: 14px 16px; border: 1px solid var(--vp-line); border-radius: 14px; background: linear-gradient(180deg, #1b1c1f, #17181b); box-shadow: var(--vp-shadow); }
.fl-hostcard[hidden] { display: none; }
.fl-hostcard-head { display: flex; align-items: center; gap: 12px; }
.fl-host-os { width: 40px; height: 40px; border-radius: 11px; }
/* Selecting computers: a box by each, and a bar of what's done to them all at the bottom of the view */
.fl-select { flex: none; width: 16px; height: 16px; margin: 0 -2px 0 0; accent-color: var(--vp-blue); cursor: pointer; }
.fl-hostcard.is-selected { border-color: rgba(145, 198, 249, .55); box-shadow: 0 0 0 1px rgba(145, 198, 249, .25), var(--vp-shadow); }
.fl-selection { position: fixed; z-index: 40; bottom: 18px; left: calc(var(--fl-side) + (100vw - var(--fl-side)) / 2); display: flex; width: max-content; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: calc(100vw - var(--fl-side) - 32px); padding: 8px 8px 8px 16px; border: 1px solid var(--vp-line-strong); border-radius: 14px; background: rgba(32, 33, 37, .97); box-shadow: 0 22px 50px -12px rgba(0, 0, 0, .8); transform: translateX(-50%); font-size: 13px; }
.fl-selection[hidden] { display: none; }
.fl-selecting .fl-content { padding-bottom: 96px; }
.fl-selection-count { color: var(--vp-ink); font-weight: 500; white-space: nowrap; }
.fl-selection-link { padding: 0; border: 0; background: none; color: var(--vp-blue-bright); font: inherit; cursor: pointer; }
.fl-selection-link:hover { text-decoration: underline; }
.fl-selection-divider { width: 1px; height: 20px; background: var(--vp-line-strong); }
.fl-selection .fl-small-select { min-width: 150px; height: 30px; }
.fl-selection .vp-button-small { min-height: 30px; }
.fl-selection .vp-button:disabled { opacity: .45; cursor: default; }
.fl-danger-text { color: var(--vp-red) !important; }
.fl-selection-close { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--vp-muted); cursor: pointer; }
.fl-selection-close:hover { background: rgba(255, 255, 255, .06); color: var(--vp-ink); }
.fl-selection-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 960px) {
  .fl-selection { left: 50%; max-width: calc(100vw - 24px); }
}
/* Each system as VMPal's Dock draws it: a colored tile with a white mark. */
.fl-os { display: inline-grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(0, 0, 0, .35); }
.fl-os svg { width: 54%; height: 54%; fill: currentColor; }
.fl-os .fl-stroke { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fl-os-macos { background: linear-gradient(180deg, #55d978, #22a447); }
.fl-os-macos svg { width: 46%; height: 46%; margin-top: -2px; }
.fl-os-windows { background: linear-gradient(180deg, #66abf3, #2b72cf); }
.fl-os-windows svg { width: 52%; height: 52%; }
.fl-os-linux { background: linear-gradient(180deg, #eeaa69, #c27238); }
.fl-os-linux svg { width: 62%; height: 62%; }
.fl-hostcard-title { display: grid; flex: 1; gap: 1px; min-width: 0; }
.fl-hostcard-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.fl-hostcard-model { color: var(--vp-muted); font-size: 13px; }
.fl-hostcard-name h4 { margin: 0; color: var(--vp-ink); font-size: 15px; font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fl-status { display: inline-flex; align-items: center; gap: 6px; color: var(--vp-faint); }
.fl-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fl-status.is-online { border-color: rgba(117, 216, 183, .45); color: var(--vp-green); }
.fl-hostcard-side { display: flex; flex: 0 1 auto; justify-content: flex-end; max-width: 50%; }
.fl-hostcard-side .fl-chips { justify-content: flex-end; }
.fl-hostcard-head > .fl-more { flex: none; }
.fl-more { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--vp-line-strong); border-radius: 8px; background: var(--vp-card-2); color: var(--vp-soft); cursor: pointer; }
.fl-more:hover, .fl-more[aria-expanded="true"] { border-color: rgba(255, 255, 255, .24); color: var(--vp-ink); }
.fl-more svg { width: 16px; height: 16px; fill: currentColor; }
.fl-more-small { width: 24px; height: 24px; border-color: transparent; border-radius: 6px; background: none; color: var(--vp-faint); }
.fl-more-small:hover, .fl-more-small[aria-expanded="true"] { border-color: var(--vp-line-strong); background: var(--vp-card-2); }
.fl-host-problem { margin: 8px 0 0 52px; color: var(--vp-amber); font-size: 12.5px; }

.fl-vmblock { margin-top: 12px; }
.fl-vmblock > .fl-note { margin-top: 0; }
.fl-vm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 28px; }
.fl-vm-filter.vp-input { width: 170px; height: 26px; padding: 0 9px; border-radius: 7px; font-size: 12.5px; }
/* The VMs' states, by the VMs, on the right. */
.fl-vm-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 14px; margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.fl-vm-summary .fl-vmstate.is-on { color: var(--vp-green); }
.fl-vm-summary .fl-vmstate.is-busy { color: var(--vp-amber); }
.fl-vm-limit { padding-left: 14px; border-left: 1px solid var(--vp-line); color: var(--vp-muted); cursor: help; }
.fl-vm-limit.is-full { color: var(--vp-amber); }
.fl-vm-none { margin-top: 8px; }
.fl-vm-toggle { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px 1px 0; border: 0; border-radius: 6px; background: none; color: var(--vp-muted); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.fl-vm-toggle:hover { color: var(--vp-ink); }
.fl-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.fl-vm-toggle[aria-expanded="false"] .fl-chevron { transform: rotate(-90deg); }
.fl-vm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.fl-vm-grid[hidden], .fl-vm-grid > li[hidden] { display: none; }
.fl-vmcard { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 8px 10px; width: 100%; height: 100%; padding: 9px 10px; border: 1px solid var(--vp-line); border-radius: 10px; background: var(--vp-sunk); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.fl-vmcard:hover { border-color: var(--vp-line-strong); background: #141518; }
.fl-vmcard[aria-expanded="true"] { border-color: var(--vp-blue); background: #14171c; }
.fl-vmcard-os { width: 28px; height: 28px; border-radius: 8px; }
.fl-vmcard-text { display: grid; align-content: center; gap: 0; min-width: 0; }
.fl-vmcard-name { overflow: hidden; color: var(--vp-ink); font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.fl-vmcard-system { overflow: hidden; color: var(--vp-faint); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.fl-vmcard-foot { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.fl-vmstate { display: inline-flex; align-items: center; gap: 6px; color: var(--vp-muted); white-space: nowrap; }
.fl-vmcard-specs { color: var(--vp-faint); white-space: nowrap; }
.fl-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--vp-faint); }
.is-on .fl-dot { background: var(--vp-green); box-shadow: 0 0 0 3px rgba(117, 216, 183, .16); }
.is-on .fl-vmstate { color: var(--vp-green); }
.is-busy .fl-dot { background: var(--vp-amber); }
.is-busy .fl-vmstate { color: var(--vp-amber); }
.fl-vm-name { color: var(--vp-ink); overflow-wrap: anywhere; }

/* The popover: what a VM or a computer can do */
.fl-popover { position: fixed; z-index: 50; width: min(300px, calc(100vw - 16px)); padding: 12px; border: 1px solid var(--vp-line-strong); border-radius: 12px; background: rgba(29, 30, 34, .985); box-shadow: 0 22px 50px -12px rgba(0, 0, 0, .75); color: var(--vp-soft); font-size: 13px; }
.fl-pop-head { display: flex; align-items: center; gap: 10px; }
.fl-pop-os { width: 32px; height: 32px; border-radius: 9px; }
.fl-pop-title { display: grid; min-width: 0; }
.fl-pop-title strong { color: var(--vp-ink); font-weight: 500; overflow-wrap: anywhere; }
.fl-pop-facts { margin-top: 8px; color: var(--vp-muted); font-size: 12.5px; }
.fl-pop-note { margin-top: 8px; color: var(--vp-amber); font-size: 12.5px; }
.fl-pop-question { color: var(--vp-ink); line-height: 1.45; }
.fl-pop-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.fl-pop-field { display: grid; gap: 4px; margin-top: 10px; }
.fl-pop-field .fl-small-select { width: 100%; }
.fl-pop-menu { display: grid; gap: 1px; margin: 10px -6px -6px; padding-top: 6px; border-top: 1px solid var(--vp-line); }
.fl-pop-item { padding: 5px 8px; border: 0; border-radius: 6px; background: none; color: var(--vp-ink); font: inherit; text-align: left; cursor: pointer; }
.fl-pop-item:hover { background: rgba(255, 255, 255, .06); }
.fl-popover .fl-pop-menu-only { margin: -6px; padding-top: 0; border-top: 0; }
.fl-popover:has(> .fl-pop-menu-only) { width: min(220px, calc(100vw - 16px)); }
.fl-pop-item.is-danger { color: var(--vp-red); }

/* A computer's activity, in its Details' tab */
.fl-activity-list { font-size: 12.5px; }
/* One line a command: its state, what it was, who asked when, and Cancel while it waits; an error under it. */
.fl-activity-list .fl-command { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; align-items: center; gap: 0 10px; min-height: 30px; padding: 4px 0; border-top: 1px solid var(--vp-line); }
.fl-activity-list .fl-command-state { grid-column: 1; font-size: 11px; }
.fl-activity-list .fl-vm-name { grid-column: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-activity-list .fl-meta { grid-column: 3; color: var(--vp-faint); font-size: 12px; white-space: nowrap; }
.fl-activity-list .fl-command .vp-button { grid-column: 4; grid-row: 1; min-height: 24px; padding: 1px 8px; font-size: 11.5px; }
.fl-activity-list .fl-command-message { grid-column: 2 / -1; padding: 0 0 2px; font-size: 12px; }
.fl-activity-list > .fl-muted { padding: 8px 0; border-top: 1px solid var(--vp-line); white-space: normal; }
.fl-commands { display: grid; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.fl-command { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fl-command .vp-button-small { padding: 3px 10px; font-size: 12px; }
.fl-command-state { min-width: 70px; color: var(--vp-muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.fl-command.is-succeeded .fl-command-state { color: var(--vp-green); }
.fl-command.is-failed .fl-command-state { color: var(--vp-red); }
.fl-command.is-running .fl-command-state, .fl-command.is-queued .fl-command-state { color: var(--vp-amber); }
.fl-command-message { flex-basis: 100%; padding-left: 80px; color: var(--vp-faint); overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .fl-hostcard { padding: 12px; }
  .fl-hostcard-head { flex-wrap: wrap; }
  .fl-hostcard-head { position: relative; padding-right: 38px; }
  .fl-hostcard-head > .fl-more { position: absolute; top: 0; right: 0; }
  .fl-hostcard-side { order: 3; justify-content: flex-start; width: 100%; max-width: none; padding-top: 0; }
  .fl-hostcard-side .fl-chips { justify-content: flex-start; }
  .fl-host-problem { margin-left: 0; }
  .fl-vm-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; }
  .fl-vmcard { gap: 6px 8px; padding: 8px; }
  .fl-vmcard-os { width: 26px; height: 26px; border-radius: 7px; }
  .fl-activity-list .fl-command { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .fl-activity-list .fl-meta { grid-column: 2; grid-row: 2; }
  .fl-vmcard-foot { flex-wrap: wrap; row-gap: 2px; }
  .fl-command-message { padding-left: 0; }
}
/* Activity: when, what, and who, a line each */
.fl-events { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.fl-event { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 220px); align-items: center; gap: 0 14px; min-height: 34px; padding: 5px 0; border-top: 1px solid var(--vp-line); }
.fl-event:first-child { border-top: 0; }
.fl-event-time { color: var(--vp-faint); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fl-event-text { color: var(--vp-ink); overflow-wrap: anywhere; }
.fl-event.is-failed .fl-event-text { color: var(--vp-red); }
.fl-event-actor { overflow: hidden; color: var(--vp-muted); font-size: 12px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.fl-event-via { display: block; overflow: hidden; color: var(--vp-faint); text-overflow: ellipsis; }
.fl-events-panel { padding-top: 6px !important; padding-bottom: 6px !important; }
.fl-events > .fl-muted { padding: 10px 0; white-space: normal; }
/* Members: an email each, with its role and menu on the right */
.fl-member .fl-host-row { flex-wrap: nowrap; }
.fl-you { color: var(--vp-faint); font-weight: 400; }
.fl-role-select { min-width: 140px; }
.fl-role-chip { padding: 3px 10px; font-size: 12px; }
.fl-role-note { min-height: 2.9em; margin-top: 6px; font-size: 12.5px; }
.fl-tabpanel[data-panel="members"] > .fl-panel { max-width: none; }
@media (max-width: 760px) {
  .fl-event { grid-template-columns: minmax(0, 1fr) auto; }
  .fl-event-time { grid-column: 2; grid-row: 1; }
  .fl-event-text { grid-column: 1; grid-row: 1; }
  .fl-event-actor { grid-column: 1 / -1; text-align: left; }
  .fl-member .fl-host-row { flex-wrap: wrap; }
  .fl-vm-summary { flex-basis: 100%; justify-content: flex-start; margin-left: 0; }
  .fl-vm-limit { padding-left: 0; border-left: 0; }
  .fl-toolbar-end { width: 100%; }
  .fl-toolbar-end .fl-small-select { flex: 1; }
}
/* A check's filter on Computers: the chip clears it */
.fl-filter-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border: 1px solid rgba(240, 120, 100, .45); border-radius: 999px; background: var(--vp-red-tint, rgba(240, 120, 100, .1)); color: var(--vp-red); font: inherit; font-size: 12.5px; cursor: pointer; }
.fl-filter-chip::after { content: "×"; font-size: 15px; line-height: 1; }
.fl-filter-chip[hidden] { display: none; }
/* Tables: Software and Security */
.fl-table-panel { padding: 4px 0 !important; overflow-x: auto; }
.fl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fl-table th { padding: 8px 18px; border-bottom: 1px solid var(--vp-line); color: var(--vp-faint); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.fl-table td { padding: 7px 18px; border-top: 1px solid var(--vp-line); color: var(--vp-soft); vertical-align: middle; }
.fl-table tbody tr:first-child td { border-top: 0; }
.fl-table td strong { display: block; color: var(--vp-ink); font-weight: 500; }
.fl-table-sub { display: block; font-size: 12px; }
.fl-table .fl-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fl-table td.is-ok { color: var(--vp-green); }
.fl-table-note { margin: 0; padding: 10px 18px; border-top: 1px solid var(--vp-line); }
.fl-count-link { padding: 0; border: 0; background: none; color: var(--vp-blue-bright); font: inherit; cursor: pointer; }
.fl-count-link:hover { text-decoration: underline; }
.fl-count-link.is-failing { color: var(--vp-red); font-weight: 600; }
.fl-row-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--vp-ink); font: inherit; text-align: left; cursor: pointer; }
.fl-row-toggle[aria-expanded="false"] .fl-chevron { transform: rotate(-90deg); }
.fl-software-hosts td { padding-top: 0; border-top: 0; }
.fl-software-hosts[hidden] { display: none; }
.fl-software-hostlist { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0 0 4px 18px; list-style: none; font-size: 12.5px; }
.fl-software-hostlist li { display: inline-flex; gap: 6px; }
/* A computer's Details: tabs under its name, each tab's pane the same height, so switching doesn't move the dialog */
.fl-dialog.fl-details-dialog { width: min(680px, calc(100vw - 32px)); }
.fl-details-head { display: flex; align-items: center; gap: 12px; }
.fl-details-head .fl-h2 { margin: 0; }
.fl-details-name .fl-meta { margin-top: 1px; }
.fl-details-tabs { display: flex; width: fit-content; max-width: 100%; margin-top: 14px; }
.fl-segment-count.is-failing { color: var(--vp-red); font-weight: 600; }
.fl-details-body { height: min(54vh, 400px); margin: 12px -4px 0 0; padding-right: 4px; overflow-y: auto; }
.fl-details-pane[hidden] { display: none; }
/* Overview: Hardware, then System, in one column that scrolls */
.fl-details-columns { display: grid; gap: 20px; }
.fl-details-section { margin: 4px 0 8px; color: var(--vp-muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.fl-facts { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 7px 16px; margin: 0; font-size: 13px; }
.fl-facts dt { color: var(--vp-muted); }
.fl-facts dd { margin: 0; color: var(--vp-ink); overflow-wrap: anywhere; }
.fl-addresses { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
/* A name and its pencil; renaming puts a field of the same size and font in its place, with ✓ and ✕ as tall as the
   pencil, so nothing around it moves. */
.fl-name-field { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 24px; }
.fl-name-form { display: inline-flex; align-items: center; gap: 2px; min-width: 0; max-width: 100%; }
.fl-name-input { box-sizing: border-box; min-width: 0; max-width: 100%; height: 22px; margin: 0 0 0 -7px; padding: 0 6px; border: 0; border-radius: 6px; background: var(--vp-sunk); box-shadow: inset 0 0 0 1px var(--vp-line-strong); color: var(--vp-ink); font: inherit; letter-spacing: inherit; }
.fl-name-input:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(145, 198, 249, .6); }
.fl-name-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--vp-red); }
.fl-name-note { flex-basis: 100%; font-size: 12px; }
.fl-name-note[hidden] { display: none; }
/* Run Script…: a monospace box; in a computer's Activity, the script and its output fold under the command */
.fl-dialog.fl-script-dialog { width: min(640px, calc(100vw - 32px)); }
.fl-script-input.vp-input { width: 100%; height: auto; min-height: 220px; margin-top: 12px; padding: 10px 12px; font-family: var(--vp-mono); font-size: 12.5px; line-height: 1.5; resize: vertical; white-space: pre; }
.fl-script-note { margin-top: 8px; font-size: 12.5px; }
/* Scripts: the library, its editor and the computers a run picks */
.fl-tabpanel[data-panel="scripts"] > .fl-panel { padding: 4px 18px; }
.fl-script-list .fl-host { padding: 10px 0; }
.fl-script-list .fl-host-main { gap: 2px; }
.fl-tabpanel[data-panel="scripts"] .fl-muted { margin: 12px 0; }
/* Run…'s green triangle, and Delete in red */
.fl-button-run { display: inline-flex; align-items: center; gap: 5px; }
.fl-button-run svg { width: 10px; height: 10px; flex: none; }
.fl-button-run svg path { fill: var(--vp-green); stroke: none; }
.fleet-page .vp-button.fl-button-danger { border-color: color-mix(in srgb, var(--vp-red) 70%, transparent); color: var(--vp-red); }
.fleet-page .vp-button.fl-button-danger:hover { border-color: var(--vp-red); background: var(--vp-red-tint); }
.fl-row-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.fl-script-edit-dialog form { max-height: calc(100vh - 80px); overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.fl-script-edit-dialog .vp-field { margin-top: 12px; }
/* The editor's systems: a tab each with its ×, then +, what the chosen one runs with on the right, one code box under them */
.fl-script-code-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fl-script-runs-on { margin-left: auto; }
.fl-script-tabs[hidden], .fl-script-tab[hidden], .fl-script-add-button[hidden], .fl-script-add-menu[hidden], .fl-script-add-menu .fl-pop-item[hidden], .fl-script-none[hidden] { display: none; }
.fl-script-tab { display: inline-flex; align-items: center; border-radius: 7px; }
.fl-script-tab .fl-segment[aria-pressed="true"] { background: none; box-shadow: none; }
.fl-script-tab.is-selected { background: var(--vp-card-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
/* A tab's ×: on the chosen tab, and on others while pointed at */
.fl-script-tab-remove { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0 5px 0 -5px; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--vp-faint); cursor: pointer; visibility: hidden; }
.fl-script-tab.is-selected .fl-script-tab-remove, .fl-script-tab:hover .fl-script-tab-remove, .fl-script-tab-remove:focus-visible { visibility: visible; }
.fl-script-tab-remove:hover { background: rgba(255, 255, 255, .08); color: var(--vp-ink); }
.fl-script-tab-remove svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.fl-script-add { position: relative; }
.fl-script-add-button.vp-button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; }
.fl-script-add-button svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fl-script-add-menu { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; display: grid; gap: 1px; min-width: 150px; padding: 5px; border: 1px solid var(--vp-line-strong); border-radius: 10px; background: rgba(29, 30, 34, .985); box-shadow: 0 22px 50px -12px rgba(0, 0, 0, .75); font-size: 13px; }
.fl-script-none { margin: 8px 0 0; padding: 28px 16px; border: 1px dashed var(--vp-line-strong); border-radius: 11px; color: var(--vp-muted); font-size: 13px; text-align: center; }
.fl-script-code.vp-input { min-height: 200px; margin-top: 8px; }
.fl-script-code[hidden] { display: none; }
.fl-script-pick { margin-top: 12px; }
.fl-script-library-note { margin-top: 12px; }
.fl-script-library-note .fl-note { margin: 0; }
.fl-script-preview { max-height: 220px; margin: 8px 0 0; padding: 10px 12px; overflow: auto; border-radius: 8px; background: var(--vp-sunk); font-family: var(--vp-mono); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.fl-script-auto { display: grid; gap: 8px; margin: 14px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--vp-line); }
.fl-script-when { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.fl-script-edit-dialog .fl-script-when .vp-field { margin-top: 0; }
.fl-script-when select.vp-input { width: auto; min-width: 140px; }
.fl-script-every { display: flex; gap: 6px; }
.fl-script-every input.vp-input { width: 72px; }
.fl-script-when input[type=datetime-local].vp-input { width: auto; color-scheme: light dark; }
.fl-check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.fl-check input[type=checkbox] { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--vp-blue); }
.fl-script-groups { display: grid; gap: 6px; }
.fl-script-groups[hidden] { display: none; }
#fl-script-trigger-note { margin: 0; }
/* The groups to limit it to: one per row, scrolling past about six */
.fl-group-list { display: grid; max-height: 172px; padding: 4px 10px; overflow-y: auto; border: 1px solid var(--vp-line); border-radius: 8px; background: var(--vp-sunk); }
.fl-group-list .fl-check { padding: 5px 0; }
.fl-group-list .fl-check span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-script-targets { max-height: min(50vh, 360px); margin: 12px 0 0; padding: 0; overflow-y: auto; list-style: none; border-top: 1px solid var(--vp-line); }
.fl-script-target { padding: 7px 2px; border-bottom: 1px solid var(--vp-line); }
.fl-script-target.is-off { opacity: .6; }
.fl-script-target .fl-check { align-items: flex-start; }
.fl-script-target-text { display: grid; gap: 1px; }
.fl-script-result { grid-column: 2 / -1; margin: 2px 0 4px; font-size: 12px; }
.fl-script-result summary { color: var(--vp-muted); cursor: pointer; }
.fl-script-result summary:hover { color: var(--vp-ink); }
.fl-script-result pre { max-height: 240px; margin: 6px 0 0; padding: 8px 10px; overflow: auto; border-radius: 8px; background: var(--vp-sunk); font-family: var(--vp-mono); font-size: 11.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.fl-script-result .fl-script-text { color: var(--vp-faint); }
.fl-script-result .fl-script-output { color: var(--vp-ink); }
/* The recovery key, above the checks: what it is and when it was kept, Show and New Key on the right */
.fl-key-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--vp-line); border-radius: 10px; font-size: 13px; }
.fl-key-row[hidden] { display: none; }
.fl-key-row .fl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fl-key-buttons { display: flex; gap: 6px; }
.fl-key-value { padding: 2px 8px; border-radius: 6px; background: var(--vp-sunk); color: var(--vp-ink); font-family: var(--vp-mono); font-size: 12.5px; letter-spacing: .02em; user-select: all; }
/* Rename: a pencil beside the name */
.fl-icon-button { display: inline-grid; flex: none; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--vp-muted); cursor: pointer; align-self: center; }
.fl-icon-button:hover { background: rgba(255, 255, 255, .07); color: var(--vp-ink); }
.fl-icon-stroke { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* The title's name: Rename beside it, and the field in its place while it's edited */
.fl-title-field { min-height: 30px; }
.fl-title-field > .fl-meta { font-size: 13px; }
.fl-title-field .fl-name-input { height: 28px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
/* Security: a row a check, failing ones first */
.fl-check-list { margin: 0; padding: 0; list-style: none; }
.fl-check-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 0 10px; padding: 8px 2px; border-top: 1px solid var(--vp-line); font-size: 13px; }
.fl-check-row:first-child { border-top: 0; padding-top: 2px; }
.fl-check-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .05); font-size: 12px; font-weight: 700; }
.fl-check-text { display: grid; gap: 1px; min-width: 0; }
.fl-check-text strong { color: var(--vp-ink); font-weight: 500; }
.fl-check-text .fl-meta { font-size: 12px; }
.fl-check-state { color: var(--vp-faint); font-size: 12px; white-space: nowrap; }
.fl-check-row.is-pass .fl-check-mark { background: rgba(117, 216, 183, .14); color: var(--vp-green); }
.fl-check-row.is-pass .fl-check-state { color: var(--vp-green); }
.fl-check-row.is-fail .fl-check-mark { background: rgba(240, 120, 100, .16); color: var(--vp-red); }
.fl-check-row.is-fail .fl-check-state { color: var(--vp-red); }
/* Software: the filter, then the list */
.fl-details-software-pane:not([hidden]) { display: grid; gap: 10px; }
.fl-details-filter.vp-input { width: 100%; height: 30px; }
.fl-software-list { margin: 0; padding: 0; border: 1px solid var(--vp-line); border-radius: 10px; list-style: none; font-size: 12.5px; }
.fl-software-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 12px; border-top: 1px solid var(--vp-line); }
.fl-software-list li:first-child { border-top: 0; }
.fl-software-name { color: var(--vp-ink); overflow-wrap: anywhere; }
.fl-software-list .fl-meta { flex: none; max-width: 50%; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.fl-details-pane .fl-activity-list { max-height: none; margin-top: 0; padding-right: 0; }
.fl-details-pane .fl-activity-list .fl-command:first-child, .fl-details-pane .fl-activity-list > .fl-muted:first-child { border-top: 0; }
@media (max-width: 640px) {
  .fl-facts { grid-template-columns: 112px minmax(0, 1fr); }
  .fl-details-body { height: min(60vh, 520px); }
  .fl-details-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .fl-details-tabs .fl-segment { flex: none; padding: 0 8px; }
  .fl-table th, .fl-table td { padding-left: 10px; padding-right: 10px; }
  .fl-table th { font-size: 10px; letter-spacing: .02em; white-space: normal; }
  .fl-table-sub { display: none; }
}
.fl-token-places { margin: 6px 0 0 18px; padding: 0; }
.fl-token-places li { margin: 2px 0; }
.fl-token-places code { overflow-wrap: anywhere; }
.fl-token-value { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--vp-sunk); font-family: var(--vp-mono); font-size: 13px; overflow-wrap: anywhere; user-select: all; }

/* The passkey dialog: confirm one, or add one, for what takes a passkey. */
.fl-dialog { width: min(440px, calc(100vw - 32px)); padding: 18px 20px; border: 1px solid var(--vp-line-strong); border-radius: 14px; background: var(--vp-card); color: var(--vp-ink); box-shadow: var(--vp-shadow); }
.fl-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.fl-dialog .fl-h2 { margin-bottom: 4px; }
.fl-dialog .fl-error { margin-top: 10px; }
.fl-dialog-field { margin-top: 12px; }
/* Security: the organization's own checks have Edit and Delete in a last column; a failing one shows what it printed */
.fl-table th.fl-check-actions, .fl-table td.fl-check-actions { width: 1%; white-space: nowrap; text-align: right; }
.fl-check-output { max-height: 120px; margin: 6px 0 0; padding: 6px 8px; overflow: auto; border-radius: 6px; background: var(--vp-sunk); color: var(--vp-soft); font-family: var(--vp-mono); font-size: 11.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Notifications: a webhook's last failure, and what it sends */
.fl-hook-failed { color: var(--vp-red); }
.fl-hook-topics { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.fl-hook-topics legend { padding: 0; margin-bottom: 6px; }
#fl-hook-url-note, #fl-hook-json-note { margin: 6px 0 0; }
.fl-check-actions .fl-row-buttons { flex-wrap: nowrap; justify-content: flex-end; }
/* Details: Refresh and Close at the top right, the software filter on the tabs' line */
.fl-details-tools { display: flex; gap: 4px; margin-left: auto; align-self: flex-start; }
.fl-icon-button { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--vp-muted); cursor: pointer; }
.fl-icon-button:hover { background: rgba(255, 255, 255, .07); color: var(--vp-ink); }
.fl-icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-icon-button.is-busy svg { animation: fl-spin .8s linear infinite; }
.fl-remove-button:hover { color: var(--vp-red); }
@keyframes fl-spin { to { transform: rotate(360deg); } }
/* A button whose request is on its way: a spinner in place of its title, and no second click */
.vp-button.is-working { position: relative; color: transparent; opacity: 1; transition: none; }
.vp-button.is-working::after { content: ""; position: absolute; inset: 0; width: 14px; height: 14px; margin: auto; border: 2px solid var(--vp-ink); border-right-color: transparent; border-radius: 50%; animation: fl-spin .7s linear infinite; }
.vp-button-blue.is-working::after { border-color: #fff; border-right-color: transparent; }
.fl-details-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.fl-details-bar .fl-details-tabs { margin-top: 0; }
.fl-details-bar .fl-details-filter.vp-input { width: 220px; max-width: 100%; margin-left: auto; }
.fl-details-filter[hidden] { display: none; }
.fl-details-note { margin: 8px 0 0; color: var(--vp-amber); }
.fl-details-note[hidden] { display: none; }
/* A dialog's lists keep their scrolling: reaching an end doesn't scroll the page behind, which holds still while one is open */
.fl-dialog, .fl-dialog * { overscroll-behavior: contain; }
html:has(dialog[open]) { overflow: hidden; }
/* A computer's name opens its details */
.fl-hostcard-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fl-hostcard-open:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Account: its facts in a card of their own, never a box in it; its cards the page's width, every button the same small
   size, Sign Out at the end */
.fl-account-facts { margin: 0; padding: 0; border: 0; background: none; }
.fl-tabpanel[data-panel="account"] .vp-button { min-height: 32px; padding-top: 0; padding-bottom: 0; }
.fl-tabpanel[data-panel="account"] .fl-section-head { align-items: center; }

/* Remote control: nearly the whole window; the picture fits the stage, keeping its shape, and takes the keys while focused */
.fl-remote-dialog { width: calc(100vw - 32px); height: calc(100vh - 32px); max-width: none; max-height: none; display: none; flex-direction: column; padding: 0; border: 1px solid var(--vp-line-strong); border-radius: 14px; background: #000; color: var(--vp-ink); box-shadow: var(--vp-shadow); overflow: hidden; }
.fl-remote-dialog[open] { display: flex; }
.fl-remote-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.fl-remote-bar { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--vp-line); background: var(--vp-card); }
.fl-remote-bar strong { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-remote-bar .fl-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-remote-bar .fl-details-tools { align-self: center; }
.fl-remote-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; background: #000; }
.fl-remote-stage canvas { display: block; outline: none; cursor: default; touch-action: none; }
.fl-remote-stage canvas:focus-visible { box-shadow: 0 0 0 2px var(--vp-blue-bright); }
.fl-remote-message p { margin: 0; }
.fl-remote-reconnect { margin-top: 12px; }
.fl-remote-stage.is-reconnecting canvas { opacity: 0.4; pointer-events: none; }
.fl-remote-stage.is-reconnecting::after { content: attr(data-reconnecting); position: absolute; padding: 8px 14px; border: 1px solid var(--vp-line-strong); border-radius: 999px; background: var(--vp-card); color: var(--vp-ink); font-size: 13px; }
.fl-remote-message { position: absolute; max-width: 460px; margin: 0 16px; padding: 12px 16px; border: 1px solid var(--vp-line-strong); border-radius: 10px; background: var(--vp-card); color: var(--vp-ink); font-size: 13px; line-height: 1.5; text-align: center; }

/* Details' VMPal build, with Update VMPal beside it when it's older */
.fl-vmpal-build { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* Remote control in a window of its own (?remote=): the session fills it, nothing else shows */
body.fl-remote-only { overflow: hidden; background: #000; }
body.fl-remote-only > :not(.fl-remote-dialog) { display: none !important; }
body.fl-remote-only .fl-remote-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; }
body.fl-remote-only .fl-remote-dialog::backdrop { background: #000; }

/* VMPal + Fleet bought with Stripe: the start form, the sidebar's link to more computers, and billing's alert */
#fl-email[readonly] { color: var(--vp-muted); }
.fl-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fl-field-head .fl-link { font-size: 13px; }
.fl-start-seats { max-width: 140px; }
.fl-start-total { margin: 4px 0 12px; color: var(--vp-ink); font-weight: 600; }
.fl-side-link { margin-top: 8px; font-size: 12px; }
.fl-billing-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fl-billing-alert span { flex: 1 1 260px; }
#fl-start-form { margin-top: 16px; }

/* The dashboard: VMPal Fleet's tabs locked in no organization, and the License Manager. */
.fl-tab-lock { display: none; margin-left: auto; width: 14px !important; height: 14px !important; color: var(--vp-faint); }
.fl-tab-locked .fl-tab-lock { display: block; }
.fl-tab-locked .fl-tab-count { display: none; }
.fl-side-start .fl-side-link { justify-self: start; }
.fl-start-panel { max-width: 560px; }
.fl-licenses { display: grid; gap: 12px; margin-top: 16px; }
.fl-license-owner { display: grid; gap: 12px; }
.fl-license-owner > .vp-panel { margin: 0; }
.fl-license-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.fl-license-key { color: var(--vp-ink); font-family: var(--vp-mono); font-size: 14px; overflow-wrap: anywhere; }
.fl-license-head { gap: 6px 8px; }
.fl-license-state { margin-left: 10px; color: var(--vp-green); }
.fl-license-state.is-warn { color: var(--vp-amber-bright); }
.fl-license-state.is-expired { color: var(--vp-red); }
.fl-license-facts { margin-top: 10px; }
.fl-license-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vp-line); }
.fl-license-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.fl-license-devices { margin-top: 10px; }
.fl-license-policy { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--vp-line); }
.fl-license-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 16px; margin: 8px 0 14px; }
.fl-license-features .vp-check { font-size: 13px; }
.fl-license-saved { align-self: center; margin: 0; }
.fl-license-search { flex: 1 1 200px; max-width: 280px; }
.fl-license-devices .fl-table-panel { padding: 0 !important; border: 1px solid var(--vp-line); border-radius: 10px; }
.fl-license-note { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; margin: 2px 0 0; padding: 0; border: 0; background: none; color: var(--vp-muted); font: inherit; font-size: 12px; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.fl-license-note .fl-icon-stroke { flex: none; width: 12px; height: 12px; opacity: .7; }
.fl-license-note:hover .fl-icon-stroke { opacity: 1; }
.fl-license-note:hover { color: var(--vp-ink); }
.fl-license-note.is-empty { color: var(--vp-faint); }
.fl-license-note.is-empty:hover { color: var(--vp-blue-bright); }
.fl-license-note-input { display: block; width: 100%; max-width: 260px; margin-top: 2px; padding: 2px 6px; font-size: 12px; }
.fl-h3 { margin: 14px 0 6px; color: var(--vp-ink); font-size: 14px; font-weight: 600; }
.fl-license-policy .fl-h3 { margin-top: 0; }
.fl-steps { margin: 6px 0 10px; padding-left: 20px; color: var(--vp-soft); font-size: 13px; line-height: 1.7; }
.fl-activate-key { color: var(--vp-ink); font-family: var(--vp-mono); font-size: 12px; overflow-wrap: anywhere; }
.fl-upgrade-eyebrow { margin: 0 0 4px; color: var(--vp-blue-bright); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fl-upgrade-price { color: var(--vp-ink); }
.fl-email-prefs { display: grid; gap: 10px; margin-top: 10px; }
.fl-email-pref { font-size: 13px; }
.fl-email-pref strong { display: block; color: var(--vp-ink); font-weight: 500; }
.fl-email-prefs-status { min-height: 1.5em; margin-bottom: 0; }
.fl-license-email { display: flex; align-items: center; gap: 6px; }
.fl-email-edit.fl-icon-button { width: 24px; height: 24px; border-radius: 6px; }
.fl-email-dialog-remove { margin-right: auto; }
.fl-providers { display: grid; gap: 10px; margin-bottom: 18px; }
.fl-provider.vp-button { width: 100%; }
.fl-provider-icon { display: inline-grid; flex: none; place-items: center; width: 18px; height: 18px; }
.fl-provider-icon svg { width: 18px; height: 18px; }
.fl-or { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; color: var(--vp-muted); font-size: 12px; }
.fl-or::before, .fl-or::after { content: ""; flex: 1; height: 1px; background: var(--vp-line-strong); }
.fl-connect-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.fl-connection .fl-host-row { flex-wrap: nowrap; }
