/*
 * The hub as a small desktop (js/shell/hub.js) and the two dots of a window (js/shell/windows.js), 11. 11. 2026.
 * A bar on top, minimized apps as small windows, a dock with the apps at the bottom.
 */

/* ---------- the dots of a window: red closes, orange minimizes ---------- */
/* The dots sit in a small rounded bar of their own, above the head of the menu (higher than the crumb of the page). */
.tl {
  display: inline-flex; align-items: center; gap: 0; align-self: flex-start; padding: 0 5px; margin: -8px 0 -2px -2px;
  border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tl-btn {
  all: unset; box-sizing: border-box; cursor: pointer;
  width: 24px; height: 26px; display: grid; place-items: center; border-radius: 50%;
}
.tl-dot {
  width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.28);
}
.tl-btn--close .tl-dot { background: #ff5f57; }
.tl-btn--min .tl-dot { background: #febc2e; }
.tl-btn--full .tl-dot { background: #28c840; }
.tl-btn--full .tl-glyph { width: 8px; height: 8px; color: rgba(0, 0, 0, 0.62); }
.tl-btn--full .tl-glyph::before, .tl-btn--full .tl-glyph::after { display: none; }
.tl-btn--full .tl-glyph svg { display: block; width: 8px; height: 8px; }
/* the cross and the dash are drawn (a letter never sits in the middle of the dot) */
.tl-glyph { position: relative; display: block; width: 7px; height: 7px; font-size: 0; opacity: 0; }
.tl-glyph::before, .tl-glyph::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 1px; background: rgba(0, 0, 0, 0.62); }
.tl-btn--close .tl-glyph::before { transform: rotate(45deg); }
.tl-btn--close .tl-glyph::after { transform: rotate(-45deg); }
.tl-btn--min .tl-glyph::after { display: none; }
.tl:hover .tl-glyph, .tl-btn:hover .tl-glyph, .tl-btn:focus-visible .tl-glyph { opacity: 1; }
.tl-btn:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: -2px; box-shadow: none; }
/* only the system blue ring for the keyboard: never the focus ring of the theme or of an app (gold, red) */
.shell-body .tl-btn:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.shell-body .tl-btn:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: -2px; box-shadow: none; }
.tl-btn { -webkit-tap-highlight-color: transparent; }
.tl-btn:active .tl-dot { filter: brightness(0.86); }
@media (max-width: 820px) {
  /* a finger needs a larger target than the dot it sees */
  .tl { margin: 0; padding: 0; }
  .tl-btn { width: 44px; height: 44px; }
  .tl-dot { width: 15px; height: 15px; }
  .tl-glyph { opacity: 1; }
}

/* ---------- the desktop ---------- */
/* its ground is also seen behind the rounded corners of the window of AI Bistro */
body {
  --desk-bg:
    radial-gradient(1100px 620px at 78% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    radial-gradient(900px 560px at 8% 108%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    var(--bg);
}
.desk {
  min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: minmax(0, 1fr) auto;
}
.desk-main { position: relative; min-width: 0; min-height: 0; }

/* the icon of an app (dock, small windows) */
.desk-app__icon {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong, var(--line));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform var(--dur-2, 0.2s) var(--ease, ease);
}
/* the logo of the business is the icon of AI Bistro: whole, with air around it */
/* drawn as a tile of its own (js/shell/ui.js appMark), as the icons of HRM and Pošta */
.desk-app--app .desk-app__icon { background: none; border: 0; padding: 0; overflow: visible; }
svg.app-mark { display: block; width: 100% !important; height: 100% !important; }
.desk-app__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.desk-app__icon svg { width: 46px; height: 46px; }
.desk-app--orbit .desk-app__icon { background: var(--orbit-grad, var(--accent)); color: var(--orbit-fg, #0a0a0a); border-color: transparent; }

/* minimized apps: small windows that open where they were left */
/* the small windows lie in places of a grid over the desk and can be dragged from one to another (js/shell/hub.js) */
.desk-wins { position: absolute; inset: 24px 24px 16px; }
.desk-win { position: absolute; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; transition: left 0.22s ease, top 0.22s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.desk-win.is-still { transition: none; }
.desk-win.is-dragging { transition: box-shadow 0.2s ease, transform 0.2s ease; z-index: 3; cursor: grabbing; transform: scale(1.03); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5); }
.desk-win.is-dragging .desk-win__body { cursor: grabbing; }
/* the place where a dragged card of a minimized window will land: neutral as the grey tiles of IMScout, neither the blue
   of the system nor the gold of Orbit (Štěpán 14. 11. 2026) */
.desk-slot { position: absolute; z-index: 0; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, #d9d9d9 45%, transparent); background: color-mix(in srgb, #d9d9d9 7%, transparent); pointer-events: none; transition: left 0.12s ease, top 0.12s ease; }
:root[data-theme="light"] .desk-slot { border-color: color-mix(in srgb, #8e8e93 45%, transparent); background: color-mix(in srgb, #8e8e93 7%, transparent); }
.desk-slot[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .desk-win, .desk-slot { transition: none; } }
.desk-wins[hidden] { display: none; }
/* more small windows than places (a low or narrow screen): they line up and the desk of the small windows scrolls */
.desk-wins.is-crowded { overflow-y: auto; overscroll-behavior: contain; }
.desk-wins.is-crowded .desk-win { touch-action: pan-y; cursor: default; }
.desk-win {
  width: min(300px, 100%); text-align: left; border-radius: 14px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong, var(--line)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.desk-win__bar { display: flex; align-items: center; gap: 2px; padding: 2px 10px 2px 4px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.desk-win__title { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.desk-win__body { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.desk-win__body:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: -2px; }
.desk-win__icon .desk-app__icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: none; }
.desk-win__icon .desk-app__icon svg { width: 22px; height: 22px; }
.desk-win__where { display: grid; gap: 2px; min-width: 0; }
.desk-win__where b { font-size: 14px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-win__where span { font-size: 12px; color: var(--text-muted); }

/* the dock */
.desk-dock {
  justify-self: center; margin: 0 16px calc(16px + env(safe-area-inset-bottom)); padding: 8px 10px;
  display: flex; align-items: center; gap: 8px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 62%, transparent); backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--line-strong, var(--line)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}
.desk-dock__app { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; place-items: center; padding-bottom: 7px; }
.desk-dock__app .desk-app__icon { width: 50px; height: 50px; border-radius: 13px; box-shadow: none; }
.desk-dock__app .desk-app__icon svg { width: 27px; height: 27px; }
.desk-dock__app:focus-visible .desk-app__icon { outline: 2px solid var(--sys-blue); outline-offset: 2px; }
/* the dot of a running app (drawn on the button: its ::after is the arrow of the label) */
.desk-dock__app.is-running { background: radial-gradient(circle, var(--text-strong) 2.4px, transparent 2.9px) center bottom / 6px 6px no-repeat; }
.desk-dock__sep { width: 1px; height: 38px; background: var(--line-strong, var(--line)); margin: 0 4px 7px; }
.desk-dock__tool {
  all: unset; box-sizing: border-box; cursor: pointer; width: 46px; height: 46px; margin-bottom: 7px;
  border-radius: 13px; display: grid; place-items: center; color: var(--text-muted);
}
.desk-dock__tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.desk-dock__tool:hover { background: var(--surface-2); color: var(--text-strong); }
.desk-dock__tool:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 2px; }

@media (max-width: 560px) {
  .desk-wins { inset: 16px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .desk-app__icon { transition: none; }
  .desk-dock [data-tip]::before, .desk-dock [data-tip]::after { transition: none; }
}

/* ---------- the dialog Nastavení: narrow, the switch and the buttons fill its width ---------- */
dialog.dlg.dlg--settings { width: min(400px, calc(100% - 32px)); }
.dlg--settings .seg--theme { display: flex; }
.dlg--settings .seg--theme button { flex: 1 1 0; text-align: center; justify-content: center; padding-left: 6px; padding-right: 6px; white-space: nowrap; }
.dlg--settings .settings-dlg .btn-row .btn { flex: 1 1 auto; justify-content: center; }
.dlg--settings .dlg-body > .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.dlg--settings .dlg-body > .btn-row .btn { justify-content: center; }

/* ---------- the window of AI Bistro: a bar on top as the head of a browser window (js/shell/shell.js) ----------
   A strip with the dots, under it the logo with AI Bistro and its state, the last event of the log in place of the
   address, Orbit and the account. The top corners are round and the desktop shows behind them. */
/* The blue of the system (Štěpán 13. 11. 2026): what belongs to the desk and its dialogs (menus, status panels, focus
   rings, the main button of a dialog, the chosen look) is blue as on a Mac. Gold stays the colour of Orbit and of
   the pages of AI Bistro. */
body { --win-r: 14px; --chrome-h: 101px; --sys-blue: #0a84ff; --sys-blue-hover: #2f97ff; }
:root[data-theme="light"] body { --sys-blue: #007aff; --sys-blue-hover: #1a86ff; }
/* Buttons of the system (Štěpán 13. 11. 2026: decent as on a Mac): the dialogs, the connecting card in a window,
   Vzhled a účet and Nastavení systému. Flat fills without shadows, no change under the pointer (a Mac has almost no
   hover), only a slight darkening while pressed. The main one is the blue of the system, never the gold of Orbit or
   the red of an app; the one that takes something away is red; the others a quiet grey fill without a frame. */
:is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) .btn {
  border: 0; border-radius: 10px; background: color-mix(in srgb, var(--text-strong) 10%, transparent); color: var(--text-strong);
  font-weight: 500; box-shadow: none; transition: filter 0.08s ease;
}
:is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) .btn:hover {
  background: color-mix(in srgb, var(--text-strong) 10%, transparent); color: var(--text-strong); box-shadow: none;
}
:is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) :is(.btn--primary, .btn--primary:hover, .btn--primary:disabled:hover) {
  background: var(--sys-blue); color: #fff; box-shadow: none;
}
:is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) :is(.btn--danger, .btn--danger:hover) {
  background: #f5233f; color: #fff; box-shadow: none;
}
:root[data-theme="light"] :is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) :is(.btn--danger, .btn--danger:hover) { background: #e50026; }
:is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) .btn:active:not(:disabled) { filter: brightness(0.88); }
:root[data-theme="light"] :is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) .btn:active:not(:disabled) { filter: brightness(0.94); }
:is(.shell-body dialog.dlg, .shell-body .connect-card, .shell-body .acct-win, .shell-body .sys-win) .btn:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 2px; }
.shell-body dialog.dlg .btn--danger:focus-visible { outline-color: #f5233f; }
/* the dialog itself holds the focus when it opens (no field is marked by itself): no ring around it */
dialog.dlg:focus, dialog.dlg:focus-visible { outline: none; }
/* the fields of the connecting card focus in the blue of the system too, not in the colour of the app */
.shell-body .connect-card :is(.input, input):focus { border-color: var(--sys-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sys-blue) 22%, transparent); outline: none; }
.shell-body .connect-card a { color: var(--sys-blue); }
.desk :focus-visible, .chrome-strip :focus-visible { outline-color: var(--sys-blue); }
.desk-menu__pop button:focus-visible { outline: none; }
/* the chosen look is marked by a blue outline only, not filled */
.shell-body dialog.dlg .seg--theme button[aria-pressed="true"] { background: transparent; color: var(--text-strong); box-shadow: inset 0 0 0 1.5px var(--sys-blue); }
.shell-body dialog.dlg .seg--theme button:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sys-blue) 55%, transparent); }
.shell-body dialog.dlg .seg--theme button[aria-pressed="true"]:focus-visible { box-shadow: inset 0 0 0 1.5px var(--sys-blue); }
.shell-body dialog.dlg :is(.btn, .input, input, select, textarea, button):focus-visible { outline-color: var(--sys-blue); }
.shell-body dialog.dlg :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea):focus { border-color: var(--sys-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sys-blue) 22%, transparent); }
.shell { grid-template-rows: auto minmax(0, 1fr); }
.chrome { position: relative; z-index: calc(var(--z-sticky) + 1); grid-column: 1 / -1; background: var(--surface); border-bottom: 1px solid var(--line); }
.chrome-strip { display: flex; align-items: center; height: 40px; padding: 0 8px; background: var(--surface-2); }
.chrome-strip .tl { align-self: center; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.chrome-bar { display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 16px 0 14px; }
.chrome-gap { flex: 1 1 auto; }
.shell-body .chrome .brand { flex: none; width: calc(var(--shell-side-w) - 30px); gap: 10px; padding: 0; border: 0; }
.shell-body .chrome .brand-tile { width: 38px; height: 38px; border-radius: 11px; padding: 6px; }
.shell-body .chrome .brand b { font-size: 15px; line-height: 18px; }
.shell-body .chrome .brand-state { font-size: 12px; line-height: 16px; }
.shell-body .chrome .ticker { flex: 1 1 auto; order: 0; width: auto; min-width: 0; min-height: 38px; border-radius: 99px; box-shadow: none; background: var(--surface-2); }
.shell-body .chrome .tools { flex: none; margin-left: 0; flex-wrap: nowrap; }
.shell-body .chrome .menu-pop { top: calc(100% + 6px); }
/* under the bar only the tabs of the module are left; without tabs nothing */
.shell-body .top:not(:has(.tabs > *)):not(:has(.connection-note:not([hidden]))) { padding: 0; border: 0; min-height: 0; }
@media (min-width: 821px) {
  /* the window fills the screen and the page scrolls inside it, so its round top corners stay in place */
  .shell { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
  .shell > .main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .shell-body .side { position: static; top: auto; height: auto; min-height: 0; overflow-y: auto; }
  .shell-body .top { padding-top: 18px; }
  .shell-body .chrome .menu-pop { left: auto; right: 16px; }
}
@media (max-width: 820px) {
  .chrome-strip { height: 44px; padding: 0 4px; }
  .chrome-bar { flex-wrap: wrap; height: auto; gap: 8px 10px; padding: 6px 12px 10px; }
  .shell-body .chrome .brand { flex: 1 1 0; width: auto; min-width: 0; }
  .shell-body .chrome .ticker { flex: 1 1 100%; order: 3; min-height: 44px; }
  .shell-body .top { padding-top: 8px; }
}
/* Orbit on the whole page is a window too */
.jv-win { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--bg); }
.jv-win .jv { height: auto; min-height: 0; }
.jv-win .chrome { position: relative; }
.jv-win .chrome .jv-who { padding: 0; gap: 10px; }
.jv-win .chrome .jv-tile { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
.jv-win .chrome .jv-tile svg { width: 22px; height: 22px; }
.jv-win .chrome .jv-who b { font-size: 15px; line-height: 18px; }
@media (max-width: 820px) {
  .jv-win .chrome-bar { padding: 8px 12px; }
}
/* The dock on hover: the name of the item comes out above it in a bubble with a small arrow, centred on the icon;
   the icon itself does not grow. */
.desk-dock [data-tip] { position: relative; }
.desk-dock [data-tip]::before {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 16px); z-index: 5;
  padding: 6px 12px; border-radius: 9px; white-space: nowrap; pointer-events: none;
  font: 500 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong);
  background: var(--surface-2); border: 1px solid var(--line-strong, var(--line)); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.14s ease, transform 0.14s ease;
}
.desk-dock [data-tip]::after {
  content: ''; position: absolute; left: 50%; bottom: calc(100% + 11px); z-index: 6; width: 10px; height: 10px; pointer-events: none;
  background: var(--surface-2); border: solid var(--line-strong, var(--line)); border-width: 0 1px 1px 0;
  opacity: 0; transform: translate(-50%, 6px) rotate(45deg); transition: opacity 0.14s ease, transform 0.14s ease;
}
.desk-dock [data-tip]:hover::before, .desk-dock [data-tip]:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
.desk-dock [data-tip]:hover::after, .desk-dock [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }
@media (hover: none) { .desk-dock [data-tip]::before, .desk-dock [data-tip]::after { display: none; } }
/* ---------- windows open and leave smoothly ----------
   The desk lies behind the window (the ground of the page), so a window that grows from the dock or falls back to it
   is seen against it. */
body.shell-body { background: var(--bg); }
.shell { background: var(--bg); }
/* Every view has a stage of its own in #app (js/shell/main.js): the desk and the minimized windows stay mounted and
   are only hidden. The stage itself makes no box. */
.stage { display: contents; }
.stage[hidden] { display: none; }
/* A window in flight (js/shell/windows.js flyWindow: to its icon in the dock, from it, or fading away) lies over the
   desk, which is already drawn under it. */
.win-fly { position: fixed; inset: 0; z-index: 60; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; pointer-events: none; will-change: transform, opacity; }
/* ---------- a window floats over the desk (js/shell/windows.js frameWindow) ----------
   Only on a wide screen: the window is a box of its own size at its own place (CSS variables set by the frame), with
   round corners and a shadow; the desk is seen and works around it. Its place is the property `translate`, so the
   flights of a window (transform) add to it, and what is fixed inside the window (the side panel of Orbit) stays in
   it. Filling the screen (a double click on the strip) is the window as it was before. */
@media (min-width: 821px) {
  .win {
    /* what is inside lays itself out by the width of the window, not of the screen (@container win in the styles
       of the apps). Only here, on a wide screen: on a phone the window is the screen and the rules of the screen hold. */
    container: win / inline-size;
    position: fixed; left: 0; top: 0; z-index: 40;
    width: var(--win-w, 100vw); height: var(--win-h, 100vh) !important; min-height: 0 !important;
    translate: var(--win-x, 0px) var(--win-y, 0px);
    border-radius: var(--win-r); overflow: clip;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--line-strong, var(--line)) 80%, transparent), 0 34px 90px rgba(0, 0, 0, 0.46), 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: box-shadow 0.2s ease, border-radius 0.2s ease;
  }
  /* all four corners round (stronger than the rule of .shell and .jv-win below, which rounds only the top) */
  .win:not(.win--max) { border-radius: var(--win-r); }
  .win.win--max { border-radius: var(--win-r) var(--win-r) 0 0; box-shadow: none; z-index: 70 !important; }
  /* a window behind another one: a lighter shadow, its three dots in one grey tone until the pointer comes over them (as an inactive window of a Mac) */
  .win.is-back { box-shadow: 0 0 0 1px color-mix(in srgb, var(--line-strong, var(--line)) 80%, transparent), 0 14px 36px rgba(0, 0, 0, 0.3); }
  .win.is-back .chrome-strip .tl:not(:hover) .tl-dot { background: color-mix(in srgb, var(--text, #888) 32%, transparent); }
  .win.is-back.win--max { z-index: 39 !important; }
  /* the dock stays above a floating window (a window moved over it slides under it); only a window that fills the
     screen covers it */
  .desk-dock { position: relative; z-index: 50; }
  .win.win--anim { transition: translate 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.3s ease, box-shadow 0.3s ease; }
  .win.is-moving { will-change: translate, width, height; user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--line-strong, var(--line)) 80%, transparent), 0 46px 120px rgba(0, 0, 0, 0.55), 0 12px 32px rgba(0, 0, 0, 0.32); }
  .win .chrome-strip { touch-action: none; user-select: none; -webkit-user-select: none; }
  .win-grip { position: absolute; z-index: calc(var(--z-sticky) + 5); touch-action: none; }
  .win--max > .win-grip { display: none; }
  .win-grip[data-edge="n"] { top: 0; left: 20px; right: 20px; height: 5px; cursor: ns-resize; }
  .win-grip[data-edge="s"] { bottom: 0; left: 22px; right: 22px; height: 6px; cursor: ns-resize; }
  .win-grip[data-edge="w"] { left: 0; top: 20px; bottom: 22px; width: 6px; cursor: ew-resize; }
  .win-grip[data-edge="e"] { right: 0; top: 20px; bottom: 22px; width: 6px; cursor: ew-resize; }
  .win-grip[data-edge="nw"] { left: 0; top: 0; width: 20px; height: 20px; cursor: nwse-resize; }
  .win-grip[data-edge="se"] { right: 0; bottom: 0; width: 22px; height: 22px; cursor: nwse-resize; }
  .win-grip[data-edge="ne"] { right: 0; top: 0; width: 20px; height: 20px; cursor: nesw-resize; }
  .win-grip[data-edge="sw"] { left: 0; bottom: 0; width: 22px; height: 22px; cursor: nesw-resize; }
}
@media (max-width: 820px) { .win-grip { display: none; } }
/* the dock changes softly (js/shell/hub.js draw): an icon grows in, one that leaves (Nastavení systému, the only one
   not pinned) shrinks away while the others close the gap */
@keyframes dock-in { from { opacity: 0; max-width: 0; transform: translateY(14px) scale(0.3); } 60% { opacity: 1; } to { opacity: 1; max-width: 90px; transform: none; } }
@keyframes dock-out { from { opacity: 1; width: var(--dock-w, 58px); margin-left: 0; transform: none; } 45% { opacity: 0; } to { opacity: 0; width: 0; margin-left: calc(-1 * var(--dock-gap, 8px)); transform: translateY(16px) scale(0.3); } }
.desk-dock__app.is-entering { animation: dock-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.desk-dock__app.is-leaving { overflow: visible; pointer-events: none; animation: dock-out 0.34s cubic-bezier(0.5, 0, 0.2, 1) both; }
.desk-dock__app.is-leaving .desk-app__icon { flex: none; }
@media (prefers-reduced-motion: reduce) { .desk-dock__app.is-entering, .desk-dock__app.is-leaving { animation: none; } }
/* the mark of Nastavení systému fills its tile in the dock as the marks of the other apps */
/* its dot of a running app shows also while the window is open (it has no page of its own to mark it) */
body.has-system-open .desk-dock__app.desk-app--system { background: radial-gradient(circle, var(--text-strong) 2.4px, transparent 2.9px) center calc(100% - 2px) / 6px 6px no-repeat; }
svg.sys-mark { display: block; width: 100% !important; height: 100% !important; }
.desk-app--system .desk-app__icon { background: none; border: 0; padding: 0; overflow: visible; }
/* „Vzhled a účet“: a small window of its own over whatever is open (js/shell/account.js) */
.acct-win { display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--bg); color: var(--text); height: auto; }
.acct-win.win { z-index: 49; }
.acct-win .chrome-strip { gap: 6px; }
.acct-title { flex: 1 1 auto; margin-right: 96px; text-align: center; font: 600 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.acct-body { min-height: 0; overflow-y: auto; padding: 20px 22px 22px; display: grid; align-content: start; gap: 22px; }
.acct-part { display: grid; gap: 10px; }
.acct-part h2 { margin: 0; font: 600 12px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); }
.acct-who { display: flex; align-items: center; gap: 12px; }
.acct-who > div { display: grid; gap: 1px; min-width: 0; }
.acct-who b { font-size: 15px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-who small { font-size: 12px; color: var(--text-muted); }
.acct-face { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text-strong) 14%, transparent); color: var(--text-strong); font: 650 14px/1 var(--font-sans, system-ui, sans-serif); }
.acct-win .btn-row .btn { flex: 1 1 auto; justify-content: center; }
.acct-win .seg--theme button[aria-pressed="true"] { background: transparent; color: var(--text-strong); box-shadow: inset 0 0 0 1.5px var(--sys-blue); }
.acct-win .seg--theme button:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sys-blue) 55%, transparent); }
.acct-win :focus-visible { outline-color: var(--sys-blue); }
@media (max-width: 820px) { .acct-win { position: fixed; inset: 0; z-index: 45; height: 100dvh; } }
/* Nastavení systému in the manner of the System Settings of a Mac: the person and the sections on the left, the chosen
   section on the right (js/shell/account.js) */
.sys-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 0; }
.sys-side { display: grid; align-content: start; gap: 14px; padding: 16px 10px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 55%, transparent); overflow-y: auto; }
.sys-side .acct-who { padding: 0 8px; }
.sys-nav { display: grid; gap: 2px; }
.sys-nav__item { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font: 500 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.sys-nav__item:hover { background: color-mix(in srgb, var(--text-strong) 8%, transparent); }
.sys-nav__item[aria-current="page"] { background: var(--sys-blue); color: #fff; }
.sys-nav__item:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 1px; }
.sys-icon { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; background: #8e8e93; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); }
.sys-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sys-icon--blue { background: var(--sys-blue); }
.sys-icon--green { background: #34c759; }
.sys-icon--red { background: #ff375f; }
.sys-icon--big { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); }
.sys-icon--big svg { width: 30px; height: 30px; }
.sys-pane { min-height: 0; overflow-y: auto; padding: 18px 20px 22px; display: grid; align-content: start; gap: 12px; }
.sys-hero { display: grid; justify-items: center; gap: 6px; padding: 18px 16px; border-radius: 12px; background: color-mix(in srgb, var(--text-strong) 5%, transparent); text-align: center; }
.sys-hero h2 { margin: 4px 0 0; font: 700 19px/24px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.sys-hero p { margin: 0; max-width: 46ch; font-size: 13px; line-height: 18px; color: var(--text-muted); }
/* the look as three small pictures (js/shell/theme.js themePicker) */
.sys-look { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sys-look__label { padding-top: 4px; font-size: 13px; line-height: 18px; color: var(--text-strong); }
.look-picks { display: grid; gap: 14px; }
.look-pick { display: flex; gap: 14px; }
.look-pick__item { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 6px; }
.look-pick__label { font: 500 12px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); }
.look-pick__item[aria-pressed="true"] .look-pick__label { color: var(--text-strong); font-weight: 600; }
.look-thumb { position: relative; width: 78px; height: 52px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-strong) 18%, transparent); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.look-pick__item:hover .look-thumb { transform: translateY(-1px); }
.look-pick__item[aria-pressed="true"] .look-thumb { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--sys-blue); }
.look-pick__item:focus-visible .look-thumb { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px color-mix(in srgb, var(--sys-blue) 60%, transparent); }
.look-thumb--light { background: linear-gradient(160deg, #cfe3ff 0%, #f2f4f8 70%); }
.look-thumb--dark { background: linear-gradient(160deg, #1d2a44 0%, #0b0c10 70%); }
.look-thumb--auto { background: linear-gradient(90deg, #cfe3ff 0%, #f2f4f8 50%, #1d2a44 50%, #0b0c10 100%); }
.look-thumb__win { position: absolute; left: 12px; right: 12px; top: 13px; bottom: -6px; border-radius: 5px 5px 0 0; display: grid; align-content: start; gap: 3px; padding: 9px 6px 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28); }
.look-thumb__win::before { content: ''; position: absolute; left: 5px; top: 3px; width: 3px; height: 3px; border-radius: 50%; background: #ff5f57; box-shadow: 5px 0 0 #febc2e, 10px 0 0 #28c840; }
.look-thumb__win i { display: block; height: 3px; border-radius: 2px; }
.look-thumb__win i:nth-child(1) { width: 70%; background: var(--sys-blue); }
.look-thumb__win i:nth-child(2) { width: 90%; }
.look-thumb__win i:nth-child(3) { width: 55%; }
.look-thumb--light .look-thumb__win { background: #ffffff; }
.look-thumb--light .look-thumb__win i:not(:first-child) { background: #d5d8de; }
.look-thumb--dark .look-thumb__win { background: #2a2b30; }
.look-thumb--dark .look-thumb__win i:not(:first-child) { background: #4a4c54; }
.look-thumb--auto .look-thumb__win { background: linear-gradient(90deg, #ffffff 50%, #2a2b30 50%); }
.look-thumb--auto .look-thumb__win i:not(:first-child) { background: linear-gradient(90deg, #d5d8de 50%, #4a4c54 50%); background-size: 54px 100%; background-attachment: local; }
.sys-card { display: grid; gap: 10px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--text-strong) 5%, transparent); }
.sys-card h3 { margin: 0; font: 600 12px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); }
.sys-stack { display: grid; gap: 10px; }
.sys-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; line-height: 18px; color: var(--text-strong); }
.sys-line + .sys-line { padding-top: 10px; border-top: 1px solid var(--line); }
.sys-line b { font-weight: 500; color: var(--text-muted); text-align: right; }
.sys-net { display: inline-flex; align-items: center; gap: 10px; }
.desk-conn__switch:not(button) { cursor: default; }
.sys-note { margin: 0; font-size: 12px; line-height: 17px; color: var(--text-muted); }
.sys-meter { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--text-strong) 14%, transparent); overflow: hidden; }
.sys-meter span { display: block; height: 100%; min-width: 0; border-radius: 99px; background: var(--sys-blue); }
/* Zvuk a mikrofon (15. 11. 2026): a slider with its value, the choice of the device, the level of the try */
.sys-slide { display: flex; align-items: center; gap: 10px; flex: 0 1 280px; min-width: 0; }
.sys-slide b { flex: none; min-width: 44px; font-variant-numeric: tabular-nums; }
.shell-body .sys-win .sys-select { flex: 0 1 280px; min-width: 0; width: auto; min-height: 32px; padding-block: 4px; font-size: 13px; }
.sys-try { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.sys-level { position: relative; height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--text-strong) 14%, transparent); overflow: hidden; }
.sys-level__good { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, #34c759 30%, transparent); }
.sys-level__bar { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--sys-blue); transition: width 0.08s linear; }
.sys-level:not(.is-live) .sys-level__good { opacity: 0.45; }
.sys-level__say[data-tone="good"] { color: #34c759; }
.sys-level__say[data-tone="warn"] { color: var(--warn, #d29922); }
.sys-level__say[data-tone="bad"] { color: var(--bad, #e5534b); }
button.sys-switch { appearance: none; -webkit-appearance: none; border: 0; padding: 0; cursor: pointer; }
button.sys-switch:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 2px; }
.sys-win .btn-row .btn { flex: 0 0 auto; }
.sys-win .desk-conn__list { margin: 0 -6px; }
@media (max-width: 820px) { .sys-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); } .sys-side { border-right: 0; border-bottom: 1px solid var(--line); } }
/* a phone: the window is the whole screen, so it lies over the bar of the desk too (its dots were under the mark of the
   menu), and its sections are touch targets (14. 11. 2026, found by tools/mobile-check.mjs) */
@media (max-width: 820px) { .acct-win.win { z-index: 58; } .sys-nav__item { min-height: 44px; } }


@media (prefers-reduced-motion: reduce) { .win.win--anim { transition: none; } }

/* the desk: the small windows pop in, the dock rises */
/* only a new small window pops in, and the dock rises only when the desk appears for the first time: an uncovered
   desk is simply there */
.desk-win.is-new { animation: desk-pop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s backwards; }
.desk--fresh .desk-dock { animation: desk-rise 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
@keyframes desk-pop { from { opacity: 0; transform: translateY(18px) scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes desk-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .desk-win.is-new, .desk--fresh .desk-dock { animation: none; }
}
/* the date and the time in the top right corner of the desk */
.desk-clock { font: 500 13px/18px var(--font-sans, system-ui, sans-serif); font-variant-numeric: tabular-nums; color: var(--text-muted); white-space: nowrap; }
.desk-main > .desk-clock { position: absolute; top: 0; right: 16px; z-index: 1; height: 40px; display: flex; align-items: center; }
.desk-wins { inset: 40px 24px 16px; }
@media (max-width: 820px) {
  .desk-main > .desk-clock { right: 16px; height: 44px; }
  .desk-wins { inset: 44px 12px 12px; }
}

/* ---------- the wallpaper under the whole page (js/shell/wallpaper.js), dark and light ----------
   One canvas fixed behind #app: the ground of the desk, seen also behind the round corners of a window. */
.wallpaper { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
#app { position: relative; z-index: 1; }
.shell, .jv-win { border-radius: var(--win-r) var(--win-r) 0 0; overflow: clip; }
body.shell-body {
  --wall-node: rgba(255, 255, 255, 0.36); --wall-sub: rgba(255, 255, 255, 0.72); --wall-accent: #edba37;
  --wall-spoke: rgba(255, 255, 255, 0.06); --wall-link: rgba(237, 186, 55, 0.2);
  --wall-hub: #edba37; --wall-hub-soft: rgba(255, 255, 255, 0.78); --wall-hub-core: #fff3c9;
  --wall-glow: rgba(237, 186, 55, 0.32); --wall-ring: rgba(237, 186, 55, 0.26); --wall-pulse: #ffe9a8;
  --wall-far: rgba(255, 255, 255, 0.17); --wall-far-line: rgba(255, 255, 255, 0.045);
  --wall-aura-1: rgba(237, 186, 55, 0.13); --wall-aura-2: rgba(214, 112, 58, 0.09); --wall-aura-3: rgba(64, 118, 170, 0.1);
  --wall-vignette: rgba(0, 0, 0, 0.5);
}
/* The light look is milky (Štěpán 14. 11. 2026: „špinavé, chceme něco více mléčného“): a warm white ground lighter in
   the middle, soft warm grey dots and lines instead of brown ones, pastel auras, no dark edges. */
html[data-theme="light"] body.shell-body {
  background: radial-gradient(130% 95% at 50% 40%, #fffefb 0%, #fbf8f2 50%, #f4efe6 100%) fixed;
  --wall-node: rgba(170, 158, 136, 0.24); --wall-sub: rgba(160, 146, 120, 0.36); --wall-accent: #dcab3e;
  /* the spokes and far lines barely there, so they never pile up into a grey disc around a hub */
  --wall-spoke: rgba(196, 180, 148, 0.045); --wall-link: rgba(214, 168, 70, 0.2);
  --wall-hub: #e2ae3b; --wall-hub-soft: rgba(206, 192, 164, 0.5); --wall-hub-core: #fffaf0;
  /* the small hubs glow as warm milky light (a soft white-gold bloom), not as a grey stain */
  --wall-glow: rgba(244, 204, 116, 0.3); --wall-glow-soft: rgba(255, 244, 214, 0.9); --wall-ring: rgba(222, 176, 80, 0.2); --wall-pulse: #e8b33c;
  --wall-far: rgba(170, 158, 134, 0.1); --wall-far-line: rgba(180, 166, 140, 0.03);
  --wall-aura-1: rgba(255, 226, 160, 0.22); --wall-aura-2: rgba(255, 214, 192, 0.12); --wall-aura-3: rgba(204, 222, 242, 0.14);
  --wall-vignette: rgba(190, 176, 150, 0.05);
}
/* the desk: „Nastavení“ in the top left corner on the row of the clock, with a small menu under it */
/* the bar of the desk lies over the windows of the apps (40–48), under a window on the whole screen (70) */
.desk-menu { position: absolute; top: 0; left: 8px; z-index: 55; height: 40px; display: flex; align-items: center; }
.desk-menu__btn { all: unset; box-sizing: border-box; cursor: pointer; padding: 4px 10px; border-radius: 7px; font: 600 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.desk-menu__btn:hover, .desk-menu__btn[aria-expanded="true"] { background: color-mix(in srgb, var(--text-strong) 12%, transparent); }
.desk-menu__btn:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 1px; }
.desk-menu__pop { position: absolute; top: 36px; left: 0; min-width: 190px; padding: 5px; border-radius: 11px; display: grid;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--line-strong, var(--line)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.desk-menu__pop[hidden] { display: none; }
.desk-menu__pop button { all: unset; box-sizing: border-box; cursor: pointer; padding: 7px 10px; border-radius: 7px; font: 400 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); white-space: nowrap; }
.desk-menu__pop button:hover, .desk-menu__pop button:focus-visible { background: var(--sys-blue); color: #fff; }
.desk-menu__pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }
@media (max-width: 820px) {
  .desk-menu { height: 44px; left: 6px; }
  .desk-menu__btn { min-height: 44px; display: flex; align-items: center; }
  .desk-menu__pop { top: 44px; }
  .desk-menu__pop button { min-height: 44px; display: flex; align-items: center; }
}
/* the gear of the settings in the corner (smaller than it was in the dock) */
.desk-menu__btn { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; color: var(--text-muted); }
.desk-menu__btn:hover, .desk-menu__btn[aria-expanded="true"] { color: var(--text-strong); }
.desk-menu__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .desk-menu__btn { width: 44px; height: 44px; display: grid; } .desk-menu__btn svg { width: 18px; height: 18px; } }

/* ---------- Nastavení podniku as a dialog (js/shell/business-settings.js) ---------- */
dialog.dlg.dlg--biz { width: min(1120px, calc(100% - 32px)); height: min(860px, calc(100dvh - 48px)); max-height: none; padding: 0; overflow: hidden; }
.biz { height: 100%; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); }
.biz-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 12px; }
.biz-head h2 { margin: 0; font-size: 20px; line-height: 28px; }
.biz > .tabs { margin: 0; padding: 0 24px 10px; flex-wrap: wrap; }
.biz > .tabs--sub { padding-top: 0; }
.biz > .tabs[hidden] { display: none; }
.shell-body .biz-page.content { padding: 8px 24px 28px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  dialog.dlg.dlg--biz { width: 100%; max-width: 100%; height: 100dvh; margin: 0; border-radius: 0; }
  .biz-head { padding: 14px 14px 8px; }
  .biz > .tabs { padding: 0 14px 8px; flex-wrap: nowrap; overflow-x: auto; }
  .shell-body .biz-page.content { padding: 8px 14px 24px; }
}/* the look the pages of Nastavení had under body[data-module="nastaveni"] */
.biz-page .form { gap: 28px; }
.biz-page .fieldset + .fieldset { border-top: 1px solid var(--line); padding-top: 24px; }
.biz-page > div > .stack > .btn-row { position: sticky; bottom: -28px; z-index: 2; background: var(--surface-1); border-top: 1px solid var(--line); padding: 12px 0; }
/* the rows of the dialog in their order (the tabs of the shell carry an order of their own) */
.biz > .biz-head { grid-row: 1; }
.biz > .tabs { grid-row: 2; order: 0; flex: none; width: auto; }
.biz > .tabs--sub { grid-row: 3; }
.biz > .biz-page { grid-row: 4; }

/* the dock: the icons sit in the middle of its height, the dot of a running app in the space under them */
.desk-dock { padding: 4px 12px; }
.desk-dock__app { padding: 8px 0; }
.desk-dock__app.is-running { background-position: center calc(100% - 1px); }
@media (max-width: 820px) { .desk-dock { padding: 4px 10px; } }
/* a phone: the dock never grows over the screen (six icons were 4 px over 390 px, with Nastavení systému open 62 px,
   and the whole desk got wider with it); the icons stand closer and give way a little, still touch targets
   (14. 11. 2026, found by tools/mobile-check.mjs) */
@media (max-width: 820px) {
  .desk-dock { box-sizing: border-box; max-width: calc(100vw - 32px); gap: 4px; } /* of the screen: a share of the desk would grow with the dock itself */
  .desk-dock__app { width: 50px; flex: 0 1 auto; min-width: 0; }
  .desk-dock__app .desk-app__icon { width: 100%; max-width: 50px; height: auto; aspect-ratio: 1; }
}

/* ---------- the desk: the status in the top right corner (sound, clock) and the gear as a pill ---------- */
.desk-status { position: absolute; top: 0; right: 12px; z-index: 55; height: 40px; display: flex; align-items: center; gap: 6px; }
.desk-main > .desk-status .desk-clock { position: static; height: auto; padding: 0 4px; cursor: default; user-select: none; -webkit-user-select: none; }
/* an item of the bar: a soft pill under the pointer, as on a Mac */
.desk-menu__btn, .desk-sound__btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center;
  width: 38px; height: 24px; padding: 0; border-radius: 99px; color: var(--text-strong);
  transition: background 0.12s ease;
}
.desk-menu__btn:hover, .desk-sound__btn:hover { background: color-mix(in srgb, var(--text-strong) 14%, transparent); color: var(--text-strong); }
.desk-menu__btn[aria-expanded="true"], .desk-sound__btn[aria-expanded="true"] { background: color-mix(in srgb, var(--text-strong) 24%, transparent); color: var(--text-strong); }
.desk-menu__btn:focus-visible, .desk-sound__btn:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 1px; }
.desk-menu__btn svg, .desk-sound__btn svg, .desk-sound__end svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.desk-sound { position: relative; display: flex; align-items: center; }
.desk-sound__pop {
  position: absolute; top: 32px; right: 0; width: 280px; padding: 12px 14px 14px; border-radius: 14px; display: grid; gap: 10px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--line-strong, var(--line)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.desk-sound__pop[hidden] { display: none; }
.desk-sound__pop b { font: 650 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.desk-sound__row { display: flex; align-items: center; gap: 8px; }
.desk-sound__end { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--text-muted); }
.desk-sound__end:hover { color: var(--text-strong); }
.desk-sound__end:focus-visible { outline: 2px solid var(--sys-blue); }
/* the slider in the manner of macOS (Štěpán 12. 11. 2026): a thin track, filled in the system blue up to a round white
   knob with a soft shadow; a quiet speaker on the left, a loud one on the right */
.desk-sound__range {
  -webkit-appearance: none; appearance: none; flex: 1 1 auto; min-width: 0; height: 22px; margin: 0; cursor: pointer; background: transparent;
  --sound-track: linear-gradient(90deg, var(--sys-blue) var(--fill, 100%), color-mix(in srgb, var(--text-strong) 22%, transparent) var(--fill, 100%));
}
.desk-sound__range::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: var(--sound-track); }
.desk-sound__range::-moz-range-track { height: 4px; border-radius: 99px; background: var(--sound-track); }
.desk-sound__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; border: 0;
  background: linear-gradient(#ffffff, #f1f1f3); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.32), 0 3px 7px rgba(0, 0, 0, 0.22);
  transition: transform 0.12s ease;
}
.desk-sound__range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: 0;
  background: linear-gradient(#ffffff, #f1f1f3); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.32), 0 3px 7px rgba(0, 0, 0, 0.22);
}
.desk-sound__range:active::-webkit-slider-thumb { transform: scale(1.06); }
.desk-sound__range:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 2px; border-radius: 99px; }
@media (max-width: 820px) {
  .desk-status { height: 44px; right: 8px; }
  .desk-menu__btn, .desk-sound__btn { width: 44px; height: 44px; border-radius: 99px; display: grid; }
  .desk-sound__pop { top: 44px; width: min(280px, calc(100vw - 24px)); }
  .desk-sound__end { width: 44px; height: 44px; }
}/* the dot of a running app a little lower, in the space between the icon and the edge of the dock */
.desk-dock__app { padding: 8px 0 12px; margin-bottom: -4px; }
.desk-dock__app.is-running { background-position: center calc(100% - 2px); }

/* ---------- the desk: Připojení (js/shell/connections.js) ---------- */
/* the battery in the status (js/shell/battery.js): the questions to Orbit left for today, in the manner of macOS;
   a click opens the panel with the daily use, the source of power and the energy mode */
.desk-batt[hidden] { display: none; }
.desk-batt__btn { width: auto; padding: 0 5px; }
@media (max-width: 820px) { .desk-batt__btn { min-width: 44px; } } /* a touch target as wide as the other items of the bar */
.desk-sound__btn.desk-batt__btn svg, .desk-batt__modeicon { width: 27px; height: 13px; overflow: visible; fill: none; stroke: none; }
.desk-batt__body { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.5; }
.desk-batt__cap { fill: currentColor; stroke: none; opacity: 0.5; }
.desk-batt__level { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: left center; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, fill 0.2s ease; }
.desk-batt.is-still .desk-batt__level { transition: none; }
@media (prefers-reduced-motion: reduce) { .desk-batt__level { transition: fill 0.2s ease; } }
.desk-batt.is-eco .desk-batt__btn .desk-batt__level { fill: #ffd60a; }
.desk-batt.is-low .desk-batt__btn .desk-batt__level { fill: var(--bad, #e5534b); }
.desk-batt__pop { width: 300px; gap: 4px; padding: 12px 14px 10px; }
.desk-batt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.desk-batt__head b { font: 650 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.desk-batt__pct { font: 500 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.desk-batt__line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font: 500 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.desk-batt__warn { color: var(--warn, #d29922); font-size: 14px; }
.desk-batt__warn[hidden] { display: none; }
.desk-batt__source { font: 400 12px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); }
.desk-batt__label { margin-top: 8px; padding-top: 9px; border-top: 1px solid var(--line); font: 600 12px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); }
.desk-batt__mode { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; margin: 2px -6px 0; padding: 6px; border-radius: 9px; }
.desk-batt__mode { transition: background-color 0.15s ease; }
.desk-batt__mode:hover, .desk-batt__mode:focus-visible { background: color-mix(in srgb, var(--text-strong) 10%, transparent); }
.desk-batt__disc { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text-strong) 14%, transparent); color: var(--text-strong); transition: background-color 0.2s ease, color 0.2s ease; }
.desk-batt__disc .desk-batt__modeicon { width: 19px; height: 9px; }
.desk-batt__disc .desk-batt__level { width: 9px; transition: none; } /* its colour follows the disc; a transition of its own lagged behind */
.desk-batt__mode[aria-checked="true"] .desk-batt__disc { background: var(--sys-blue); color: #fff; }
.desk-batt__modetext { display: grid; gap: 1px; min-width: 0; }
.desk-batt__modetext b { font: 500 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.desk-batt__modetext small { font: 400 11px/15px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line in both modes: the panel keeps its height */
.desk-conn__btn[data-state="bad"] { color: var(--bad, #e5534b); }
.desk-conn__pop { width: 320px; gap: 8px; padding: 12px 8px 8px; }
.desk-conn__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px; }
.desk-conn__net { font: 500 12px/16px var(--font-sans, system-ui, sans-serif); padding: 3px 9px; border-radius: 99px; }
.desk-conn__net--ok { color: var(--ok, #3fb950); background: color-mix(in srgb, var(--ok, #3fb950) 14%, transparent); }
.desk-conn__net--bad { color: var(--bad, #e5534b); background: color-mix(in srgb, var(--bad, #e5534b) 14%, transparent); }
.desk-conn__label { padding: 6px 6px 0; border-top: 1px solid var(--line); font: 600 11px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); }
.desk-conn__list { display: grid; gap: 1px; }
.desk-conn__row { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 9px; }
button.desk-conn__row { cursor: pointer; }
button.desk-conn__row:hover, button.desk-conn__row:focus-visible { background: color-mix(in srgb, var(--text-strong) 10%, transparent); }
.desk-conn__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text-strong) 12%, transparent); }
.desk-conn__dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.desk-conn__dot--net { background: color-mix(in srgb, var(--text-strong) 16%, transparent); color: var(--text-muted); }
.desk-conn__dot--net::after { display: none; }
.desk-conn__dot--net svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.desk-conn__dot--net.is-on { background: var(--sys-blue); color: #fff; }
.desk-conn__dot--ok { background: color-mix(in srgb, var(--ok, #3fb950) 18%, transparent); }
.desk-conn__dot--ok::after { background: var(--ok, #3fb950); }
.desk-conn__dot--warn { background: color-mix(in srgb, var(--warn, #d29922) 18%, transparent); }
.desk-conn__dot--warn::after { background: var(--warn, #d29922); }
.desk-conn__dot--bad { background: color-mix(in srgb, var(--bad, #e5534b) 18%, transparent); }
.desk-conn__dot--bad::after { background: var(--bad, #e5534b); }
.desk-conn__name { display: grid; min-width: 0; }
.desk-conn__name b { font: 550 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-conn__name small { font: 400 11px/15px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-conn__lock { display: grid; place-items: center; color: var(--text-muted); }
.desk-conn__lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; }
.desk-conn__state { font: 500 12px/16px var(--font-sans, system-ui, sans-serif); color: var(--text-muted); white-space: nowrap; }
.desk-conn__state--warn { color: var(--warn, #d29922); }
.desk-conn__state--ask { color: var(--bad, #e5534b); font-weight: 600; }
/* the change of the password inside the card Účet (15. 11. 2026) */
.sys-pw { display: grid; gap: 10px; }
.sys-pw[hidden] { display: none; }
.sys-pw .input { width: 100%; }
/* the active field in the blue of the OS, as in the dialogs and on the login (the fields left the dialog on 15. 11. 2026) */
.shell-body .sys-win :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea):focus { border-color: var(--sys-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sys-blue) 22%, transparent); outline: none; }
.sys-pwbox .btn-row[hidden], .sys-pwbox .btn[hidden] { display: none; }
.desk-conn__state--bad { color: var(--bad, #e5534b); }
.desk-conn__fail { margin: 0; padding: 8px 6px; font-size: 12px; color: var(--text-muted); }
.desk-conn__all { all: unset; box-sizing: border-box; cursor: pointer; margin-top: 2px; padding: 8px 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; font: 500 13px/18px var(--font-sans, system-ui, sans-serif); color: var(--text-strong); }
.desk-conn__all:hover, .desk-conn__all:focus-visible { background: color-mix(in srgb, var(--text-strong) 10%, transparent); }
/* the same row in the panel Zvuk, which has wider edges: the row reaches as far as in Připojení */
.desk-sound__all { margin: 0 -6px -6px; }
@media (max-width: 820px) {
  .desk-conn__pop { width: min(320px, calc(100vw - 16px)); right: -52px; }
  .desk-conn__row, .desk-conn__all { min-height: 44px; }
}
/* the sign of Připojení: a little larger and bolder than the other signs of the bar */
.desk-conn__btn svg { width: 18px; height: 18px; stroke-width: 1.75; }
@media (max-width: 820px) { .desk-conn__pop { right: -8px; } }

/* the speaker drawn as the sign of Připojení: a little larger and bolder */
.desk-sound__btn svg { width: 18px; height: 18px; stroke-width: 1.75; }
.desk-sound__end svg { width: 17px; height: 17px; stroke-width: 1.6; }

/* „Internet v pořádku“: the blue of a switch that is on, the words in its light tone */
.desk-conn__net--ok { background: var(--sys-blue); color: #dcecff; }
html[data-theme="light"] .desk-conn__net--ok { background: #007aff; color: #e6f1ff; }

/* the corner of the desk: the mark of Eventscout opens the menu (as the mark of the maker in a menu bar) */
.desk-menu__btn svg { width: 24px; height: 24px; stroke-width: 1.5; overflow: visible; }
.wallpaper[hidden] { display: none; }
@media (max-width: 820px) { .desk-menu__btn svg { width: 26px; height: 26px; } }

/* the mark of Orbit carries its own yellow tile: the places that show it only give it the size */
.jv-tile, .desk-app--orbit .desk-app__icon { background: none; border: 0; padding: 0; overflow: visible; }
svg.orbit-mark { display: block; width: 100% !important; height: 100% !important; }
.jv-tile { box-shadow: none; filter: drop-shadow(0 6px 14px rgba(237, 186, 55, 0.22)); }
.jv-win .chrome .jv-tile, .jv-tile--small { filter: none; }

/* „beta“ beside the mark in the corner of the desk */
.desk-menu { gap: 4px; }
.desk-beta { padding: 0 6px 1px; border-radius: 99px; background: color-mix(in srgb, var(--text-strong) 14%, transparent); color: var(--text-muted); font: 600 9px/13px var(--font-sans, system-ui, sans-serif); letter-spacing: 0.05em; text-transform: lowercase; user-select: none; }

/* Orbit: the button of a new conversation at the right end of the bar, right above the button that deletes */
.jv-win .chrome-bar .jv-new { margin-left: auto; margin-right: 25px; }
@media (max-width: 820px) { .jv-win .chrome-bar .jv-new { margin-right: 21px; } }

/* Orbit: Odeslat only with a text in the field, then in the place of the gold disc of the voice */
.jv-compose:not(.has-text) .jv-round--send { display: none; }
.jv-compose.has-text .jv-round--live:not(.is-live) { display: none; }

/* Orbit: Odeslat keeps its gold disc, the arrow on it is light (as the signs of the other buttons) */
.jv-round--send, .jv-round--send:hover { color: #fffaf0; }
.jv-round--send svg { stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(90, 58, 0, 0.45)); }
/* while one writes the field carries a gold line, the colour of Orbit (Štěpán 13. 11. 2026; the Chat has its red one, css/chat.css) */
.jv-input:focus, .jv-input:focus-visible { outline: none; border-color: color-mix(in srgb, var(--brand-gold, #edba37) 70%, var(--line-strong, var(--line))); box-shadow: none; }


/* Orbit: the live conversation (Gemini Live) is the gold disc of the voice. While a conversation runs the disc
   carries a ring. */
.jv-round--live, .jv-round--live:hover { background: var(--orbit-grad); border: 0; color: #fffaf0; box-shadow: var(--gold-shadow); }
.jv-round--live:hover { background: var(--gold-grad-hover, var(--orbit-grad)); }
.jv-round--live svg { stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(90, 58, 0, 0.45)); }
.jv-round--live.is-live { background: var(--orbit-grad); color: #fffaf0; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

/* Odeslat keeps its full gold also while Orbit is not connected (it only does nothing then; the note above the
   field says why); it dims only while an answer is on its way */
.jv-round--send:disabled { opacity: 1; }
.jv-compose.is-busy .jv-round--send { opacity: 0.5; }

/* ---------- the dock: icons can be dragged into another order (js/shell/hub.js) ---------- */
.desk-dock__app { touch-action: none; user-select: none; -webkit-user-select: none; transition: transform 0.18s ease; }
.desk-dock__app.is-dragging { transition: none; z-index: 3; cursor: grabbing; }
.desk-dock__app.is-dragging .desk-app__icon { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
/* no label and no hover frame while an icon is on its way */
.desk-dock.is-sorting [data-tip]::before, .desk-dock.is-sorting [data-tip]::after { opacity: 0 !important; }
/* a logo is never picked up by the browser as a picture to drag (the dock, the small windows, the bar of a window) */
.desk img, .desk svg, .chrome img, .chrome svg, .jv-tile svg { -webkit-user-drag: none; user-drag: none; }
.desk-dock__app .desk-app__icon, .desk-dock__app .desk-app__icon * { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .desk-dock__app { transition: none; } }
/* Připojení: the internet as a switch of a menu bar (an indicator only) */
.desk-conn__switch { position: relative; flex: none; width: 38px; height: 22px; border-radius: 99px; background: color-mix(in srgb, var(--text-strong) 22%, transparent); transition: background 0.2s ease; }
.desk-conn__switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease; }
.desk-conn__switch.is-on { background: var(--sys-blue); }
html[data-theme="light"] .desk-conn__switch.is-on { background: #007aff; }
.desk-conn__switch.is-on::after { transform: translateX(16px); }

/* ---------- one pointer for the whole system (Štěpán 13. 11. 2026) ----------
   As on a Mac: the plain arrow over everything, buttons and links included. The exceptions: the edges and corners
   of a window that resize it, and the text cursor in a field one writes into. Last in the file and !important, so
   it holds over every `cursor` set by the apps. */
*, *::before, *::after { cursor: default !important; }
input:is([type="text"], [type="search"], [type="email"], [type="password"], [type="number"], [type="url"], [type="tel"], :not([type])),
textarea, [contenteditable="true"], [contenteditable="true"] * { cursor: text !important; }
.win-grip[data-edge="n"], .win-grip[data-edge="s"] { cursor: ns-resize !important; }
.win-grip[data-edge="w"], .win-grip[data-edge="e"] { cursor: ew-resize !important; }
.win-grip[data-edge="nw"], .win-grip[data-edge="se"] { cursor: nwse-resize !important; }
.win-grip[data-edge="ne"], .win-grip[data-edge="sw"] { cursor: nesw-resize !important; }

/* Select fields in the whole OS (Štěpán 13. 11. 2026): the arrow of the browser sat on the very edge. A quiet chevron of
   our own, 14 px from the right edge, the same in the light and the dark look; the text never runs under it. */
.shell-body select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238e8e93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 12px;
  padding-right: 40px; text-overflow: ellipsis;
}

/* Toasts in the corner (Štěpán 13. 11. 2026): the plain notice and the success have the blue of the system (no pale
   lavender, no green); warning and danger keep their colours */
.shell-body .toast { --toast-info: var(--sys-blue); --toast-success: var(--sys-blue); }

/* Orbit in the bar of the desk (14. 11. 2026): a flat sign as the other items; it glows gold during a live call */
.desk-orbit svg.orbit-sign { width: 15px; height: 15px; display: block; }
.desk-orbit.is-live { color: var(--brand-gold, #edba37); }
.desk-orbit.is-live svg.orbit-sign { animation: orbit-live-pulse 1.8s ease-in-out infinite; }
@keyframes orbit-live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* the bar of a live call while Orbit is not in front: over the dock, or at the very bottom over an app on the whole screen */
.orbit-live-bar { position: fixed; left: 50%; bottom: 96px; z-index: 75; transform: translateX(-50%); width: min(560px, calc(100vw - 32px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 18px;
  background: color-mix(in srgb, #1c1c1e 86%, transparent); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); color: #f2f2f2;
  transition: bottom 0.25s ease; animation: olb-in 0.25s ease-out; }
.orbit-live-bar[hidden] { display: none; }
@keyframes olb-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translateX(-50%); } }
.olb-orb { all: unset; position: relative; width: 38px; height: 38px; cursor: pointer; display: grid; place-items: center; }
.olb-core { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff1b0 0%, #ffd23f 38%, #f2a900 100%);
  box-shadow: 0 0 18px rgba(255, 196, 40, 0.45); transition: transform 0.06s linear; }
.olb-ring { position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid rgba(255, 210, 63, 0.7); transition: transform 0.06s linear, opacity 0.1s linear; }
.orbit-live-bar[data-state="connecting"] .olb-core { animation: orbit-live-pulse 1.2s ease-in-out infinite; }
.olb-text { display: grid; gap: 1px; min-width: 0; }
.olb-text b { font: 600 13px/18px var(--font-sans, system-ui, sans-serif); }
.olb-line { font-size: 13px; line-height: 18px; color: rgba(242, 242, 242, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.olb-line:empty { display: none; }
.olb-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 12px;
  border-radius: 10px; font: 500 13px/1 var(--font-sans, system-ui, sans-serif); background: rgba(255, 255, 255, 0.1); color: #f2f2f2; }
.olb-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.olb-btn:active { filter: brightness(0.88); }
.olb-btn:focus-visible, .olb-orb:focus-visible { outline: 2px solid var(--sys-blue, #0a84ff); outline-offset: 2px; }
.olb-end { background: #f5233f; color: #fff; }
@media (prefers-reduced-motion: reduce) { .orbit-live-bar, .desk-orbit.is-live svg.orbit-sign, .orbit-live-bar[data-state="connecting"] .olb-core { animation: none; } }

/* The quick field of Orbit over the dock (js/shell/orbit-bar.js orbitQuick, 14. 11. 2026): as the quick entry of Claude */
.orbit-quick { position: fixed; left: 50%; bottom: 96px; z-index: 76; transform: translateX(-50%); width: min(680px, calc(100vw - 32px));
  border-radius: 20px; background: color-mix(in srgb, #1c1c1e 88%, transparent); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); color: #f2f2f2; overflow: hidden;
  transition: bottom 0.25s ease; animation: olb-in 0.2s ease-out; }
.orbit-quick[hidden] { display: none; }
.oq-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; }
.oq-mark { display: grid; place-items: center; color: #f2b705; }
.oq-mark svg { width: 24px; height: 24px; }
.oq-input { all: unset; min-width: 0; font: 400 17px/24px var(--font-sans, system-ui, sans-serif); color: #f2f2f2; caret-color: #f2b705; }
.oq-input::placeholder { color: rgba(242, 242, 242, 0.45); }
.oq-round { all: unset; box-sizing: border-box; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); color: #f2f2f2; }
.oq-round[hidden] { display: none; }
.oq-round svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oq-send { background: #f2b705; color: #1c1c1e; }
.oq-send:disabled { background: rgba(255, 255, 255, 0.1); color: rgba(242, 242, 242, 0.35); cursor: default; }
.oq-round:not(:disabled):active, .oq-btn:active { filter: brightness(0.88); }
.oq-round:focus-visible, .oq-btn:focus-visible { outline: 2px solid var(--sys-blue, #0a84ff); outline-offset: 2px; }
.oq-answer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 18px 14px 18px; display: grid; gap: 8px; max-height: min(46vh, 420px); overflow: auto; }
.oq-answer[hidden] { display: none; }
.oq-text { margin: 0; font-size: 14px; line-height: 21px; white-space: pre-wrap; color: #f2f2f2; }
.oq-text--wait { color: rgba(242, 242, 242, 0.6); animation: orbit-live-pulse 1.2s ease-in-out infinite; }
.oq-text--error { color: #ff8a8a; }
.oq-confirm { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.oq-done { margin: 0; font-size: 13px; line-height: 18px; color: rgba(242, 242, 242, 0.6); }
.oq-done::before { content: "✓ "; color: rgba(242, 242, 242, 0.45); }
.oq-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.oq-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 32px; padding: 6px 14px; border-radius: 10px;
  font: 500 13px/1 var(--font-sans, system-ui, sans-serif); background: rgba(255, 255, 255, 0.1); color: #f2f2f2; text-decoration: none; }
.oq-btn--yes { background: #f2b705; color: #1c1c1e; }
.oq-btn--quiet { margin-right: auto; background: transparent; color: rgba(242, 242, 242, 0.7); padding-left: 0; }
@media (prefers-reduced-motion: reduce) { .orbit-quick, .oq-text--wait { animation: none; } }
.orbit-quick .oq-input, .orbit-quick .oq-input:focus, .orbit-quick .oq-input:focus-visible { border: 0; outline: none; box-shadow: none; background: transparent; padding: 0; height: auto; }
.desk-batt__source[hidden] { display: none; }

/* a quiet renewal in an app window (HRM, Pošta, Metricool, 14. 11. 2026): the arrow of the reload button turns, no
   spinner of its own in the bar */
.jv-round.is-busy svg { animation: reload-turn 0.9s linear infinite; transform-origin: 50% 50%; }
@keyframes reload-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .jv-round.is-busy svg { animation: none; opacity: 0.55; } }
/* the login: its button in the blue of the OS, as the buttons of its dialogs (14. 11. 2026) */
.shell-body .gate-card :is(.btn--primary, .btn--primary:hover, .btn--primary:disabled:hover) { background: var(--sys-blue); color: #fff; border-color: transparent; box-shadow: none; }
.shell-body .gate-card .btn--primary:active:not(:disabled) { filter: brightness(0.88); }
.shell-body .gate-card .btn--primary:focus-visible { outline: 2px solid var(--sys-blue); outline-offset: 2px; }
/* its word in the middle, and the field in use with the outline of the OS, not the gold of the business (Štěpán 14. 11. 2026) */
.shell-body .gate-login .gate-brand { justify-content: center; text-align: center; }
.shell-body .gate-login :is(.input, input):focus { border-color: var(--sys-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sys-blue) 22%, transparent); outline: none; }

/* a window on the whole screen hides the dock also under another window over it (js/shell/main.js syncFullScreen) */
/* and the bar of the desk too: it would lie over the strip with the dots of the window behind (Štěpán 14. 11. 2026) */
body.has-full-window :is(.desk-dock, .desk-menu, .desk-status, .desk-main > .desk-clock) { visibility: hidden; pointer-events: none; }

/* ‹ | › and the name of what is shown, in the strip of a window, as in the System Settings of a Mac (3. 12. 2026,
   js/shell/navpill.js; instead of the arrow link above the heading that looked like a web browser) */
.navpill { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; margin-left: 14px; margin-right: 8px; }
.navpill__seg { flex: none; display: flex; align-items: center; height: 28px; padding: 0 2px; border-radius: 99px; border: 1px solid var(--line-strong, var(--line)); background: color-mix(in srgb, var(--surface-1, var(--surface)) 70%, transparent); }
.navpill__btn { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 30px; height: 24px; border-radius: 99px; color: var(--text-strong); cursor: pointer; }
.navpill__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.navpill__btn:hover:not(:disabled) { background: var(--surface-2); }
.navpill__btn:disabled { color: var(--text-muted); opacity: 0.4; cursor: default; }
.navpill__btn:focus-visible { outline: 2px solid var(--sys-blue, var(--accent)); outline-offset: 1px; }
.navpill__sep { width: 1px; height: 14px; background: var(--line-strong, var(--line)); }
.navpill__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 650 14px/18px var(--font-sans, system-ui, sans-serif); letter-spacing: -0.01em; color: var(--text-strong); }
