
/* Responsive Design */
@media (max-width: 640px) {
  .desktop-only {
    display: none !important;
  }
  .tablet-only {
    display: none !important;
  }
  .mobile-hidden {
    display: none !important;
  }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .mobile-only{
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .tablet-hidden {
    display: none !important;
  }
}
@media (min-width: 1025px) {
  .mobile-only {
    display: none !important;
  }
  .tablet-only {
    display: none !important;
  }
  .desktop-hidden {
    display: none !important;
  }
}

h1:focus {
    outline: none;
}

/* Der eine Fokusring der App: Rand plus weicher Schein, wie ihn die Eingabefelder (unten) schon immer hatten.
   Knöpfe, Selects und Tabs zeichnen denselben, damit beim Durchtabben alles gleich aussieht — als Variablen,
   weil Komponenten mit eigenem box-shadow ihn ausdrücklich setzen müssen.
   Zum Ring gehört eine schwache Fassung des Hovers des jeweiligen Elements (etwas dunkler, etwas getönt) —
   die setzt jede Komponente selbst, denn ihr Hover ist ihrer. */
:root {
    --focus-border: color-mix(in srgb, var(--accent-color) 45%, transparent);
    --focus-ring: 0 0 0 3px color-mix(in srgb, var(--accent-color) 16%, transparent);
    /* Rand und Schein zusammen, für Elemente ohne eigenen Rahmen. */
    --focus-shadow: 0 0 0 1px var(--focus-border), var(--focus-ring);
}

/* Tastaturfokus. Ohne ihn war beim Durchtabben nicht zu sehen, auf welchem Knopf oder Tab man steht — Button
   und Pivot hatten ihren Fokusrahmen entfernt, ohne Ersatz. :focus-visible zeigt ihn nur, wenn mit der
   Tastatur navigiert wird, nicht nach einem Mausklick. Der Rand ist ein Schatten (1px), nicht border-color:
   nicht jedes fokussierbare Element hat einen Rand, und keiner soll dafür die Grösse ändern. Eingabefelder
   setzen den Ring selbst über :focus (unten), tabindex="-1"-Hüllen wie die Dialogschale bekommen den Fokus
   nur programmatisch. */
:focus-visible {
    outline: none;
    box-shadow: var(--focus-shadow);
}

[tabindex="-1"]:focus-visible {
    box-shadow: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Drag-to-scroll cursor helpers for desktop: only show grab if horizontally scrollable */
.table-wrapper.h-scrollable {
  cursor: grab;
}
.table-wrapper.h-scrollable.drag-scrolling {
  cursor: grabbing !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: var(--fs-xs);
    color: #374151; /* text-gray-700 */
    padding: 0.125rem 0.8rem; /* px-1 py-0.5 */
    border-radius: 0.8rem; /* rounded */
    border: 1px solid #e8e8e8;
    background: #f7f7f7;
}

/* Canonical form-control surface — the single source of truth for input styling. `.prefixed-input`
   (a div wrapping a grayed prefix + a borderless input; see Components/Shared/PrefixedTextInput) opts
   into the identical look by joining these selectors, so these values live in exactly one place. */
input, textarea, select, .prefixed-input {
    width: 100%;
    padding: 10px 12px;
    font-weight: normal;
    font-size: var(--fs-sm);
    outline: none;
    border-radius: 10px;
    background: #eef3f8;
    border: 1px solid transparent;
    transition: all 0.2s;
    box-sizing: border-box;
}
input:focus, textarea:focus, select:focus, .prefixed-input:focus-within {
    background: #fff;
    border-color: var(--focus-border);
    box-shadow: var(--focus-ring);
}
input[disabled], textarea[disabled], select[disabled], .prefixed-input.disabled {
    background: #e9edf2;
}
input::placeholder, textarea::placeholder {
    color: #8695a5;
}

/* An entry of a list inside a form (a piece to pick, a piece being added): the field surface, one per line, so
   the list keeps the form's edges and reads as part of it. Same language as CollectionFieldRenderer. */
.form-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #eef3f8;
}

.form-item + .form-item {
    margin-top: 0.5rem;
}

label.form-item {
    cursor: pointer;
}

label.form-item:hover {
    background: #e6edf4;
}

/* Removes its entry: a trash at the entry's right end, never a column of its own. */
.form-item-remove {
    flex: 0 0 auto;
    margin-left: auto;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #8695a5;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.form-item-remove:hover {
    color: var(--accent-red);
    background: color-mix(in srgb, var(--accent-red) 10%, transparent);
}

.form-item-remove i {
    font-size: 0.875rem;
}

/* A field with an action of its own (Generieren, …) carries it inside, at its right end — like the scan button of
   a scannable field — instead of in a column beside it that makes this one field narrower than the others. */
.field-with-action {
    position: relative;
}

.field-with-action input,
.field-with-action .prefixed-input {
    padding-right: 2.6rem;
}

.field-action {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.3rem;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.field-action:hover:not(:disabled) {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}

.field-action:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Adds to the list above it: full width, below the last entry. */
.form-add {
    width: 100%;
}

.form-item + .form-add,
.form-add:not(:first-child) {
    margin-top: 0.5rem;
}
/* Der Platzhalter einer Auswahl-Pille (Select, und was sie wie WarehouseSectionSelect im Objekt-Modus selbst
   zeichnet) liest sich wie der eines Eingabefelds — sonst sah die Frage aus wie eine schon getroffene Auswahl.
   Global statt im Select: die Pille wird auch von Komponenten gezeichnet, die den Select-Stil nicht erreicht. */
.placeholder {
    color: #8695a5;
    font-size: var(--fs-sm);
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    appearance: textfield;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 2.75rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #d1d5db;
  border: 1px solid #c7cdd6;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

input[type="checkbox"]:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

input[type="checkbox"]:checked::before {
  transform: translate(1.2rem, -50%);
}

/* Teilauswahl: der Knopf steht mittig, die Bahn ist nur angefärbt. Ein echtes `indeterminate` ginge
   nur über JS — es ist eine DOM-Eigenschaft, kein Attribut; die Klasse kommt ohne Interop aus, und
   aria-checked="mixed" sagt Hilfsmitteln dasselbe. */
input[type="checkbox"].is-partial {
  background: color-mix(in srgb, var(--primary-color) 45%, #d1d5db);
  border-color: color-mix(in srgb, var(--primary-color) 45%, #c7cdd6);
}

/* Halb so weit wie :checked (1.2rem) — der Knopf landet in der Mitte der Bahn. */
input[type="checkbox"].is-partial::before {
  transform: translate(0.6rem, -50%);
}

/* A checkbox that looks like one: picking rows of a list is ticking them off, not switching something on. The
 switch stays the look of boolean form fields. Partial shows a dash, like the native indeterminate state. */
input[type="checkbox"].check {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 5px;
  background: #fff;
  border: 1.5px solid #9aa8b5;
}

input[type="checkbox"].check::before {
  inset: 0;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

input[type="checkbox"].check:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

input[type="checkbox"].check:checked::before {
  content: "✓";
  transform: none;
}

input[type="checkbox"].check.is-partial {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

input[type="checkbox"].check.is-partial::before {
  content: "–";
  transform: none;
}

input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.filterbg {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px -10px 10px inset rgba(0, 0, 0, 0.1);
}

html.sidebar-open,
body.sidebar-open {
    overflow: hidden;
    overscroll-behavior: none;
}

/* ── Navigation progress ────────────────────────────────────────────────────────────────────────────
   Driven by wwwroot/js/nav-progress.js, hosted in App.razor outside <Routes> so the per-navigation
   teardown of the whole .app subtree cannot take it with it. Global rather than scoped for the same
   reason — there is no component to scope it to. */
#nav-progress {
    position: fixed;
    /* Below the app header, not across it. The bar's gradient and the header's own fill are close
       enough in colour that three pixels drawn on top of it barely register. --app-header-h is
       published by sidebar.js from the live header box, so this tracks it — including the header
       growing or wrapping. Where the header is hidden it measures 0 (every mobile page but the home
       page), which leaves the bar at the very top edge there, exactly as before. */
    top: var(--app-header-h, 0px);
    /* Beside the desktop's icon rail, not across it: the bar belongs to the content that is loading. */
    left: var(--app-rail-w, 0px);
    right: 0;
    height: 3px;
    z-index: 9998; /* under toasts (9999), over the error UI's neighbours */
    pointer-events: none;
}

.nav-progress-bar {
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 8px rgba(13, 108, 172, 0.5);
    /* Matches the trickle interval so the creep reads as continuous motion rather than steps. */
    transition: transform 200ms ease-out;
}

/* The final jump to 100% is quick, then the whole bar fades rather than snapping away. */
.nav-progress-bar.is-done {
    transition: transform 120ms ease-out, opacity 220ms ease 120ms;
    opacity: 0;
}

/* Dimming the outgoing page says "this content is stale" and, just as usefully, stops a second link
   being clicked while the first navigation is still in flight. Applied ~150ms in, so a fast response
   never flashes it. */
.app[data-navigating] .main {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .nav-progress-bar {
        transition: none;
    }

    .app[data-navigating] .main {
        transition: none;
    }
}

/* ── Dialog placeholder shell ───────────────────────────────────────────────────────────────────────
   Painted by wwwroot/js/dialog-shell.js in the same frame as the click, and torn down the moment the
   real DialogInstance renders. Global rather than scoped: the host div lives in App.razor outside the
   Blazor root (so it survives the routed subtree being rebuilt), which scoped CSS cannot reach.
   Values are kept in step with DialogInstance.razor.css and LoadingText.razor.css so the handover to
   the real dialog is not a visible jump. */
body.dialog-shell-open {
    overflow: hidden;
}

/* Exactly DialogInstance's .modal-backdrop values. The real backdrop renders on top of this one for
   the frame before the observer tears it down, so any difference in colour would show as a flicker. */
.dialog-shell-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 500;
    width: 100vw;
    animation: dialog-fadein 0.2s;
}

/* Handing over to the real dialog: fade out across the same 200ms its own backdrop fades in, so the
   page never brightens between the two scrims. Clicks stop landing here at once — the real dialog is
   already arriving and must own them. */
#dialog-shell[data-closing] .dialog-shell-backdrop {
    animation: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@keyframes dialog-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .dialog-shell-backdrop {
        animation: none;
    }

    #dialog-shell[data-closing] .dialog-shell-backdrop {
        transition: none;
    }
}
/* Die ausgeklappte Kommission (CommissionLabel Expanded) in der Unterzeile eines Listeneintrags. Die Unterzeile
   ist sonst einzeilig und schneidet ab, was nicht passt; mit der ganzen Kette darin blieb auf dem Telefon
   „Kaiserslaute…" und dahinter ein abgeschnittenes „O" statt des Bereichs. Hier darf sie umbrechen: die Kommission
   nimmt eine eigene Zeile, ihre Namen brechen um statt gekürzt zu werden, und was danach kommt (der Bereich),
   rutscht darunter.
   Global und nicht im CSS der Lagerseite: über der Liste liegt dort kein eigenes Element der Seite, an dem ein
   ::deep ansetzen könnte. Die zusätzliche .compact-subtitle-Stufe hebt die Regeln über die gescopten des
   Listeneintrags, die nach dieser Datei geladen werden. */
.compact-subtitle.compact-subtitle:has(.commission-expanded) {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 0.15rem;
}

.compact-subtitle .compact-subtitle-part:has(.commission-expanded) {
    flex: 1 0 100%;
    overflow: visible;
}

.compact-subtitle .commission-expanded .commission-step-label {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ── Preview panels (ListPreview) ─────────────────────────────────
   The middle column of a list page: ArticlePreview and the generic EntityPreview draw the same head — icon tile,
   kind over name, Vollansicht and Bearbeiten — and the same white panels below it. Global so both share them. */
.preview-panel {
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    overflow: hidden;
}

.preview-panel + .preview-panel {
    margin-top: 16px;
}

/* Over a deleted entity's preview: what happened and the way back. */
.preview-deleted {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: var(--surface-radius);
    background: #fdecec;
    color: #8a1f2a;
    font-weight: 600;
}

.preview-deleted .preview-btn {
    margin-left: auto;
}

/* A value that says there is none ("nicht gemeldet", "noch nie"). */
.preview-muted {
    color: var(--text-muted);
}

/* A tab of a preview with nothing to show: one muted line in its panel. */
.preview-empty {
    margin: 0;
    padding: 18px 20px;
    color: var(--text-muted);
}

.preview-loading {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-head {
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.preview-icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.preview-icon i {
    color: #fff;
    font-size: 1.2rem;
}

/* The entity's picture (an article's main picture, a supplier's logo) in place of the icon: a little larger, on
   white, a click opens it large. */
.preview-photo {
    width: 56px;
    height: 56px;
    flex: none;
    padding: 0;
    border: 1px solid var(--surface-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    cursor: zoom-in;
}

.preview-photo .cat-img {
    width: 100%;
    height: 100%;
    padding: 3px;
}

.preview-title {
    flex: 1 1 240px;
    min-width: 0;
}

.preview-meta {
    color: var(--text-muted);
    font-weight: 600;
    font-size: var(--fs-sm);
}

.preview-meta i {
    margin-right: 6px;
}

/* Kind, then what the entity belongs to (ParentTrail), in one flex line so the spacing never depends on markup
   whitespace. No separator between the two: the gap plus the link's own inset leave 12px from the kind to the
   first parent icon, the same step as .meta-row. The line never wraps — the trail shrinks (see ParentTrail). */
.preview-meta:has(> .parent-trail) {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.preview-meta:has(> .parent-trail) > :not(.parent-trail) {
    flex: none;
}

.preview-meta > .parent-trail {
    flex: 0 1 auto;
}

/* Where an article or family sits in the catalogue, above its meta line; each step opens the catalogue there. */
.preview-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.preview-path i {
    font-size: 0.7rem;
}

.preview-path a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.preview-path a:hover {
    text-decoration: underline;
}

.preview-path-more {
    margin-left: 4px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: var(--accent-color);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.preview-title h2 {
    margin: 1px 0 0;
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
}

.preview-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: var(--surface-sunken);
    color: var(--primary-color);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.preview-btn:hover {
    background: #dde8f2;
}

.preview-btn.primary {
    background: var(--accent-color);
    color: #fff;
}

/* The ⋯ of PreviewRowMenu: an ActionMenu whose toggle is a square preview button. The menu's Select would pad and
   tint around it — the button brings its own surface. */
.preview-btn.preview-more,
.preview-btn.preview-square {
    justify-content: center;
    width: 34px;
    padding: 0;
}

.preview-actions .action-menu.preview-menu .select .selected-option,
.preview-actions .action-menu.preview-menu .select.placeholder-compact .selected-option {
    padding: 0;
}

.preview-actions .action-menu.preview-menu .select,
.preview-actions .action-menu.preview-menu .select:hover:not(.is-disabled) {
    background: transparent;
}

/* A narrow list middle: a head's row of three or more actions keeps the secondary ones as icons (the text stays for
   screen readers and the tooltip), so they, the primary action and the ⋯ share one line instead of breaking the ⋯
   onto a line of its own. Only the middle (ListColumns) — on phones the heads have their own look. */
@container middle (max-width: 560px) {
    .preview-head .preview-actions:has(> :nth-child(3)) > .preview-btn:not(.primary):not(.preview-more):has(> i) {
        width: 34px;
        padding: 0;
        gap: 0;
        justify-content: center;
        font-size: 0;
    }

    .preview-head .preview-actions:has(> :nth-child(3)) > .preview-btn:not(.primary):not(.preview-more) > i {
        font-size: var(--fs-sm);
    }
}

.preview-section-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 14px 18px 10px;
}

.preview-section-head h3 {
    margin: 0;
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-ink);
}

/* An action that adds to the section above it (Artikel hinzufügen …), under a hairline at the section's foot. */
.preview-section-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 18px 12px;
    border-top: 1px solid #f0f3f6;
}

/* Facts as label → value pairs, two per row (ArticlePreview, the Details tab of deliveries and purchases); a .wide
   pair spans the row with its value beneath. One per row on narrow screens. */
.preview-kv {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--surface-line);
}

.preview-kv > div {
    padding: 9px 18px;
    border-top: 1px solid #f0f3f6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.preview-kv > div:nth-child(-n+2) {
    border-top: 0;
}

.preview-kv > div:nth-child(even) {
    border-left: 1px solid #f0f3f6;
}

.preview-kv > div.wide {
    grid-column: 1 / -1;
    border-left: 0;
    flex-direction: column;
    gap: 2px;
}

.preview-kv dt {
    color: var(--text-muted);
}

.preview-kv dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 10px;
}

.preview-kv > div.wide dd {
    text-align: left;
    justify-content: flex-start;
    font-weight: 400;
}

.preview-kv a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.preview-kv a:hover {
    text-decoration: underline;
}

@container pane (max-width: 640px) {
    .preview-kv {
        grid-template-columns: minmax(0, 1fr);
    }

    .preview-kv > div:nth-child(even) {
        border-left: 0;
    }

    .preview-kv > div:nth-child(2) {
        border-top: 1px solid #f0f3f6;
    }
}

/* The tab row right under the head panel, on the page ground like every unattached Pivot. A documents tab brings its
   own Card, whose bottom margin is the room the last card's shadow needs at the end of the column's scroll. */
.preview-tabs {
    margin-top: 12px;
}

/* The preview fills the middle column, and the tabs take what the overview leaves — so an empty tab can centre its
   message in the free space below (see "Empty lists"). */
.preview-root {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.preview-root > .preview-tabs {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.preview-tabs > .pivot-root {
    flex: 1 0 auto;
}

/* Desktop: the overview stands still and only the tabs scroll, their tab row pinned on top. The preview is exactly
   the middle column's height and the tabs are the scroller; they reach 14px past both sides, padded back by as much,
   so their cards' shadows are not clipped (as .lp-middle does). An overview so tall that the tabs would keep less
   than 16rem lets the whole column scroll again instead. */
@media (min-width: 641px) {
    .lp-middle > .preview-root {
        height: 100%;
    }

    .lp-middle > .preview-root > .preview-tabs {
        flex: 1 1 0;
        min-height: 16rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 12px -14px 0;
        padding: 0 14px;
        /* The pinned tab row's height (a tab: line + 0.7rem above and below; the bar's 4px focus room on both sides):
           where a row of the tab's own (a Lager's Bereiche) pins below it. */
        --preview-tabbar-h: calc(var(--fs-base) * 1.5 + 1.4rem + 8px);
    }

    /* Nothing beside the tabs gives way by shrinking: a panel clips its corners, so a shrunk one would only be cut
       off. What gives way is PreviewFold's choice: the details fold. */
    .lp-middle > .preview-root > :not(.preview-tabs) {
        flex-shrink: 0;
    }

    .lp-middle > .preview-root > .preview-tabs > .pivot-root > .pivot-bar {
        position: sticky;
        top: 0;
        z-index: 2;
        background: var(--page-ground);
    }

    /* Pivot's scoped hairline sets the background shorthand with more specificity and would reset the ground to
       transparent, letting the rows scroll visibly through the pinned row — so repeat the hairline over the ground. */
    .lp-middle > .preview-root > .preview-tabs > .pivot-root:not(.pivot-attached) > .pivot-bar:not(.pivot-bar-select) {
        background: linear-gradient(#dfe6ee, #dfe6ee) left bottom 4px / 100% 1px no-repeat, var(--page-ground);
    }
}

/* ── The save bar of an in-place edit ────────────────────────────
   Drawn as the middle's last child (SaveBarOutlet), not at the end of the form: it sticks to the middle's bottom for
   the whole record, however far the form ends above it. While it is there the middle is a column — the preview takes
   what the bar leaves (its tabs still scroll by themselves) and grows with an overview taller than the column, which
   then scrolls as a whole under the sticking bar. */
@media (min-width: 641px) {
    .lp-middle:has(> .save-bar.hosted) {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 12px;
    }

    .lp-middle:has(> .save-bar.hosted) > * {
        flex-shrink: 0;
    }

    .lp-middle:has(> .save-bar.hosted) > .preview-root {
        flex: 1 0 auto;
        height: auto;
        min-height: 0;
    }
}

/* Phones: the picked row is a column of the screen's height (below); the bar is its foot, on the tab bar. */
@media (max-width: 640px) {
    .lp-middle:has(> .save-bar.hosted),
    .lp-split.lp-split.has-pick:not(.middle-on-phones) > .lp-middle:has(> .preview-root):has(> .save-bar.hosted) {
        padding-bottom: 12px;
    }

    .lp-middle > .save-bar.hosted {
        flex: none;
    }
}

/* ── Empty lists ──────────────────────────────────────────────────
   A table with nothing to show and nothing of its own around the message (Table's .is-bare-empty: loaded, no rows,
   headless) says so on the page ground, in the middle of the room it has — no surface around a lone "Keine
   Einträge.", like the hint before anything is picked (.lp-hint). The Card or preview panel it sits in dissolves too
   while the table is all it holds; one with a heading or other content beside the table keeps its surface. Where the
   parents grow (a tab in a preview) the message centres in the free height, elsewhere in its own minimum height. */
:is(.list, .table).is-bare-empty,
.list.is-bare-empty > .list-body,
.list.is-bare-empty .list-items {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.list.is-bare-empty .list-empty,
.table.is-bare-empty .table-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    background: transparent;
}

.table.is-bare-empty tbody tr,
.table.is-bare-empty .table-empty {
    background: transparent;
    border: 0;
}

.list.is-bare-empty .list-empty,
.table.is-bare-empty .table-empty {
    color: var(--text-muted);
    font-weight: 600;
}

:is(.card, .preview-panel):has(> .is-bare-empty, > .card-content > .is-bare-empty):not(:has(> :not(.is-bare-empty, .table-defs, .card-content), > .card-content > :not(.is-bare-empty, .table-defs))) {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
}

.card-content:has(> .is-bare-empty) {
    flex: 1 0 auto;
}

/* The same for an empty message written by hand ("Für diesen Bedarf ist nichts bestellt."): on the page ground in the
   middle of its room, and the Card or preview panel around it dissolves while the message is all it holds. */
.empty-note {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 12rem;
    margin: 0;
    padding: 24px 18px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

:is(.card, .preview-panel):has(> .empty-note, > .card-content > .empty-note):not(:has(> :not(.empty-note, .card-content), > .card-content > :not(.empty-note))) {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
}

.card-content:has(> .empty-note) {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Nothing picked yet: the hint stands in the middle of the empty column, on the page ground — no card to look like
   content. As high as the columns (ListColumns' --lp-full), so it sits at the visible centre. Global: ListPreview
   and the pages that fill ListColumns' middle themselves (Historie) share it. */
.lp-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--lp-full);
    padding: 24px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.lp-hint i {
    color: var(--accent-color);
    font-size: 1.6rem;
}

/* ── Angaben nebeneinander ─────────────────────────────────────────────
   Mehrere Angaben zu einer Sache stehen als eigene Elemente nebeneinander und
   unterscheiden sich durch Abstand und Schrift – nie durch einen Trennpunkt.
   .meta-row reiht sie mit Abstand, .meta-muted ist die Nebenangabe (leiser),
   .meta-tag ein kleiner Chip für eine Kategorie (Bereich, Baustelle, Lager). */
.meta-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.1rem 0.75rem;
    min-width: 0;
}

.meta-muted {
    color: var(--text-muted);
    font-weight: 400;
}

/* Distance from the device (DistanceTag): the arrow quieter than the figure, "hier" in the accent colour. */
.distance-tag i {
    font-size: 0.85em;
    opacity: 0.7;
}

.distance-tag.is-here {
    background: color-mix(in srgb, var(--accent-color) 14%, transparent);
    color: var(--accent-color);
}

/* A chip that opens the place on a map: the same chip, as a button. */
.distance-tag.is-button {
    border: 0;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
}

.distance-tag.is-button:hover,
.distance-tag.is-button:focus-visible {
    background: color-mix(in srgb, var(--accent-color) 14%, transparent);
    color: var(--accent-color);
}

/* A suggestion from where the device stands (HereSuggestion, ObjectLocationPrompt): drawn like the step hints
   (blue box), with the accent button at its end. */
.here-suggestion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 9px;
    border: 1px solid #cfe2f3;
    border-radius: 12px;
    background: #eef6fd;
    color: #0b4a75;
}

.here-suggestion i {
    flex: 0 0 auto;
    font-size: 1.15rem;
    color: var(--accent-color);
}

.here-suggestion p {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.45;
}

.here-suggestion-btn {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-color);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.here-suggestion-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: var(--text-muted);
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: baseline;
}

/* ── A picked row alone on a phone ───────────────────────────────
   The middle of a list (ListColumns .has-pick) in the dark band of the app bar, which stands still: the way back with
   the preview's actions as icons beside it, the kind and name, an article's figures in one line, the folded Details
   and the tab row. Only what the tabs show scrolls, white from edge to edge — the same shape as the middle beside the
   list (a column of the screen's height whose tabs scroll). Only a preview (.preview-root) does so; a Kommission or a
   Historie entry keeps the page ground under the band leading back. */
@media (max-width: 640px) {
    .lp-split.lp-split.has-pick:not(.middle-on-phones):has(> .lp-middle > .preview-root) {
        height: calc(100dvh - var(--app-topbar-h) - var(--app-tabbar-h) - var(--main-padding));
        margin-bottom: calc(var(--main-padding) * -1);
        grid-template-rows: minmax(0, 1fr);
    }

    /* The class twice: ListColumns' own phone rule for a picked middle (display: block) weighs as much otherwise, and its
       stylesheet loads after this one. */
    .lp-split.lp-split.has-pick:not(.middle-on-phones) > .lp-middle:has(> .preview-root) {
        position: relative;
        /* The grid places its columns at their content height (align-items: start); this one fills the row. */
        align-self: stretch;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin: calc(var(--main-padding) * -1) calc(var(--main-padding) * -1) 0;
        padding: 0 var(--main-padding);
        background: var(--primary-color);
    }

    .lp-split.has-pick > .lp-middle:has(> .preview-root) > .lp-back {
        flex: none;
        margin: 0;
        padding: 0;
    }

    .lp-split.has-pick > .lp-middle:has(> .preview-root) > .lp-back button {
        height: 40px;
    }

    .lp-split.has-pick > .lp-middle > .preview-root {
        flex: 1 1 auto;
        min-height: 0;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > :not(.preview-tabs) {
        flex: none;
    }

    /* The head: no card of its own, its words in the band's inks. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel:has(> .preview-head) {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel > .preview-head {
        gap: 10px;
        padding: 0 0 8px;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-title h2 {
        color: #fff;
        font-size: var(--fs-md);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-meta,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-meta .parent-trail-link {
        color: #b9d3e8;
        font-size: var(--fs-xs);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-path {
        color: #b9d3e8;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-path a {
        color: #fff;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-path-more {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    /* The actions as icons in the line of the way back, on its right: glass on the blue, the main one in its colour. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel > .preview-head > .preview-actions {
        position: absolute;
        top: 4px;
        right: var(--main-padding);
        flex-wrap: nowrap;
        gap: 4px;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel > .preview-head > .preview-actions .preview-btn {
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        gap: 0;
        font-size: 0;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel > .preview-head > .preview-actions .preview-btn i {
        font-size: 0.95rem;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-btn:not(.primary) {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    /* An article's figures in one line, small; the folded Details as a low row. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums div {
        padding: 6px 8px 6px 0;
        border-top: 0;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums div + div {
        padding-left: 8px;
        border-left: 1px solid rgba(255, 255, 255, 0.14);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums span {
        font-size: var(--fs-2xs);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums b {
        font-size: var(--fs-md);
    }

    /* A Bedarf's state and figures (MaterialNeedPreview) the same way, in their two rows of three. Direct children only:
       the state cell holds a ContextMenu whose own divs and spans must stay as they are. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-nums > div {
        padding: 6px 8px;
        border-color: rgba(255, 255, 255, 0.14);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-nums > div:nth-child(3n+1) {
        padding-left: 0;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-nums > div > span {
        font-size: var(--fs-2xs);
        color: #b9d3e8;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-nums > div > b {
        font-size: var(--fs-md);
        color: #fff;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-nums > div > b.mnp-open {
        color: var(--accent-terra);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-state-toggle > i {
        color: #b9d3e8;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .mnp-nums,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .expander-toggle,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-kv,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-kv > div,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .data-card-grid,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel :is(.data-card-label, .data-card-value) {
        border-color: rgba(255, 255, 255, 0.14);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .expander-toggle {
        padding: 7px 0;
        color: #fff;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .expander-toggle:hover {
        background: transparent;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel :is(.expander-summary, .expander-chevron),
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums span,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-kv dt,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .data-card-label {
        color: #b9d3e8;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-nums b,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-kv dd,
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .data-card-value {
        color: #fff;
    }

    /* One pair per row on a phone: labels on the band's left edge, values on its right — the edges of the head's
       actions and the figures. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-kv > div {
        padding-inline: 0;
    }

    /* A heading inside the details (an article's Merkmale): on the same edge, in the band's inks. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-section-head {
        padding: 12px 0 6px;
        border-color: rgba(255, 255, 255, 0.14);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-section-head h3 {
        color: #fff;
        font-size: var(--fs-sm);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-panel .preview-section-head .preview-unit {
        color: #b9d3e8;
    }

    /* The tabs are the scroller: their row pinned on the band, what they show white below it, edge to edge. */
    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs {
        flex: 1 1 0;
        min-height: 0;
        margin: 0 calc(var(--main-padding) * -1);
        padding: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        --preview-tabbar-h: calc(var(--fs-base) * 1.5 + 1.4rem);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs > .pivot-root > .pivot-bar:not(.pivot-bar-select) {
        position: sticky;
        top: 0;
        z-index: 2;
        max-width: none;
        margin: 0;
        padding: 0 var(--main-padding);
        background: var(--primary-color);
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs > .pivot-root > .pivot-bar .pivot-tab {
        color: #b9d3e8;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs > .pivot-root > .pivot-bar .pivot-tab:is(.active, :hover) {
        color: #fff;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs > .pivot-root > .pivot-bar .pivot-indicator {
        background: #fff;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs > .pivot-root > :is(.pivot-content, .pivot-content-all) {
        padding-top: 8px;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs :is(.pivot-content, .pivot-content-all) :is(.preview-panel, .card) {
        margin-inline: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .lp-split.has-pick > .lp-middle > .preview-root > .preview-tabs :is(.pivot-content, .pivot-content-all) .preview-panel + .preview-panel {
        margin-top: 0;
        border-top: 8px solid var(--page-ground);
    }
}

/* While a record is edited in place, what is no part of that edit (its tabs, its figures) stays visible but
   cannot be used — its records are saved on their own (docs/Speichern-Plan.md). */
.edit-locked {
    opacity: 0.45;
    filter: saturate(0.6);
    pointer-events: none;
    user-select: none;
}

/* A save bar on screen pushes the toasts above it, so neither covers the other. */
body:has(.save-bar:not(.in-dialog)) .toast-container {
    bottom: calc(var(--app-tabbar-h, 0px) + 5.5rem);
}
