/* Ukázka vzdálené správy (demo.js) na samostatné stránce přes celé okno. Nahoře úzká hlavička webu a řádek s vysvětlivkou,
   pod nimi okno sezení jako v konzoli (Firm/Remote): lišta a obraz PC. Simulované Windows 11 mají pevnou velikost
   1280 × 800 bodů (monitor 2: 1920 × 1080), demo.js je zmenšuje (Přizpůsobit oknu) nebo ukazuje 1:1 (100 %).
   Vlastní ikony a kresba, písmo systému (Segoe UI), žádné obrázky ani loga. */

/* ------------------------------------------------------------ stránka */
body.demo-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
@media (min-width: 760px) and (min-height: 560px) {
  body.demo-page { height: 100vh; height: 100dvh; overflow: hidden; }
}
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.d-top { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; flex: none; border-bottom: 1px solid var(--line); background: var(--header-bg); }
.d-top .brand { font-size: 1.3rem; gap: .45rem; }
.d-top .brand img { width: 30px; height: 30px; }
.d-title { margin: 0; padding-left: 14px; border-left: 1px solid var(--line); font: 600 .95rem/1.2 var(--text); color: var(--ink-soft);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.d-back { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .8rem; border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.d-back:hover { border-color: var(--brand); color: var(--brand-deep); }
.d-back .ic { width: 1rem; height: 1rem; }
.d-strip { display: flex; align-items: flex-start; gap: 10px; padding: 8px 16px; flex: none; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.d-badge { flex: none; margin-top: .05rem; padding: .1rem .55rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .78rem; }
.d-explain { margin: 0; flex: 1; min-width: 0; min-height: 2.9em; }
.d-explain b { color: var(--ink); }
.d-phone { display: none; margin: 0 16px 8px; padding: .45rem .7rem; border-radius: 8px; background: var(--mist); color: var(--ink); font-size: .85rem; }
.d-nojs { margin: 1rem 16px; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; }

/* ------------------------------------------------------------ okno sezení (lišta jako v konzoli) */
.rd { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0 12px 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  --rd-ok: #15803d; --rd-ok-soft: rgba(22, 163, 74, .12); --rd-warn-soft: #fff7e6; --rd-bad: #b91c1c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rd { --rd-ok: #4ade80; --rd-ok-soft: rgba(74, 222, 128, .12); --rd-warn-soft: rgba(251, 191, 36, .12); --rd-bad: #fca5a5; }
}
:root[data-theme="dark"] .rd { --rd-ok: #4ade80; --rd-ok-soft: rgba(74, 222, 128, .12); --rd-warn-soft: rgba(251, 191, 36, .12); --rd-bad: #fca5a5; }
.rd:fullscreen { margin: 0; border: 0; border-radius: 0; width: 100%; height: 100%; }
body.is-expanded .d-top, body.is-expanded .d-strip, body.is-expanded .d-phone { display: none; }
body.is-expanded .rd { margin: 0; border: 0; border-radius: 0; }

.rd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .5rem .7rem; flex: none; border-bottom: 1px solid var(--line); font-size: .82rem; line-height: 1.2; }
.rd-pc { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; margin-right: .2rem; }
.rd-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--rd-ok); flex: none; }
.rd-dot.is-off { background: var(--off); }
.rd-dot.is-wait { background: var(--warn); }
.rd-status { color: var(--ink-soft); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28rem; }
.rd-note { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .55rem; border-radius: 6px; background: var(--rd-warn-soft); color: var(--ink); max-width: 30rem; }
.rd-note .ic { width: 1rem; height: 1rem; color: var(--warn); }
.rd-note span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-grow { flex: 1 1 auto; }
.rd-group { display: inline-flex; flex-wrap: wrap; gap: .25rem; }
.rd-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .55rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.rd-btn:hover:not(:disabled) { background: var(--surface-2); border-color: var(--brand); }
.rd-btn:disabled { opacity: .5; cursor: default; }
.rd-btn[aria-pressed="true"], .rd-btn[aria-expanded="true"] { background: var(--mist); border-color: var(--brand); color: var(--brand-deep); }
.rd-btn.is-primary { color: var(--brand-deep); border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.rd-btn.is-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.rd-btn.is-danger { color: var(--rd-bad); border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); }
.rd-btn.is-fill { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.rd-btn.is-fill:hover:not(:disabled) { background: var(--btn-bg-hover); color: var(--btn-fg); }
.rd-btn[hidden], .rd-link[hidden], .rd-note[hidden] { display: none; }
.rd-link { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 6px; border: 0; font: inherit;
  background: var(--rd-ok-soft); color: var(--rd-ok); font-weight: 600; cursor: help; }
.rd-link span { font-weight: 400; opacity: .85; font-variant-numeric: tabular-nums; }
.rd-menu-wrap { position: relative; }
.rd-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 15.5rem; margin: 0; padding: .3rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); max-height: 70vh; overflow: auto; }
.rd-menu button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .38rem .55rem; border: 0; border-radius: 5px;
  background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.rd-menu button:hover, .rd-menu button:focus-visible, .rd-menu button[aria-pressed="true"] { background: var(--mist); }
.rd-menu kbd { min-width: 7.6rem; padding: .1rem .35rem; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .75rem; text-align: center; }
.rd-menu small { display: block; color: var(--ink-soft); }
.rd-menu .rd-menu-head { padding: .45rem .55rem .2rem; font-size: .75rem; color: var(--ink-soft); }
.rd-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .55rem .75rem; flex: none; background: var(--rd-warn-soft);
  border-bottom: 1px solid var(--line); font-size: .88rem; }
.rd-confirm[hidden] { display: none; }
.rd-confirm p { margin: 0 auto 0 0; }

/* Obraz PC */
.rd-view { position: relative; flex: 1 1 auto; min-height: 200px; background: #0f1115; overflow: hidden; overscroll-behavior: contain; }
.rd-view:not(.is-fit) { overflow: auto; }
.rd-cover { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 1rem; background: #0f1115; color: #cbd5e1; text-align: center; font-size: .95rem; }
.rd-cover[hidden], .rd-cover [hidden] { display: none; }
.rd-cover p { margin: 0; max-width: 34rem; }
.rd-cover-toast { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .85rem; color: #94a3b8; }
.rd-cover-toast .w-toast { position: relative; left: auto; bottom: auto; transform: none; text-align: left; transition: none; }
.rd-spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .18); border-top-color: #cbd5e1; animation: rd-spin 1s linear infinite; }
@keyframes rd-spin { to { transform: rotate(360deg); } }

/* Správce souborů (v konzoli <dialog> nad obrazem) */
.rd-files { position: absolute; top: .5rem; left: .5rem; right: .5rem; max-height: calc(100% - 1rem); z-index: 40; display: flex; flex-direction: column; gap: .6rem; padding: .85rem; overflow: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .5); font-size: .88rem; }
.rd-files[hidden] { display: none; }
.rd-files-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rd-files-head p { margin: 0; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: .45rem; }
.rd-panes { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; min-height: 0; }
.rd-pane { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.rd-pane-title { margin: 0; font-weight: 700; color: var(--brand-deep); }
.rd-pane-path { display: flex; gap: .4rem; align-items: center; min-width: 0; }
.rd-pane-path > span { flex: 1; min-width: 0; padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-pane-path select { font: inherit; padding: .28rem .4rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); max-width: 48%; }
.rd-filelist { margin: 0; padding: .2rem; list-style: none; border: 1px solid var(--line); border-radius: 6px; min-height: 7.5rem; max-height: 12rem; overflow: auto; }
.rd-file { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .32rem .45rem; border: 0; border-radius: 4px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.rd-file:hover { background: var(--surface-2); }
.rd-file[aria-pressed="true"] { background: var(--mist); outline: 1px solid var(--brand); }
.rd-file .wi { width: 1.1rem; height: 1.1rem; }
.rd-file-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-file span:last-child { margin-left: auto; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-file-empty { padding: .5rem; color: var(--ink-soft); }
.rd-pane-actions { display: flex; justify-content: flex-end; }
.rd-transfers { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.rd-transfers li { display: grid; grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1.4fr) auto; align-items: center; gap: .5rem; padding: .3rem .5rem; border-radius: 6px; background: var(--surface-2); }
.rd-transfers progress { width: 100%; accent-color: var(--brand); }
.rd-transfers .rd-t-name, .rd-transfers .rd-t-state { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-transfers .rd-t-state { color: var(--ink-soft); }

@media (max-width: 900px) {
  .rd-btn .rd-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rd-bar { gap: .3rem; padding: .45rem; }
  .rd-status { max-width: 14rem; }
}
@media (max-width: 760px) {
  .d-title { display: none; }
  .d-back span { display: none; }
  .rd-panes { grid-template-columns: minmax(0, 1fr); }
  .rd-transfers li { grid-template-columns: minmax(0, 1fr) 5rem auto; }
  .rd-transfers .rd-t-state { display: none; }
  .rd-menu { right: auto; left: 0; }
  .rd { margin: 0 6px 8px; }
  .rd { flex: none; }
  .rd-view { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .d-strip { font-size: .84rem; }
  .d-explain { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; }
  .rd-status, .rd-note { max-width: 100%; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .d-phone { display: block; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .d-strip, .d-phone { display: none !important; }
  .d-top { height: 44px; }
}
@media (max-width: 420px) {
  .d-top { gap: 8px; padding: 0 10px; }
  .d-top .brand span { display: none; }
}

/* ------------------------------------------------------------ simulované Windows 11 */
.w-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.w-desk { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; overflow: hidden; contain: layout paint;
  background: var(--w-wall); color: var(--w-text); font: 14px/1.43 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; text-align: left;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  --w-wall: #1d4f73;
  --w-text: #1b1b1b; --w-text2: #5c5c5c; --w-text3: #a0a0a0;
  --w-mica: #eef2f6; --w-mica-off: #f9f9f9; --w-layer: #f9f9f9; --w-content: #f9f9f9;
  --w-card: #fbfbfb; --w-card-solid: #ffffff; --w-card-border: rgba(0, 0, 0, .07);
  --w-stroke: rgba(0, 0, 0, .08); --w-stroke-strong: rgba(0, 0, 0, .16);
  --w-hover: rgba(0, 0, 0, .035); --w-hover-strong: rgba(0, 0, 0, .06);
  --w-sel: rgba(0, 95, 184, .11); --w-sel-border: rgba(0, 95, 184, .28);
  --w-acc: #005fb8; --w-acc-text: #ffffff; --w-acc-link: #005fb8;
  --w-ctrl: #fbfbfb; --w-ctrl-h: #f5f5f5; --w-ctrl-b: rgba(0, 0, 0, .08); --w-ctrl-bb: rgba(0, 0, 0, .2);
  --w-input: #ffffff; --w-input-b: rgba(0, 0, 0, .08); --w-input-bb: rgba(0, 0, 0, .45);
  --w-acry: rgba(243, 243, 243, .86); --w-acry-solid: #f2f2f2; --w-fly-b: rgba(0, 0, 0, .1);
  --w-tb: rgba(238, 241, 245, .86); --w-tb-b: rgba(0, 0, 0, .07); --w-tb-hover: rgba(255, 255, 255, .62); --w-tb-hover-b: rgba(0, 0, 0, .05);
  --w-pill: rgba(255, 255, 255, .72); --w-foot: rgba(0, 0, 0, .035); --w-win-border: rgba(0, 0, 0, .14);
  --w-info: #eef5fc; --w-photo: #f3f3f3; --w-heat: rgba(255, 214, 0, .13); }
.w-desk.w-dark {
  --w-text: #ffffff; --w-text2: #cfcfcf; --w-text3: #8a8a8a;
  --w-mica: #1f2329; --w-mica-off: #202020; --w-layer: #2b2b2b; --w-content: #272727;
  --w-card: #2b2b2b; --w-card-solid: #272727; --w-card-border: rgba(0, 0, 0, .25);
  --w-stroke: rgba(255, 255, 255, .08); --w-stroke-strong: rgba(255, 255, 255, .16);
  --w-hover: rgba(255, 255, 255, .05); --w-hover-strong: rgba(255, 255, 255, .08);
  --w-sel: rgba(96, 205, 255, .15); --w-sel-border: rgba(96, 205, 255, .34);
  --w-acc: #60cdff; --w-acc-text: #000000; --w-acc-link: #99ebff;
  --w-ctrl: rgba(255, 255, 255, .06); --w-ctrl-h: rgba(255, 255, 255, .09); --w-ctrl-b: rgba(255, 255, 255, .07); --w-ctrl-bb: rgba(255, 255, 255, .03);
  --w-input: rgba(255, 255, 255, .06); --w-input-b: rgba(255, 255, 255, .08); --w-input-bb: rgba(255, 255, 255, .55);
  --w-acry: rgba(40, 40, 40, .86); --w-acry-solid: #2c2c2c; --w-fly-b: rgba(0, 0, 0, .4);
  --w-tb: rgba(28, 28, 28, .86); --w-tb-b: rgba(255, 255, 255, .06); --w-tb-hover: rgba(255, 255, 255, .07); --w-tb-hover-b: rgba(255, 255, 255, .04);
  --w-pill: rgba(255, 255, 255, .06); --w-foot: rgba(0, 0, 0, .2); --w-win-border: rgba(255, 255, 255, .1);
  --w-info: #1e2a35; --w-photo: #1c1c1c; --w-heat: rgba(255, 214, 0, .06); }
.w-desk2 { width: 1920px; height: 1080px; }
.w-desk.is-q0 { filter: blur(.45px) saturate(.9); }
.w-desk[hidden] { display: none; }
.w-desk button, .w-desk input, .w-desk textarea, .w-desk select { font: inherit; color: inherit; }
.w-desk button { cursor: default; }
.w-desk input, .w-desk textarea, .t-out { user-select: text; -webkit-user-select: text; }
.w-desk :focus { outline: none; }
.w-desk :focus-visible { outline: 2px solid var(--w-text); outline-offset: -2px; border-radius: 4px; }
.w-desk [hidden] { display: none !important; }
.w-desk h1, .w-desk h2, .w-desk h3 { font-family: inherit; letter-spacing: normal; line-height: 1.2; }
.wi { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; overflow: visible; }

/* Ikony na ploše */
.w-icons { position: absolute; inset: 0 0 48px 0; margin: 0; padding: 0; list-style: none; }
.w-icon { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px 5px; border: 1px solid transparent; border-radius: 3px;
  background: none; color: #fff; font-size: 12px; line-height: 1.25; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 1px rgba(0, 0, 0, .7); }
.w-icon .wi { width: 40px; height: 40px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
.is-l .w-icon .wi { width: 60px; height: 60px; }
.is-s .w-icon .wi { width: 26px; height: 26px; }
.w-icon-l { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
.w-icon:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .16); }
.w-icon[aria-pressed="true"] { background: rgba(140, 185, 235, .36); border-color: rgba(185, 215, 250, .55); }
.w-icon[aria-pressed="true"] .w-icon-l { -webkit-line-clamp: 5; }
.w-rename { width: 100%; padding: 1px 3px; border: 1px solid #005fb8; background: #fff; color: #000 !important; font-size: 12px; text-shadow: none; text-align: center; border-radius: 0; }
.w-a-refresh { animation: w-refresh .26s; }
@keyframes w-refresh { 0%, 40% { opacity: 0; } }

/* Okna */
.w-wins { position: absolute; inset: 0 0 48px 0; z-index: 1; pointer-events: none; }
.w-win { position: absolute; display: flex; flex-direction: column; min-width: 240px; border-radius: 8px; overflow: hidden; pointer-events: auto;
  background: var(--w-mica-off); border: 1px solid var(--w-win-border); color: var(--w-text);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .14), 0 0 2px rgba(0, 0, 0, .1); }
.w-win.is-active { background: var(--w-mica); box-shadow: 0 32px 64px rgba(0, 0, 0, .3), 0 2px 21px rgba(0, 0, 0, .22); }
.w-win.is-max, .w-win.is-snap { border-radius: 0; border-color: transparent; box-shadow: none; }
.w-win.is-closing { pointer-events: none; }
.w-geo { transition: left .22s cubic-bezier(.1, .9, .2, 1), top .22s cubic-bezier(.1, .9, .2, 1), width .22s cubic-bezier(.1, .9, .2, 1), height .22s cubic-bezier(.1, .9, .2, 1); }
.w-a-open { animation: w-open .19s cubic-bezier(.1, .9, .2, 1); }
@keyframes w-open { from { opacity: 0; transform: scale(.94); } }
.w-a-close { animation: w-close .15s cubic-bezier(.7, 0, 1, .5) forwards; }
@keyframes w-close { to { opacity: 0; transform: scale(.94); } }
.w-a-min { animation: w-min .22s cubic-bezier(.7, 0, 1, .5) forwards; }
@keyframes w-min { to { opacity: 0; transform: translate(var(--mx), var(--my)) scale(.2); } }
.w-a-unmin { animation: w-unmin .24s cubic-bezier(.1, .9, .2, 1); }
@keyframes w-unmin { from { opacity: 0; transform: translate(var(--mx), var(--my)) scale(.2); } }
.w-bar { display: flex; align-items: stretch; height: 32px; flex: none; touch-action: none; }
.w-bar-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 14px; font-size: 12px; }
.w-ticon { width: 16px; height: 16px; }
.w-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-win:not(.is-active) .w-bar-l, .w-win:not(.is-active) .w-cap { color: var(--w-text3); }
.w-caps { display: flex; flex: none; }
.w-cap { width: 46px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--w-text); }
.w-cap .wi { width: 14px; height: 14px; }
.w-cap:hover { background: var(--w-hover-strong); }
.w-close:hover { background: #c42b1c; color: #fff !important; }
.w-close:active { background: #c83c31; }
.w-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.w-body > * { flex: 1; min-height: 0; }
[data-app="explorer"] .w-bar, [data-app="notepad"] .w-bar, [data-app="terminal"] .w-bar { height: 40px; }
[data-app="explorer"] .w-bar-l, [data-app="notepad"] .w-bar-l, [data-app="terminal"] .w-bar-l { align-items: flex-end; padding-left: 8px; gap: 4px; }
.x-tab { display: flex; align-items: center; gap: 10px; height: 34px; min-width: 0; max-width: 250px; padding: 0 14px; border-radius: 8px 8px 0 0; background: var(--w-layer); }
.x-tab .w-title { color: var(--w-text); }
.x-tab.is-dark { background: #0c0c0c; color: #fff; }
.x-newtab { width: 32px; height: 28px; margin-bottom: 3px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: inherit; }
.x-newtab:hover:not(:disabled) { background: var(--w-hover-strong); }
.x-newtab .wi { width: 14px; height: 14px; }
[data-app="notepad"] .w-bar-l > .w-ticon { margin: 0 4px 12px 6px; }

/* Ovládací prvky Windows */
.w-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 32px; padding: 0 12px; border-radius: 4px;
  border: 1px solid var(--w-ctrl-b); border-bottom-color: var(--w-ctrl-bb); background: var(--w-ctrl); color: var(--w-text); font-size: 14px; white-space: nowrap; }
.w-btn:hover:not(:disabled) { background: var(--w-ctrl-h); }
.w-btn:disabled { color: var(--w-text3); }
.w-btn.is-accent { background: var(--w-acc); color: var(--w-acc-text) !important; border-color: rgba(255, 255, 255, .08); border-bottom-color: rgba(0, 0, 0, .35); }
.w-btn.is-accent:hover:not(:disabled) { background: var(--w-acc); filter: brightness(1.1); }
.w-btn[aria-pressed="true"] { border-color: var(--w-acc); color: var(--w-acc-link); }
.w-link { padding: 0; border: 0; background: none; color: var(--w-acc-link) !important; font-size: 13px; cursor: pointer !important; text-align: left; }
.w-link:hover { text-decoration: underline; }
.w-field, .x-search, .s-find, .tm-search, .w-start-input { height: 32px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--w-input-b); border-bottom-color: var(--w-input-bb);
  background: var(--w-input); color: var(--w-text); font-size: 14px; }
.w-field:focus, .x-search:focus, .s-find:focus, .tm-search:focus, .w-start-input:focus { border-bottom: 2px solid var(--w-acc); outline: none; }
.w-desk input[type="search"]::-webkit-search-cancel-button { display: none; }
.w-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #8fb6e3, #3d6fa8); color: #fff; font-weight: 600; font-size: 12px; }
.w-avatar.is-big { width: 64px; height: 64px; font-size: 22px; }
.w-avatar.is-huge { width: 104px; height: 104px; font-size: 34px; }

/* Nabídky a panely */
.w-pops { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.w-pops > * { position: absolute; pointer-events: auto; }
.w-menu, .w-fly, .w-n-card, .w-snapfly { background: var(--w-acry); border: 1px solid var(--w-fly-b); border-radius: 8px; color: var(--w-text);
  -webkit-backdrop-filter: blur(30px) saturate(1.3); backdrop-filter: blur(30px) saturate(1.3); box-shadow: 0 8px 16px rgba(0, 0, 0, .14), 0 0 1px rgba(0, 0, 0, .2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .w-menu, .w-fly, .w-n-card, .w-snapfly, .w-taskbar { background: var(--w-acry-solid); }
}
.w-menu { margin: 0; padding: 4px; list-style: none; min-width: 220px; }
.w-mi { display: flex; align-items: center; gap: 12px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: 4px; background: none; font-size: 14px; color: var(--w-text); text-align: left; white-space: nowrap; }
.w-mi:hover:not(:disabled), .w-mi[aria-expanded="true"] { background: var(--w-hover-strong); }
.w-mi:focus-visible { background: var(--w-hover-strong); outline: 2px solid var(--w-text); outline-offset: -2px; }
.w-mi:disabled { color: var(--w-text3); }
.w-mi-ic { width: 16px; display: grid; place-items: center; }
.w-mi-l { flex: 1; }
.w-mi-k { margin-left: 28px; color: var(--w-text2); font-size: 12px; }
.w-mi-sub { width: 12px; height: 12px; }
.w-menu-sep { height: 1px; margin: 4px -4px; background: var(--w-stroke); }
.w-a-pop { animation: w-pop .16s cubic-bezier(.1, .9, .2, 1); }
@keyframes w-pop { from { opacity: 0; transform: translateY(-6px); } }
.w-snapghost { position: absolute; z-index: 1; border-radius: 8px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: left .15s, width .15s; pointer-events: none; }
.w-snapfly { display: flex; gap: 10px; padding: 10px; }
.w-snaplay { display: flex; gap: 3px; width: 92px; height: 58px; padding: 3px; border-radius: 6px; background: var(--w-hover-strong); }
.w-snapzone { padding: 0; border: 1px solid var(--w-stroke-strong); border-radius: 3px; background: var(--w-ctrl); flex: 1; }
.w-snapzone.f50 { flex: 50; } .w-snapzone.f66 { flex: 66; } .w-snapzone.f34 { flex: 34; } .w-snapzone.f33 { flex: 33; }
.w-snapzone:hover, .w-snapzone:focus-visible { background: var(--w-acc); border-color: var(--w-acc); }
.w-identify { position: absolute; left: 40px; top: 30px; z-index: 8; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 8px;
  background: rgba(32, 32, 32, .82); color: #fff; font-size: 96px; font-weight: 600; line-height: 1; pointer-events: none; }
.w-flash { position: absolute; inset: 0; z-index: 9; background: #fff; pointer-events: none; animation: w-flash .4s forwards; }
@keyframes w-flash { from { opacity: .75; } to { opacity: 0; } }

/* Hlavní panel */
.w-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; z-index: 3; display: flex; align-items: center; justify-content: center;
  background: var(--w-tb); border-top: 1px solid var(--w-tb-b); -webkit-backdrop-filter: blur(40px) saturate(1.4); backdrop-filter: blur(40px) saturate(1.4); }
.w-tb-center, .w-tb-apps { display: flex; align-items: center; gap: 4px; }
.w-tbb { position: relative; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--w-text); }
.w-tbb .wi { width: 24px; height: 24px; }
.w-tbb:hover, .w-tbb[aria-expanded="true"], .w-tray-btn:hover, .w-tray-btn[aria-expanded="true"] { background: var(--w-tb-hover); border-color: var(--w-tb-hover-b); }
.w-start-btn { color: var(--w-acc); }
.w-start-btn .wi { width: 20px; height: 20px; }
.w-app-btn::after { content: ""; position: absolute; bottom: 1px; left: 50%; width: 0; height: 3px; border-radius: 2px; background: var(--w-text3); transform: translateX(-50%); transition: width .2s; }
.w-app-btn.is-running::after { width: 6px; }
.w-app-btn.is-front { background: var(--w-tb-hover); border-color: var(--w-tb-hover-b); }
.w-app-btn.is-front::after { width: 16px; background: var(--w-acc); }
.w-search-pill { display: flex; align-items: center; gap: 10px; width: 190px; height: 34px; margin: 0 6px 0 2px; padding: 0 14px; border-radius: 17px;
  border: 1px solid var(--w-stroke); background: var(--w-pill); color: var(--w-text2); font-size: 13px; }
.w-search-pill:hover { background: var(--w-tb-hover); }
.w-tray { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: 2px; }
.w-tray-btn { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--w-text); font-size: 12px; }
.w-tray-lang { height: 40px; padding: 0 8px; display: grid; place-items: center; font-size: 12px; }
.w-clock-txt { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; font-variant-numeric: tabular-nums; }
.w-clock-txt.is-solo { padding: 0 12px; font-size: 12px; }
.w-bell { position: relative; display: grid; }
.w-bell-dot { position: absolute; top: -2px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--w-acc); box-shadow: 0 0 0 1px var(--w-acry-solid); }
.w-peek { width: 12px; height: 48px; margin-left: 4px; padding: 0; border: 0; border-left: 1px solid var(--w-stroke-strong); background: none; }
.w-peek:hover { background: var(--w-tb-hover); }
.w-taskbar.is-secondary .w-tbb { pointer-events: none; }
.w-mon2-note { position: absolute; left: 50%; top: 46%; margin: 0; transform: translate(-50%, -50%); color: rgba(255, 255, 255, .75); font-size: 22px; text-align: center; white-space: pre-line; }

/* Nabídka Start */
.w-fly-start { left: 320px; bottom: 60px; width: 640px; height: 680px; display: flex; flex-direction: column; box-shadow: 0 32px 64px rgba(0, 0, 0, .28), 0 2px 21px rgba(0, 0, 0, .2); }
.w-a-start { animation: w-start .26s cubic-bezier(.1, .9, .2, 1); }
@keyframes w-start { from { opacity: 0; transform: translateY(48px); } }
.w-a-fly { animation: w-flyin .22s cubic-bezier(.1, .9, .2, 1); }
@keyframes w-flyin { from { opacity: 0; transform: translateY(24px); } }
.w-a-fade { animation: w-fade .2s ease-out; }
@keyframes w-fade { from { opacity: 0; } }
.w-start-search { position: relative; margin: 30px 32px 6px; }
.w-start-search .wi { position: absolute; left: 15px; top: 10px; color: var(--w-text2); }
.w-start-input { width: 100%; height: 36px; padding: 0 14px 0 42px; border-radius: 18px; font-size: 13px; }
.w-start-content { flex: 1; min-height: 0; overflow: auto; padding: 4px 32px 12px; }
.w-start-head { display: flex; justify-content: space-between; align-items: center; margin: 14px 4px 8px; }
.w-start-h { margin: 0; font-weight: 600; font-size: 14px; }
.w-start-more { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--w-ctrl-b); border-radius: 4px; background: var(--w-ctrl); font-size: 12px; color: var(--w-text); }
.w-start-more .wi { width: 12px; height: 12px; }
.w-start-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.w-start-app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 10px; border: 0; border-radius: 4px; background: none; font-size: 12px; color: var(--w-text); text-align: center; }
.w-start-app .wi { width: 32px; height: 32px; }
.w-start-app:hover, .w-start-rec:hover, .w-start-res:hover, .w-start-user:hover, .w-start-power:hover { background: var(--w-hover-strong); }
.w-start-recs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.w-start-rec, .w-start-res { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 8px 12px; border: 0; border-radius: 4px; background: none; text-align: left; color: var(--w-text); }
.w-start-rec .wi, .w-start-res .wi { width: 32px; height: 32px; }
.w-start-rec > span, .w-start-res > span { min-width: 0; }
.w-start-rec b, .w-start-res b { display: block; font-weight: 400; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-start-rec small, .w-start-res small { display: block; color: var(--w-text2); font-size: 12px; }
.w-start-results, .w-start-all { display: flex; flex-direction: column; gap: 2px; }
.w-start-results .w-start-h { margin: 10px 4px 6px; }
.w-start-empty { color: var(--w-text2); margin: 24px 4px; }
.w-start-foot { display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 48px; border-top: 1px solid var(--w-stroke); background: var(--w-foot); border-radius: 0 0 8px 8px; }
.w-start-user { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border: 0; border-radius: 4px; background: none; font-size: 13px; color: var(--w-text); }
.w-start-power { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--w-text); }
.w-start-power .wi { width: 18px; height: 18px; }
.w-menu.is-winx { min-width: 250px; }

/* Rychlé nastavení, oznámení, skryté ikony, zobrazení úloh */
.w-fly-quick { right: 12px; bottom: 60px; width: 360px; }
.w-qs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; padding: 22px 22px 8px; }
.w-qs-cell { display: flex; flex-direction: column; gap: 6px; }
.w-qs-tile .wi { width: 18px; height: 18px; }
.w-qs-tile { height: 48px; display: grid; place-items: center; border-radius: 4px; border: 1px solid var(--w-ctrl-b); border-bottom-color: var(--w-ctrl-bb); background: var(--w-ctrl); color: var(--w-text); }
.w-qs-tile > span { display: none; }
.w-qs-tile:hover { background: var(--w-ctrl-h); }
.w-qs-tile[aria-pressed="true"] { background: var(--w-acc); color: var(--w-acc-text); border-color: transparent; }
.w-qs-lbl { font-size: 12px; text-align: center; }
.w-qs-vol { display: flex; align-items: center; gap: 12px; padding: 16px 26px 22px; }
.w-qs-range { flex: 1; accent-color: var(--w-acc); }
.w-qs-foot { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 12px 0 20px; background: var(--w-foot); border-top: 1px solid var(--w-stroke); border-radius: 0 0 8px 8px; }
.w-qs-ic { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--w-text); }
.w-qs-ic:hover { background: var(--w-hover-strong); }
.w-fly-notif { right: 12px; bottom: 60px; width: 360px; display: flex; flex-direction: column; gap: 12px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.w-n-card { padding: 12px; box-shadow: 0 32px 64px rgba(0, 0, 0, .22), 0 2px 21px rgba(0, 0, 0, .16); }
.w-n-head { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.w-n-head b { font-weight: 600; }
.w-n-item { position: relative; margin-top: 8px; background: var(--w-card); border: 1px solid var(--w-card-border); border-radius: 6px; }
.w-n-main { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 12px 36px 12px 14px; border: 0; background: none; font-size: 13px; text-align: left; color: var(--w-text2); }
.w-n-main b { color: var(--w-text); font-weight: 600; }
.w-n-main:hover { background: var(--w-hover); }
.w-n-app { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; }
.w-n-x { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--w-text2); }
.w-n-x:hover { background: var(--w-hover-strong); }
.w-n-x .wi { width: 12px; height: 12px; }
.w-n-empty { margin: 14px 0 6px; color: var(--w-text2); text-align: center; }
.w-cal-nav { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; }
.w-cal-nav b { font-weight: 600; font-size: 13px; }
.w-cal-nav > span { display: flex; }
.w-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 12px; }
.w-cal-wd { padding: 4px 0; color: var(--w-text2); }
.w-cal-d { height: 34px; display: grid; place-items: center; border-radius: 50%; }
.w-cal-d.is-out { color: var(--w-text3); }
.w-cal-d.is-today { background: var(--w-acc); color: var(--w-acc-text); font-weight: 600; }
.w-fly-tray { padding: 6px; display: flex; gap: 4px; }
.w-tray-ic { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; }
.w-tray-ic:hover { background: var(--w-hover-strong); }
.w-fly-taskview { left: 0; top: 0; right: 0; bottom: 48px; border: 0; border-radius: 0; background: rgba(20, 24, 30, .35); display: grid; place-items: center; }
.w-tv-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; max-width: 1100px; padding: 24px; }
.w-tv-card { display: flex; flex-direction: column; gap: 8px; width: 250px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #fff; text-align: left; }
.w-tv-card:hover, .w-tv-card:focus-visible { background: rgba(255, 255, 255, .14); }
.w-tv-title { display: flex; align-items: center; gap: 8px; font-size: 13px; overflow: hidden; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.w-tv-prev { display: block; height: 150px; border-radius: 6px; background: var(--w-mica); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); position: relative; overflow: hidden; }
.w-tv-prev::before { content: ""; position: absolute; inset: 22px 10px 10px; border-radius: 4px; background: var(--w-card-solid); }
.w-tv-prev.p-terminal::before { background: #0c0c0c; }
.w-tv-empty { color: #fff; font-size: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }

/* Oznámení Dervion u PC (pomocník: vlevo dole nad hlavním panelem, vždy anglicky; kliknutí jím projdou) */
.w-toast { position: absolute; left: 12px; bottom: 60px; z-index: 4; width: 380px; min-height: 92px; padding: 15px 18px 14px 22px; overflow: hidden; pointer-events: none;
  background: #262626; color: #d8d8d8; border-radius: 8px; opacity: .96; font: 13px/1.35 "Segoe UI", system-ui, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transform: translateX(-420px); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.w-toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #0078d4; }
.w-toast b { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; font-weight: 600; }
.w-toast.is-shown { transform: none; }

/* Zabezpečená plocha a obrazovky napájení */
.w-layer { position: absolute; inset: 0; z-index: 6; }
.w-uac { display: grid; place-items: center; background: rgba(0, 0, 0, .55); }
.w-uac-box { width: 456px; overflow: hidden; border-radius: 8px; background: var(--w-mica); color: var(--w-text); border: 1px solid var(--w-fly-b); box-shadow: 0 32px 64px rgba(0, 0, 0, .45); }
.w-uac-top { padding: 14px 24px 20px; background: var(--w-card-solid); }
.w-uac-t { font-size: 12px; color: var(--w-text2); }
.w-uac-q { margin: 12px 0 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.w-uac-app { display: flex; gap: 14px; padding: 18px 24px 12px; font-size: 13px; background: var(--w-card-solid); }
.w-uac-app > .wi { width: 40px; height: 40px; }
.w-uac-app b { display: block; font-size: 15px; font-weight: 600; }
.w-uac-app span { display: block; color: var(--w-text2); }
.w-uac-app .w-link { margin-top: 10px; }
.w-uac-details { margin: 8px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.w-uac-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 20px 24px 24px; border-top: 1px solid var(--w-stroke); }
.w-sas { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: radial-gradient(circle at 30% 20%, #23628f, #0a2a46 72%); }
.w-sas-list { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.w-sas-opt { padding: 7px 16px; border: 1px solid transparent; border-radius: 4px; background: none; color: #fff !important; font-size: 24px; text-align: left; }
.w-sas-opt:hover { background: rgba(255, 255, 255, .1); }
.w-sas :focus-visible, .w-lock :focus-visible { outline-color: #fff; }
.w-sas-foot { position: absolute; right: 28px; bottom: 24px; display: flex; align-items: center; gap: 28px; }
.w-sas-cancel { min-width: 120px; background: rgba(255, 255, 255, .12); color: #fff !important; border-color: rgba(255, 255, 255, .22); }
.w-sas-cancel:hover:not(:disabled) { background: rgba(255, 255, 255, .2); }
.w-sys-ics { display: flex; gap: 22px; color: #fff; }
.w-sys-ics .wi { width: 20px; height: 20px; }
.w-cp { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 300px; color: #fff; }
.w-cp b { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.w-cp .w-field { width: 100%; background: rgba(255, 255, 255, .92); color: #000; border-color: rgba(255, 255, 255, .4); }
.w-cp p { font-size: 18px; text-align: center; }
.w-lock { overflow: hidden; color: #fff; background: radial-gradient(ellipse 90% 55% at 50% 108%, rgba(255, 190, 130, .45), rgba(255, 190, 130, 0) 70%), radial-gradient(ellipse 70% 60% at 85% 10%, rgba(130, 200, 255, .35), rgba(130, 200, 255, 0) 70%), linear-gradient(180deg, #3f7fb3 0%, #24557f 48%, #10304f 100%); }
.w-lock::after { content: ""; position: absolute; inset: 0; background: rgba(8, 20, 34, 0); transition: background .25s; pointer-events: none; }
.w-lock.is-signin::after { background: rgba(8, 20, 34, .45); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.w-lock-face:focus-visible { outline: none; }
.w-lock-face { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 104px 0 0; display: flex; flex-direction: column; align-items: center; border: 0; background: none; color: #fff !important; }
.w-lock-time { font-size: 120px; font-weight: 600; line-height: 1; letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); font-variant-numeric: tabular-nums; }
.w-lock-date { margin-top: 10px; font-size: 24px; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.w-lock-date::first-letter { text-transform: uppercase; }
.w-signin { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.w-signin b { font-size: 26px; font-weight: 600; }
.w-signin small { max-width: 360px; text-align: center; opacity: .85; font-size: 13px; }
.w-pwd { display: flex; width: 300px; }
.w-pwd .w-field { flex: 1; border-radius: 4px 0 0 4px; background: rgba(255, 255, 255, .9); color: #000; border-color: rgba(255, 255, 255, .4); }
.w-pwd-go { width: 40px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0 4px 4px 0; background: rgba(255, 255, 255, .9); color: #000 !important; }
.w-lock-foot { position: absolute; right: 28px; bottom: 24px; z-index: 3; }
.w-lock.is-leaving { animation: w-unlock .32s ease-in forwards; }
@keyframes w-unlock { to { opacity: 0; transform: translateY(-48px); } }
.w-power { z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #0b3a63; color: #fff; font-size: 22px; white-space: pre-line; text-align: center; }
.w-power.is-black { background: #000; }
.w-power.is-black .w-spin { display: none; }
.w-spin { position: relative; width: 44px; height: 44px; }
.w-spin i { position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff; transform-origin: 3px 22px; animation: w-spin 2.3s infinite cubic-bezier(.55, .1, .45, .9); opacity: 0; }
.w-spin i:nth-child(2) { animation-delay: .13s; } .w-spin i:nth-child(3) { animation-delay: .26s; } .w-spin i:nth-child(4) { animation-delay: .39s; } .w-spin i:nth-child(5) { animation-delay: .52s; }
@keyframes w-spin { 0% { transform: rotate(0); opacity: 1; } 75% { transform: rotate(540deg); opacity: 1; } 76%, 100% { transform: rotate(540deg); opacity: 0; } }

/* Průzkumník souborů */
.x-wrap { display: flex; flex-direction: column; background: var(--w-layer); }
.x-addr { display: flex; align-items: center; gap: 4px; padding: 6px 10px; }
.x-ib { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--w-text); }
.x-ib:hover:not(:disabled), .x-cb:hover:not(:disabled), .x-crumb:hover, .x-th:hover { background: var(--w-hover-strong); }
.x-ib:disabled, .x-cb:disabled { color: var(--w-text3); }
.x-crumbs { flex: 1; min-width: 0; height: 32px; display: flex; align-items: center; gap: 2px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--w-input-b); background: var(--w-input); overflow: hidden; white-space: nowrap; }
.x-crumb { padding: 2px 6px; border: 0; border-radius: 3px; background: none; font-size: 13px; color: var(--w-text); }
.x-crumb-sep { width: 12px; height: 12px; color: var(--w-text2); }
.x-search-wrap { position: relative; width: 240px; }
.x-search { width: 100%; padding-right: 32px; font-size: 13px; }
.x-search-wrap .wi { position: absolute; right: 10px; top: 8px; color: var(--w-text2); }
.x-cmd { display: flex; align-items: center; gap: 2px; padding: 2px 10px 6px; border-bottom: 1px solid var(--w-stroke); }
.x-cb { height: 32px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border: 0; border-radius: 4px; background: none; font-size: 13px; color: var(--w-text); }
.x-cb .wi { width: 18px; height: 18px; }
.x-cb .x-dd { width: 12px; height: 12px; }
.x-sep { width: 1px; height: 20px; margin: 0 6px; background: var(--w-stroke-strong); }
.x-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--w-content); }
.x-nav { overflow: auto; padding: 6px; border-right: 1px solid var(--w-stroke); }
.x-nav hr { margin: 6px 8px; border: 0; border-top: 1px solid var(--w-stroke); }
.x-nav-b, .s-nav-b, .tm-nav-b { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: 4px; background: none; font-size: 13px; color: var(--w-text); text-align: left; white-space: nowrap; }
.x-nav-b .wi { width: 18px; height: 18px; }
.x-nav-b .x-pin { width: 12px; height: 12px; margin-left: auto; color: var(--w-text3); }
.x-nav-b:hover, .s-nav-b:hover, .tm-nav-b:hover { background: var(--w-hover); }
.x-nav-b[aria-current], .s-nav-b[aria-current], .tm-nav-b[aria-current] { background: var(--w-hover-strong); }
.x-nav-b[aria-current]::before, .s-nav-b[aria-current]::before, .tm-nav-b[aria-current]::before { content: ""; position: absolute; left: 0; top: 50%; height: 16px; margin-top: -8px; width: 3px; border-radius: 2px; background: var(--w-acc); }
.x-content { overflow: auto; padding: 2px 8px 8px; background: var(--w-card-solid); }
.x-head, .x-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; }
.x-head { position: sticky; top: 0; z-index: 1; height: 32px; margin-bottom: 2px; background: var(--w-card-solid); border-bottom: 1px solid var(--w-stroke); }
.x-th { display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 9px; border: 0; border-right: 1px solid var(--w-stroke); background: none; font-size: 12px; color: var(--w-text2); text-align: left; }
.x-th.x-num { justify-content: flex-end; }
.x-sorti { width: 10px; height: 10px; }
.x-row { width: 100%; height: 30px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: none; font-size: 13px; color: var(--w-text2); text-align: left; }
.x-row > span { padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-row > .x-c-name { display: flex; align-items: center; gap: 8px; color: var(--w-text); }
.x-c-name .wi { width: 18px; height: 18px; }
.x-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.x-n .w-rename { text-align: left; font-size: 13px; }
.x-row:hover { background: var(--w-hover); }
.x-row[aria-pressed="true"] { background: var(--w-sel); border-color: var(--w-sel-border); }
.x-row.is-recent { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.4fr) minmax(0, 1.6fr); }
.x-num { text-align: right; }
.x-h { margin: 12px 8px 6px; font-weight: 600; }
.x-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; padding: 0 4px 6px; }
.x-tile { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid transparent; border-radius: 6px; background: none; text-align: left; color: var(--w-text); }
.x-tile:hover { background: var(--w-hover); }
.x-tile .wi { width: 42px; height: 42px; }
.x-tile b { display: block; font-weight: 400; }
.x-tile small { display: block; color: var(--w-text2); font-size: 12px; }
.x-bar { display: block; width: 190px; height: 12px; margin: 5px 0 3px; border-radius: 2px; background: var(--w-stroke-strong); overflow: hidden; }
.x-bar i { display: block; width: 74%; height: 100%; background: var(--w-acc); }
.x-empty { margin: 28px 16px; color: var(--w-text2); text-align: center; }
.x-status { display: flex; gap: 28px; align-items: center; height: 26px; flex: none; padding: 0 14px; border-top: 1px solid var(--w-stroke); background: var(--w-card-solid); font-size: 12px; color: var(--w-text2); }

/* Nastavení */
.s-back { width: 36px; height: 30px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: inherit; }
.s-back:hover:not(:disabled) { background: var(--w-hover-strong); }
.s-back:disabled { color: var(--w-text3); }
[data-app="settings"] .w-bar-l { padding-left: 4px; gap: 8px; }
.s-wrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.s-side { overflow: auto; padding: 4px 12px 12px 16px; }
.s-user { display: flex; align-items: center; gap: 14px; padding: 6px 4px 16px; }
.s-user b { display: block; font-weight: 600; }
.s-user small { display: block; color: var(--w-text2); font-size: 12px; }
.s-find-wrap { position: relative; margin-bottom: 10px; }
.s-find { width: 100%; padding-right: 32px; }
.s-find-wrap .wi { position: absolute; right: 10px; top: 8px; color: var(--w-text2); }
.s-nav-b { height: 36px; gap: 14px; margin: 2px 0; font-size: 14px; }
.s-nav-b .wi { width: 18px; height: 18px; }
.c-blue { color: #0078d4; } .c-blue2 { color: #2b88d8; } .c-orange { color: #ca5010; } .c-violet { color: #8764b8; } .c-green { color: #107c41; } .c-slate { color: #5d6b7a; }
.c-ok { color: #0f7b0f; } .c-bad { color: #c42b1c; }
.w-dark .c-blue, .w-dark .c-blue2 { color: #60cdff; } .w-dark .c-orange { color: #f7894a; } .w-dark .c-violet { color: #b4a0ff; } .w-dark .c-green { color: #6ccb5f; } .w-dark .c-slate { color: #a5b4c3; } .w-dark .c-ok { color: #6ccb5f; } .w-dark .c-bad { color: #ff99a4; }
.s-main { overflow: auto; padding: 0 32px 32px 20px; }
.s-title { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; font-size: 28px; font-weight: 600; line-height: 1.2; }
.s-title-sep { width: 18px; height: 18px; color: var(--w-text2); }
.s-crumb { padding: 0; border: 0; background: none; color: var(--w-text2); font-size: 28px; font-weight: 600; }
.s-crumb:hover { color: var(--w-text); }
.s-content { display: flex; flex-direction: column; gap: 4px; max-width: 1000px; }
.s-card { overflow: hidden; background: var(--w-card); border: 1px solid var(--w-card-border); border-radius: 6px; }
.s-row { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 66px; padding: 10px 18px; border: 0; background: none; text-align: left; color: var(--w-text); }
.s-card > .s-row + .s-row { border-top: 1px solid var(--w-stroke); }
.s-row.is-link:hover { background: var(--w-hover); }
.s-row-ic { width: 20px; height: 20px; }
.s-row-t { flex: 1; min-width: 0; }
.s-row-t small { display: block; color: var(--w-text2); font-size: 12px; }
.s-chev { width: 16px; height: 16px; color: var(--w-text2); }
.s-val { color: var(--w-text2); font-size: 13px; white-space: nowrap; }
.s-hero { display: flex; align-items: center; gap: 20px; padding: 16px 18px; margin-bottom: 8px; background: var(--w-card); border: 1px solid var(--w-card-border); border-radius: 6px; }
.s-hero b { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; }
.s-hero small { display: block; color: var(--w-text2); font-size: 13px; }
.s-hero .w-link { margin-top: 4px; }
.s-hero-pc .wi { width: 76px; height: 76px; }
.s-hero.is-small .s-hero-pc .wi { width: 48px; height: 48px; }
.s-hero.is-small > .w-btn, .s-hero.is-small > .s-ok { margin-left: auto; }
.s-hero-st { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.s-hero-st + .s-hero-st { margin-left: 24px; }
.s-hero-st .wi { width: 22px; height: 22px; }
.s-hero-st b { font-size: 14px; }
.s-acts { margin-left: auto; display: flex; gap: 8px; }
.s-h2 { margin: 18px 0 6px; font-weight: 600; }
.s-lead { margin: 0 0 6px; max-width: 640px; color: var(--w-text2); }
.s-kv { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 16px; margin: 0; padding: 14px 18px 16px 54px; font-size: 13px; }
.s-kv dt { color: var(--w-text2); }
.s-kv dd { margin: 0; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.s-sec-h { display: flex; align-items: center; gap: 16px; padding: 14px 18px 0; }
.s-sec-h > .wi { width: 20px; height: 20px; }
.s-sec-h b { flex: 1; font-weight: 600; }
.s-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 4px; border: 0; border-radius: 4px; background: none; color: var(--w-text); font-size: 14px; }
.s-sw { position: relative; width: 40px; height: 20px; border-radius: 10px; border: 1px solid var(--w-text2); }
.s-sw i { position: absolute; left: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--w-text2); transition: left .15s; }
.s-toggle[aria-checked="true"] .s-sw { background: var(--w-acc); border-color: var(--w-acc); }
.s-toggle[aria-checked="true"] .s-sw i { left: 23px; top: 3px; width: 12px; height: 12px; background: var(--w-acc-text); }
.s-mons { display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding: 26px; background: var(--w-card); border: 1px solid var(--w-card-border); border-radius: 6px; }
.s-mon { width: 170px; height: 106px; padding: 0; display: grid; place-items: center; border: 2px solid var(--w-acc); border-radius: 4px; background: var(--w-sel); color: var(--w-text); font-size: 38px; font-weight: 600; }
.s-mon + .s-mon { width: 150px; height: 84px; border-color: var(--w-stroke-strong); background: var(--w-hover-strong); }
.s-mons-act { display: flex; justify-content: flex-end; margin: 8px 0; }
.s-preview { position: relative; width: 300px; height: 176px; margin-bottom: 12px; border: 5px solid #1b1b1b; border-radius: 10px; overflow: hidden; }
.s-preview-win { position: absolute; left: 34px; top: 26px; width: 150px; height: 92px; border-radius: 4px; background: var(--w-mica); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.s-preview-tb { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--w-tb); }
.s-swatches { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 18px 16px 54px; }
.s-swatch { width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; }
.s-swatch[aria-pressed="true"] { outline: 2px solid var(--w-text); outline-offset: 2px; }
.s-note { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0; padding: 12px 16px; border: 1px solid var(--w-card-border); border-radius: 6px; background: var(--w-info); font-size: 13px; }
.s-note .wi { width: 20px; height: 20px; }
.s-mode { display: inline-flex; gap: 6px; }
.s-ok { display: inline-flex; align-items: center; gap: 6px; color: #0f7b0f; }
.w-dark .s-ok { color: #6ccb5f; }

/* Poznámkový blok */
.np-tabs { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.np-tab { display: flex; align-items: center; gap: 6px; height: 34px; min-width: 0; max-width: 230px; padding: 0 4px 0 14px; border-radius: 8px 8px 0 0; font-size: 12px; }
.np-tab.is-cur { background: var(--w-layer); }
.np-tab:not(.is-cur):hover { background: var(--w-hover); }
.np-tab-b { min-width: 0; padding: 0; border: 0; background: none; color: var(--w-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-dirty { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--w-text); }
.np-tab-x { width: 24px; height: 24px; flex: none; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--w-text); }
.np-tab-x:hover { background: var(--w-hover-strong); }
.np-tab-x .wi { width: 11px; height: 11px; }
.np-wrap { display: flex; flex-direction: column; background: var(--w-layer); }
.np-menubar { display: flex; gap: 2px; padding: 2px 6px 4px; }
.np-mb { height: 30px; padding: 0 10px; border: 0; border-radius: 4px; background: none; font-size: 13px; color: var(--w-text); }
.np-mb:hover, .np-mb[aria-expanded="true"] { background: var(--w-hover-strong); }
.np-area { flex: 1; min-height: 0; padding: 10px 14px; resize: none; border: 0; border-top: 1px solid var(--w-stroke); border-bottom: 1px solid var(--w-stroke);
  background: var(--w-card-solid); color: var(--w-text) !important; font: 14px/1.5 Consolas, "Cascadia Mono", ui-monospace, monospace !important; }
.np-area.is-nowrap { white-space: pre; overflow-x: auto; }
.np-status { display: flex; align-items: center; height: 26px; flex: none; font-size: 12px; color: var(--w-text2); }
.np-status > span { padding: 0 14px; border-right: 1px solid var(--w-stroke); }
.np-status > span:first-child { min-width: 170px; }

/* Terminál */
.w-win[data-app="terminal"] { --w-text: #ffffff; --w-text2: #cccccc; --w-text3: #8a8a8a; --w-mica: #202020; --w-mica-off: #202020; --w-hover-strong: rgba(255, 255, 255, .08); --w-layer: #0c0c0c; }
.t-wrap { overflow: auto; padding: 8px 12px; background: #0c0c0c; color: #cccccc; font: 14px/1.35 "Cascadia Mono", Consolas, ui-monospace, monospace; cursor: text; }
.t-out div { white-space: pre-wrap; overflow-wrap: anywhere; }
.t-line { display: flex; }
.t-prompt { white-space: pre; }
.t-in { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: #cccccc !important; font: inherit !important; caret-color: #cccccc; }
.t-in:focus-visible { outline: none; }

/* Fotky */
.ph-wrap { display: flex; flex-direction: column; background: var(--w-content); }
.ph-bar { display: flex; align-items: center; gap: 2px; padding: 4px 10px; }
.ph-tool { width: 34px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--w-text); }
.ph-tool:hover { background: var(--w-hover-strong); }
.ph-tool .wi { width: 18px; height: 18px; }
.ph-zoomv { min-width: 56px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.ph-grow { flex: 1; }
.ph-main { flex: 1; min-height: 0; display: flex; }
.ph-stage { flex: 1; min-width: 0; display: grid; place-items: center; overflow: hidden; background: var(--w-photo); }
.ph-img { position: relative; width: 600px; aspect-ratio: 1366 / 768; display: grid; place-items: center; background: linear-gradient(160deg, #dfe8f1, #c7d5e4); box-shadow: 0 4px 18px rgba(0, 0, 0, .3); transition: transform .2s; }
.ph-shot { width: 340px; overflow: hidden; border-radius: 8px; background: #fff; color: #1b1b1b; font-size: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.ph-shot-bar { padding: 8px 12px; font-size: 11px; color: #555; }
.ph-shot-body { display: flex; gap: 14px; padding: 4px 18px 16px; }
.ph-shot-body .wi { width: 34px; height: 34px; color: #c42b1c; }
.ph-shot-body b { font-size: 14px; }
.ph-shot-body p { margin: 4px 0 0; color: #444; }
.ph-shot-btns { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; background: #f3f3f3; }
.ph-shot-btns span { padding: 3px 14px; border: 1px solid #ccc; border-radius: 4px; background: #fff; }
.ph-shot-btns span:first-child { background: #005fb8; border-color: #005fb8; color: #fff; }
.ph-info { width: 250px; padding: 14px; overflow: auto; border-left: 1px solid var(--w-stroke); font-size: 12px; }
.ph-info .s-kv { display: block; padding: 8px 0 0; }
.ph-info .s-kv dt { margin-top: 10px; }

/* Správce úloh */
.tm-search-wrap { position: relative; width: 340px; margin: 0 auto 0 60px; align-self: center; }
.tm-search { width: 100%; height: 28px; padding-left: 32px; font-size: 12px; }
.tm-search-wrap .wi { position: absolute; left: 10px; top: 6px; color: var(--w-text2); }
.tm-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.tm-nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; }
.tm-nav-b { height: 36px; gap: 14px; }
.tm-nav-b .wi { width: 18px; height: 18px; }
.tm-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background: var(--w-card-solid); border: 1px solid var(--w-stroke); border-width: 1px 0 0 1px; border-top-left-radius: 8px; }
.tm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; flex: none; }
.tm-head h2 { margin: 0; font-size: 20px; font-weight: 600; }
.tm-cmds { display: flex; gap: 4px; }
.tm-cmd { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border: 0; border-radius: 4px; background: none; font-size: 13px; color: var(--w-text); }
.tm-cmd:hover:not(:disabled) { background: var(--w-hover-strong); }
.tm-cmd:disabled { color: var(--w-text3); }
.tm-table { flex: 1; min-height: 0; overflow: auto; font-size: 12px; }
.tm-tr { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); align-items: center; width: 100%; min-height: 28px; padding: 0; border: 0; background: none; color: var(--w-text); text-align: left; }
.tm-table.is-4 .tm-tr { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
.tm-tr > span { padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-th { position: sticky; top: 0; z-index: 1; min-height: 46px; border-bottom: 1px solid var(--w-stroke); background: var(--w-card-solid); color: var(--w-text2); }
.tm-th b { display: block; font-size: 14px; font-weight: 400; color: var(--w-text); }
.tm-th small { font-size: 11px; }
.tm-group { padding: 10px 10px 4px; font-weight: 600; font-size: 13px; }
.tm-n { display: flex; align-items: center; gap: 10px; }
.tm-row > .x-num { background: var(--w-heat); align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.tm-row:hover { background: var(--w-hover); }
.tm-row[aria-pressed="true"] { background: var(--w-sel); }
.tm-perf { flex: 1; min-height: 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.tm-perf-side { overflow: auto; padding: 4px 8px; border-right: 1px solid var(--w-stroke); }
.tm-perf-tile { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 1px solid transparent; border-radius: 4px; background: none; text-align: left; color: var(--w-text); }
.tm-perf-tile:hover { background: var(--w-hover); }
.tm-perf-tile[aria-pressed="true"] { background: var(--w-sel); border-color: var(--w-sel-border); }
.tm-perf-tile b { display: block; font-size: 13px; font-weight: 600; }
.tm-perf-tile small { display: block; color: var(--w-text2); font-size: 11px; white-space: nowrap; }
.tm-perf-tile .tm-spark { width: 64px; height: 36px; flex: none; border: 1px solid var(--tm-c); }
.tm-perf-main { padding: 10px 20px 16px; overflow: auto; }
.tm-perf-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tm-perf-title b { font-size: 24px; font-weight: 600; }
.tm-perf-title span { font-size: 13px; color: var(--w-text2); }
.tm-perf-cap { display: flex; justify-content: space-between; margin: 6px 0 2px; font-size: 11px; color: var(--w-text2); }
.tm-perf-main > .tm-spark { display: block; width: 100%; height: 230px; border: 1px solid var(--tm-c); }
.tm-spark.is-cpu { --tm-c: #1890d8; } .tm-spark.is-mem { --tm-c: #9b4dca; } .tm-spark.is-disk { --tm-c: #4caf50; } .tm-spark.is-net { --tm-c: #c87b2a; }
.tm-line { fill: none; stroke: var(--tm-c); stroke-width: 1.5; }
.tm-area { fill: var(--tm-c); opacity: .14; }
.tm-grid { fill: none; stroke: var(--tm-c); stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 16px 0 0; }
.tm-stats dt { font-size: 12px; color: var(--w-text2); }
.tm-stats dd { margin: 0; font-size: 20px; }

/* Spustit */
.run-wrap { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px 16px; background: var(--w-mica); }
.run-top { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; }
.run-top .wi { width: 32px; height: 32px; }
.run-top p { margin: 0; }
.run-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.run-row .w-field { flex: 1; min-width: 0; }
.run-err { min-height: 16px; margin: 0; font-size: 12px; color: #c42b1c; }
.run-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; }
.run-btns .w-btn { min-width: 80px; }

@media (prefers-reduced-motion: reduce) {
  .w-toast, .w-snapghost, .w-app-btn::after, .s-sw i, .ph-img { transition: none; }
  .w-spin i { animation: none; opacity: 1; }
  .w-spin i:nth-child(2) { transform: rotate(30deg); } .w-spin i:nth-child(3) { transform: rotate(60deg); } .w-spin i:nth-child(4) { transform: rotate(90deg); } .w-spin i:nth-child(5) { transform: rotate(120deg); }
  .rd-spin { animation: none; }
}

/* Význam názvu v úzké hlavičce ukázky (jen na širokých displejích) */
.d-top .tagline { margin: -.15rem 0 0 calc(30px + .45rem); max-width: none; font-size: .5rem; white-space: nowrap; }
@media (max-width: 1240px) { .d-top .tagline { display: none; } }
