/* Nyxium Cloud — rozvrzeni Pruzkumnika Windows 11 (tmavy rezim).
   Rozmery odmerene ze screenshotu 1920x1080 @100 %, viz _projekt/MEASUREMENTS.md */

html[data-page="home"] {
  --w11-bg:        #191919;
  --w11-tabbar:    #0a0a0a;
  --w11-bar:       #1f1f1f;
  --w11-field:     #2c2c2c;
  --w11-field-br:  #3d3d3d;
  --w11-line:      #3a3a3a;
  --w11-line-2:    #434343;
  --w11-line-2b:   #2b2b2b;
  --w11-line-hd:   #636363;
  --w11-line-nav:  #383838;
  --w11-hover:     #2b2b2b;
  --w11-sel:       #333333;
  --w11-sel-soft:  #2d2d2d;
  --w11-status:    #1c1c1c;
  --w11-tx:        #ffffff;
  --w11-tx-2:      #c5c5c5;
  --w11-tx-3:      #9a9a9a;
  --w11-acc:       #4cc2ff;
  /* Doplneno pri tokenizaci: hodnoty jsou presne ty, ktere byly napsane
     natvrdo v pravidlech, takze se tmavy rezim nezmenil. Svetla sada je niz. */
  --w11-hover-bar:       #242424;   /* hover na pruhu karet, ktery je temnejsi nez okno */
  --w11-ctrl:            #2a2a2a;   /* plocha ovladace: zaskrtavatko, tlacitko v detailu, nahled */
  --w11-ctrl-hover:      #3f3f3f;
  --w11-ctrl-hover-2:    #343434;   /* hover tlacitka v detailu, o stupen jinak */
  --w11-ctrl-on:         #2f2f2f;
  --w11-ctrl-off:        #232323;   /* vypnuty ovladac a klavesa v napovede */
  --w11-dlg-btn:         #323232;
  --w11-dlg-btn-hover:   #3c3c3c;
  --w11-pop-br:          #454545;   /* okraj nabidky a dialogu */
  --w11-card-br:         #292929;
  --w11-chk-br:          #6a6a6a;
  --w11-tx-off:          #6a6a6a;
  --w11-line-up:         #333333;
  --w11-scroll:          #6a6a6a;
  --w11-scroll-2:        #959595;
  --w11-scroll-hover:    #a6a6a6;
  --w11-menu-bg:         rgba(44, 44, 44, .92);
  --w11-scrim:           rgba(0, 0, 0, .45);
  --w11-marquee:         rgba(76, 194, 255, .12);
  --w11-el-menu-barva:   rgba(0, 0, 0, .45);
  --w11-el-dlg-barva:    rgba(0, 0, 0, .6);
  --w11-drop:            #2f4a5c;   /* kam se pusti tazeny soubor */
  --w11-mark-bg:         #5a4a00;   /* nalezene slovo ve jmenu */
  --w11-mark-tx:         #ffe89b;
  --w11-chk-on-tx:       #001019;   /* fajfka na akcentu */
  --w11-danger:          #c42b1c;
  --w11-danger-btn:      #a02a1c;
  --w11-danger-btn-hover:#bd3223;
  --w11-prim-btn:        #0d6ea8;
  --w11-prim-btn-hover:  #1580bd;
  --w11-err-tx:          #ff8a8a;
  --w11-err-tx-2:        #ff99a0;
  --w11-up-bezi:         #0d6ea8;
  --w11-up-ok:           #2f6b34;
  --w11-up-ok-tx:        #b5f0b9;
  --w11-up-err:          #7a2b22;
  --w11-up-err-tx:       #ffc9c4;
  /* Bila, ktera se nikdy neprekloni: papir dokumentu a text na barevnem podkladu. */
  --w11-papir:           #fff;
  --w11-na-barve:        #fff;
  --w11-nav-w:     324px;
  --w11-det-w:     300px;
  --w11-font: "Segoe UI Variable", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --w11-rad:       28px;
}

html[data-page="home"] body.w11 {
  margin: 0;
  background: var(--w11-bg) !important;
  color: var(--w11-tx);
  font-family: var(--w11-font);
  font-size: 12px;
  overflow: hidden;
}

body.w11 #particles,
body.w11 .bg-fx,
body.w11 canvas#bgfx { display: none !important; }

body.w11 #app {
  position: fixed;
  inset: 0;
  display: grid !important;
  grid-template-rows: 33px 48px 47px minmax(0, 1fr) 28px;
  grid-template-columns: minmax(0, 1fr);
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  transform: none !important;
  animation: none !important;
  background: var(--w11-bg);
}

body.w11 header,
body.w11 .toolbar,
body.w11 .type-filters,
body.w11 .filter-tags,
body.w11 .exp-statusbar,
body.w11 .exp-addressbar,
body.w11 .breadcrumb,
body.w11 .select-bar,
body.w11 #app > main,
body.w11 #folderSidebar,
body.w11 #sidebarBackdrop { display: none !important; }

body.w11 #app > .w11-tabs { grid-row: 1; }
body.w11 #app > .w11-addr { grid-row: 2; }
body.w11 #app > .w11-cmd { grid-row: 3; }
body.w11 #app > .w11-main { grid-row: 4; }
body.w11 #app > .w11-status { grid-row: 5; }

body.w11 .w11-spacer { flex: 1; min-width: 0; }
body.w11 .dim { color: var(--w11-tx-2); }

/* ── 0 · pás karet ─────────────────────────────────────────────── */

body.w11 .w11-tabs {
  display: flex;
  align-items: flex-end;
  height: 33px;
  padding: 0 8px 0 8px;
  background: var(--w11-tabbar);
  box-sizing: border-box;
  gap: 8px;
  overflow: hidden;
}
body.w11 .w11-tablist { display: flex; align-items: flex-end; gap: 2px; min-width: 0; overflow: hidden; }
body.w11 .w11-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  max-width: 240px;
  min-width: 90px;
  height: 32px;
  padding: 0 4px 0 12px;
  border-radius: 8px 8px 0 0;
  color: var(--w11-tx-2);
  cursor: default;
  user-select: none;
  box-sizing: border-box;
  position: relative;
}
body.w11 .w11-tab { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-tab.flip { transition: transform var(--wui-tab-reposition) var(--wui-fast-out-slow-in),
                                     background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-tab.taham { opacity: .5; transition: opacity var(--wui-tab-opacity) linear; }
body.w11 .w11-tab:hover { background: var(--w11-hover-bar); color: var(--w11-tx); }
body.w11 .w11-tab.on { background: var(--w11-bar); color: var(--w11-tx); }
body.w11 .w11-tab-ic { width: 16px; height: 16px; flex: none; }
body.w11 .w11-tab-lb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.w11 .w11-tab-x {
  width: 24px; height: 24px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--w11-tx-2); cursor: pointer; opacity: 0;
}
body.w11 .w11-tab:hover .w11-tab-x,
body.w11 .w11-tab.on .w11-tab-x { opacity: 1; }
body.w11 .w11-tab-x { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-tab-x:hover { background: var(--w11-ctrl-hover); color: var(--w11-tx); }
body.w11 .w11-tab-x svg { width: 11px; height: 11px; }
body.w11 .w11-tabadd {
  width: 32px; height: 28px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--w11-tx-2); cursor: pointer; margin-bottom: 2px;
}
body.w11 .w11-tabadd { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-tabadd:hover { background: var(--w11-hover); color: var(--w11-tx); }
body.w11 .w11-tabadd svg { width: 14px; height: 14px; }
body.w11 .w11-clock { color: var(--w11-tx-3); font-size: 11px; margin-bottom: 8px; white-space: nowrap; }
body.w11 .w11-user {
  display: flex; align-items: center; gap: 6px;
  height: 24px; margin-bottom: 4px; padding: 0 8px;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--w11-tx-2); font: 11px var(--w11-font); cursor: pointer;
  max-width: 180px; white-space: nowrap; overflow: hidden;
}
body.w11 .w11-user { transition: background-color var(--wui-faster) var(--wui-implicit), color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-user:hover { background: var(--w11-hover-bar); color: var(--w11-tx); }
body.w11 .w11-user svg { width: 13px; height: 13px; flex: none; }

/* ── 1 · adresní řádek ─────────────────────────────────────────── */

body.w11 .w11-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 11px 0 6px;
  background: var(--w11-bar);
  border-bottom: 1px solid var(--w11-line);
  box-sizing: border-box;
}

body.w11 .w11-nav-btn {
  width: 40px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--w11-tx);
  cursor: pointer;
}
body.w11 .w11-nav-btn { transition: background-color var(--wui-faster) var(--wui-implicit), color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-nav-btn:active:not(:disabled) { transition: none; }
body.w11 .w11-nav-btn:hover:not(:disabled) { background: var(--w11-hover); }
body.w11 .w11-nav-btn:disabled { color: var(--w11-tx-off); cursor: default; }
body.w11 .w11-nav-btn svg { width: 16px; height: 16px; stroke-width: 1.6; }

body.w11 .w11-crumbs {
  flex: 1;
  min-width: 0;
  height: 32px;
  margin: 0 0 0 3px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 6px;
  background: var(--w11-field);
  border: 1px solid var(--w11-field-br);
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;
}
body.w11 .w11-path {
  flex: 1;
  min-width: 0;
  height: 32px;
  margin: 0 0 0 3px;
  padding: 0 10px;
  background: var(--w11-field);
  border: 1px solid var(--w11-acc);
  border-radius: 4px;
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  box-sizing: border-box;
  outline: none;
}
body.w11 .w11-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  white-space: nowrap;
  cursor: pointer;
  flex: none;
}
body.w11 .w11-crumb { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-crumb:active { transition: none; }
body.w11 .w11-crumb:hover, body.w11 .w11-crumb.drop { background: var(--w11-line-nav); }
body.w11 .w11-crumb svg { width: 16px; height: 16px; }
body.w11 .w11-sep {
  width: 20px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: none;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--w11-tx-2);
  cursor: pointer;
}
body.w11 .w11-sep { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-sep:hover { background: var(--w11-line-nav); }
body.w11 .w11-sep svg { width: 12px; height: 12px; }

body.w11 .w11-search {
  position: relative;
  width: 499px;
  height: 32px;
  flex: 0 1 499px;
  min-width: 110px;
}
body.w11 .w11-search input {
  width: 100%;
  height: 32px;
  padding: 0 60px 0 16px;
  background: var(--w11-field);
  border: 1px solid var(--w11-field-br);
  border-radius: 4px;
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  box-sizing: border-box;
  outline: none;
}
body.w11 .w11-search input::placeholder { color: var(--w11-tx-3); }
body.w11 .w11-search input:focus { border-color: var(--w11-acc); }
body.w11 .w11-search .w11-mag {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 16px;
  height: 16px;
  color: var(--w11-tx-2);
  pointer-events: none;
}
body.w11 .w11-sfiltr {
  position: absolute;
  right: 34px;
  top: 5px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--w11-tx-2);
  cursor: pointer;
}
body.w11 .w11-sfiltr:hover { background: var(--w11-line); color: var(--w11-tx); }
body.w11 .w11-sfiltr svg { width: 11px; height: 11px; }

body.w11 .w11-addr { position: relative; }
body.w11 .w11-load {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  --wui-progress-fill: var(--w11-acc);
  --wui-ind-start: -100%;
  --wui-ind-end: 250%;
  --wui-ind2-start: -160%;
  --wui-ind2-end: 250%;
  display: none;
}
body.w11 .w11-addr.nacita .w11-load { display: block; }

/* ── 2 · příkazový panel ───────────────────────────────────────── */

body.w11 .w11-cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 47px;
  padding: 0 16px 0 10px;
  background: var(--w11-bg);
  border-bottom: 1px solid var(--w11-line);
  box-sizing: border-box;
  /* bylo overflow:hidden -> uriznulo to nabidku aplikaci, ktera z pruhu
     visi dolu (453 px v 47px pruhu). Vodorovne pruh nepretekal ani s tim
     clipem (scrollWidth == clientWidth), uzke okno resi media query nize,
     ktera skryva popisky tlacitek. */
  overflow: visible;
}

body.w11 .w11-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  white-space: nowrap;
  cursor: pointer;
  flex: none;
}
body.w11 .w11-btn { transition: background-color var(--wui-faster) var(--wui-implicit), color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-btn:active:not(:disabled) { transition: none; }
body.w11 .w11-btn:hover:not(:disabled) { background: var(--w11-hover); }
body.w11 .w11-btn.on { background: var(--w11-ctrl-on); }
body.w11 .w11-btn:disabled { color: var(--w11-tx-off); cursor: default; }
body.w11 .w11-btn svg { width: 16px; height: 16px; stroke-width: 1.6; flex: none; }
body.w11 .w11-btn.w11-ico { width: 40px; padding: 0; justify-content: center; }
body.w11 .w11-btn .w11-caret { width: 8px; height: 8px; margin-left: -3px; opacity: .85; }
body.w11 .w11-new svg:first-child { color: var(--w11-acc); width: 16px; height: 16px; }

body.w11 .w11-div {
  width: 1px;
  height: 20px;
  margin: 0 -1px;
  background: var(--w11-line);
  flex: none;
}
body.w11 .w11-div.wide { margin: 0 2px; }

/* ── 3 · hlavní oblast ─────────────────────────────────────────── */

body.w11 .w11-main {
  display: grid;
  grid-template-columns: var(--w11-nav-w) 1fr;
  min-height: 0;
  background: var(--w11-bg);
}
body.w11 .w11-main.w11-has-det { grid-template-columns: var(--w11-nav-w) 1fr var(--w11-det-w); }
body.w11-nonav .w11-main { grid-template-columns: 1fr !important; }
body.w11-nonav .w11-main.w11-has-det { grid-template-columns: 1fr var(--w11-det-w) !important; }
body.w11-nonav .w11-nav { display: none; }

/* 3a · navigační panel */

body.w11 .w11-nav {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  padding: 6px 0 12px;
  border-right: 1px solid var(--w11-line-2b);
  box-sizing: border-box;
  position: relative;
}
body.w11 .w11-nav-resize {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 5px;
  cursor: col-resize;
  z-index: 2;
}
body.w11 .w11-nav-item {
  display: flex;
  align-items: center;
  gap: 0;
  height: 32px;
  margin: 0 2px;
  padding: 0 8px 0 4px;
  border-radius: 4px;
  color: var(--w11-tx);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
body.w11 .w11-nav-item:hover { background: var(--w11-hover); }
body.w11 .w11-nav-item.sel { background: var(--w11-sel); }
body.w11 .w11-nav-item.drop { background: var(--w11-drop); outline: 1px solid var(--w11-acc); }
body.w11 .w11-nav-item:focus-visible { outline: 2px solid var(--w11-acc); outline-offset: -2px; }
body.w11 .w11-nav-item .w11-tw {
  width: 24px;
  height: 24px;
  margin-right: 4px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: var(--w11-tx-2);
}
body.w11 .w11-nav-item .w11-tw:hover { background: var(--w11-line); }
/* TreeViewItem.xaml prepina CollapsedGlyph/ExpandedGlyph - zadna animace rotace */
body.w11 .w11-nav-item .w11-tw svg { width: 10px; height: 10px; }
body.w11 .w11-nav-item.open > .w11-tw svg { transform: rotate(90deg); }
body.w11 .w11-nav-item .w11-tw.empty { visibility: hidden; }
body.w11 .w11-nav-item .w11-ic { width: 16px; height: 16px; margin-right: 5px; flex: none; }
body.w11 .w11-nav-item .w11-lb { overflow: hidden; text-overflow: ellipsis; }
body.w11 .w11-nav-item .w11-pin {
  margin-left: auto;
  width: 20px;
  height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--w11-tx-2);
  opacity: 0;
  cursor: pointer;
}
body.w11 .w11-nav-item .w11-pin svg { width: 13px; height: 13px; }
body.w11 .w11-nav-item:hover .w11-pin { opacity: .85; }
body.w11 .w11-nav-item .w11-pin:hover { background: var(--w11-ctrl-hover); opacity: 1; }
body.w11 .w11-nav-sep {
  height: 1px;
  margin: 16px 10px 15px;
  background: var(--w11-line-nav);
}

/* 3b · seznam souborů */

body.w11 .w11-list-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.w11 .w11-head {
  display: flex;
  align-items: center;
  height: 30px;
  padding-left: 20px;
  flex: none;
  color: var(--w11-tx-2);
  font-size: 12px;
  user-select: none;
}
body.w11 .w11-col {
  position: relative;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 8px;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 3px;
  flex: none;
}
body.w11 .w11-col:hover { background: var(--w11-hover); }
body.w11 .w11-col.name { padding-left: 11px; }
body.w11 .w11-col:focus-visible { outline: 2px solid var(--w11-acc); outline-offset: -2px; }
body.w11 .w11-col span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.w11 .w11-col .w11-sort {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  color: var(--w11-tx-2);
}
body.w11 .w11-col .w11-grip {
  position: absolute;
  top: 0; right: -1px;
  width: 5px;
  height: 25px;
  cursor: col-resize;
  border-right: 1px solid var(--w11-line-hd);
}

body.w11 .w11-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  position: relative;
  outline: none;
}
body.w11 .w11-list.dropzone { outline: 2px dashed var(--w11-acc); outline-offset: -4px; }

body.w11 .w11-group {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  padding: 0 8px;
  color: var(--w11-tx);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
body.w11 .w11-group svg { width: 12px; height: 12px; color: var(--w11-tx-2); flex: none; }
body.w11 .w11-group.closed svg { transform: rotate(-90deg); }
body.w11 .w11-group .w11-gcount { color: var(--w11-tx-3); font-size: 11px; margin-left: 6px; }
body.w11 .w11-group .w11-gl {
  flex: 1;
  height: 1px;
  background: var(--w11-line-nav);
  margin-left: 10px;
}
body.w11 .w11-group:focus-visible { outline: 2px solid var(--w11-acc); outline-offset: -2px; }

body.w11 .w11-empty { padding: 18px 22px; color: var(--w11-tx-3); }

body.w11 .w11-row {
  display: flex;
  align-items: center;
  /* 26 + 2 mezera = rozteč 28, kterou počítá virtualizace (vyskaPolozky) */
  height: 26px;
  margin-bottom: 2px;
  padding-left: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
  color: var(--w11-tx);
}
/* V Podrobnostech řádek končí u posledního sloupce, ne na kraji okna —
   vpravo tak zbyde prázdno, ze kterého jde tahat výběrový rámeček.
   Šířku počítá sirkaRadku() v cloud-w11.js. */
body.w11 .w11-list.v-details .w11-row { width: var(--w11-roww, 100%); }
body.w11 .w11-list.kompakt .w11-row { height: 22px; margin-bottom: 2px; }
body.w11 .w11-row:hover { background: var(--w11-hover); }
body.w11 .w11-row.sel { background: var(--w11-sel-soft); border-color: var(--w11-line); }
body.w11 .w11-row.focus { outline: 1px solid var(--w11-acc); outline-offset: -1px; }
body.w11 .w11-row.drop { background: var(--w11-drop); border-color: var(--w11-acc); }
body.w11 .w11-cell {
  padding: 0 8px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  flex: none;
}
body.w11 .w11-cell.date { padding-left: 10px; }
body.w11 .w11-cell.name { display: flex; align-items: center; gap: 6px; padding: 0; min-width: 0; }
body.w11 .w11-cell.name .w11-ic { width: 16px; height: 16px; flex: none; }
body.w11 .w11-cell.name img.w11-ic { object-fit: cover; border-radius: 2px; }
body.w11 .w11-cell.name > span { overflow: hidden; text-overflow: ellipsis; }
body.w11 .w11-cell.name mark { background: var(--w11-mark-bg); color: var(--w11-mark-tx); border-radius: 2px; }
body.w11 .w11-cell.num { text-align: right; justify-content: flex-end; }
body.w11 .w11-badge { width: 11px; height: 11px; color: var(--w11-acc); flex: none; margin-left: 2px; }
body.w11 .w11-chk {
  width: 16px; height: 16px; flex: none;
  margin-left: -16px; margin-right: 4px;
  display: grid; place-items: center;
  border: 1px solid var(--w11-chk-br); border-radius: 3px;
  background: var(--w11-ctrl); color: transparent;
}
body.w11 .w11-row.sel .w11-chk { background: var(--w11-acc); border-color: var(--w11-acc); color: var(--w11-chk-on-tx); }
body.w11 .w11-chk svg { width: 10px; height: 10px; stroke-width: 3; }
body.w11 .w11-list.chk .w11-row { padding-left: 38px; }

body.w11 .w11-ren {
  flex: 1;
  min-width: 0;
  height: 20px;
  padding: 0 4px;
  background: var(--w11-field);
  border: 1px solid var(--w11-acc);
  border-radius: 3px;
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  outline: none;
}

body.w11 .w11-rozperka { flex: none; width: 100%; pointer-events: none; }

body.w11 .w11-marquee {
  position: absolute;
  border: 1px solid var(--w11-acc);
  background: var(--w11-marquee);
  pointer-events: none;
  z-index: 5;
}

/* 3b-2 · režimy zobrazení */

body.w11 .w11-list.v-list {
  display: flex;
  flex-flow: column wrap;
  align-content: flex-start;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
body.w11 .w11-list.v-list .w11-row { width: 260px; }
body.w11 .w11-list.v-list .w11-group { width: 260px; }

body.w11 .w11-list.v-xl,
body.w11 .w11-list.v-large,
body.w11 .w11-list.v-medium,
body.w11 .w11-list.v-small,
body.w11 .w11-list.v-tiles {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;
  padding: 8px 8px 8px 18px;
}
body.w11 .w11-list.v-xl .w11-group,
body.w11 .w11-list.v-large .w11-group,
body.w11 .w11-list.v-medium .w11-group,
body.w11 .w11-list.v-small .w11-group,
body.w11 .w11-list.v-tiles .w11-group { width: 100%; }

body.w11 .w11-list.v-xl .w11-row,
body.w11 .w11-list.v-large .w11-row,
body.w11 .w11-list.v-medium .w11-row,
body.w11 .w11-list.v-small .w11-row {
  flex-direction: column;
  justify-content: center;
  height: auto;
  padding: 8px 6px;
  text-align: center;
}
body.w11 .w11-list.v-xl .w11-cell.name,
body.w11 .w11-list.v-large .w11-cell.name,
body.w11 .w11-list.v-medium .w11-cell.name,
body.w11 .w11-list.v-small .w11-cell.name {
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
body.w11 .w11-list.v-xl .w11-cell.name > span,
body.w11 .w11-list.v-large .w11-cell.name > span,
body.w11 .w11-list.v-medium .w11-cell.name > span,
body.w11 .w11-list.v-small .w11-cell.name > span {
  width: 100%;
  white-space: normal;
  line-height: 1.25;
  max-height: 30px;
  overflow: hidden;
}

body.w11 .w11-list.v-xl .w11-row { width: 192px; }
body.w11 .w11-list.v-xl .w11-cell.name .w11-ic { width: 128px; height: 128px; }
body.w11 .w11-list.v-large .w11-row { width: 136px; }
body.w11 .w11-list.v-large .w11-cell.name .w11-ic { width: 88px; height: 88px; }
body.w11 .w11-list.v-medium .w11-row { width: 104px; }
body.w11 .w11-list.v-medium .w11-cell.name .w11-ic { width: 48px; height: 48px; }
body.w11 .w11-list.v-small .w11-row { width: 88px; }
body.w11 .w11-list.v-small .w11-cell.name .w11-ic { width: 28px; height: 28px; }

/* Odznak sdileni patri k ikone, ne na treti radek pod nazev. */
body.w11 .w11-list.v-xl .w11-cell.name,
body.w11 .w11-list.v-large .w11-cell.name,
body.w11 .w11-list.v-medium .w11-cell.name,
body.w11 .w11-list.v-small .w11-cell.name { position: relative; }
body.w11 .w11-list.v-xl .w11-cell.name > .w11-badge,
body.w11 .w11-list.v-large .w11-cell.name > .w11-badge,
body.w11 .w11-list.v-medium .w11-cell.name > .w11-badge,
body.w11 .w11-list.v-small .w11-cell.name > .w11-badge {
  position: absolute;
  top: 0; left: 50%;
  margin: 0;
  width: 12px; height: 12px;
}
body.w11 .w11-list.v-xl .w11-cell.name > .w11-badge     { translate: 46px 6px; }
body.w11 .w11-list.v-large .w11-cell.name > .w11-badge  { translate: 28px 4px; }
body.w11 .w11-list.v-medium .w11-cell.name > .w11-badge { translate: 10px 0; }
body.w11 .w11-list.v-small .w11-cell.name > .w11-badge  { translate: 0 0; }

/* Dlazdice a Obsah maji ikonu vlevo a texty pod sebou vpravo od ni.
   Drzi to mrizka — na flexu se nazev smrstil, az z nej zbyly tri znaky,
   a text vytekl za okraj dlazdice. */

body.w11 .w11-list.v-tiles .w11-row {
  width: 250px;
  height: 66px;
  padding: 6px 8px;
}
body.w11 .w11-list.v-tiles .w11-cell.name {
  display: grid;
  grid-template-columns: 44px minmax(0, auto) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
body.w11 .w11-list.v-tiles .w11-cell.name > .w11-ic {
  grid-area: 1 / 1 / 3 / 2;
  align-self: center;
  width: 44px; height: 44px;
}
body.w11 .w11-list.v-tiles .w11-cell.name > span {
  grid-area: 1 / 2 / 2 / 3;
  align-self: end;
  min-width: 0;
}
body.w11 .w11-list.v-tiles .w11-cell.name > .w11-badge {
  grid-area: 1 / 3 / 2 / 4;
  align-self: center; justify-self: start;
  margin-left: 0;
}
body.w11 .w11-list.v-tiles .w11-tile-meta {
  grid-area: 2 / 2 / 3 / 4;
  align-self: start;
  display: block;
  min-width: 0;
  overflow: hidden;
}
body.w11 .w11-tile-meta div {
  font-size: 11px; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

body.w11 .w11-list.v-content .w11-row { height: 58px; padding: 4px 16px 4px 20px; }
body.w11 .w11-list.v-content .w11-cell.name {
  display: grid;
  grid-template-columns: 32px minmax(0, auto) minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  row-gap: 3px;
  width: 100%;
  min-width: 0;
}
body.w11 .w11-list.v-content .w11-cell.name > .w11-ic {
  grid-area: 1 / 1 / 3 / 2;
  align-self: center;
  width: 32px; height: 32px;
}
body.w11 .w11-list.v-content .w11-cell.name > span {
  grid-area: 1 / 2 / 2 / 3;
  align-self: end;
  min-width: 0;
  font-size: 13px;
}
body.w11 .w11-list.v-content .w11-cell.name > .w11-badge {
  grid-area: 1 / 3 / 2 / 4;
  align-self: center; justify-self: start;
  margin-left: 0;
}
body.w11 .w11-list.v-content .w11-content-meta { display: contents; }
body.w11 .w11-list.v-content .w11-content-meta > span {
  font-size: 11px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.w11 .w11-list.v-content .w11-content-meta > span:nth-child(1) {
  grid-area: 2 / 2 / 3 / 4;
  align-self: start;
}
body.w11 .w11-list.v-content .w11-content-meta > span:nth-child(2) {
  grid-area: 1 / 4 / 2 / 5;
  align-self: end; justify-self: end;
}
body.w11 .w11-list.v-content .w11-content-meta > span:nth-child(3) {
  grid-area: 2 / 4 / 3 / 5;
  align-self: start; justify-self: end;
}

body.w11 .w11-list:not(.v-details) .w11-cell:not(.name) { display: none; }

/* 3c · panel Podrobnosti / Náhled */

body.w11 .w11-det {
  border-left: 1px solid var(--w11-line-2b);
  overflow: auto;
  padding: 16px 20px 16px 22px;
  box-sizing: border-box;
  display: none;
}
body.w11 .w11-main.w11-has-det .w11-det { display: block; }
body.w11 .w11-det-hdr { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
body.w11 .w11-det-preview {
  height: 220px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
body.w11 .w11-det-preview img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 4px;
}
body.w11 .w11-det-preview svg { width: 96px; height: 96px; color: var(--w11-tx-2); }
body.w11 .w11-det h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}
body.w11 .w11-det-card {
  display: flex;
  gap: 14px;
  padding: 16px 13px;
  background: transparent;
  border: 1px solid var(--w11-card-br);
  border-radius: 6px;
  color: var(--w11-tx-2);
  font-size: 12px;
  line-height: 1.5;
}
body.w11 .w11-det-card svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
body.w11 .w11-det-note { color: var(--w11-tx-3); font-size: 12px; padding: 10px 0; }
body.w11 .w11-meta { margin-top: 14px; font-size: 12px; }
body.w11 .w11-meta div { display: flex; gap: 8px; padding: 4px 0; }
body.w11 .w11-meta b { min-width: 96px; font-weight: 400; color: var(--w11-tx-3); flex: none; }
body.w11 .w11-meta span { word-break: break-word; }
body.w11 .w11-det-akce { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
body.w11 .w11-det-btn {
  height: 28px; padding: 0 12px;
  border: 1px solid var(--w11-line); border-radius: 4px;
  background: var(--w11-ctrl); color: var(--w11-tx);
  font: 12px var(--w11-font); cursor: pointer;
}
body.w11 .w11-det-btn { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-det-btn:hover:not(:disabled) { background: var(--w11-ctrl-hover-2); }
body.w11 .w11-det-btn:disabled { color: var(--w11-tx-off); border-color: var(--w11-ctrl-on); background: var(--w11-ctrl-off); cursor: default; }
body.w11 .w11-preview { display: grid; place-items: center; min-height: 200px; }
body.w11 .w11-preview img, body.w11 .w11-preview video { max-width: 100%; max-height: 420px; border-radius: 4px; }
body.w11 .w11-preview audio { width: 100%; }
body.w11 .w11-preview-ic { width: 84px; height: 84px; color: var(--w11-tx-2); }
body.w11 .w11-pdf { width: 100%; height: 460px; border: 0; background: var(--w11-papir); border-radius: 4px; }
body.w11 .w11-pre {
  width: 100%; max-height: 460px; overflow: auto; margin: 0;
  font: 11px/1.5 Consolas, "Cascadia Mono", monospace;
  white-space: pre-wrap; word-break: break-word; color: var(--w11-tx-2);
}

/* ── 4 · stavový řádek ─────────────────────────────────────────── */

body.w11 .w11-status {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 28px;
  padding: 0 12px;
  background: var(--w11-status);
  border-top: 1px solid var(--w11-line-2);
  color: var(--w11-tx-2);
  font-size: 12px;
  box-sizing: border-box;
}
body.w11 .w11-status > span { white-space: nowrap; }
body.w11 .w11-st-ops { color: var(--w11-acc); }
body.w11 .w11-vbtn {
  width: 26px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--w11-tx-2);
  cursor: pointer;
  flex: none;
}
body.w11 .w11-vbtn { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-vbtn:hover { background: var(--w11-hover); }
body.w11 .w11-vbtn.on { background: var(--w11-sel); color: var(--w11-tx); }
body.w11 .w11-vbtn svg { width: 16px; height: 16px; }

/* ── nabídky a kontextové menu ─────────────────────────────────── */

body.w11 .w11-menu {
  position: fixed;
  z-index: 9000;
  min-width: 240px;
  max-width: 380px;
  padding: 4px;
  background: var(--w11-menu-bg);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  border: 1px solid var(--w11-pop-br);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--w11-el-menu-barva);
  font-size: 12px;
  animation: wui-flyout-in var(--wui-faster) linear,
             wui-flyout-slide var(--wui-fast) var(--wui-fast-out-slow-in);
}
body.w11 .w11-mi {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--w11-tx);
  cursor: pointer;
  white-space: nowrap;
  outline: none;
}
/* MenuFlyoutItem: vsech 7 keyframu KeyTime=0 -> zadny prechod */
body.w11 .w11-mi:hover, body.w11 .w11-mi:focus-visible { background: var(--w11-line-nav); }
body.w11 .w11-mi.off { color: var(--w11-tx-off); pointer-events: none; }
body.w11 .w11-mi svg { width: 16px; height: 16px; flex: none; }
body.w11 .w11-mi-sp { width: 16px; flex: none; }
body.w11 .w11-mi-t { flex: 1; overflow: hidden; text-overflow: ellipsis; }
body.w11 .w11-mi-on { width: 13px !important; height: 13px !important; color: var(--w11-acc); }
body.w11 .w11-mi-sub { width: 11px !important; height: 11px !important; color: var(--w11-tx-3); }
body.w11 .w11-mi .w11-key { color: var(--w11-tx-3); margin-left: 12px; font-size: 11px; }
body.w11 .w11-msep { height: 1px; margin: 4px 8px; background: var(--w11-pop-br); }
body.w11 .w11-mbar { display: flex; gap: 2px; padding: 2px; margin-bottom: 4px; }
body.w11 .w11-mbar-b {
  width: 40px; height: 34px;
  display: grid; place-items: center;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--w11-tx); cursor: pointer;
}
body.w11 .w11-mbar-b:hover { background: var(--w11-ctrl-hover); }
body.w11 .w11-mbar-b.off { color: var(--w11-tx-off); pointer-events: none; }
body.w11 .w11-mbar-b svg { width: 16px; height: 16px; }

/* ── dialogy ───────────────────────────────────────────────────── */

body.w11 .w11-dlgbg {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--w11-scrim);
  display: grid;
  place-items: center;
}
body.w11 .w11-dlg {
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  background: var(--w11-hover);
  border: 1px solid var(--w11-pop-br);
  border-radius: 8px;
  box-shadow: 0 16px 48px var(--w11-el-dlg-barva);
  animation: wui-dialog-in var(--wui-normal) var(--wui-fast-out-slow-in),
             wui-fade-in var(--wui-faster) linear;
}
body.w11 .w11-dlgbg { animation: wui-fade-in var(--wui-faster) linear; }
body.w11 .w11-dlgbg.zaviram { animation: wui-fade-out var(--wui-faster) linear forwards; }
body.w11 .w11-dlgbg.zaviram .w11-dlg {
  animation: wui-dialog-out var(--wui-fast) var(--wui-fast-out-slow-in) forwards,
             wui-fade-out var(--wui-faster) linear forwards;
}
body.w11 .w11-dlg-h {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 6px 0 16px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--w11-line);
}
body.w11 .w11-dlg-h span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.w11 .w11-dlg-x {
  width: 32px; height: 28px;
  display: grid; place-items: center;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--w11-tx-2); cursor: pointer;
}
body.w11 .w11-dlg-x:hover { background: var(--w11-danger); color: var(--w11-na-barve); }
body.w11 .w11-dlg-x svg { width: 12px; height: 12px; }
body.w11 .w11-dlg-b { padding: 16px; overflow: auto; font-size: 12px; line-height: 1.55; }
body.w11 .w11-dlg-b p { margin: 0 0 12px; }
body.w11 .w11-dlg-f {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--w11-line);
}
body.w11 .w11-dlg-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 9px;
  box-sizing: border-box;
  background: var(--w11-field);
  border: 1px solid var(--w11-line);
  border-radius: 4px;
  color: var(--w11-tx);
  font: 13px var(--w11-font);
  outline: none;
}
body.w11 .w11-dlg-input:focus { border-color: var(--w11-acc); }
body.w11 .w11-sdil-radek { display: flex; gap: 8px; margin: 10px 0 6px; }
body.w11 .w11-sdil-hlas { min-height: 16px; font-size: 12px; color: var(--w11-tx-2); }
body.w11 .w11-sdil-hlas.chyba { color: var(--w11-err-tx); }
body.w11 .w11-sdil-seznam { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
body.w11 .w11-sdil-kdo {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 5px 8px; border: 1px solid var(--w11-line); border-radius: 4px;
  font-size: 13px;
}
body.w11 .w11-sdil-nic { font-size: 12px; color: var(--w11-tx-2); }

body.w11 .w11-dlg-btn {
  min-width: 96px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid var(--w11-pop-br);
  border-radius: 4px;
  background: var(--w11-dlg-btn);
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  cursor: pointer;
}
body.w11 .w11-dlg-btn { transition: background-color var(--wui-faster) var(--wui-implicit); }
body.w11 .w11-dlg-btn:active { transition: none; }
body.w11 .w11-dlg-btn:hover { background: var(--w11-dlg-btn-hover); }
body.w11 .w11-dlg-btn.hlavni { background: var(--w11-prim-btn); border-color: var(--w11-prim-btn); }
body.w11 .w11-dlg-btn.hlavni:hover { background: var(--w11-prim-btn-hover); }
body.w11 .w11-dlg-btn.nebezpecne { background: var(--w11-danger-btn); border-color: var(--w11-danger-btn); }
body.w11 .w11-dlg-btn.nebezpecne:hover { background: var(--w11-danger-btn-hover); }
body.w11 .w11-input {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  background: var(--w11-field);
  border: 1px solid var(--w11-field-br);
  border-radius: 4px;
  color: var(--w11-tx);
  font: 12px var(--w11-font);
  box-sizing: border-box;
  outline: none;
}
body.w11 .w11-input:focus { border-color: var(--w11-acc); }
body.w11 .w11-input.male { height: 26px; flex: 1; min-width: 0; }
body.w11 .w11-konflikt { margin: 0 0 12px; padding-left: 20px; color: var(--w11-tx-2); }
body.w11 .w11-konflikt li { padding: 2px 0; }

body.w11 .w11-tabs2 { display: flex; gap: 2px; border-bottom: 1px solid var(--w11-line); margin: -4px 0 14px; }
body.w11 .w11-tab2 {
  height: 32px; padding: 0 14px;
  border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--w11-tx-2);
  font: 12px var(--w11-font); cursor: pointer;
}
body.w11 .w11-tab2:hover { color: var(--w11-tx); }
body.w11 .w11-tab2.on { color: var(--w11-tx); border-bottom-color: var(--w11-acc); }
body.w11 .w11-tabs2-b { min-height: 220px; }
body.w11 .w11-prop { display: flex; gap: 10px; align-items: center; padding: 5px 0; }
body.w11 .w11-prop b { min-width: 130px; font-weight: 400; color: var(--w11-tx-3); flex: none; }
body.w11 .w11-prop span { word-break: break-word; }
body.w11 .w11-prop-hdr { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--w11-line); font-size: 13px; }
body.w11 .w11-prop-ic { width: 32px; height: 32px; flex: none; }
body.w11 .w11-prop-akce { display: flex; gap: 8px; margin-top: 16px; }
body.w11 .w11-cb { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; }
body.w11 .w11-verze { display: flex; flex-direction: column; gap: 6px; }
body.w11 .w11-verze-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border: 1px solid var(--w11-line); border-radius: 4px; }
body.w11 .w11-zkratky { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; align-items: center; }
body.w11 .w11-zkratky kbd {
  font: 11px Consolas, "Cascadia Mono", monospace;
  background: var(--w11-ctrl-off); border: 1px solid var(--w11-ctrl-hover); border-radius: 3px;
  padding: 2px 6px; white-space: nowrap;
}

/* ── posuvníky ve stylu Windows ────────────────────────────────── */

body.w11 .w11-nav::-webkit-scrollbar,
body.w11 .w11-list::-webkit-scrollbar,
body.w11 .w11-det::-webkit-scrollbar,
body.w11 .w11-dlg-b::-webkit-scrollbar { width: 17px; height: 17px; }
body.w11 .w11-nav::-webkit-scrollbar-thumb,
body.w11 .w11-list::-webkit-scrollbar-thumb,
body.w11 .w11-det::-webkit-scrollbar-thumb,
body.w11 .w11-dlg-b::-webkit-scrollbar-thumb {
  background: transparent;
  border: 7px solid transparent;
  background-clip: content-box;
  border-radius: 4px;
}
body.w11 .w11-nav:hover::-webkit-scrollbar-thumb,
body.w11 .w11-list:hover::-webkit-scrollbar-thumb,
body.w11 .w11-det:hover::-webkit-scrollbar-thumb,
body.w11 .w11-dlg-b:hover::-webkit-scrollbar-thumb { background: var(--w11-scroll-2); background-clip: content-box; }
body.w11 .w11-nav::-webkit-scrollbar-thumb:hover,
body.w11 .w11-list::-webkit-scrollbar-thumb:hover,
body.w11 .w11-det::-webkit-scrollbar-thumb:hover { border-width: 5px; background: var(--w11-scroll-hover); background-clip: content-box; }
body.w11 .w11-nav::-webkit-scrollbar-track,
body.w11 .w11-list::-webkit-scrollbar-track,
body.w11 .w11-det::-webkit-scrollbar-track { background: transparent; }

body.w11 .w11-cmd #nyxAppsMount { flex: none; margin-right: 4px; }
body.w11 .w11-cmd #nyxAppsMount button { height: 32px; }

/* ── užší okna a mobil ─────────────────────────────────────────── */

@media (max-width: 1500px) {
  html[data-page="home"] { --w11-nav-w: 260px; --w11-det-w: 280px; }
  body.w11 .w11-search { flex: 0 1 320px; }
}
@media (max-width: 1150px) {
  html[data-page="home"] { --w11-nav-w: 220px; }
  body.w11 .w11-main.w11-has-det { grid-template-columns: var(--w11-nav-w) 1fr; }
  body.w11 .w11-main.w11-has-det .w11-det { display: none; }
  body.w11 .w11-search { flex: 0 1 240px; }
  body.w11 .w11-clock { display: none; }
}
@media (max-width: 820px) {
  body.w11 .w11-main,
  body.w11 .w11-main.w11-has-det { grid-template-columns: 1fr; }
  body.w11 .w11-nav { display: none; }
  body.w11 .w11-cmd .w11-btn span { display: none; }
  body.w11 .w11-cmd .w11-btn { padding: 0 8px; }
  body.w11 .w11-crumbs { min-width: 90px; }
  body.w11 .w11-search { flex: 0 1 180px; }
  body.w11 .w11-col.type, body.w11 .w11-cell.type { display: none; }
  body.w11 .w11-tab { width: 150px; }
  body.w11 .w11-user span { display: none; }
}
@media (max-width: 560px) {
  body.w11 .w11-col.size, body.w11 .w11-cell.size { display: none; }
  body.w11 .w11-col.date, body.w11 .w11-cell.date { width: 110px !important; }
  body.w11 .w11-status .w11-st-store { display: none; }
}
@media (pointer: coarse) {
  body.w11 .w11-row { height: 40px !important; }
  body.w11 .w11-nav-item { height: 40px !important; }
  body.w11 .w11-nav::-webkit-scrollbar,
  body.w11 .w11-list::-webkit-scrollbar,
  body.w11 .w11-det::-webkit-scrollbar { width: 10px; }
  body.w11 .w11-nav::-webkit-scrollbar-thumb,
  body.w11 .w11-list::-webkit-scrollbar-thumb,
  body.w11 .w11-det::-webkit-scrollbar-thumb { background: var(--w11-scroll); border-width: 3px; background-clip: content-box; }
}
html.wui-bez-pohybu body.w11 .w11-menu,
html.wui-bez-pohybu body.w11 .w11-dlg,
html.wui-bez-pohybu body.w11 .w11-dlgbg,
html[data-wui-motion="off"] body.w11 .w11-menu,
html[data-wui-motion="off"] body.w11 .w11-dlg,
html[data-wui-motion="off"] body.w11 .w11-dlgbg { animation: none !important; }
html.wui-bez-pohybu body.w11 *,
html[data-wui-motion="off"] body.w11 * { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html:not([data-wui-motion="on"]) body.w11 .w11-menu,
  html:not([data-wui-motion="on"]) body.w11 .w11-dlg,
  html:not([data-wui-motion="on"]) body.w11 .w11-dlgbg { animation: none !important; }
  html:not([data-wui-motion="on"]) body.w11 * { transition: none !important; }
}

/* ── nahrávání: stav v liště je tlačítko ───────────────────────── */

body.w11 button.w11-st-ops {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  margin: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--w11-acc);
  font: 12px var(--w11-font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--wui-faster) var(--wui-implicit);
}
body.w11 button.w11-st-ops::after { content: "›"; font-size: 14px; line-height: 1; opacity: .75; }
body.w11 button.w11-st-ops:hover { background: var(--w11-hover); }
body.w11 button.w11-st-ops:focus-visible { outline: 2px solid var(--w11-acc); outline-offset: -2px; }
body.w11 button.w11-st-ops.chyba { color: var(--w11-err-tx-2); }

/* ── okno s podrobnostmi ───────────────────────────────────────── */

body.w11 .w11-dlg-b.w11-up { padding-bottom: 0; }
body.w11 .w11-up-h { font-size: 14px; font-weight: 600; color: var(--w11-tx); }
body.w11 .w11-up-sub { margin-top: 2px; color: var(--w11-tx-3); font-variant-numeric: tabular-nums; min-height: 17px; }

body.w11 .w11-up-p {
  height: 4px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--w11-field-br);
  overflow: hidden;
}
body.w11 .w11-up-p.celek { height: 6px; margin: 12px 0 4px; }
body.w11 .w11-up-p > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--w11-acc);
  transition: width var(--wui-faster) linear;
}

body.w11 .w11-up-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 260px;
  overflow: auto;
  border-top: 1px solid var(--w11-line);
}
body.w11 .w11-up-r {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--w11-line-up);
}
body.w11 .w11-up-r:last-child { border-bottom: 0; }
body.w11 .w11-up-ico {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--w11-field-br);
  color: var(--w11-tx-2);
  font-size: 11px; line-height: 1;
}
body.w11 .w11-up-r.s-bezi .w11-up-ico { background: var(--w11-up-bezi); color: var(--w11-na-barve); }
body.w11 .w11-up-r.s-hotovo .w11-up-ico { background: var(--w11-up-ok); color: var(--w11-up-ok-tx); }
body.w11 .w11-up-r.s-chyba .w11-up-ico { background: var(--w11-up-err); color: var(--w11-up-err-tx); }

body.w11 .w11-up-m { flex: 1; min-width: 0; }
body.w11 .w11-up-n {
  color: var(--w11-tx);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.w11 .w11-up-s { color: var(--w11-tx-3); font-size: 11px; font-variant-numeric: tabular-nums; }
body.w11 .w11-up-r.s-chyba .w11-up-s { color: var(--w11-err-tx-2); }

body.w11 .w11-up-x {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border: 0; border-radius: 4px;
  background: transparent;
  color: var(--w11-tx-3);
  font-size: 11px;
  cursor: pointer;
}
body.w11 .w11-up-x:hover { background: var(--w11-danger); color: var(--w11-na-barve); }

body.w11 .w11-up-akce {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 0;
  position: sticky;
  bottom: 0;
  background: var(--w11-hover);
}
body.w11 .w11-up-akce .w11-dlg-btn { min-width: 0; }

body.w11 .w11-status { min-width: 0; overflow: hidden; }
body.w11 .w11-status .w11-spacer { min-width: 0; }

@media (max-width: 560px) {
  body.w11 .w11-status { gap: 10px; }
  body.w11 .w11-status .w11-st-items { display: none; }
  body.w11 button.w11-st-ops { min-width: 0; overflow: hidden; }
}

@media (pointer: coarse) {
  body.w11 button.w11-st-ops { min-height: 0 !important; height: 26px; }
}

/* ── náhledy: 64 → 128 → 512 ───────────────────────────────────── */

body.w11 img.w11-nahled {
  background: var(--w11-ctrl);
  object-fit: cover;
  border-radius: 2px;
}
body.w11 img.w11-nahled.je { animation: w11-nahled-in 140ms linear; }
@keyframes w11-nahled-in { from { opacity: .3; } to { opacity: 1; } }

body.w11 .w11-vidbox {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--w11-ctrl);
}
body.w11 .w11-vidbox img.w11-nahled {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
}
body.w11 .w11-vidbox::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  width: 46%; height: 46%;
  min-width: 9px; min-height: 9px;
  max-width: 26px; max-height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 58% 50% / 56% no-repeat;
}

/* ─────────────────────────────────────────────────────────────────────
   SVĚTLÝ REŽIM
   Cloud má vlastní sadu tokenů, kterou sdílený `explorer.css` nemíjí —
   proto se po zapnutí světlého režimu nic nedělo. Hodnoty drží stejné
   odstupy jako tmavá sada: pruh s kartami je od plochy poznat, plocha je
   nejsvětlejší, lišta mezi nimi.
   ───────────────────────────────────────────────────────────────────── */

html[data-mode="light"][data-page="home"] {
  --w11-bg:        #ffffff;
  --w11-tabbar:    #e9e9e9;
  --w11-bar:       #f3f3f3;
  --w11-field:     #ffffff;
  --w11-field-br:  #cfcfcf;
  --w11-line:      #e5e5e5;
  --w11-line-2:    #dcdcdc;
  --w11-line-2b:   #ededed;
  --w11-line-hd:   #b0b0b0;
  --w11-line-nav:  #e0e0e0;
  --w11-hover:     #f0f0f0;
  --w11-sel:       #e4e4e4;
  --w11-sel-soft:  #ededed;
  --w11-status:    #f3f3f3;
  --w11-tx:        #1a1a1a;
  --w11-tx-2:      #444444;
  --w11-tx-3:      #6a6a6a;
  --w11-acc:       #0078d4;
  /* Světlé protějšky tokenů doplněných při tokenizaci. Kontrast měřen:
     bílý text na primárním 5,78:1, na nebezpečném 5,66:1, chybový text 6,50:1,
     okraj zaškrtávátka 3,45:1 (limit 3 pro ovladače), nalezené slovo 9,70:1. */
  --w11-hover-bar:       #dcdcdc;
  --w11-ctrl:            #f5f5f5;
  --w11-ctrl-hover:      #e9e9e9;
  --w11-ctrl-hover-2:    #ededed;
  --w11-ctrl-on:         #e0e0e0;
  --w11-ctrl-off:        #f7f7f7;
  --w11-dlg-btn:         #fbfbfb;
  --w11-dlg-btn-hover:   #f0f0f0;
  --w11-pop-br:          #d9d9d9;
  --w11-card-br:         #e5e5e5;
  --w11-chk-br:          #8a8a8a;
  --w11-tx-off:          #a0a0a0;
  --w11-line-up:         #e5e5e5;
  --w11-scroll:          rgba(0, 0, 0, .35);
  --w11-scroll-2:        rgba(0, 0, 0, .45);
  --w11-scroll-hover:    rgba(0, 0, 0, .55);
  --w11-menu-bg:         rgba(249, 249, 249, .94);
  --w11-scrim:           rgba(0, 0, 0, .28);
  --w11-marquee:         rgba(0, 120, 212, .14);
  --w11-el-menu-barva:   rgba(0, 0, 0, .16);
  --w11-el-dlg-barva:    rgba(0, 0, 0, .22);
  --w11-drop:            #bcdcf7;
  --w11-mark-bg:         #fff3a3;
  --w11-mark-tx:         #4a3b00;
  --w11-chk-on-tx:       #ffffff;   /* fajfka na tmavším akcentu */
  --w11-danger:          #c42b1c;
  --w11-danger-btn:      #c42b1c;
  --w11-danger-btn-hover:#b1271a;
  --w11-prim-btn:        #0067b8;
  --w11-prim-btn-hover:  #005a9e;
  --w11-err-tx:          #b12b1c;
  --w11-err-tx-2:        #b12b1c;
  /* Kolečka stavu nahrávání zůstávají barevná stejně jako v tmavém: je to
     odznak, ne plocha, a barva stavu má být v obou režimech stejná. */
}
