/* Aktuální živé úpravy PetrOS — bez vytváření dalších verzí. */
.programs-menu {
  width: 220px;
  overflow: visible;
  box-shadow: 3px 3px 8px #1238;
}
.programs-menu hr { margin: 3px; border: 0; border-top: 1px solid #aaa; }
.program-category { display: flex !important; justify-content: space-between; }
.program-group { position: relative; }
.program-submenu {
  display: none;
  position: absolute;
  z-index: 103;
  left: 100%;
  top: -4px;
  width: 220px;
  padding: 4px;
  border: 2px outset #fff;
  background: #fff;
  box-shadow: 3px 3px 8px #1238;
}
.program-group:hover > .program-submenu,
.program-group:focus-within > .program-submenu { display: block; }
.program-group:hover > .program-category,
.program-group:focus-within > .program-category { background: var(--select); color: #fff; }
.dash-wifi small {
  display: block;
  margin-top: 7px;
  padding: 5px;
  border: 1px solid #b4c7de;
  background: #f3f8ff;
  color: #49617e;
}
.dash-wifi-tools { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.dash-wifi-tools label { display: flex; grid-template-columns: none; gap: 4px; margin: 0; }
.dash-wifi-tools button { font-size: 9px; }
.app-mode-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 18px 10px;
  padding-top: 10px;
  border-top: 1px solid #b7c7da;
}
.app-mode-actions button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  border: 2px outset #fff;
  background: linear-gradient(#fff, #dbe8f7);
  color: #174e9b;
  text-align: left;
}
.app-mode-actions button > span { grid-row: 1 / 3; font-size: 27px; text-align: center; }
.app-mode-actions button > b { align-self: end; font-size: 12px; }
.app-mode-actions button > small { align-self: start; color: #5f7390; }
.app-mode-actions button:disabled { filter: grayscale(.55); opacity: .72; }
#app-fullscreen-tray.active { border: 1px inset #75ccf1 !important; background: #087caf !important; }
@media (display-mode: standalone), (display-mode: fullscreen) {
  html, body { overscroll-behavior: none; }
}
@media (max-width: 760px) {
  .programs-menu { left: 0; bottom: 70px; }
  .program-submenu { left: 0; bottom: 100%; top: auto; }
  .app-mode-actions { grid-template-columns: 1fr; }
}
