/*
 * Stadler Consulting: Haut der 11er-Welt unter /11/. Schrift, Farben, weiche
 * Kanten, Rundungen und Schatten. Anordnung und Breakpoints kommen aus
 * base.css; hier steht, was sich mit Tokens allein nicht sagen lässt.
 *
 * 1. Tokens                   4. Taskleiste, Startmenü, Menüs
 * 2. Grundlagen und Bausteine 5. Dialoge, Herunterfahren, Rechtstexte
 * 3. Explorer                 6. Fenster der Startseite, Tablet und Handy
 *
 * Regeln stehen in docs/style-guide.md, Teil B. Farben kommen ausschließlich
 * als Custom Property aus :root, weiter unten steht nie ein Hex-Wert.
 */

/* 1. Tokens ============================================================== */

/* Schrift ist Segoe UI, wo vorhanden, sonst Selawik (@font-face in base.css). */
:root {
  /* Flächen */
  --desktop: #dce8f5;
  --face: #f3f3f3;
  --window: #fff;
  --card: #fbfbfb;
  --tooltip: #fff4ce;
  --control: #fdfdfd;
  --control-hover: #f6f6f6;
  --control-pressed: #f0f0f0;
  --acrylic: rgb(243 243 243 / 0.86);
  --acrylic-solid: #f9f9f9;
  --subtle: rgb(0 0 0 / 0.037);
  --subtle-strong: rgb(0 0 0 / 0.06);
  --shutdown: #0b1b33;
  --desktop-label: #1a1a1a;
  --boot: #000;
  --boot-text: #c0c0c0;
  --boot-bar: #000080;

  /* Kanten der 98er-Tokens, hier als feine Linien */
  --highlight: #fff;
  --light: #e5e5e5;
  --shadow: #8a8a8a;
  --dark: #1a1a1a;
  --stroke: #e0e0e0;
  --stroke-strong: #c4c4c4;

  /* Text */
  --text: #1a1a1a;
  --text-muted: #5d5d5d;
  --text-disabled: #a0a0a0;
  --text-inverse: #fff;
  --link: #005fb8;
  --link-hover: #003e92;
  --link-hover-web: #c42b1c;

  /* Akzent statt Marineblau, Verläufe nur in Bannern */
  --selection: #005fb8;
  --accent: #005fb8;
  --accent-hover: #1a6fc0;
  --accent-soft: #e0eefa;
  --accent-edge: rgb(0 0 0 / 0.25);
  --title-start: #003e92;
  --title-end: #4cc2ff;
  --banner-end: #0f6cbd;
  --close-hover: #c42b1c;

  /* Akzente */
  --accent-red: #c42b1c;
  --accent-orange: #f7630c;

  /* Keine harten Schatten, dafür weiche */
  --drop-shadow: transparent;
  --drop-shadow-strong: transparent;
  --shadow-soft: rgb(0 0 0 / 0.14);
  --shadow-faint: rgb(0 0 0 / 0.08);
  --elevation: 0 0 0 1px var(--stroke), 0 8px 24px var(--shadow-soft), 0 2px 6px var(--shadow-faint);
  --elevation-low: 0 0 0 1px var(--stroke), 0 2px 4px var(--shadow-faint);

  /* Die 98er-Kanten werden zu feinen Linien. */
  --bevel-raised: inset 0 0 0 1px var(--stroke);
  --bevel-pressed: inset 0 0 0 1px var(--stroke-strong);
  --bevel-field: inset 0 0 0 1px var(--stroke), inset 0 -1px 0 var(--stroke-strong);
  --bevel-status: inset 0 0 0 1px var(--stroke);
  --bevel-thin: inset 0 0 0 1px var(--stroke);
  --bevel-thin-pressed: inset 0 0 0 1px var(--stroke-strong);
  --bevel-tab-frame: inset 0 0 0 1px var(--stroke);

  --radius: 8px;
  --radius-s: 4px;

  --font-ui: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Selawik, system-ui, sans-serif;
  --font-document: var(--font-ui);
  --font-serif: Georgia, "Times New Roman", serif;
}

/* 2. Grundlagen und Bausteine ============================================ */

body {
  background: var(--desktop);
  -webkit-font-smoothing: antialiased;
}

/*
 * Hintergrund als feste Ebene statt "background-attachment: fixed": iOS
 * kennt fixed nicht und zöge die Blüte über die ganze Seitenhöhe auf.
 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/images/bluete.svg") center / cover no-repeat;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

.skip-link {
  border-radius: var(--radius-s);
  box-shadow: var(--elevation);
}

/* Die gezeichnete Bildlaufleiste gehört zu 98, hier bleibt die des Systems. */
.fake-scrollbar,
.scroll > .fake-scrollbar {
  display: none !important;
}

.scroll__body {
  scrollbar-width: thin;
}

.scroll__body::-webkit-scrollbar {
  display: block;
  width: 6px;
}

.scroll__body::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: var(--stroke-strong);
}

/* Fenster: gerundet, weicher Schatten, Titelleiste ohne Verlauf */
.window {
  padding: 0;
  border-radius: var(--radius);
  background: var(--face);
  box-shadow: var(--elevation);
}

.title-bar {
  gap: 10px;
  min-height: 40px;
  padding: 0 0 0 12px;
  background: none;
}

.title-bar--large {
  min-height: 44px;
}

.title-bar__text,
.title-bar--large .title-bar__text {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
}

.title-bar__controls {
  align-self: stretch;
  gap: 0;
}

.title-button,
.title-button--action {
  width: 46px;
  height: auto;
  min-height: 40px;
  align-self: stretch;
  background: none;
  box-shadow: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
}

.title-bar > .title-button--action,
.title-bar__controls > :last-child {
  border-top-right-radius: var(--radius);
}

.title-button--min {
  align-items: center;
  padding-bottom: 0;
}

.title-button--min::before {
  width: 10px;
  height: 1px;
}

.title-button--max::before {
  width: 10px;
  height: 10px;
  border-top-width: 1px;
  border-radius: 2px;
}

.title-button--action:hover,
.title-button--close {
  cursor: default;
}

.title-button--action:hover {
  background: var(--close-hover);
  color: var(--text-inverse);
}

.title-button--action:active {
  box-shadow: none;
}

.window__body {
  padding: 20px;
}

/* Schaltflächen */
.button {
  min-height: 36px;
  padding: 6px 16px;
  border-radius: var(--radius-s);
  background: var(--control);
  box-shadow: inset 0 0 0 1px var(--stroke), inset 0 -1px 0 var(--stroke-strong);
  font-size: 14px;
}

.button:hover {
  background: var(--control-hover);
}

.button:active,
.button.is-pressed {
  background: var(--control-pressed);
  box-shadow: inset 0 0 0 1px var(--stroke);
  color: var(--text-muted);
}

.button--default,
.button--pager-next:not(:disabled) {
  background: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent-edge);
  color: var(--text-inverse);
  font-weight: 600;
  outline: 0;
}

.button--default:hover,
.button--pager-next:not(:disabled):hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
}

.button--default:active {
  box-shadow: none;
  color: var(--text-inverse);
}

.button:disabled,
.button--disabled {
  background: var(--control-pressed);
  box-shadow: inset 0 0 0 1px var(--stroke);
  color: var(--text-disabled);
  text-shadow: none;
}

.button:disabled:active,
.button--disabled:active {
  box-shadow: inset 0 0 0 1px var(--stroke);
}

.button--wizard,
.button--large,
.button--pager {
  font-weight: 600;
}

.arrow,
.pager__arrow {
  color: inherit;
}

.dialog-buttons--footer {
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--face);
  box-shadow: inset 0 1px 0 var(--stroke);
}

.dialog-buttons--rule {
  box-shadow: inset 0 1px 0 var(--stroke);
}

/* Felder, Rahmen, Statusleiste */
.field {
  border-radius: var(--radius-s);
}

.frame {
  border-radius: var(--radius-s);
  background: none;
}

.callout {
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 600;
}

.status-bar {
  gap: 0;
  padding: 2px 6px;
}

.status-bar__cell {
  padding: 6px 8px;
  box-shadow: none;
  color: var(--text-muted);
  font-size: 12px;
}

.status-bar__cell + .status-bar__cell {
  box-shadow: inset 1px 0 0 var(--stroke);
}

.crumb__sep {
  padding: 0 6px;
  color: var(--text-disabled);
}

.menu-bar {
  padding: 2px 6px;
  box-shadow: none;
}

.menu-bar__item {
  padding: 6px 10px;
  border-radius: var(--radius-s);
}

a.menu-bar__item:hover,
a.menu-bar__item:focus-visible {
  background: var(--subtle-strong);
  color: var(--text);
}

.toolbar {
  box-shadow: inset 0 -1px 0 var(--stroke);
}

.toolbar__separator {
  width: 1px;
  height: 24px;
  box-shadow: inset 1px 0 0 var(--stroke);
}

/* Registerkarten: ohne Reiter, die aktive mit einem Strich in Akzentfarbe */
.tabs {
  gap: 4px;
  padding-left: 0;
}

.tab,
.tabs--small .tab,
.tab.is-active,
.tabs--small .tab.is-active {
  margin-bottom: 0;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  background: none;
  box-shadow: none;
  -webkit-text-stroke: 0;
  font-weight: 400;
}

.tab:hover {
  background: var(--subtle);
}

.tab.is-active {
  font-weight: 600;
}

.tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

.tab-frame {
  margin-top: 4px;
  border-radius: var(--radius);
  background: var(--card);
}

/* Gruppenrahmen werden Karten. */
.group-box {
  padding: 40px 16px 16px;
  border-radius: var(--radius);
  background: var(--card);
}

.group-box__label {
  top: 14px;
  left: 16px;
  padding: 0;
  background: none;
  font-weight: 600;
}

.choice input {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 1px var(--shadow);
}

.choice input[type="radio"]:checked {
  background: radial-gradient(circle, var(--window) 0 3.5px, var(--accent) 4px);
  box-shadow: none;
}

.choice input[type="checkbox"]:checked {
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path d='M2.5 6.5l2.5 2.5 4.5-5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px 12px no-repeat;
  box-shadow: none;
}

.choice input:focus-visible {
  outline: 2px solid var(--text);
}

.choice--disabled {
  text-shadow: none;
}

.choice input:disabled {
  background: var(--control-pressed);
  box-shadow: inset 0 0 0 1px var(--stroke-strong);
}

/* Hinweiszettel werden zur Infoleiste. */
.balloon {
  border: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--stroke), 0 8px 24px var(--shadow-soft);
}

.placeholder {
  border-radius: var(--radius-s);
  background: var(--subtle-strong);
  outline-color: var(--stroke-strong);
}

.photo {
  border-radius: var(--radius-s);
}

/* 3. Explorer ============================================================ */

.explorer {
  box-shadow: var(--elevation);
}

.explorer__header {
  padding: 6px 12px;
  box-shadow: none;
  font-weight: 600;
}

.explorer__header span:last-child {
  display: none;
}

.explorer__tree {
  margin: 0 6px 6px;
  padding: 6px 4px;
  font-size: 13px;
}

.tree,
.tree__items {
  gap: 2px;
  margin-left: 0;
  padding-left: 18px;
  border-left: 0;
}

.tree__group::before,
.tree__items > li::before {
  display: none;
}

.tree__row,
.tree__item {
  min-height: 28px;
}

/* Pfeil statt Plus und Minus */
.tree__toggle {
  width: 16px;
  height: 16px;
  border: 0;
  background: none;
}

.tree__toggle::before {
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  background: none;
  transform: rotate(-45deg);
}

.tree__toggle[aria-expanded="true"]::before {
  top: 3px;
  transform: rotate(45deg);
}

.tree__toggle::after,
.tree__toggle[aria-expanded="false"]::after {
  display: none;
}

.tree__group .tree__toggle {
  top: 6px;
  left: -18px;
}

.tree__folder,
.tree__item {
  flex: 1 1 auto;
  border-radius: var(--radius-s);
}

.tree__folder {
  padding: 4px 6px;
}

.tree__item {
  position: relative;
  padding: 2px 4px;
}

.tree__folder:hover,
.tree__item:hover,
.tree__item:hover .tree__label {
  background: var(--subtle-strong);
}

.tree__item.is-active {
  background: var(--subtle-strong);
}

.tree__item.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.tree__item.is-active .tree__label {
  background: none;
  color: var(--text);
}

.explorer.is-open .tree__group .tree__toggle {
  top: 8px;
}

/* 4. Taskleiste, Startmenü, Menüs ======================================== */

.taskbar {
  justify-content: flex-end;
  min-height: 48px;
  padding: 0 8px;
  background: var(--acrylic);
  box-shadow: inset 0 1px 0 var(--stroke);
  backdrop-filter: blur(30px) saturate(1.5);
}

.taskbar__apps {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

.taskbar__legal {
  gap: 4px;
}

.taskbar__app,
.taskbar__start,
.taskbar__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  box-shadow: none;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.js .taskbar__explorer {
  display: inline-flex;
}

.taskbar__app:hover,
.taskbar__app[aria-expanded="true"],
.taskbar__app.is-pressed {
  background: var(--subtle-strong);
  box-shadow: none;
}

/* Der Strich unter einem offenen Programm, in Akzentfarbe beim aktiven. */
.taskbar__app[aria-expanded="true"]::after,
.taskbar__app.is-pressed::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

/* Der Name steht immer für Screenreader da und geht beim Zeigen als Hinweis auf. */
.taskbar__tip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.taskbar__app:hover .taskbar__tip,
.taskbar__app:focus-visible .taskbar__tip {
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 2;
  width: auto;
  height: auto;
  padding: 6px 10px;
  overflow: visible;
  clip: auto;
  border-radius: var(--radius-s);
  background: var(--acrylic-solid);
  box-shadow: var(--elevation-low);
  font-size: 12px;
  transform: translateX(-50%);
}

/*
 * Die Rechtstexte tragen ihren Namen neben dem Symbol, wie in der Taskleiste
 * mit "nie gruppieren". Drei gleiche Symbole allein wären nicht leicht
 * erkennbar, und das Impressum muss es sein (§ 5 ECG).
 */
.taskbar__button {
  gap: 6px;
  width: auto;
  padding: 0 10px 0 8px;
}

.taskbar__button .taskbar__tip,
.taskbar__button:hover .taskbar__tip,
.taskbar__button:focus-visible .taskbar__tip {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  overflow: visible;
  clip: auto;
  background: none;
  box-shadow: none;
  font-size: 12px;
  transform: none;
}

.taskbar__tray {
  min-height: 40px;
  padding: 0 8px;
  border-radius: var(--radius-s);
  box-shadow: none;
  font-size: 12px;
}

.taskbar__copyright {
  color: var(--text-muted);
}

.taskbar__clock:hover {
  background: var(--subtle-strong);
}

.taskbar__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

/* Startmenü: mittig über der Taskleiste */
.start-menu.start11 {
  right: auto;
  bottom: 60px;
  left: 50%;
  flex-direction: column;
  width: min(640px, calc(100vw - 16px));
  max-width: none;
  max-height: calc(100vh - 76px);
  padding: 0;
  border-radius: var(--radius);
  background: var(--acrylic);
  box-shadow: var(--elevation);
  transform: translateX(-50%);
  backdrop-filter: blur(30px) saturate(1.5);
}

.start11__body {
  padding: 24px 28px 16px;
  overflow-y: auto;
}

.start11__heading {
  margin: 0 8px 10px;
  font-size: 14px;
  font-weight: 600;
}

.start11__pinned {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}

.start11__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 4px 10px;
  border-radius: var(--radius-s);
  color: var(--text);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

/* Ein angehefteter Ordner, aufgeklappt. Nur auf dem Handy. */
.start11__folder {
  display: none;
}

.start11__recommended {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}

.start11__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: var(--radius-s);
  color: var(--text);
  text-decoration: none;
}

.start11__item .icon,
.start11__tile .icon {
  flex: none;
}

.start11__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.start11__title {
  font-size: 13px;
}

.start11__meta {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start11__tile:hover,
.start11__item:hover,
.start11__tile:focus-visible,
.start11__item:focus-visible {
  background: var(--subtle-strong);
  color: var(--text);
}

.start11__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 28px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--subtle);
  box-shadow: inset 0 1px 0 var(--stroke);
}

.start11__user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

/* Dasselbe Porträt wie im Willkommens-Assistenten, im Kreis auf das Gesicht zugeschnitten. */
.start11__avatar {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
}

.start11__avatar img {
  position: absolute;
  top: -29%;
  left: -47.5%;
  width: 210%;
  max-width: none;
  height: 210%;
}

/* Rückweg nach 98, mit dem Symbol der anderen Welt */
.start11__switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-left: auto;
  padding: 0 12px;
  border-radius: var(--radius-s);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}

.start11__switch:hover,
.start11__switch:focus-visible {
  background: var(--subtle-strong);
  color: var(--text);
}

.start11__user {
  order: -1;
}

.start11__power {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  cursor: pointer;
}

.start11__power:hover {
  background: var(--subtle-strong);
}

/* Kontextmenü */
.context-menu {
  padding: 4px;
  border-radius: var(--radius);
  background: var(--acrylic);
  box-shadow: var(--elevation);
  backdrop-filter: blur(30px) saturate(1.5);
}

.menu__item {
  padding: 8px 12px;
  border-radius: var(--radius-s);
}

.menu__item:hover,
.menu__item:focus-visible {
  background: var(--subtle-strong);
  color: var(--text);
}

.menu__separator {
  height: 1px;
  margin: 4px -4px;
  box-shadow: inset 0 1px 0 var(--stroke);
}

/* Weiter und Zurück als Pillen */
.pager {
  padding: 8px;
  border-radius: var(--radius);
  background: var(--acrylic);
  box-shadow: var(--elevation);
  backdrop-filter: blur(30px) saturate(1.5);
}

.button--pager {
  border-radius: 999px;
}

/* 5. Dialoge, Herunterfahren, Rechtstexte ================================ */

.dialog {
  box-shadow: var(--elevation);
}

.loading .spinner {
  color: var(--accent);
}

.progress {
  height: 4px;
  padding: 0;
  border-radius: 2px;
  background: var(--stroke);
  box-shadow: none;
}

.progress__bar {
  border-radius: 2px;
  background: var(--accent);
}

.loading__path {
  color: var(--text-muted);
}

.shutdown {
  gap: 28px;
  background: var(--shutdown);
}

.shutdown .spinner {
  color: var(--text-inverse);
}

.shutdown__text {
  color: var(--text-inverse);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
}

.editor__files {
  gap: 6px;
  padding: 6px 12px;
  box-shadow: inset 0 -1px 0 var(--stroke);
}

.editor__body {
  margin: 0 12px 12px;
}

.editor__heading {
  padding: 0;
  background: none;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
}

/* 6. Fenster der Startseite, Tablet und Handy ============================ */

/* Ausgewähltes in Listen: heller Akzent statt Marineblau */
.program-tree__item,
.icon-grid__label,
.details__row td:first-child {
  border-radius: var(--radius-s);
}

.program-tree__item:hover {
  background: var(--subtle-strong);
}

.program-tree__item.is-active,
.icon-grid__item.is-active .icon-grid__label,
.details__row.is-active,
.details__row.is-active:hover,
.dropdown__option:hover,
.dropdown__option:focus {
  background: var(--accent-soft);
  color: var(--text);
}

.dropdown__button {
  border-radius: var(--radius-s);
}

.dropdown__arrow {
  background: none;
  box-shadow: none;
}

.dropdown__list {
  padding: 4px;
  border-radius: var(--radius);
  box-shadow: var(--elevation);
}

.dropdown__option {
  border-radius: var(--radius-s);
}

/* Auf dem Handy liegen die Leisten flach am Rand, ohne Rundung. */
@media (max-width: 599px) {
  .js .taskbar__explorer {
    display: none;
  }

  .taskbar__legal,
  .taskbar__button {
    flex: none;
  }

  .taskbar__button {
    padding: 0 6px 0 4px;
  }

  .page > .window {
    border-radius: 0;
    box-shadow: none;
  }

  .pager {
    bottom: 48px;
    border-radius: 0;
    box-shadow: inset 0 1px 0 var(--stroke);
  }

  .pager__status {
    border-radius: var(--radius-s);
    box-shadow: none;
    color: var(--text-muted);
  }

  .start-menu.start11 {
    bottom: 56px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 72px);
  }

  .start11__body {
    padding: 16px 12px 8px;
  }

  .start11__pinned {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 8px;
  }

  /* Statt der langen Liste klappt jede Kachel ihren Ordner auf. */
  .start11__heading--recommended,
  .start11__recommended {
    display: none;
  }

  .start11__folder:not([hidden]) {
    display: grid;
    gap: 2px;
    margin-bottom: 8px;
    padding: 4px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--card);
  }

  .start11__tile[aria-expanded="true"] {
    background: var(--subtle-strong);
  }

  .start11__footer {
    flex-wrap: wrap;
    padding: 8px 16px;
  }

  .start11__switch {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    padding: 0 8px;
  }
}
