:root {
  --public-bg: #eef4fb;
  --public-card: #ffffff;
  --public-card-muted: #f8fbff;
  --public-text: #10245a;
  --public-text-soft: #243b6b;
  --public-muted: #64748b;
  --public-border: #d9e4f2;
  --public-border-strong: #b9cce4;
  --public-blue: #2563eb;
  --public-blue-soft: #eff6ff;
  --public-green: #16a34a;
  --public-green-soft: #ecfdf3;
  --public-orange: #f97316;
  --public-orange-soft: #fff7ed;
  --public-red: #dc2626;
  --public-red-soft: #fef2f2;
  --public-radius-sm: 0.75rem;
  --public-radius-md: 1rem;
  --public-radius-lg: 1.25rem;
  --public-radius-xl: 1.5rem;
  --public-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  --public-shadow-strong: 0 18px 54px rgba(15, 23, 42, 0.16);
  --public-focus: 0 0 0 4px rgba(37, 99, 235, 0.22);
  --public-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--public-bg);
}

body.public-shell {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--public-bg);
  color: var(--public-text);
  font-family: var(--public-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
select,
textarea,
summary {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--public-focus);
}

body.public-shell img,
body.public-shell svg {
  max-width: 100%;
}

body.wh-modal-open {
  overflow: hidden;
}

.public-content,
.public-content-compact {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding: 0.65rem 0.75rem 1rem;
}

/* Header / quick navigation */
.public-header.public-quick-header,
.public-header.public-header-compact.public-quick-header {
  position: sticky;
  top: 0;
  z-index: 950;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.32rem 0.45rem;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.public-quick-nav,
.public-quick-nav.public-quick-nav-icon-mode {
  display: grid;
  grid-template-columns: 3.6rem 3.6rem minmax(0, 1fr);
  gap: 0.36rem;
  width: min(100%, 34rem);
  margin: 0 auto;
  overflow: hidden;
}

.public-quick-nav-item {
  position: relative;
  display: grid;
  min-width: 0;
  width: 100%;
  min-height: 3.35rem;
  height: 3.35rem;
  align-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.82rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.24rem;
  box-shadow: none;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.public-quick-nav-home,
.public-quick-nav-search {
  grid-template-columns: 1fr;
  place-items: center;
}

.public-quick-nav-search {
  border-color: var(--public-blue);
  background: #eff6ff;
}

.public-quick-nav-back {
  grid-template-columns: 1.85rem minmax(0, 1fr);
  gap: 0.32rem;
  padding-inline: 0.42rem;
  text-align: left;
}

.public-quick-nav-symbol {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.68rem;
  background: #ffffff;
}

.public-quick-nav-back .public-quick-nav-symbol {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.55rem;
}

.public-quick-nav-symbol img,
.public-quick-nav-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.public-quick-nav-home .public-quick-nav-text,
.public-quick-nav-search .public-quick-nav-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.public-quick-nav-back .public-quick-nav-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--public-text);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-quick-nav-item:hover,
.public-quick-nav-item:focus-visible {
  border-color: var(--public-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.public-quick-nav-item:active {
  transform: scale(0.985);
}

.public-header .public-staff-link,
.public-sidebar,
.public-sidebar-card-staff {
  display: none !important;
}

/* Footer */
.public-footer {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 48rem);
  margin: 1.25rem auto 3rem;
  padding: 0 0.75rem;
}

.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  border: 2px solid var(--public-border);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.85rem;
  box-shadow: var(--public-shadow);
}

.public-footer a {
  color: var(--public-text);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.public-footer a:hover {
  color: var(--public-blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.public-staff-access {
  width: min(100%, 32rem);
  margin: 0 auto;
  border: 1px solid rgba(185, 204, 228, 0.75);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.public-staff-access summary {
  cursor: pointer;
  list-style: none;
  padding: 0.55rem 0.75rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.public-staff-access summary::-webkit-details-marker {
  display: none;
}

.public-staff-access summary::before {
  content: "â–¸ ";
  font-size: 0.8rem;
}

.public-staff-access[open] summary::before {
  content: "â–¾ ";
}

.public-staff-access-panel {
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid rgba(185, 204, 228, 0.75);
  padding: 0.75rem;
  text-align: center;
}

.public-staff-access-panel p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.35;
}

.public-staff-access-link {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.8rem;
  background: #ffffff;
  color: #334155;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

/* Common symbols / speech buttons */
.assistive-kicker {
  margin: 0 0 0.25rem;
  color: var(--public-blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-brand-icon,
.public-quick-nav-symbol,
.assistive-nav-icon,
.assistive-back-symbol,
.assistive-defect-symbol,
.assistive-tool-status-symbol,
.assistive-tool-mini-symbol,
.wh-employee-tool-fallback-symbol,
.wh-employee-info-symbol,
.wh-employee-safety-symbol,
.wh-employee-help-symbol,
.wh-document-modal-symbol,
.wh-document-modal-empty-symbol,
.wh-location-modal-step-symbol,
.wh-location-modal-fallback-symbol,
.wh-visual-back-symbol,
.assistive-success-symbol {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.public-brand-icon img,
.public-brand-icon svg,
.assistive-nav-icon img,
.assistive-nav-icon svg,
.assistive-back-symbol img,
.assistive-back-symbol svg,
.assistive-defect-symbol img,
.assistive-defect-symbol svg,
.assistive-tool-status-symbol img,
.assistive-tool-status-symbol svg,
.assistive-tool-mini-symbol img,
.assistive-tool-mini-symbol svg,
.wh-employee-tool-fallback-symbol img,
.wh-employee-tool-fallback-symbol svg,
.wh-employee-info-symbol img,
.wh-employee-info-symbol svg,
.wh-employee-safety-symbol img,
.wh-employee-safety-symbol svg,
.wh-employee-help-symbol img,
.wh-employee-help-symbol svg,
.wh-document-modal-symbol img,
.wh-document-modal-symbol svg,
.wh-document-modal-empty-symbol img,
.wh-document-modal-empty-symbol svg,
.wh-location-modal-step-symbol img,
.wh-location-modal-step-symbol svg,
.wh-location-modal-fallback-symbol img,
.wh-location-modal-fallback-symbol svg,
.wh-visual-back-symbol img,
.wh-visual-back-symbol svg,
.assistive-success-symbol img,
.assistive-success-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

button[data-speak-text],
a[data-speak-text],
.assistive-speak-button,
.employee-home-wow-hero-speak,
.assistive-card-speak-button,
.wh-employee-speak-button,
.wh-visual-back-speak {
  display: inline-flex;
  width: 2.85rem;
  min-width: 2.85rem;
  max-width: 2.85rem;
  height: 2.85rem;
  min-height: 2.85rem;
  max-height: 2.85rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  border-radius: 0.7rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.25rem;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  flex: 0 0 auto;
}

button[data-speak-text] img,
button[data-speak-text] svg,
a[data-speak-text] img,
a[data-speak-text] svg,
.assistive-speak-button img,
.assistive-speak-button svg,
.employee-home-wow-hero-speak img,
.employee-home-wow-hero-speak svg,
.assistive-card-speak-button img,
.assistive-card-speak-button svg,
.wh-employee-speak-button img,
.wh-employee-speak-button svg,
.wh-visual-back-speak img,
.wh-visual-back-speak svg {
  width: 2.05rem;
  height: 2.05rem;
  max-width: 2.05rem;
  max-height: 2.05rem;
  object-fit: contain;
}

button[data-speak-text] span,
a[data-speak-text] span,
.assistive-speak-button span,
.employee-home-wow-hero-speak span,
.assistive-card-speak-button span,
.wh-employee-speak-button span,
.wh-visual-back-speak span {
  font-size: 0;
}

.assistive-speak-button-active {
  border-color: var(--public-blue);
  box-shadow: var(--public-focus);
}

/* Home area selection */
.employee-home-wow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  margin: 0 0 0.75rem;
  border: 2px solid var(--public-border);
  border-radius: 1.1rem;
  background: #ffffff;
  padding: 0.85rem;
  box-shadow: var(--public-shadow);
}

.employee-home-wow-hero h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(2.05rem, 9vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.employee-home-wow-hero p {
  margin: 0.35rem 0 0;
  color: #334155;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.employee-home-wow-grid-image-full,
.employee-home-wow-grid-no-speak {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.employee-home-wow-card-image-full,
.employee-home-wow-card-no-speak {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 11.35rem;
  overflow: hidden;
  border: 3px solid var(--public-blue);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.46rem;
  opacity: 1;
  filter: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.employee-home-wow-card-image-full::before,
.employee-home-wow-card-no-speak::before {
  display: none;
  content: none;
}

.employee-home-wow-card-green { border-color: var(--public-green); background: rgba(236, 253, 243, 0.9); }
.employee-home-wow-card-blue { border-color: var(--public-blue); background: rgba(239, 246, 255, 0.9); }
.employee-home-wow-card-slate { border-color: #cbd5e1; background: rgba(248, 250, 252, 0.78); }

.employee-home-wow-picture-link,
.employee-home-wow-picture-link-disabled {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 10.45rem;
  place-items: center;
  padding: 0;
  color: var(--public-text);
  text-decoration: none;
}

.employee-home-wow-symbol-frame {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.employee-home-wow-symbol {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

.employee-home-wow-symbol img,
.employee-home-wow-symbol svg,
.employee-home-wow-symbol-frame img,
.employee-home-wow-symbol-frame svg {
  display: block;
  width: 100%;
  max-width: 9.35rem;
  height: 100%;
  max-height: 9.35rem;
  object-fit: contain;
}

.employee-home-wow-card-empty .employee-home-wow-symbol-frame {
  background: rgba(255, 255, 255, 0.68);
}

.employee-home-wow-card-empty .employee-home-wow-symbol img,
.employee-home-wow-card-empty .employee-home-wow-symbol svg {
  opacity: 0.48;
  filter: grayscale(0.25);
}

.employee-home-wow-label-row,
.employee-home-wow-card-text,
.employee-home-wow-card-speak,
.employee-home-wow-card-no-speak .assistive-speak-button-clean,
.employee-home-wow-card-image-full .assistive-speak-button-clean {
  display: none !important;
}

/* List pages: area/categories/subcategories/family choices */
.assistive-nav-hero,
.assistive-section,
.assistive-empty-card,
.assistive-status-summary,
.assistive-danger-notice,
.assistive-success-card {
  width: 100%;
  margin: 0 0 0.75rem;
  border: 2px solid var(--public-border);
  border-radius: 1.05rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: var(--public-shadow);
}

.assistive-nav-hero,
.wh-simple-hero.assistive-nav-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
}

.assistive-nav-hero h1,
.wh-simple-hero h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.85rem, 8vw, 2.7rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.assistive-nav-hero p,
.wh-simple-hero p {
  margin: 0.32rem 0 0;
  color: var(--public-text-soft);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
}

.assistive-back-link {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  gap: 0.5rem;
  grid-column: 1 / -1;
  border: 2px solid #cbd5e1;
  border-radius: 0.8rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.42rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 950;
  text-decoration: none;
}

.assistive-back-symbol {
  width: 1.8rem;
  height: 1.8rem;
}

.assistive-section-header,
.wh-simple-section-header,
.wh-employee-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.assistive-section-header h2,
.wh-simple-section-header h2,
.wh-employee-section-header h2 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.45rem, 6vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.assistive-section-header h3,
.wh-employee-section-header h3 {
  margin: 0;
  color: var(--public-text);
  font-size: 1.25rem;
  font-weight: 950;
}

.assistive-section-header p,
.wh-simple-section-header p,
.wh-employee-section-header p {
  margin: 0.25rem 0 0;
  color: var(--public-text-soft);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: right;
}

.assistive-nav-grid,
.wh-simple-nav-grid,
.assistive-tool-status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.assistive-nav-card-shell,
.wh-simple-nav-card-shell,
.assistive-tool-status-card,
.wh-simple-tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 0.95rem;
  background: #ffffff;
  padding: 0.55rem;
  box-shadow: var(--public-shadow);
}

.assistive-nav-card,
.wh-simple-nav-card {
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr) 1.75rem;
  gap: 0.6rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.assistive-nav-image,
.assistive-nav-icon,
.wh-simple-nav-image,
.wh-simple-nav-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  border-radius: 0.8rem;
  background: var(--public-card-muted);
}

.assistive-nav-image img,
.wh-simple-nav-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assistive-nav-content,
.wh-simple-nav-content {
  min-width: 0;
}

.assistive-nav-content strong,
.wh-simple-nav-content strong {
  display: block;
  overflow: hidden;
  color: var(--public-text);
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistive-nav-content small,
.assistive-nav-content em,
.wh-simple-nav-content small,
.wh-simple-nav-content em {
  display: block;
  margin-top: 0.12rem;
  overflow: hidden;
  color: #475569;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistive-nav-arrow,
.wh-simple-nav-arrow,
.wh-simple-tool-card-arrow,
.wh-employee-location-open-indicator {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--public-blue);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

/* Tool status list */
.assistive-tool-status-main,
.wh-simple-tool-card-main {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr) 3.25rem 1.25rem;
  gap: 0.48rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.assistive-tool-status-icon,
.assistive-tool-status-symbol,
.wh-simple-tool-status-icon,
.wh-simple-tool-status-icon .assistive-tool-status-symbol {
  width: 2.65rem;
  height: 2.65rem;
}

.assistive-tool-status-content em,
.wh-simple-tool-card-content em {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  background: #e2e8f0;
  color: var(--public-text);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.assistive-tool-status-content strong,
.wh-simple-tool-card-content strong {
  display: block;
  margin-top: 0.18rem;
  overflow: hidden;
  color: var(--public-text);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistive-tool-status-content small,
.wh-simple-tool-card-content small {
  display: block;
  margin-top: 0.1rem;
  overflow: hidden;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistive-tool-status-image,
.wh-simple-tool-card-image {
  display: grid;
  width: 3.05rem;
  height: 3.05rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.64);
}

.assistive-tool-status-image img,
.wh-simple-tool-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assistive-tool-status-card-ok { border-color: var(--public-green); background: var(--public-green-soft); }
.assistive-tool-status-card-warning { border-color: var(--public-orange); background: var(--public-orange-soft); }
.assistive-tool-status-card-danger { border-color: var(--public-red); background: var(--public-red-soft); }

.assistive-empty-card,
.wh-simple-empty-card {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.wh-simple-empty-symbol {
  width: 3.35rem;
  height: 3.35rem;
}

.assistive-empty-card strong,
.wh-simple-empty-card strong {
  display: block;
  color: var(--public-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.assistive-empty-card p,
.wh-simple-empty-card p {
  margin: 0.25rem 0 0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 850;
}

/* Employee tool/family/detail pages */
.wh-employee-detail-shell,
.wh-family-detail-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.wh-employee-tool-header,
.wh-employee-section-card,
.wh-employee-qr-details {
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 1.1rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: var(--public-shadow);
}

.wh-employee-tool-header {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.wh-family-tool-header {
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
}

.wh-employee-tool-image {
  display: grid;
  width: 4.55rem;
  height: 4.55rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--public-card-muted);
}

.wh-family-tool-header .wh-employee-tool-image {
  width: 5.2rem;
  height: 5.2rem;
}

.wh-employee-tool-image img,
.wh-employee-tool-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wh-employee-tool-title {
  min-width: 0;
}

.wh-employee-tool-title p {
  margin: 0;
  color: var(--public-text-soft);
  font-size: 0.85rem;
  font-weight: 900;
}

.wh-employee-tool-title h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.65rem, 8vw, 2.4rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.wh-family-tool-header .wh-employee-tool-title h1 {
  font-size: clamp(2rem, 9vw, 3.2rem);
}

.wh-employee-tool-title strong {
  display: block;
  margin-top: 0.15rem;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.wh-employee-tool-title span {
  display: block;
  margin-top: 0.3rem;
  color: var(--public-muted);
  font-size: 1rem;
  font-weight: 900;
}

.wh-employee-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.wh-employee-info-card {
  min-height: auto;
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.65rem;
  box-shadow: var(--public-shadow);
}

.wh-employee-status-ok,
.wh-employee-info-card.wh-employee-status-ok { border-color: var(--public-green); background: var(--public-green-soft); }
.wh-employee-status-warning,
.wh-employee-info-card.wh-employee-status-warning { border-color: var(--public-orange); background: var(--public-orange-soft); }
.wh-employee-status-danger,
.wh-employee-info-card.wh-employee-status-danger { border-color: var(--public-red); background: var(--public-red-soft); }
.wh-employee-info-card-blue { border-color: var(--public-blue); background: var(--public-blue-soft); }
.wh-employee-info-card-orange { border-color: var(--public-orange); background: var(--public-orange-soft); }

.wh-employee-info-card-main {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr) 1.55rem;
  gap: 0.58rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.wh-employee-info-icon {
  display: grid;
  width: 3.45rem;
  height: 3.45rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid #111827;
  border-radius: 0.7rem;
  background: #ffffff;
}

.wh-employee-info-symbol {
  width: 3rem;
  height: 3rem;
}

.wh-employee-info-text h2,
.wh-employee-info-card h2 {
  margin: 0;
  overflow: hidden;
  color: var(--public-text);
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wh-employee-info-text p,
.wh-employee-info-card p {
  margin: 0.18rem 0 0;
  overflow: hidden;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wh-employee-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.wh-employee-safety-tile,
.wh-employee-safety-card {
  min-height: 4.9rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 0.85rem;
  background: #ffffff;
  padding: 0.45rem;
  box-shadow: var(--public-shadow);
}

.wh-employee-safety-symbol {
  width: 3.9rem;
  height: 3.9rem;
}

.wh-employee-more-hints {
  display: grid;
  gap: 0.65rem;
}

.wh-employee-empty {
  color: #172554;
  font-size: 1rem;
  font-weight: 750;
}

.wh-employee-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.wh-employee-help-card {
  min-height: 4.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.65rem;
  box-shadow: var(--public-shadow);
}

.wh-employee-help-card-green { border-color: var(--public-green); background: var(--public-green-soft); }
.wh-employee-help-card-orange { border-color: var(--public-orange); background: var(--public-orange-soft); }
.wh-employee-help-card-blue,
.wh-employee-help-card-staff { border-color: var(--public-blue); background: var(--public-blue-soft); }

.wh-employee-help-card > a,
.wh-employee-help-card > button,
.wh-employee-help-card-button {
  min-width: 0;
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--public-text);
  padding: 0;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.wh-employee-help-card strong {
  overflow: hidden;
  color: var(--public-text);
  font-size: clamp(1.05rem, 5vw, 1.65rem);
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wh-employee-help-card small {
  display: block;
  margin-top: 0.1rem;
  color: #172554;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.1;
}

.wh-employee-help-symbol {
  width: 3.6rem;
  height: 3.6rem;
  border: 2px solid #111827;
  border-radius: 0.7rem;
  background: #ffffff;
}

/* Family/document modal */
.wh-document-modal[hidden] {
  display: none;
}

.wh-document-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.wh-document-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.wh-document-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  max-height: min(85vh, 44rem);
  overflow: auto;
  border: 2px solid var(--public-border);
  border-radius: 1.15rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--public-shadow-strong);
}

.wh-document-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wh-document-modal-header h2 {
  margin: 0;
  color: var(--public-text);
  font-size: 1.75rem;
  font-weight: 950;
}

.wh-document-modal-close {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--public-text);
  font-size: 1.75rem;
  font-weight: 950;
  cursor: pointer;
}

.wh-document-modal-list {
  display: grid;
  gap: 0.65rem;
}

.wh-document-modal-link,
.wh-document-modal-empty {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--public-border);
  border-radius: 1rem;
  background: var(--public-card-muted);
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.wh-document-modal-symbol,
.wh-document-modal-empty-symbol {
  width: 3.5rem;
  height: 3.5rem;
}

.wh-document-modal-link strong,
.wh-document-modal-empty strong {
  display: block;
  color: var(--public-text);
  font-weight: 950;
}

.wh-document-modal-link small,
.wh-document-modal-empty p {
  display: block;
  margin: 0.15rem 0 0;
  color: var(--public-muted);
  font-weight: 800;
}

/* Location modal */
.wh-location-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  min-height: 100dvh;
  padding: 0.45rem;
}

.wh-location-modal:target {
  display: grid;
  place-items: center;
}

.wh-location-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(10px);
}

.wh-location-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(100vw - 0.9rem);
  max-height: calc(100dvh - 0.9rem);
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 1.05rem;
  background: #ffffff;
  padding: 0.68rem;
  box-shadow: var(--public-shadow-strong);
}

.wh-location-modal-current .wh-location-modal-panel { border-color: var(--public-blue); background: linear-gradient(180deg, #eff6ff 0%, #ffffff 32%); }
.wh-location-modal-home .wh-location-modal-panel { border-color: var(--public-orange); background: linear-gradient(180deg, #fff7ed 0%, #ffffff 32%); }

.wh-location-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
  margin-bottom: 0.45rem;
}

.wh-location-modal-header h2 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.65rem, 8.4vw, 2.15rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.wh-location-modal-header p {
  margin: 0.18rem 0 0;
  color: var(--public-text-soft);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.08;
}

.wh-location-modal-close {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.65rem;
  background: #ffffff;
  color: var(--public-text);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.wh-location-modal-speak-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  border: 2px solid var(--public-border);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.34rem 0.42rem;
}

.wh-location-modal-speak-row strong {
  color: var(--public-text);
  font-size: 0.88rem;
  font-weight: 950;
}

.wh-location-modal-roadmap {
  display: grid;
  gap: 0.28rem;
}

.wh-location-modal-step,
.wh-location-modal-fallback {
  display: grid;
  grid-template-columns: 3.85rem minmax(0, 1fr);
  gap: 0.52rem;
  align-items: center;
  min-height: 4.55rem;
  border: 2px solid var(--public-border);
  border-radius: 0.82rem;
  background: #ffffff;
  padding: 0.38rem;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06);
}

.wh-location-modal-step-image {
  display: grid;
  width: 3.45rem;
  height: 3.45rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  border-radius: 0.66rem;
  background: var(--public-card-muted);
}

.wh-location-modal-step-image img,
.wh-location-modal-step-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wh-location-modal-step-symbol,
.wh-location-modal-fallback-symbol {
  width: 3rem;
  height: 3rem;
}

.wh-location-modal-step-text small {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--public-muted);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.wh-location-modal-step-text strong,
.wh-location-modal-fallback strong {
  display: block;
  color: var(--public-text);
  font-size: clamp(1rem, 5.6vw, 1.26rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.wh-location-modal-arrow {
  display: grid;
  width: 1.58rem;
  height: 1.58rem;
  place-items: center;
  justify-self: center;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: var(--public-blue);
  font-size: 0.82rem;
  font-weight: 950;
}

.wh-location-modal-home .wh-location-modal-arrow { color: var(--public-orange); }

.wh-location-modal-done {
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.45rem;
  border: 2px solid var(--public-blue);
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--public-blue);
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
}

.wh-location-modal-home .wh-location-modal-done { border-color: var(--public-orange); color: var(--public-orange); }

/* Visual back cards */
.wh-visual-back-section {
  width: 100%;
  margin: 0.95rem 0 0;
  padding: 0;
}

.wh-visual-back-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 0.52rem;
  width: 100%;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.58rem;
  box-shadow: var(--public-shadow);
}

.wh-visual-back-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  align-items: center;
  gap: 0.58rem;
  color: var(--public-text);
  text-decoration: none;
}

.wh-visual-back-symbol {
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.72rem;
  background: var(--public-card-muted);
}

.wh-visual-back-main strong {
  display: block;
  overflow: hidden;
  color: var(--public-text);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wh-visual-back-main small {
  display: block;
  margin-top: 0.16rem;
  overflow: hidden;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wh-visual-back-speak {
  justify-self: end;
  width: 2.65rem;
  height: 2.65rem;
}

.wh-employee-back-link,
.wh-employee-critical-help {
  display: none !important;
}

/* Public search modal */
.public-tool-search-modal[hidden] {
  display: none !important;
}

.public-tool-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: start center;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  padding: 0.45rem;
}

.public-tool-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.58);
}

.public-tool-search-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  width: min(100%, 35rem);
  max-width: calc(100vw - 0.9rem);
  max-height: calc(100dvh - 0.9rem);
  overflow: hidden;
  border: 3px solid var(--public-border-strong);
  border-radius: 1.1rem;
  background: #ffffff;
  padding: 0.55rem;
  box-shadow: var(--public-shadow-strong);
}

.public-tool-search-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.45rem;
  gap: 0.45rem;
  align-items: start;
  margin: 0;
}

.public-tool-search-header .assistive-kicker {
  margin: 0 0 0.1rem;
  color: var(--public-blue);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-tool-search-header h2 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.35rem, 6vw, 1.9rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.public-tool-search-header p:not(.assistive-kicker) {
  display: none;
}

.public-tool-search-close {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.7rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0;
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1;
}

.public-tool-search-mic {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.35rem;
  overflow: hidden;
  border: 3px solid var(--public-blue);
  border-radius: 1rem;
  background: #2563eb;
  color: #ffffff;
  padding: 0.48rem;
}

.public-tool-search-mic-main {
  display: grid;
  grid-template-columns: 3.15rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-height: 3.6rem;
}

.public-tool-search-mic-symbol,
.public-tool-search-secondary-symbol,
.public-tool-search-helper-symbol,
.public-tool-search-heard-symbol {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.7rem;
  background: #ffffff;
}

.public-tool-search-mic-symbol {
  width: 3rem;
  height: 3rem;
}

.public-tool-search-mic-symbol img,
.public-tool-search-mic-symbol svg {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
}

.public-tool-search-mic-main > span:last-child {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(1.75rem, 7vw, 2.35rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-search-listening {
  min-height: 2.3rem;
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr) 4.2rem;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--public-text);
  padding: 0.28rem 0.55rem;
}

.public-tool-search-status-icon {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
}

.public-tool-search-listening [data-public-search-status] {
  overflow: hidden;
  color: var(--public-text);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-search-wave {
  width: 4rem;
  max-width: 4rem;
  overflow: hidden;
  transform: scale(0.72);
  transform-origin: right center;
}

.public-tool-search-heard {
  min-height: 0;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  border: 2px solid #bbf7d0;
  border-radius: 0.85rem;
  background: #f0fdf4;
  padding: 0.42rem;
}

.public-tool-search-heard[hidden] {
  display: none;
}

.public-tool-search-heard-symbol {
  width: 2.25rem;
  height: 2.25rem;
}

.public-tool-search-heard-symbol img,
.public-tool-search-heard-symbol svg {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.public-tool-search-heard em {
  display: none;
}

.public-tool-search-heard strong {
  display: block;
  overflow: hidden;
  color: var(--public-text);
  font-size: clamp(1.35rem, 6vw, 1.9rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-search-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.public-tool-search-secondary {
  min-width: 0;
  min-height: 3.35rem;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--public-border);
  border-radius: 0.85rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.38rem;
  text-align: left;
}

.public-tool-search-secondary-symbol {
  width: 2rem;
  height: 2rem;
}

.public-tool-search-secondary-symbol img,
.public-tool-search-secondary-symbol svg {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.public-tool-search-secondary strong {
  overflow: hidden;
  color: var(--public-text);
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.02;
}

.public-tool-search-input-wrap {
  display: grid;
  gap: 0.3rem;
  border: 2px solid var(--public-border);
  border-radius: 0.85rem;
  background: #ffffff;
  padding: 0.5rem;
}

.public-tool-search-input-wrap[hidden] {
  display: none;
}

.public-tool-search-input-wrap span {
  color: #334155;
  font-weight: 900;
}

.public-tool-search-input-wrap input {
  min-height: 3rem;
  width: 100%;
  border: 2px solid var(--public-border-strong);
  border-radius: 0.75rem;
  padding: 0.65rem;
  color: var(--public-text);
  font-size: 1.1rem;
  font-weight: 900;
}

.public-tool-search-result-section {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.42rem;
}

.public-tool-search-result-section[hidden] {
  display: none;
}

.public-tool-search-result-heading h3 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.45rem, 6vw, 1.95rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.public-tool-search-result-heading p {
  margin: 0.12rem 0 0;
  color: var(--public-green);
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1;
}

.public-tool-search-results {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 0.45rem;
  padding: 0;
}

.public-tool-search-result-card-clean {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.45rem;
  align-items: center;
  gap: 0.35rem;
  min-height: 3.75rem;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: 0.78rem;
  background: #ffffff;
  padding: 0.32rem;
}

.public-tool-search-result-area-garden { border-color: var(--public-green); }
.public-tool-search-result-area-electrical { border-color: var(--public-blue); }
.public-tool-search-result-area-metal { border-color: #94a3b8; }

.public-tool-search-result-clean {
  min-width: 0;
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr) 1.35rem;
  align-items: center;
  gap: 0.38rem;
  color: var(--public-text);
  text-decoration: none;
}

.public-tool-search-result-image {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  border-radius: 0.65rem;
  background: var(--public-card-muted);
}

.public-tool-search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.public-tool-search-result-letter {
  color: var(--public-text);
  font-size: 1.25rem;
  font-weight: 950;
}

.public-tool-search-result-text {
  min-width: 0;
}

.public-tool-search-result-text strong {
  display: block;
  overflow: hidden;
  color: var(--public-text);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-search-result-text small {
  display: block;
  margin-top: 0.12rem;
  overflow: hidden;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-search-result-arrow {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 2px solid var(--public-blue);
  border-radius: 999px;
  color: var(--public-blue);
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1;
}

.public-tool-search-result-speak {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 0.68rem;
  background: #ffffff;
  padding: 0.18rem;
  overflow: hidden;
}

.public-tool-search-result-speak .assistive-speak-symbol,
.public-tool-search-result-speak img {
  width: 1.95rem;
  height: 1.95rem;
  object-fit: contain;
}

.public-tool-search-helper {
  min-height: 0;
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  border: 2px solid #bbf7d0;
  border-radius: 0.85rem;
  background: #f0fdf4;
  padding: 0.38rem;
}

.public-tool-search-helper-symbol {
  width: 1.9rem;
  height: 1.9rem;
}

.public-tool-search-helper-symbol img,
.public-tool-search-helper-symbol svg {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.public-tool-search-helper p {
  margin: 0;
  overflow: hidden;
  color: var(--public-text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-helper {
  display: none;
}

/* Defect, success and legal pages */
.assistive-defect-form,
.legal-page {
  width: min(100%, 48rem);
  margin: 0 auto;
}

.assistive-defect-choice-grid {
  display: grid;
  gap: 0.75rem;
}

.assistive-defect-choice {
  border: 2px solid var(--public-border);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: var(--public-shadow);
}

.assistive-defect-choice-danger { border-color: var(--public-red); background: var(--public-red-soft); }
.assistive-defect-choice-warning { border-color: var(--public-orange); background: var(--public-orange-soft); }
.assistive-defect-choice-neutral { border-color: var(--public-blue); background: var(--public-blue-soft); }

.assistive-defect-choice-label {
  display: grid;
  grid-template-columns: auto 4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
}

.assistive-defect-symbol {
  width: 3.5rem;
  height: 3.5rem;
}

.assistive-defect-choice-text strong {
  display: block;
  color: var(--public-text);
  font-size: 1.1rem;
  font-weight: 950;
}

.assistive-defect-choice-text small {
  display: block;
  color: #475569;
  font-weight: 750;
}

.assistive-defect-description {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: var(--public-text-soft);
  font-weight: 900;
}

.assistive-defect-description textarea {
  width: 100%;
  min-height: 8rem;
  border: 2px solid var(--public-border-strong);
  border-radius: 1rem;
  padding: 0.8rem;
  resize: vertical;
}

.assistive-defect-message {
  margin: 1rem 0;
  border-radius: 1rem;
  padding: 1rem;
  font-weight: 900;
}

.assistive-defect-message-error { border: 2px solid var(--public-red); background: var(--public-red-soft); color: #7f1d1d; }
.assistive-defect-message-success { border: 2px solid var(--public-green); background: var(--public-green-soft); color: #14532d; }

.assistive-action-row,
.assistive-defect-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.assistive-danger-button,
.assistive-secondary-button {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 2px solid #cbd5e1;
  border-radius: 1rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  font-weight: 950;
  text-decoration: none;
}

.assistive-danger-button {
  border-color: var(--public-red);
  background: var(--public-red-soft);
  color: #7f1d1d;
}

.assistive-success-card,
.assistive-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.assistive-success-symbol {
  width: 4.5rem;
  height: 4.5rem;
}

.wh-success-content h1,
.assistive-card h1,
.legal-card h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.legal-card {
  border: 2px solid var(--public-border);
  border-radius: 1.25rem;
  background: #ffffff;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--public-shadow);
}

.legal-card h2 {
  margin: 2rem 0 0.65rem;
  color: var(--public-text);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.15;
}

.legal-card h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--public-text-soft);
  font-size: 1.1rem;
}

.legal-card p,
.legal-card li {
  color: #334155;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.65;
}

.legal-card a {
  color: var(--public-blue);
  font-weight: 900;
}

.legal-hint {
  border-left: 5px solid var(--public-orange);
  border-radius: 1rem;
  background: var(--public-orange-soft);
  color: #7c2d12;
  padding: 0.9rem 1rem;
  font-weight: 900;
}

/* Cookie banner */
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
  border: 3px solid #bfdbfe;
  border-radius: 1.4rem;
  background: #ffffff;
  color: #0f172a;
  padding: 1rem;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.25);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 950;
}

.cookie-banner p {
  margin: 0;
  color: #475569;
  font-weight: 750;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner-actions a,
.cookie-banner-actions button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
}

.cookie-banner-actions a {
  border: 2px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.cookie-banner-actions button {
  border: 2px solid var(--public-blue);
  background: var(--public-blue);
  color: #ffffff;
  cursor: pointer;
}

@media (min-width: 760px) {
  .cookie-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 701px) {
  .public-content,
  .public-content-compact,
  .public-footer {
    width: min(100%, 52rem);
  }

  .employee-home-wow-card-image-full,
  .employee-home-wow-card-no-speak {
    min-height: 13rem;
  }

  .employee-home-wow-picture-link,
  .employee-home-wow-picture-link-disabled {
    min-height: 12rem;
  }

  .employee-home-wow-symbol img,
  .employee-home-wow-symbol svg,
  .employee-home-wow-symbol-frame img,
  .employee-home-wow-symbol-frame svg {
    max-width: 10.5rem;
    max-height: 10.5rem;
  }

  .assistive-nav-card,
  .wh-simple-nav-card {
    grid-template-columns: 5rem minmax(0, 1fr) 2rem;
  }

  .assistive-nav-image,
  .assistive-nav-icon,
  .wh-simple-nav-image,
  .wh-simple-nav-icon {
    width: 4.65rem;
    height: 4.65rem;
  }

  .assistive-nav-content strong,
  .wh-simple-nav-content strong {
    font-size: 1.55rem;
  }

  .wh-employee-tool-header {
    grid-template-columns: 6rem minmax(0, 1fr) auto;
  }

  .wh-employee-tool-image {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (max-width: 390px), (max-height: 620px) {
  .public-content,
  .public-content-compact {
    padding-inline: 0.65rem;
  }

  .public-tool-search-panel {
    padding: 0.45rem;
    gap: 0.38rem;
  }

  .wh-location-modal-panel {
    padding: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Detailseite: finale BeschÃ¤ftigten-UX
   - Standortkarten: Text sichtbar, Lautsprecher rechts
   - Hilfe-Karten: sauberer Hauptbereich + rechter Lautsprecher
   - Wegmodal: nummerierte, klare Schritte
   -------------------------------------------------------------------------- */

.wh-employee-tool-title p,
.wh-employee-tool-title strong {
  display: none !important;
}

.wh-employee-tool-title span {
  margin-top: 0.25rem !important;
  color: var(--public-muted) !important;
  font-size: clamp(0.92rem, 4vw, 1.15rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.wh-employee-info-card,
.wh-employee-help-card,
.wh-employee-section-card,
.wh-visual-back-card {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
}

/* Status- und Standortkarten: Ã¼berall gleiche Dreiteilung */
.wh-employee-info-grid > .wh-employee-info-card {
  display: grid !important;
  grid-template-columns: 4rem minmax(0, 1fr) 3rem !important;
  align-items: center !important;
  gap: 0.65rem !important;
  min-height: 5.25rem !important;
  padding: 0.65rem !important;
}

.wh-employee-info-grid > .wh-employee-info-card.wh-employee-info-card-location {
  grid-template-columns: minmax(0, 1fr) 3rem !important;
}

.wh-employee-info-card-main {
  min-width: 0 !important;
  width: 100% !important;
}

.wh-employee-info-card-location .wh-employee-info-card-main {
  display: grid !important;
  grid-template-columns: 3.75rem minmax(0, 1fr) 1.65rem !important;
  gap: 0.58rem !important;
  align-items: center !important;
  color: inherit !important;
  text-decoration: none !important;
}

.wh-employee-info-card .wh-employee-info-icon,
.wh-employee-info-card-location .wh-employee-info-icon {
  width: 3.65rem !important;
  height: 3.65rem !important;
  border-radius: 0.72rem !important;
}

.wh-employee-info-card .wh-employee-info-symbol,
.wh-employee-info-card-location .wh-employee-info-symbol {
  width: 3.15rem !important;
  height: 3.15rem !important;
}

.wh-employee-info-card .wh-employee-info-text,
.wh-employee-info-card-location .wh-employee-info-text {
  display: block !important;
  min-width: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.wh-employee-info-card .wh-employee-info-text h2,
.wh-employee-info-card-location .wh-employee-info-text h2 {
  display: block !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--public-text) !important;
  font-size: clamp(1.22rem, 5.2vw, 1.72rem) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wh-employee-info-card .wh-employee-info-text p,
.wh-employee-info-card-location .wh-employee-info-text p {
  display: block !important;
  margin: 0.18rem 0 0 !important;
  overflow: hidden !important;
  color: #111827 !important;
  font-size: clamp(0.9rem, 3.9vw, 1rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wh-employee-info-card-location .wh-employee-location-open-indicator {
  display: grid !important;
  width: 1.55rem !important;
  height: 1.55rem !important;
  place-items: center !important;
  border: 2px solid currentColor !important;
  border-radius: 999px !important;
  color: var(--public-blue) !important;
  font-size: 1.1rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

/* Lautsprecher in Info- und Hilfe-Karten: immer rechter Button */
.wh-employee-info-card .wh-employee-speak-button,
.wh-employee-info-card-location .wh-employee-speak-button,
.wh-employee-help-card .wh-employee-speak-button,
.wh-visual-back-card .wh-visual-back-speak {
  position: static !important;
  justify-self: end !important;
  align-self: center !important;
  display: grid !important;
  place-items: center !important;
  width: 3rem !important;
  min-width: 3rem !important;
  max-width: 3rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  padding: 0.25rem !important;
  overflow: hidden !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.wh-employee-info-card .wh-employee-speak-button .assistive-speak-symbol,
.wh-employee-info-card-location .wh-employee-speak-button .assistive-speak-symbol,
.wh-employee-help-card .wh-employee-speak-button .assistive-speak-symbol,
.wh-visual-back-card .wh-visual-back-speak .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  overflow: hidden !important;
}

.wh-employee-info-card .wh-employee-speak-button img,
.wh-employee-info-card .wh-employee-speak-button svg,
.wh-employee-info-card-location .wh-employee-speak-button img,
.wh-employee-info-card-location .wh-employee-speak-button svg,
.wh-employee-help-card .wh-employee-speak-button img,
.wh-employee-help-card .wh-employee-speak-button svg,
.wh-visual-back-card .wh-visual-back-speak img,
.wh-visual-back-card .wh-visual-back-speak svg {
  display: block !important;
  width: 2.18rem !important;
  height: 2.18rem !important;
  max-width: 2.18rem !important;
  max-height: 2.18rem !important;
  object-fit: contain !important;
}

/* Sicherheitsblock */
.wh-employee-safety-ok-card {
  display: grid !important;
  grid-template-columns: 4rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-height: 5rem !important;
  border: 2px solid var(--public-green) !important;
  border-radius: 1rem !important;
  background: var(--public-green-soft) !important;
  padding: 0.65rem !important;
}

.wh-employee-safety-ok-card .wh-employee-safety-symbol {
  width: 3.5rem !important;
  height: 3.5rem !important;
}

.wh-employee-safety-ok-card strong {
  display: block !important;
  color: var(--public-text) !important;
  font-size: 1.35rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.wh-employee-safety-ok-card small {
  display: block !important;
  margin-top: 0.15rem !important;
  color: #334155 !important;
  font-size: 0.95rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

.wh-employee-more-hints-header h3 {
  font-size: clamp(1.25rem, 5.6vw, 1.7rem) !important;
  line-height: 1 !important;
}

/* Hilfe-Karten: Hauptinhalt links, Lautsprecher rechts */
.wh-employee-help-section-card .wh-employee-section-header {
  margin-bottom: 0.25rem !important;
}

.wh-employee-help-grid > .wh-employee-help-card,
.wh-employee-help-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3rem !important;
  align-items: center !important;
  gap: 0.6rem !important;
  min-height: 5.25rem !important;
  padding: 0.65rem !important;
  overflow: hidden !important;
}

.wh-employee-help-card .wh-employee-help-card-button,
.wh-employee-help-card > a,
.wh-employee-help-card > button:not(.wh-employee-speak-button) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: grid !important;
  grid-template-columns: 3.8rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.65rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--public-text) !important;
  padding: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.wh-employee-help-card .wh-employee-help-card-button[disabled] {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}

.wh-employee-help-card .wh-employee-help-symbol {
  width: 3.6rem !important;
  height: 3.6rem !important;
  border: 2px solid #111827 !important;
  border-radius: 0.72rem !important;
  background: #ffffff !important;
}

.wh-employee-help-card strong,
.wh-employee-help-card .wh-employee-help-card-button strong {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: var(--public-text) !important;
  font-size: clamp(1.05rem, 5vw, 1.65rem) !important;
  font-weight: 950 !important;
  line-height: 1.06 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wh-employee-help-card small {
  display: block !important;
  margin-top: 0.12rem !important;
  overflow: hidden !important;
  color: #172554 !important;
  font-size: 0.88rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
}

.wh-employee-help-card-note .wh-employee-help-card-button {
  cursor: default !important;
}

.wh-employee-qr-details,
.wh-employee-critical-help {
  display: none !important;
}

/* Wegbeschreibungsmodal */
.wh-location-modal-panel {
  width: min(100% - 1rem, 34rem) !important;
  max-height: calc(100dvh - 1rem) !important;
  overflow: hidden !important;
  border-width: 3px !important;
  border-radius: 1.15rem !important;
  padding: 0.75rem !important;
}

.wh-location-modal-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 0.7rem !important;
  align-items: start !important;
  margin-bottom: 0.55rem !important;
}

.wh-location-modal-header h2 {
  font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
  line-height: 0.92 !important;
}

.wh-location-modal-speak-row {
  margin-bottom: 0.55rem !important;
  border-radius: 0.9rem !important;
  padding: 0.45rem !important;
}

.wh-location-modal-roadmap {
  display: grid !important;
  gap: 0.38rem !important;
}

.wh-location-modal-step,
.wh-location-modal-fallback {
  display: grid !important;
  grid-template-columns: 2.45rem 3.65rem minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 4.75rem !important;
  gap: 0.48rem !important;
  border-radius: 0.9rem !important;
  padding: 0.42rem !important;
}

.wh-location-modal-step-number {
  display: grid !important;
  width: 2rem !important;
  height: 2rem !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: var(--public-blue) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.wh-location-modal-home .wh-location-modal-step-number {
  background: var(--public-orange) !important;
}

.wh-location-modal-step-image,
.wh-location-modal-fallback-symbol {
  width: 3.35rem !important;
  height: 3.35rem !important;
}

.wh-location-modal-step-symbol {
  width: 2.9rem !important;
  height: 2.9rem !important;
}

.wh-location-modal-step-text strong,
.wh-location-modal-fallback strong {
  font-size: clamp(1.05rem, 5vw, 1.35rem) !important;
  line-height: 1.04 !important;
}

.wh-location-modal-done {
  min-height: 2.65rem !important;
  font-size: 1rem !important;
}

@media (max-width: 390px) {
  .wh-employee-info-grid > .wh-employee-info-card {
    grid-template-columns: 3.65rem minmax(0, 1fr) 2.75rem !important;
    gap: 0.52rem !important;
  }

  .wh-employee-info-grid > .wh-employee-info-card.wh-employee-info-card-location {
    grid-template-columns: minmax(0, 1fr) 2.75rem !important;
  }

  .wh-employee-info-card-location .wh-employee-info-card-main {
    grid-template-columns: 3.55rem minmax(0, 1fr) 1.45rem !important;
    gap: 0.45rem !important;
  }

  .wh-employee-info-card .wh-employee-speak-button,
  .wh-employee-info-card-location .wh-employee-speak-button,
  .wh-employee-help-card .wh-employee-speak-button,
  .wh-visual-back-card .wh-visual-back-speak {
    width: 2.65rem !important;
    min-width: 2.65rem !important;
    max-width: 2.65rem !important;
    height: 2.65rem !important;
    min-height: 2.65rem !important;
    max-height: 2.65rem !important;
  }

  .wh-employee-help-grid > .wh-employee-help-card,
  .wh-employee-help-card {
    grid-template-columns: minmax(0, 1fr) 2.65rem !important;
    gap: 0.5rem !important;
  }

  .wh-location-modal-step,
  .wh-location-modal-fallback {
    grid-template-columns: 2.15rem 3.25rem minmax(0, 1fr) !important;
    gap: 0.38rem !important;
  }

  .wh-location-modal-step-number {
    width: 1.75rem !important;
    height: 1.75rem !important;
    font-size: 0.9rem !important;
  }

  .wh-location-modal-step-image,
  .wh-location-modal-fallback-symbol {
    width: 3rem !important;
    height: 3rem !important;
  }
}

/* --------------------------------------------------------------------------
   FINAL SPEAK BUTTON CENTERING
   Lautsprecher-Icon exakt mittig im Button.
   -------------------------------------------------------------------------- */

button[data-speak-text].assistive-speak-button-clean,
button[data-speak-text].wh-employee-speak-button,
button[data-speak-text].assistive-card-speak-button,
button[data-speak-text].wh-visual-back-speak,
.wh-employee-info-card .wh-employee-speak-button,
.wh-employee-info-card-location .wh-employee-speak-button,
.wh-employee-help-card .wh-employee-speak-button,
.wh-visual-back-card .wh-visual-back-speak {
    appearance: none !important;
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    align-items: center !important;
    justify-items: center !important;
    align-self: center !important;
    justify-self: end !important;

    width: 3.15rem !important;
    min-width: 3.15rem !important;
    max-width: 3.15rem !important;
    height: 3.15rem !important;
    min-height: 3.15rem !important;
    max-height: 3.15rem !important;

    overflow: hidden !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 0.78rem !important;
    background: #ffffff !important;
    padding: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
}

/* Der Symbol-Wrapper füllt den Button und zentriert das Bild */
button[data-speak-text].assistive-speak-button-clean .assistive-speak-symbol,
button[data-speak-text].wh-employee-speak-button .assistive-speak-symbol,
button[data-speak-text].assistive-card-speak-button .assistive-speak-symbol,
button[data-speak-text].wh-visual-back-speak .assistive-speak-symbol,
.wh-employee-info-card .wh-employee-speak-button .assistive-speak-symbol,
.wh-employee-info-card-location .wh-employee-speak-button .assistive-speak-symbol,
.wh-employee-help-card .wh-employee-speak-button .assistive-speak-symbol,
.wh-visual-back-card .wh-visual-back-speak .assistive-speak-symbol {
    display: grid !important;
    place-items: center !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* Das Bild selbst bleibt kleiner als der Button und sitzt exakt mittig */
button[data-speak-text].assistive-speak-button-clean .assistive-speak-symbol img,
button[data-speak-text].assistive-speak-button-clean .assistive-speak-symbol svg,
button[data-speak-text].wh-employee-speak-button .assistive-speak-symbol img,
button[data-speak-text].wh-employee-speak-button .assistive-speak-symbol svg,
button[data-speak-text].assistive-card-speak-button .assistive-speak-symbol img,
button[data-speak-text].assistive-card-speak-button .assistive-speak-symbol svg,
button[data-speak-text].wh-visual-back-speak .assistive-speak-symbol img,
button[data-speak-text].wh-visual-back-speak .assistive-speak-symbol svg,
.wh-employee-info-card .wh-employee-speak-button .assistive-speak-symbol img,
.wh-employee-info-card .wh-employee-speak-button .assistive-speak-symbol svg,
.wh-employee-info-card-location .wh-employee-speak-button .assistive-speak-symbol img,
.wh-employee-info-card-location .wh-employee-speak-button .assistive-speak-symbol svg,
.wh-employee-help-card .wh-employee-speak-button .assistive-speak-symbol img,
.wh-employee-help-card .wh-employee-speak-button .assistive-speak-symbol svg,
.wh-visual-back-card .wh-visual-back-speak .assistive-speak-symbol img,
.wh-visual-back-card .wh-visual-back-speak .assistive-speak-symbol svg {
    display: block !important;

    width: 2.28rem !important;
    min-width: 2.28rem !important;
    max-width: 2.28rem !important;
    height: 2.28rem !important;
    min-height: 2.28rem !important;
    max-height: 2.28rem !important;

    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

/* Die Text-Beschriftung nimmt keinen Platz mehr weg.
   aria-label bleibt für Barrierefreiheit erhalten. */
button[data-speak-text] .assistive-speak-label,
.wh-employee-speak-button .assistive-speak-label,
.assistive-card-speak-button .assistive-speak-label,
.wh-visual-back-speak .assistive-speak-label {
    display: none !important;
}

/* --------------------------------------------------------------------------
   FINAL HELP CARDS FIX
   Hilfe-Sektion:
   - Hauptaktion links
   - Lautsprecher immer rechts, mittig und vollständig sichtbar
   - Keine Infos bleibt lesbar, auch wenn der Hauptbutton disabled ist
   -------------------------------------------------------------------------- */

.wh-employee-help-grid {
  display: grid !important;
  gap: 0.7rem !important;
}

.wh-employee-help-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.25rem !important;
  align-items: center !important;
  gap: 0.65rem !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 5.85rem !important;

  padding: 0.65rem !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.wh-employee-help-card-button {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 4.6rem !important;

  display: grid !important;
  grid-template-columns: 4.05rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;

  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--public-text) !important;
  text-align: left !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.wh-employee-help-card-button:disabled {
  opacity: 1 !important;
  cursor: default !important;
}

.wh-employee-help-symbol {
  display: grid !important;
  place-items: center !important;

  width: 4.05rem !important;
  min-width: 4.05rem !important;
  max-width: 4.05rem !important;
  height: 4.05rem !important;
  min-height: 4.05rem !important;
  max-height: 4.05rem !important;

  overflow: hidden !important;
  border: 2px solid #0f172a !important;
  border-radius: 0.85rem !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.wh-employee-help-symbol img,
.wh-employee-help-symbol svg {
  display: block !important;
  width: 100% !important;
  max-width: 3.65rem !important;
  height: 100% !important;
  max-height: 3.65rem !important;
  object-fit: contain !important;
}

.wh-employee-help-card-button > strong,
.wh-employee-help-card-button > span,
.wh-employee-help-card-button > span > strong,
.wh-employee-help-card-button > span > small {
  min-width: 0 !important;
}

.wh-employee-help-card-button strong {
  display: block !important;
  overflow: hidden !important;

  color: var(--public-text) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wh-employee-help-card-button small {
  display: block !important;
  margin-top: 0.12rem !important;

  color: #0f172a !important;
  font-size: 1.02rem !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
}

/* Lautsprecher in Hilfe-Karten: immer rechte Spalte, exakt mittig */
.wh-employee-help-card > .wh-employee-speak-button {
  appearance: none !important;

  position: relative !important;
  inset: auto !important;

  display: grid !important;
  place-items: center !important;

  justify-self: end !important;
  align-self: center !important;

  width: 3.15rem !important;
  min-width: 3.15rem !important;
  max-width: 3.15rem !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  max-height: 3.15rem !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;

  border: 2px solid #cbd5e1 !important;
  border-radius: 0.78rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  font-size: 0 !important;
  box-sizing: border-box !important;
}

.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol img,
.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol svg {
  display: block !important;

  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  max-height: 2.25rem !important;

  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Textlabel im Lautsprecher nimmt keinen Platz ein */
.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-label {
  display: none !important;
}

/* iPhone SE */
@media (max-width: 390px) {
  .wh-employee-help-card {
    grid-template-columns: minmax(0, 1fr) 2.9rem !important;
    gap: 0.52rem !important;
    min-height: 5.45rem !important;
    padding: 0.55rem !important;
  }

  .wh-employee-help-card-button {
    grid-template-columns: 3.75rem minmax(0, 1fr) !important;
    gap: 0.62rem !important;
    min-height: 4.25rem !important;
  }

  .wh-employee-help-symbol {
    width: 3.75rem !important;
    min-width: 3.75rem !important;
    max-width: 3.75rem !important;
    height: 3.75rem !important;
    min-height: 3.75rem !important;
    max-height: 3.75rem !important;
  }

  .wh-employee-help-symbol img,
  .wh-employee-help-symbol svg {
    max-width: 3.35rem !important;
    max-height: 3.35rem !important;
  }

  .wh-employee-help-card > .wh-employee-speak-button {
    width: 2.78rem !important;
    min-width: 2.78rem !important;
    max-width: 2.78rem !important;
    height: 2.78rem !important;
    min-height: 2.78rem !important;
    max-height: 2.78rem !important;
  }

  .wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol img,
  .wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol svg {
    width: 2.02rem !important;
    min-width: 2.02rem !important;
    max-width: 2.02rem !important;
    height: 2.02rem !important;
    min-height: 2.02rem !important;
    max-height: 2.02rem !important;
  }
}

/* --------------------------------------------------------------------------
   FINAL HELP SECTION SPEAK BUTTON ISOLATION
   Hilfe-Karten haben eigene Ausgangsbox:
   - Hauptkarte links
   - Lautsprecher rechts
   - Icon exakt mittig
   -------------------------------------------------------------------------- */

.wh-employee-help-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.25rem !important;
  align-items: center !important;
  gap: 0.65rem !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 5.8rem !important;

  padding: 0.65rem !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.wh-employee-help-card > .wh-employee-help-card-button {
  grid-column: 1 !important;
  grid-row: 1 !important;

  min-width: 0 !important;
  width: 100% !important;
  min-height: 4.55rem !important;

  display: grid !important;
  grid-template-columns: 4rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;

  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  text-decoration: none !important;
  color: var(--public-text) !important;
  box-sizing: border-box !important;
}

.wh-employee-help-card > .wh-employee-help-card-button:disabled {
  opacity: 1 !important;
  cursor: default !important;
}

.wh-employee-help-card .wh-employee-help-symbol {
  display: grid !important;
  place-items: center !important;

  width: 4rem !important;
  min-width: 4rem !important;
  max-width: 4rem !important;
  height: 4rem !important;
  min-height: 4rem !important;
  max-height: 4rem !important;

  overflow: hidden !important;
  border: 2px solid #0f172a !important;
  border-radius: 0.85rem !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.wh-employee-help-card .wh-employee-help-symbol img,
.wh-employee-help-card .wh-employee-help-symbol svg {
  display: block !important;
  width: 100% !important;
  max-width: 3.55rem !important;
  height: 100% !important;
  max-height: 3.55rem !important;
  object-fit: contain !important;
}

.wh-employee-help-card .wh-employee-help-card-button strong {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;

  color: var(--public-text) !important;
  font-weight: 950 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.055em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wh-employee-help-card .wh-employee-help-card-button small {
  display: block !important;
  margin-top: 0.1rem !important;

  color: #0f172a !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
}

/* Nur Hilfe-Lautsprecher */
.wh-employee-help-card > .wh-employee-help-speak-button {
  grid-column: 2 !important;
  grid-row: 1 !important;

  appearance: none !important;
  position: relative !important;
  inset: auto !important;

  display: grid !important;
  place-items: center !important;

  justify-self: end !important;
  align-self: center !important;

  width: 3.15rem !important;
  min-width: 3.15rem !important;
  max-width: 3.15rem !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  max-height: 3.15rem !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;

  border: 2px solid #cbd5e1 !important;
  border-radius: 0.78rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

/* Innerer Symbolcontainer des Hilfe-Lautsprechers */
.wh-employee-help-card > .wh-employee-help-speak-button > .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  font-size: 0 !important;
  box-sizing: border-box !important;
}

/* Bild im Hilfe-Lautsprecher */
.wh-employee-help-card > .wh-employee-help-speak-button > .assistive-speak-symbol > img,
.wh-employee-help-card > .wh-employee-help-speak-button > .assistive-speak-symbol > svg {
  display: block !important;

  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  max-height: 2.25rem !important;

  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

.wh-employee-help-card > .wh-employee-help-speak-button > .assistive-speak-label {
  display: none !important;
}

@media (max-width: 390px) {
  .wh-employee-help-card {
    grid-template-columns: minmax(0, 1fr) 2.85rem !important;
    gap: 0.5rem !important;
    min-height: 5.35rem !important;
    padding: 0.55rem !important;
  }

  .wh-employee-help-card > .wh-employee-help-card-button {
    grid-template-columns: 3.65rem minmax(0, 1fr) !important;
    gap: 0.62rem !important;
    min-height: 4.2rem !important;
  }

  .wh-employee-help-card .wh-employee-help-symbol {
    width: 3.65rem !important;
    min-width: 3.65rem !important;
    max-width: 3.65rem !important;
    height: 3.65rem !important;
    min-height: 3.65rem !important;
    max-height: 3.65rem !important;
  }

  .wh-employee-help-card .wh-employee-help-symbol img,
  .wh-employee-help-card .wh-employee-help-symbol svg {
    max-width: 3.25rem !important;
    max-height: 3.25rem !important;
  }

  .wh-employee-help-card > .wh-employee-help-speak-button {
    width: 2.72rem !important;
    min-width: 2.72rem !important;
    max-width: 2.72rem !important;
    height: 2.72rem !important;
    min-height: 2.72rem !important;
    max-height: 2.72rem !important;
  }

  .wh-employee-help-card > .wh-employee-help-speak-button > .assistive-speak-symbol > img,
  .wh-employee-help-card > .wh-employee-help-speak-button > .assistive-speak-symbol > svg {
    width: 1.98rem !important;
    min-width: 1.98rem !important;
    max-width: 1.98rem !important;
    height: 1.98rem !important;
    min-height: 1.98rem !important;
    max-height: 1.98rem !important;
  }
}

/* =========================================================
   Beschäftigtenansicht: Gruppen / Untergruppen lesbar machen
   ========================================================= */

.assistive-nav-grid.wh-simple-nav-grid {
    display: grid;
    gap: 0.85rem;
}

.assistive-nav-card-shell.wh-simple-nav-card-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.25rem;
    align-items: stretch;
    gap: 0.7rem;
}

.assistive-nav-card.wh-simple-nav-card {
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
    min-height: 6.25rem;
    padding: 0.65rem 0.75rem;
    border-radius: 1.15rem;
    text-decoration: none;
    overflow: visible;
}

.assistive-nav-image.wh-simple-nav-image,
.assistive-nav-icon.wh-simple-nav-icon {
    width: 5.15rem;
    height: 5.15rem;
    min-width: 5.15rem;
    min-height: 5.15rem;
    border-radius: 0.85rem;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.assistive-nav-image.wh-simple-nav-image img,
.assistive-nav-icon.wh-simple-nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.assistive-nav-content.wh-simple-nav-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    overflow: visible;
}

.assistive-nav-content.wh-simple-nav-content strong {
    display: block;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;

    font-size: clamp(1.45rem, 5.7vw, 2rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: var(--wh-blue, #102a66);
}

.assistive-nav-content.wh-simple-nav-content small,
.assistive-nav-content.wh-simple-nav-content em {
    display: block;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;

    font-size: clamp(1rem, 3.9vw, 1.25rem);
    line-height: 1.05;
    font-weight: 800;
    color: #66758e;
    font-style: normal;
}

.assistive-card-speak-button {
    width: 4.25rem;
    min-width: 4.25rem;
    height: auto;
    min-height: 6.25rem;
    align-self: stretch;

    display: grid !important;
    place-items: center !important;

    border-radius: 1rem;
}

.assistive-card-speak-button .assistive-speak-symbol {
    width: 3.15rem !important;
    height: 3.15rem !important;
    display: grid !important;
    place-items: center !important;
}

.assistive-card-speak-button .assistive-speak-symbol img {
    width: 2.45rem !important;
    height: 2.45rem !important;
    max-width: 2.45rem !important;
    max-height: 2.45rem !important;
    object-fit: contain !important;
}

/* Sehr kleine Geräte */
@media (max-width: 380px) {
    .assistive-nav-card-shell.wh-simple-nav-card-shell {
        grid-template-columns: minmax(0, 1fr) 3.85rem;
        gap: 0.55rem;
    }

    .assistive-nav-card.wh-simple-nav-card {
        grid-template-columns: 4.8rem minmax(0, 1fr);
        min-height: 5.8rem;
        gap: 0.7rem;
        padding: 0.55rem 0.65rem;
    }

    .assistive-nav-image.wh-simple-nav-image,
    .assistive-nav-icon.wh-simple-nav-icon {
        width: 4.65rem;
        height: 4.65rem;
        min-width: 4.65rem;
        min-height: 4.65rem;
    }

    .assistive-nav-content.wh-simple-nav-content strong {
        font-size: clamp(1.28rem, 5.35vw, 1.75rem);
        line-height: 1;
        letter-spacing: -0.05em;
    }

    .assistive-card-speak-button {
        width: 3.85rem;
        min-width: 3.85rem;
        min-height: 5.8rem;
    }

    .assistive-card-speak-button .assistive-speak-symbol {
        width: 2.85rem !important;
        height: 2.85rem !important;
    }

    .assistive-card-speak-button .assistive-speak-symbol img {
        width: 2.2rem !important;
        height: 2.2rem !important;
        max-width: 2.2rem !important;
        max-height: 2.2rem !important;
    }
}

/* =========================================================
   Hero mit Kontext-METACOM-Symbol
   Bereich / Gruppe / Untergruppe
   ========================================================= */

.assistive-nav-hero-with-symbol {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr) 4.25rem;
    align-items: center;
    gap: 0.85rem;
}

.assistive-hero-symbol {
    width: 5.45rem;
    height: 5.45rem;
    min-width: 5.45rem;
    min-height: 5.45rem;

    display: grid;
    place-items: center;

    border: 0.18rem solid #dce8f5;
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.assistive-hero-symbol img,
.assistive-hero-symbol svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.assistive-hero-text {
    min-width: 0;
}

.assistive-hero-text .assistive-kicker {
    margin: 0 0 0.1rem;
}

.assistive-hero-text h1 {
    margin: 0;
    line-height: 0.95;
    white-space: normal;
    overflow-wrap: anywhere;
}

.assistive-hero-text p:last-child {
    margin: 0.2rem 0 0;
}

.assistive-hero-speak {
    width: 4.25rem;
    min-width: 4.25rem;
    height: 4.25rem;
    min-height: 4.25rem;

    display: grid !important;
    place-items: center !important;
    align-self: center;
}

.assistive-hero-speak .assistive-speak-symbol {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
}

.assistive-hero-speak .assistive-speak-symbol img {
    width: 2.75rem !important;
    height: 2.75rem !important;
    max-width: 2.75rem !important;
    max-height: 2.75rem !important;
    object-fit: contain !important;
}

@media (max-width: 380px) {
    .assistive-nav-hero-with-symbol {
        grid-template-columns: 4.85rem minmax(0, 1fr) 3.75rem;
        gap: 0.65rem;
    }

    .assistive-hero-symbol {
        width: 4.65rem;
        height: 4.65rem;
        min-width: 4.65rem;
        min-height: 4.65rem;
        border-radius: 0.85rem;
    }

    .assistive-hero-speak {
        width: 3.75rem;
        min-width: 3.75rem;
        height: 3.75rem;
        min-height: 3.75rem;
    }

    .assistive-hero-speak .assistive-speak-symbol img {
        width: 2.35rem !important;
        height: 2.35rem !important;
        max-width: 2.35rem !important;
        max-height: 2.35rem !important;
    }
}

/* =========================================================
   WH Context Hero: Bereich / Gruppe
   Smartphone-first, METACOM, klare Werkstatt-UX
   ========================================================= */

.assistive-nav-hero.wh-simple-hero.assistive-nav-hero-with-symbol {
  display: grid !important;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem 0.9rem;

  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.9rem;

  border: 2px solid var(--public-border);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: var(--public-shadow);
}

.assistive-nav-hero-with-symbol .assistive-hero-symbol {
  grid-area: symbol;

  display: grid;
  place-items: center;

  width: 5.25rem;
  min-width: 5.25rem;
  height: 5.25rem;
  min-height: 5.25rem;

  overflow: hidden;
  border: 2px solid #cbd5e1;
  border-radius: 1rem;
  background: var(--public-card-muted);
}

.assistive-nav-hero-with-symbol .assistive-hero-symbol img,
.assistive-nav-hero-with-symbol .assistive-hero-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assistive-nav-hero-with-symbol .assistive-hero-text {
  grid-area: text;
  min-width: 0;
}

.assistive-nav-hero-with-symbol .assistive-kicker {
  margin: 0 0 0.15rem;
  color: var(--public-text-soft);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assistive-nav-hero-with-symbol .assistive-hero-text h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}

.assistive-nav-hero-with-symbol .assistive-hero-text p:last-child {
  margin: 0.25rem 0 0;
  color: var(--public-text-soft);
  font-size: clamp(1.05rem, 4.8vw, 1.35rem);
  font-weight: 900;
  line-height: 1.08;
}

/* Vorlesen im Hero bewusst als eigene Zeile:
   größere Trefferfläche, keine Konkurrenz mit Text */
.assistive-nav-hero-with-symbol .assistive-hero-speak {
  grid-area: speak;

  justify-self: center;
  align-self: center;

  display: grid !important;
  place-items: center !important;

  width: 4.15rem !important;
  min-width: 4.15rem !important;
  max-width: 4.15rem !important;
  height: 4.15rem !important;
  min-height: 4.15rem !important;
  max-height: 4.15rem !important;

  padding: 0 !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-speak .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 100% !important;
  height: 100% !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-speak img,
.assistive-nav-hero-with-symbol .assistive-hero-speak svg {
  display: block !important;

  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  max-height: 2.75rem !important;

  object-fit: contain !important;
  object-position: center center !important;
}

/* iPhone SE / sehr schmale Geräte */
@media (max-width: 380px) {
  .assistive-nav-hero.wh-simple-hero.assistive-nav-hero-with-symbol {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.65rem 0.75rem;
    padding: 0.8rem;
    border-radius: 1.1rem;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-symbol {
    width: 4.75rem;
    min-width: 4.75rem;
    height: 4.75rem;
    min-height: 4.75rem;
    border-radius: 0.9rem;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-text h1 {
    font-size: clamp(1.85rem, 9.5vw, 2.45rem);
  }

  .assistive-nav-hero-with-symbol .assistive-hero-text p:last-child {
    font-size: 1.02rem;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-speak {
    width: 3.85rem !important;
    min-width: 3.85rem !important;
    max-width: 3.85rem !important;
    height: 3.85rem !important;
    min-height: 3.85rem !important;
    max-height: 3.85rem !important;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-speak img,
  .assistive-nav-hero-with-symbol .assistive-hero-speak svg {
    width: 2.45rem !important;
    min-width: 2.45rem !important;
    max-width: 2.45rem !important;
    height: 2.45rem !important;
    min-height: 2.45rem !important;
    max-height: 2.45rem !important;
  }
}



/* =========================================================
   WH Compact One-Line Cards
   Gruppen / Werkzeug-Arten / Werkzeuge
   Ziel: weniger Höhe, Name einzeilig, Speak-Button bleibt groß
   ========================================================= */

.assistive-nav-grid.wh-simple-nav-grid {
  gap: 0.65rem !important;
}

.assistive-nav-card-shell.wh-simple-nav-card-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.45rem !important;
  align-items: center !important;
  gap: 0.55rem !important;

  min-height: 5rem !important;
  padding: 0.5rem !important;

  border-radius: 1rem !important;
  overflow: hidden !important;
}

.assistive-nav-card.wh-simple-nav-card {
  display: grid !important;
  grid-template-columns: 4.35rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.7rem !important;

  min-width: 0 !important;
  min-height: 4.4rem !important;
  padding: 0.35rem 0.4rem !important;

  overflow: hidden !important;
}

.assistive-nav-image.wh-simple-nav-image,
.assistive-nav-icon.wh-simple-nav-icon {
  width: 4.15rem !important;
  min-width: 4.15rem !important;
  max-width: 4.15rem !important;
  height: 4.15rem !important;
  min-height: 4.15rem !important;
  max-height: 4.15rem !important;

  border-radius: 0.82rem !important;
}

.assistive-nav-image.wh-simple-nav-image img,
.assistive-nav-icon.wh-simple-nav-icon img,
.assistive-nav-icon.wh-simple-nav-icon svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.assistive-nav-content.wh-simple-nav-content {
  min-width: 0 !important;
  overflow: hidden !important;

  display: grid !important;
  gap: 0.08rem !important;
  justify-content: stretch !important;
}

.assistive-nav-content.wh-simple-nav-content strong {
  display: block !important;

  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text) !important;
  font-size: clamp(1.22rem, 5.1vw, 1.55rem) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
}

.assistive-nav-content.wh-simple-nav-content small,
.assistive-nav-content.wh-simple-nav-content em {
  display: block !important;

  max-width: 100% !important;
  margin-top: 0.05rem !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: #64748b !important;
  font-size: clamp(0.9rem, 3.8vw, 1.05rem) !important;
  font-style: normal !important;
  font-weight: 850 !important;
  line-height: 1.02 !important;
}

.assistive-card-speak-button {
  justify-self: end !important;
  align-self: center !important;

  width: 3.35rem !important;
  min-width: 3.35rem !important;
  max-width: 3.35rem !important;
  height: 3.35rem !important;
  min-height: 3.35rem !important;
  max-height: 3.35rem !important;

  padding: 0 !important;
  border-radius: 0.82rem !important;
}

.assistive-card-speak-button .assistive-speak-symbol {
  width: 100% !important;
  height: 100% !important;

  display: grid !important;
  place-items: center !important;
}

.assistive-card-speak-button .assistive-speak-symbol img,
.assistive-card-speak-button .assistive-speak-symbol svg {
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  max-height: 2.25rem !important;

  object-fit: contain !important;
}

/* iPhone SE / sehr schmale Geräte */
@media (max-width: 380px) {
  .assistive-nav-card-shell.wh-simple-nav-card-shell {
    grid-template-columns: minmax(0, 1fr) 3.15rem !important;
    gap: 0.45rem !important;
    min-height: 4.75rem !important;
    padding: 0.45rem !important;
  }

  .assistive-nav-card.wh-simple-nav-card {
    grid-template-columns: 3.9rem minmax(0, 1fr) !important;
    gap: 0.58rem !important;
    min-height: 4.1rem !important;
    padding: 0.3rem 0.35rem !important;
  }

  .assistive-nav-image.wh-simple-nav-image,
  .assistive-nav-icon.wh-simple-nav-icon {
    width: 3.8rem !important;
    min-width: 3.8rem !important;
    max-width: 3.8rem !important;
    height: 3.8rem !important;
    min-height: 3.8rem !important;
    max-height: 3.8rem !important;
  }

  .assistive-nav-content.wh-simple-nav-content strong {
    font-size: clamp(1.08rem, 4.9vw, 1.32rem) !important;
    letter-spacing: -0.05em !important;
  }

  .assistive-nav-content.wh-simple-nav-content small,
  .assistive-nav-content.wh-simple-nav-content em {
    font-size: 0.88rem !important;
  }

  .assistive-card-speak-button {
    width: 3.05rem !important;
    min-width: 3.05rem !important;
    max-width: 3.05rem !important;
    height: 3.05rem !important;
    min-height: 3.05rem !important;
    max-height: 3.05rem !important;
  }

  .assistive-card-speak-button .assistive-speak-symbol img,
  .assistive-card-speak-button .assistive-speak-symbol svg {
    width: 2.05rem !important;
    min-width: 2.05rem !important;
    max-width: 2.05rem !important;
    height: 2.05rem !important;
    min-height: 2.05rem !important;
    max-height: 2.05rem !important;
  }
}

/* =========================================================
   WH Hero Compact One-Line
   Bereich / Gruppe: Symbol | Text | Vorlesen
   ========================================================= */

.assistive-nav-hero.wh-simple-hero.assistive-nav-hero-with-symbol {
  display: grid !important;

  grid-template-areas: "symbol text speak" !important;
  grid-template-columns: 4.55rem minmax(0, 1fr) 3.25rem !important;
  grid-template-rows: auto !important;

  align-items: center !important;
  gap: 0.65rem !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 0 0.75rem !important;
  padding: 0.75rem !important;

  border: 2px solid var(--public-border) !important;
  border-radius: 1.05rem !important;
  background: #ffffff !important;
  box-shadow: var(--public-shadow) !important;

  overflow: hidden !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-symbol {
  grid-area: symbol !important;

  width: 4.45rem !important;
  min-width: 4.45rem !important;
  max-width: 4.45rem !important;
  height: 4.45rem !important;
  min-height: 4.45rem !important;
  max-height: 4.45rem !important;

  display: grid !important;
  place-items: center !important;

  overflow: hidden !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.9rem !important;
  background: var(--public-card-muted) !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-symbol img,
.assistive-nav-hero-with-symbol .assistive-hero-symbol svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-text {
  grid-area: text !important;

  min-width: 0 !important;
  overflow: hidden !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-text .assistive-kicker {
  margin: 0 0 0.12rem !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text-soft) !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-text h1 {
  margin: 0 !important;

  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text) !important;
  font-size: clamp(1.65rem, 7.5vw, 2.35rem) !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.06em !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-text p:last-child {
  margin: 0.18rem 0 0 !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text-soft) !important;
  font-size: clamp(0.95rem, 4.1vw, 1.12rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-speak {
  grid-area: speak !important;

  justify-self: end !important;
  align-self: center !important;

  display: grid !important;
  place-items: center !important;

  width: 3.15rem !important;
  min-width: 3.15rem !important;
  max-width: 3.15rem !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  max-height: 3.15rem !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 2px solid #cbd5e1 !important;
  border-radius: 0.78rem !important;
  background: #ffffff !important;
  box-shadow: none !important;

  overflow: hidden !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-speak .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.assistive-nav-hero-with-symbol .assistive-hero-speak img,
.assistive-nav-hero-with-symbol .assistive-hero-speak svg {
  display: block !important;

  width: 2.15rem !important;
  min-width: 2.15rem !important;
  max-width: 2.15rem !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  max-height: 2.15rem !important;

  object-fit: contain !important;
  object-position: center center !important;
}

/* iPhone SE */
@media (max-width: 380px) {
  .assistive-nav-hero.wh-simple-hero.assistive-nav-hero-with-symbol {
    grid-template-areas: "symbol text speak" !important;
    grid-template-columns: 4.15rem minmax(0, 1fr) 2.95rem !important;
    gap: 0.55rem !important;
    padding: 0.65rem !important;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-symbol {
    width: 4.05rem !important;
    min-width: 4.05rem !important;
    max-width: 4.05rem !important;
    height: 4.05rem !important;
    min-height: 4.05rem !important;
    max-height: 4.05rem !important;
    border-radius: 0.82rem !important;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-text h1 {
    font-size: clamp(1.42rem, 7vw, 1.95rem) !important;
    letter-spacing: -0.055em !important;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-text p:last-child {
    font-size: 0.9rem !important;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-speak {
    width: 2.85rem !important;
    min-width: 2.85rem !important;
    max-width: 2.85rem !important;
    height: 2.85rem !important;
    min-height: 2.85rem !important;
    max-height: 2.85rem !important;
  }

  .assistive-nav-hero-with-symbol .assistive-hero-speak img,
  .assistive-nav-hero-with-symbol .assistive-hero-speak svg {
    width: 1.95rem !important;
    min-width: 1.95rem !important;
    max-width: 1.95rem !important;
    height: 1.95rem !important;
    min-height: 1.95rem !important;
    max-height: 1.95rem !important;
  }
}

/* =========================================================
   Bereich-/Gruppen-Header wie Family Detail
   Bild | Titel | Vorlesen
   ========================================================= */

.wh-context-tool-header {
  display: grid !important;
  grid-template-columns: 4.8rem minmax(0, 1fr) 3.15rem !important;
  align-items: center !important;
  gap: 0.7rem !important;

  width: 100% !important;
  margin: 0 0 0.75rem !important;
  padding: 0.75rem !important;

  overflow: hidden !important;
  border: 2px solid var(--public-border) !important;
  border-radius: 1.1rem !important;
  background: #ffffff !important;
  box-shadow: var(--public-shadow) !important;
}

.wh-context-tool-header .wh-employee-tool-image {
  width: 4.65rem !important;
  min-width: 4.65rem !important;
  max-width: 4.65rem !important;
  height: 4.65rem !important;
  min-height: 4.65rem !important;
  max-height: 4.65rem !important;

  display: grid !important;
  place-items: center !important;

  overflow: hidden !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.9rem !important;
  background: var(--public-card-muted) !important;
}

.wh-context-tool-header .wh-employee-tool-image img,
.wh-context-tool-header .wh-employee-tool-image svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.wh-context-tool-header .wh-employee-tool-title {
  min-width: 0 !important;
  overflow: hidden !important;
}

.wh-context-tool-header .wh-employee-tool-title p {
  display: block !important;
  margin: 0 0 0.12rem !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text-soft) !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.wh-context-tool-header .wh-employee-tool-title h1 {
  display: block !important;
  margin: 0 !important;

  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text) !important;
  font-size: clamp(1.7rem, 7.6vw, 2.45rem) !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.06em !important;
}

.wh-context-tool-header .wh-employee-tool-title span {
  display: block !important;
  margin-top: 0.18rem !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text-soft) !important;
  font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
}

.wh-context-tool-header .wh-employee-tool-header-action {
  display: grid !important;
  place-items: center !important;
  justify-self: end !important;
  align-self: center !important;
}

.wh-context-tool-header .wh-employee-speak-button {
  width: 3.15rem !important;
  min-width: 3.15rem !important;
  max-width: 3.15rem !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  max-height: 3.15rem !important;

  display: grid !important;
  place-items: center !important;

  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0.78rem !important;
}

.wh-context-tool-header .wh-employee-speak-button .assistive-speak-symbol {
  width: 100% !important;
  height: 100% !important;

  display: grid !important;
  place-items: center !important;
}

.wh-context-tool-header .wh-employee-speak-button img,
.wh-context-tool-header .wh-employee-speak-button svg {
  width: 2.15rem !important;
  min-width: 2.15rem !important;
  max-width: 2.15rem !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  max-height: 2.15rem !important;

  object-fit: contain !important;
}

/* iPhone SE */
@media (max-width: 380px) {
  .wh-context-tool-header {
    grid-template-columns: 4.2rem minmax(0, 1fr) 2.9rem !important;
    gap: 0.55rem !important;
    padding: 0.65rem !important;
  }

  .wh-context-tool-header .wh-employee-tool-image {
    width: 4.05rem !important;
    min-width: 4.05rem !important;
    max-width: 4.05rem !important;
    height: 4.05rem !important;
    min-height: 4.05rem !important;
    max-height: 4.05rem !important;
  }

  .wh-context-tool-header .wh-employee-tool-title p {
    font-size: 0.7rem !important;
  }

  .wh-context-tool-header .wh-employee-tool-title h1 {
    font-size: clamp(1.42rem, 7vw, 2rem) !important;
  }

  .wh-context-tool-header .wh-employee-tool-title span {
    font-size: 0.88rem !important;
  }

  .wh-context-tool-header .wh-employee-speak-button {
    width: 2.85rem !important;
    min-width: 2.85rem !important;
    max-width: 2.85rem !important;
    height: 2.85rem !important;
    min-height: 2.85rem !important;
    max-height: 2.85rem !important;
  }

  .wh-context-tool-header .wh-employee-speak-button img,
  .wh-context-tool-header .wh-employee-speak-button svg {
    width: 1.95rem !important;
    min-width: 1.95rem !important;
    max-width: 1.95rem !important;
    height: 1.95rem !important;
    min-height: 1.95rem !important;
    max-height: 1.95rem !important;
  }
}

/* =========================================================
   Bereich-/Gruppen-Header wie Family Detail
   Bild | Titel | Vorlesen
   ========================================================= */

.wh-context-tool-header {
  display: grid !important;
  grid-template-columns: 4.8rem minmax(0, 1fr) 3.15rem !important;
  align-items: center !important;
  gap: 0.7rem !important;

  width: 100% !important;
  margin: 0 0 0.75rem !important;
  padding: 0.75rem !important;

  overflow: hidden !important;
  border: 2px solid var(--public-border) !important;
  border-radius: 1.1rem !important;
  background: #ffffff !important;
  box-shadow: var(--public-shadow) !important;
}

.wh-context-tool-header .wh-employee-tool-image {
  width: 4.65rem !important;
  min-width: 4.65rem !important;
  max-width: 4.65rem !important;
  height: 4.65rem !important;
  min-height: 4.65rem !important;
  max-height: 4.65rem !important;

  display: grid !important;
  place-items: center !important;

  overflow: hidden !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.9rem !important;
  background: var(--public-card-muted) !important;
}

.wh-context-tool-header .wh-employee-tool-image img,
.wh-context-tool-header .wh-employee-tool-image svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.wh-context-tool-header .wh-employee-tool-title {
  min-width: 0 !important;
  overflow: hidden !important;
}

.wh-context-tool-header .wh-employee-tool-title p {
  display: block !important;
  margin: 0 0 0.12rem !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text-soft) !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.wh-context-tool-header .wh-employee-tool-title h1 {
  display: block !important;
  margin: 0 !important;

  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text) !important;
  font-size: clamp(1.7rem, 7.6vw, 2.45rem) !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.06em !important;
}

.wh-context-tool-header .wh-employee-tool-title span {
  display: block !important;
  margin-top: 0.18rem !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  color: var(--public-text-soft) !important;
  font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
}

.wh-context-tool-header .wh-employee-tool-header-action {
  display: grid !important;
  place-items: center !important;
  justify-self: end !important;
  align-self: center !important;
}

.wh-context-tool-header .wh-employee-speak-button {
  width: 3.15rem !important;
  min-width: 3.15rem !important;
  max-width: 3.15rem !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  max-height: 3.15rem !important;

  display: grid !important;
  place-items: center !important;

  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0.78rem !important;
}

.wh-context-tool-header .wh-employee-speak-button .assistive-speak-symbol {
  width: 100% !important;
  height: 100% !important;

  display: grid !important;
  place-items: center !important;
}

.wh-context-tool-header .wh-employee-speak-button img,
.wh-context-tool-header .wh-employee-speak-button svg {
  width: 2.15rem !important;
  min-width: 2.15rem !important;
  max-width: 2.15rem !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  max-height: 2.15rem !important;

  object-fit: contain !important;
}

/* iPhone SE */
@media (max-width: 380px) {
  .wh-context-tool-header {
    grid-template-columns: 4.2rem minmax(0, 1fr) 2.9rem !important;
    gap: 0.55rem !important;
    padding: 0.65rem !important;
  }

  .wh-context-tool-header .wh-employee-tool-image {
    width: 4.05rem !important;
    min-width: 4.05rem !important;
    max-width: 4.05rem !important;
    height: 4.05rem !important;
    min-height: 4.05rem !important;
    max-height: 4.05rem !important;
  }

  .wh-context-tool-header .wh-employee-tool-title p {
    font-size: 0.7rem !important;
  }

  .wh-context-tool-header .wh-employee-tool-title h1 {
    font-size: clamp(1.42rem, 7vw, 2rem) !important;
  }

  .wh-context-tool-header .wh-employee-tool-title span {
    font-size: 0.88rem !important;
  }

  .wh-context-tool-header .wh-employee-speak-button {
    width: 2.85rem !important;
    min-width: 2.85rem !important;
    max-width: 2.85rem !important;
    height: 2.85rem !important;
    min-height: 2.85rem !important;
    max-height: 2.85rem !important;
  }

  .wh-context-tool-header .wh-employee-speak-button img,
  .wh-context-tool-header .wh-employee-speak-button svg {
    width: 1.95rem !important;
    min-width: 1.95rem !important;
    max-width: 1.95rem !important;
    height: 1.95rem !important;
    min-height: 1.95rem !important;
    max-height: 1.95rem !important;
  }
}

/* =========================================================
   METACOM-Symbole ohne zusätzlichen Design-Rahmen
   - METACOM bringt eigenen schwarzen Rand mit
   - kein grauer Rahmen / kein grauer Hintergrund
   - kein Abschneiden durch border-radius + overflow hidden
   ========================================================= */

/* Listen-Karten: Gruppen, Werkzeug-Arten, Werkzeuge */
.assistive-nav-image.wh-simple-nav-image,
.assistive-nav-icon.wh-simple-nav-icon,
.assistive-nav-image,
.assistive-nav-icon,
.wh-simple-nav-image,
.wh-simple-nav-icon {
  display: grid !important;
  place-items: center !important;

  overflow: visible !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;
}

/* Bild im Wrapper: minimal kleiner, damit der natürliche METACOM-Rand sichtbar bleibt */
.assistive-nav-image.wh-simple-nav-image img,
.assistive-nav-icon.wh-simple-nav-icon img,
.assistive-nav-icon.wh-simple-nav-icon svg,
.assistive-nav-image img,
.assistive-nav-icon img,
.wh-simple-nav-image img,
.wh-simple-nav-icon img,
.wh-simple-nav-icon svg {
  display: block !important;

  width: 96% !important;
  max-width: 96% !important;
  height: 96% !important;
  max-height: 96% !important;

  object-fit: contain !important;
  object-position: center center !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Context-Header wie Family Detail */
.wh-context-tool-header .wh-employee-tool-image,
.wh-employee-tool-image {
  overflow: visible !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;
}

.wh-context-tool-header .wh-employee-tool-image img,
.wh-context-tool-header .wh-employee-tool-image svg,
.wh-employee-tool-image img,
.wh-employee-tool-image svg {
  display: block !important;

  width: 96% !important;
  max-width: 96% !important;
  height: 96% !important;
  max-height: 96% !important;

  object-fit: contain !important;
  object-position: center center !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Zurück-/Andere-Karten: Symbol links ebenfalls rahmenlos */
.wh-visual-back-symbol {
  overflow: visible !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;
}

.wh-visual-back-symbol img,
.wh-visual-back-symbol svg {
  display: block !important;

  width: 96% !important;
  max-width: 96% !important;
  height: 96% !important;
  max-height: 96% !important;

  object-fit: contain !important;
  object-position: center center !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Detail-/Hilfe-Symbole, aber NICHT die Lautsprecher-Buttons */
.wh-employee-help-symbol,
.wh-employee-info-icon,
.wh-location-modal-step-image {
  overflow: visible !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 0 !important;
}

.wh-employee-help-symbol img,
.wh-employee-help-symbol svg,
.wh-employee-info-icon img,
.wh-employee-info-icon svg,
.wh-location-modal-step-image img,
.wh-location-modal-step-image svg {
  display: block !important;

  width: 96% !important;
  max-width: 96% !important;
  height: 96% !important;
  max-height: 96% !important;

  object-fit: contain !important;
  object-position: center center !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Fallback-Emoji dürfen weiter eine neutrale Fläche haben */
.assistive-symbol-fallback {
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.8rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

/* =========================================================
   Topper / Quick Nav für Beschäftigtenansicht
   - 3 gleich große Elemente
   - Symbol + sichtbarer Text
   - große Touchflächen für Smartphone-Nutzung
   ========================================================= */

.public-header.public-quick-header,
.public-header.public-header-compact.public-quick-header {
  padding: 0.45rem 0.55rem !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.42) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
}

.public-quick-nav,
.public-quick-nav.public-quick-nav-icon-mode {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;

  width: min(100%, 34rem) !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.public-quick-nav-item,
.public-quick-nav-home,
.public-quick-nav-search,
.public-quick-nav-back {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 2.95rem auto !important;
  place-items: center !important;
  align-items: center !important;
  justify-items: center !important;

  width: 100% !important;
  min-width: 0 !important;

  height: 4.95rem !important;
  min-height: 4.95rem !important;
  max-height: 4.95rem !important;

  padding: 0.45rem 0.32rem 0.38rem !important;

  border: 2px solid #cbd5e1 !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;
  box-shadow: var(--public-shadow) !important;

  text-align: center !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.public-quick-nav-search {
  border-color: var(--public-blue) !important;
  background: var(--public-blue-soft) !important;
}

.public-quick-nav-symbol,
.public-quick-nav-back .public-quick-nav-symbol {
  display: grid !important;
  place-items: center !important;

  width: 2.85rem !important;
  min-width: 2.85rem !important;
  max-width: 2.85rem !important;
  height: 2.85rem !important;
  min-height: 2.85rem !important;
  max-height: 2.85rem !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.public-quick-nav-symbol img,
.public-quick-nav-symbol svg,
.public-quick-nav-back .public-quick-nav-symbol img,
.public-quick-nav-back .public-quick-nav-symbol svg {
  display: block !important;

  width: 96% !important;
  max-width: 96% !important;
  height: 96% !important;
  max-height: 96% !important;

  object-fit: contain !important;
  object-position: center center !important;
}

/* Texte bei allen drei Buttons sichtbar machen */
.public-quick-nav-home .public-quick-nav-text,
.public-quick-nav-search .public-quick-nav-text,
.public-quick-nav-back .public-quick-nav-text {
  position: static !important;

  display: block !important;
  width: auto !important;
  height: auto !important;

  overflow: hidden !important;
  clip: auto !important;
  clip-path: none !important;

  max-width: 100% !important;

  color: var(--public-text) !important;
  font-size: 0.88rem !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;

  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.public-quick-nav-item:hover,
.public-quick-nav-item:focus-visible {
  border-color: var(--public-blue) !important;
  box-shadow: var(--public-focus) !important;
}

.public-quick-nav-item:active {
  transform: scale(0.985) !important;
}

/* iPhone SE / sehr kleine Geräte */
@media (max-width: 380px) {
  .public-header.public-quick-header,
  .public-header.public-header-compact.public-quick-header {
    padding: 0.4rem 0.45rem !important;
  }

  .public-quick-nav,
  .public-quick-nav.public-quick-nav-icon-mode {
    gap: 0.42rem !important;
  }

  .public-quick-nav-item,
  .public-quick-nav-home,
  .public-quick-nav-search,
  .public-quick-nav-back {
    grid-template-rows: 2.7rem auto !important;

    height: 4.65rem !important;
    min-height: 4.65rem !important;
    max-height: 4.65rem !important;

    padding: 0.38rem 0.24rem 0.32rem !important;
    border-radius: 0.9rem !important;
  }

  .public-quick-nav-symbol,
  .public-quick-nav-back .public-quick-nav-symbol {
    width: 2.65rem !important;
    min-width: 2.65rem !important;
    max-width: 2.65rem !important;
    height: 2.65rem !important;
    min-height: 2.65rem !important;
    max-height: 2.65rem !important;
  }

  .public-quick-nav-home .public-quick-nav-text,
  .public-quick-nav-search .public-quick-nav-text,
  .public-quick-nav-back .public-quick-nav-text {
    font-size: 0.8rem !important;
  }
}

/* =========================================================
   Topper / Quick Nav: 3 gleiche Bild-Kacheln
   - Text visuell ausblenden
   - METACOM-Bilder größer
   - große Touchflächen für Beschäftigte
   ========================================================= */

.public-header.public-quick-header,
.public-header.public-header-compact.public-quick-header {
  padding: 0.42rem 0.5rem !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.42) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
}

.public-quick-nav,
.public-quick-nav.public-quick-nav-icon-mode {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;

  width: min(100%, 34rem) !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.public-quick-nav-item,
.public-quick-nav-home,
.public-quick-nav-search,
.public-quick-nav-back {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  place-items: center !important;

  width: 100% !important;
  min-width: 0 !important;

  height: 5.35rem !important;
  min-height: 5.35rem !important;
  max-height: 5.35rem !important;

  padding: 0.45rem !important;

  border: 2px solid #cbd5e1 !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;
  box-shadow: var(--public-shadow) !important;

  text-align: center !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.public-quick-nav-search {
  border-color: var(--public-blue) !important;
  background: var(--public-blue-soft) !important;
}

/* Symbol bekommt den ganzen Platz */
.public-quick-nav-symbol,
.public-quick-nav-back .public-quick-nav-symbol {
  display: grid !important;
  place-items: center !important;

  width: 4.45rem !important;
  min-width: 4.45rem !important;
  max-width: 4.45rem !important;
  height: 4.45rem !important;
  min-height: 4.45rem !important;
  max-height: 4.45rem !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.public-quick-nav-symbol img,
.public-quick-nav-symbol svg,
.public-quick-nav-back .public-quick-nav-symbol img,
.public-quick-nav-back .public-quick-nav-symbol svg {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Text ist im METACOM-Bild enthalten, daher visuell ausblenden */
.public-quick-nav-text,
.public-quick-nav-home .public-quick-nav-text,
.public-quick-nav-search .public-quick-nav-text,
.public-quick-nav-back .public-quick-nav-text {
  display: none !important;
}

/* Fokus / Aktiv-Zustand */
.public-quick-nav-item:hover,
.public-quick-nav-item:focus-visible {
  border-color: var(--public-blue) !important;
  box-shadow: var(--public-focus) !important;
}

.public-quick-nav-item:active {
  transform: scale(0.985) !important;
}

/* iPhone SE / sehr kleine Geräte */
@media (max-width: 380px) {
  .public-header.public-quick-header,
  .public-header.public-header-compact.public-quick-header {
    padding: 0.38rem 0.42rem !important;
  }

  .public-quick-nav,
  .public-quick-nav.public-quick-nav-icon-mode {
    gap: 0.42rem !important;
  }

  .public-quick-nav-item,
  .public-quick-nav-home,
  .public-quick-nav-search,
  .public-quick-nav-back {
    height: 5.05rem !important;
    min-height: 5.05rem !important;
    max-height: 5.05rem !important;

    padding: 0.38rem !important;
    border-radius: 0.92rem !important;
  }

  .public-quick-nav-symbol,
  .public-quick-nav-back .public-quick-nav-symbol {
    width: 4.2rem !important;
    min-width: 4.2rem !important;
    max-width: 4.2rem !important;
    height: 4.2rem !important;
    min-height: 4.2rem !important;
    max-height: 4.2rem !important;
  }
}

/* =========================================================
   WH Layout Hilfen für Beschäftigte
   - Light Mode erzwingen
   - sichtbarer Scroll-Fortschritt
   - intuitiver Nach-oben-Button
   ========================================================= */


/* ---------------------------------------------------------
   1. Dark Mode verhindern
   --------------------------------------------------------- */

:root {
  color-scheme: light !important;
}

html,
body.public-shell {
  background: var(--public-bg) !important;
  color: var(--public-text) !important;
}

body.public-shell,
body.public-shell * {
  color-scheme: light !important;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light !important;

    --public-bg: #eef4fb;
    --public-card: #ffffff;
    --public-card-muted: #f8fbff;
    --public-text: #10245a;
    --public-text-soft: #243b6b;
    --public-muted: #64748b;
    --public-border: #d9e4f2;
    --public-border-strong: #b9cce4;
    --public-blue: #2563eb;
    --public-blue-soft: #eff6ff;
    --public-green: #16a34a;
    --public-green-soft: #ecfdf3;
    --public-orange: #f97316;
    --public-orange-soft: #fff7ed;
    --public-red: #dc2626;
    --public-red-soft: #fef2f2;
  }

  html,
  body.public-shell {
    background: var(--public-bg) !important;
    color: var(--public-text) !important;
  }

  .public-header,
  .public-footer nav,
  .assistive-section,
  .assistive-nav-card-shell,
  .wh-simple-nav-card-shell,
  .wh-employee-tool-header,
  .wh-employee-section-card,
  .wh-visual-back-card,
  .public-tool-search-panel,
  .cookie-banner {
    background-color: #ffffff !important;
    color: var(--public-text) !important;
  }

  input,
  textarea,
  select,
  button {
    color-scheme: light !important;
  }
}


/* ---------------------------------------------------------
   2. Native Scrollbar besser sichtbar
   Desktop / Android / Firefox
   --------------------------------------------------------- */

html {
  scrollbar-width: auto;
  scrollbar-color: #2563eb #dbeafe;
}

html::-webkit-scrollbar,
body.public-shell::-webkit-scrollbar {
  width: 14px;
}

html::-webkit-scrollbar-track,
body.public-shell::-webkit-scrollbar-track {
  background: #dbeafe;
}

html::-webkit-scrollbar-thumb,
body.public-shell::-webkit-scrollbar-thumb {
  border: 3px solid #dbeafe;
  border-radius: 999px;
  background: #2563eb;
}

html::-webkit-scrollbar-thumb:hover,
body.public-shell::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}


/* ---------------------------------------------------------
   3. Eigener Scroll-Fortschritt rechts
   Bewusst ruhig und im Design gehalten
   --------------------------------------------------------- */

.public-scroll-progress {
  position: fixed;
  top: 6.25rem;
  right: 0.22rem;
  bottom: 6.6rem;
  z-index: 880;

  width: 0.48rem;
  overflow: hidden;

  border: 1px solid rgba(185, 204, 228, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);

  pointer-events: none;
}

.public-scroll-progress[hidden] {
  display: none !important;
}

.public-scroll-progress span {
  display: block;
  width: 100%;
  height: 0%;

  border-radius: inherit;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  transition: height 120ms ease;
}


/* ---------------------------------------------------------
   4. Nach-oben-Button
   Als klare Beschäftigten-Aktion
   --------------------------------------------------------- */

.public-scroll-top-button {
  position: fixed;
  right: calc(0.7rem + env(safe-area-inset-right));
  bottom: calc(0.8rem + env(safe-area-inset-bottom));
  z-index: 930;

  display: grid;
  grid-template-columns: 2.45rem minmax(0, auto);
  align-items: center;
  gap: 0.45rem;

  min-width: 7.4rem;
  min-height: 3.7rem;

  border: 3px solid var(--public-blue);
  border-radius: 1.05rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.48rem 0.72rem 0.48rem 0.52rem;

  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  cursor: pointer;
}

.public-scroll-top-button[hidden] {
  display: none !important;
}

.public-scroll-top-icon {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;

  border-radius: 0.82rem;
  background: var(--public-blue);
  color: #ffffff;

  font-size: 1.85rem;
  font-weight: 950;
  line-height: 1;
}

.public-scroll-top-text {
  display: block;
  color: var(--public-text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.public-scroll-top-button:focus-visible {
  outline: none;
  box-shadow: var(--public-focus), 0 12px 30px rgba(15, 23, 42, 0.2);
}

.public-scroll-top-button:active {
  transform: scale(0.97);
}


/* ---------------------------------------------------------
   5. Nicht stören, wenn Modal / Suche / Cookie aktiv ist
   --------------------------------------------------------- */

body.wh-modal-open .public-scroll-progress,
body.wh-modal-open .public-scroll-top-button {
  display: none !important;
}

body:has(.public-tool-search-modal:not([hidden])) .public-scroll-progress,
body:has(.public-tool-search-modal:not([hidden])) .public-scroll-top-button {
  display: none !important;
}

body:has(.cookie-banner:not([hidden])) .public-scroll-top-button {
  bottom: calc(7.25rem + env(safe-area-inset-bottom));
}


/* ---------------------------------------------------------
   6. iPhone SE / kleine Geräte
   --------------------------------------------------------- */

@media (max-width: 390px) {
  .public-scroll-progress {
    top: 6rem;
    right: 0.12rem;
    bottom: 5.7rem;
    width: 0.38rem;
  }

  .public-scroll-top-button {
    right: calc(0.55rem + env(safe-area-inset-right));
    bottom: calc(0.7rem + env(safe-area-inset-bottom));

    grid-template-columns: 2.35rem;
    width: 3.6rem;
    min-width: 3.6rem;
    height: 3.6rem;
    min-height: 3.6rem;

    padding: 0;
    place-items: center;
    border-radius: 1rem;
  }

  .public-scroll-top-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.75rem;
  }

  .public-scroll-top-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body:has(.cookie-banner:not([hidden])) .public-scroll-top-button {
    bottom: calc(7rem + env(safe-area-inset-bottom));
  }
}

/* =========================================================
   Scroll-Hilfen / Layout-Hilfen
   - eigener Fortschrittsbalken bleibt
   - native Scrollbar auf Touch-Geräten ausblenden
   - Nach-oben-Button designkonform
   ========================================================= */


/* ---------------------------------------------------------
   1. Native Scrollbar NICHT extra hervorheben
   Desktop: normal
   Touch-Geräte: ausblenden, damit nur der Fortschrittsbalken sichtbar bleibt
   --------------------------------------------------------- */

html {
  scrollbar-width: auto;
  scrollbar-color: auto;
}

@media (pointer: coarse), (max-width: 820px) {
  html {
    scrollbar-width: none;
  }

  body.public-shell {
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body.public-shell::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
  }
}


/* ---------------------------------------------------------
   2. Eigener Fortschrittsbalken rechts
   Ruhig, gut sichtbar, passend zum Design
   --------------------------------------------------------- */

.public-scroll-progress {
  position: fixed;
  top: 6.1rem;
  right: 0.18rem;
  bottom: 6rem;
  z-index: 880;

  width: 0.34rem;
  overflow: hidden;

  border-radius: 999px;
  background: rgba(191, 211, 233, 0.55);
  box-shadow: inset 0 0 0 1px rgba(185, 204, 228, 0.55);

  pointer-events: none;
}

.public-scroll-progress[hidden] {
  display: none !important;
}

.public-scroll-progress span {
  display: block;
  width: 100%;
  height: 0%;

  border-radius: inherit;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  transition: height 120ms ease;
}


/* ---------------------------------------------------------
   3. Nach-oben-Button
   Klein, ruhig, freundlich, im Kartenstil
   --------------------------------------------------------- */

.public-scroll-top-button {
  position: fixed;
  right: calc(0.7rem + env(safe-area-inset-right));
  bottom: calc(0.9rem + env(safe-area-inset-bottom));
  z-index: 930;

  display: inline-grid;
  grid-auto-flow: column;
  grid-template-columns: 2.1rem auto;
  align-items: center;
  gap: 0.42rem;

  min-width: 6.6rem;
  min-height: 3.3rem;
  padding: 0.42rem 0.62rem 0.42rem 0.42rem;

  border: 2px solid var(--public-border-strong);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--public-text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light !important;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.public-scroll-top-button[hidden] {
  display: none !important;
}

.public-scroll-top-icon {
  display: grid;
  place-items: center;

  width: 2.1rem;
  height: 2.1rem;

  border-radius: 0.78rem;
  background: var(--public-blue-soft);
  color: var(--public-blue);

  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.public-scroll-top-text {
  display: block;

  color: var(--public-text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.public-scroll-top-button:hover,
.public-scroll-top-button:focus-visible {
  border-color: var(--public-blue);
  background: #ffffff;
  box-shadow: var(--public-focus), 0 8px 22px rgba(15, 23, 42, 0.14);
  outline: none;
}

.public-scroll-top-button:active {
  transform: scale(0.97);
}


/* ---------------------------------------------------------
   4. Nicht stören bei Modal / Suche / Cookie
   --------------------------------------------------------- */

body.wh-modal-open .public-scroll-progress,
body.wh-modal-open .public-scroll-top-button {
  display: none !important;
}

body:has(.public-tool-search-modal:not([hidden])) .public-scroll-progress,
body:has(.public-tool-search-modal:not([hidden])) .public-scroll-top-button {
  display: none !important;
}

body:has(.cookie-banner:not([hidden])) .public-scroll-top-button {
  bottom: calc(7rem + env(safe-area-inset-bottom));
}


/* ---------------------------------------------------------
   5. Kleine Geräte / iPhone
   Button bewusst kompakt, Text ausgeblendet
   --------------------------------------------------------- */

@media (max-width: 480px) {
  .public-scroll-progress {
    top: 5.95rem;
    right: 0.1rem;
    bottom: 5.7rem;
    width: 0.3rem;
  }

  .public-scroll-top-button {
    right: calc(0.55rem + env(safe-area-inset-right));
    bottom: calc(0.7rem + env(safe-area-inset-bottom));

    grid-template-columns: 2.15rem;
    place-items: center;

    width: 3.25rem;
    min-width: 3.25rem;
    height: 3.25rem;
    min-height: 3.25rem;
    padding: 0;

    border-radius: 0.95rem;
  }

  .public-scroll-top-icon {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.5rem;
    border-radius: 0.72rem;
  }

  .public-scroll-top-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body:has(.cookie-banner:not([hidden])) .public-scroll-top-button {
    bottom: calc(6.8rem + env(safe-area-inset-bottom));
  }
}

/* =========================================================
   Scroll-Hilfen final
   - Fortschrittsbalken immer sichtbar, wenn Seite scrollbar ist
   - Nach-oben-Button mittig und ruhiger im Design
   ========================================================= */


/* Native Scrollbar auf Touch-Geräten ausblenden */
html {
  scrollbar-width: auto;
  scrollbar-color: auto;
}

@media (pointer: coarse), (max-width: 820px) {
  html {
    scrollbar-width: none;
  }

  body.public-shell {
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body.public-shell::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
  }
}


/* Fortschrittsbalken rechts */
.public-scroll-progress {
  position: fixed;
  top: 5.95rem;
  right: 0.1rem;
  bottom: 5.7rem;
  z-index: 880;

  display: block;
  width: 0.3rem;
  overflow: hidden;

  border-radius: 999px;
  background: rgba(191, 211, 233, 0.7);
  box-shadow: inset 0 0 0 1px rgba(185, 204, 228, 0.65);

  pointer-events: none;
}

.public-scroll-progress[hidden] {
  display: none !important;
}

.public-scroll-progress span {
  display: block;
  width: 100%;
  height: 0%;
  min-height: 1.15rem;

  border-radius: inherit;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  transition: height 120ms ease;
}


/* Nach-oben-Button */
.public-scroll-top-button {
  position: fixed;
  right: calc(0.55rem + env(safe-area-inset-right));
  bottom: calc(0.7rem + env(safe-area-inset-bottom));
  z-index: 930;

  display: grid !important;
  place-items: center !important;

  width: 3.25rem !important;
  min-width: 3.25rem !important;
  max-width: 3.25rem !important;
  height: 3.25rem !important;
  min-height: 3.25rem !important;
  max-height: 3.25rem !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 2px solid var(--public-border-strong);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--public-text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light !important;
}

.public-scroll-top-button[hidden] {
  display: none !important;
}

.public-scroll-top-icon {
  display: grid !important;
  place-items: center !important;

  width: 2.15rem !important;
  min-width: 2.15rem !important;
  max-width: 2.15rem !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  max-height: 2.15rem !important;

  margin: 0 !important;
  padding: 0 0 0.08rem !important;

  border-radius: 0.72rem;
  background: var(--public-blue-soft);
  color: var(--public-blue);

  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.public-scroll-top-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.public-scroll-top-button:hover,
.public-scroll-top-button:focus-visible {
  border-color: var(--public-blue);
  background: #ffffff;
  box-shadow: var(--public-focus), 0 8px 22px rgba(15, 23, 42, 0.14);
  outline: none;
}

.public-scroll-top-button:active {
  transform: scale(0.97);
}


/* Nicht anzeigen über Modals */
body.wh-modal-open .public-scroll-progress,
body.wh-modal-open .public-scroll-top-button {
  display: none !important;
}

body:has(.public-tool-search-modal:not([hidden])) .public-scroll-progress,
body:has(.public-tool-search-modal:not([hidden])) .public-scroll-top-button {
  display: none !important;
}

body:has(.cookie-banner:not([hidden])) .public-scroll-top-button {
  bottom: calc(6.8rem + env(safe-area-inset-bottom));
}

/* =========================================================
   FINAL Nach-oben-Button
   - Icon exakt mittig
   - alte Grid-Regeln neutralisiert
   - Fortschrittsbalken bleibt sichtbar
   ========================================================= */

.public-scroll-top-button {
  position: fixed !important;
  right: calc(0.55rem + env(safe-area-inset-right)) !important;
  bottom: calc(0.7rem + env(safe-area-inset-bottom)) !important;
  z-index: 930 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  grid-template-columns: none !important;
  grid-auto-flow: unset !important;
  gap: 0 !important;

  width: 3.25rem !important;
  min-width: 3.25rem !important;
  max-width: 3.25rem !important;
  height: 3.25rem !important;
  min-height: 3.25rem !important;
  max-height: 3.25rem !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 0.95rem !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--public-blue) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12) !important;

  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  color-scheme: light !important;
}

.public-scroll-top-button[hidden] {
  display: none !important;
}

.public-scroll-top-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 2.15rem !important;
  min-width: 2.15rem !important;
  max-width: 2.15rem !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  max-height: 2.15rem !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 0.72rem !important;
  background: var(--public-blue-soft) !important;
  color: var(--public-blue) !important;

  font-size: 1.65rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center !important;

  transform: translateY(-0.04rem) !important;
}

.public-scroll-top-text {
  display: none !important;
}

.public-scroll-top-button:hover,
.public-scroll-top-button:focus-visible {
  border-color: var(--public-blue) !important;
  background: #ffffff !important;
  box-shadow: var(--public-focus), 0 8px 22px rgba(15, 23, 42, 0.14) !important;
  outline: none !important;
}

.public-scroll-top-button:active {
  transform: scale(0.97) !important;
}

/* =========================================================
   Footer: Fachkraft-Zugang ohne fehlerhafte Sonderzeichen
   ========================================================= */

.public-staff-access summary::before,
.public-staff-access[open] summary::before {
  content: none !important;
  display: none !important;
}

.public-staff-access summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 0 !important;
  padding: 0.65rem 0.85rem !important;

  color: #64748b !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

/* =========================================================
   Public Suche / Suchmodal final
   - aufgeräumtes Modal
   - keine Überlagerungen
   - klare Ergebnis-Karten
   - iPhone-SE-tauglich
   ========================================================= */


/* Modal-Grundlage */
.public-tool-search-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1600 !important;

  display: grid !important;
  place-items: center !important;

  padding: calc(0.65rem + env(safe-area-inset-top))
           0.55rem
           calc(0.65rem + env(safe-area-inset-bottom)) !important;

  background: rgba(15, 23, 42, 0.46) !important;
}

.public-tool-search-modal[hidden] {
  display: none !important;
}

.public-tool-search-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
}


/* Modal-Karte */
.public-tool-search-panel {
  position: relative !important;
  z-index: 1 !important;

  display: flex !important;
  flex-direction: column !important;

  width: min(100%, 31rem) !important;
  max-height: calc(100dvh - 1.3rem) !important;
  min-height: 0 !important;

  overflow: hidden !important;

  border: 3px solid var(--public-border-strong) !important;
  border-radius: 1.35rem !important;
  background: #ffffff !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28) !important;
}


/* Kopfbereich */
.public-tool-search-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.2rem !important;
  align-items: start !important;
  gap: 0.75rem !important;

  padding: 0.85rem 0.85rem 0.55rem !important;
  flex: 0 0 auto !important;
}

.public-tool-search-header .assistive-kicker {
  margin: 0 0 0.12rem !important;

  color: var(--public-blue) !important;
  font-size: 0.76rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.public-tool-search-header h2 {
  margin: 0 !important;

  color: var(--public-text) !important;
  font-size: clamp(1.7rem, 8vw, 2.3rem) !important;
  font-weight: 950 !important;
  line-height: 0.92 !important;
  letter-spacing: -0.08em !important;
}

.public-tool-search-header p:not(.assistive-kicker) {
  display: none !important;
}

.public-tool-search-close {
  display: grid !important;
  place-items: center !important;

  width: 3.05rem !important;
  height: 3.05rem !important;
  min-width: 3.05rem !important;
  min-height: 3.05rem !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 3px solid var(--public-border-strong) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;

  font-size: 2rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;

  box-shadow: none !important;
}


/* Großer Sprechen-Button */
.public-tool-search-mic {
  display: grid !important;
  gap: 0.65rem !important;

  margin: 0 0.85rem 0.75rem !important;
  padding: 1rem !important;

  flex: 0 0 auto !important;

  border: 0 !important;
  border-radius: 1.25rem !important;
  background: var(--public-blue) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.public-tool-search-mic-main {
  display: grid !important;
  grid-template-columns: 4.2rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.9rem !important;

  color: #ffffff !important;
}

.public-tool-search-mic-main > span:last-child {
  color: #ffffff !important;
  font-size: clamp(2rem, 9vw, 2.9rem) !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.08em !important;
}

.public-tool-search-mic-symbol {
  display: grid !important;
  place-items: center !important;

  width: 4.2rem !important;
  height: 4.2rem !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.public-tool-search-mic-symbol img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* Status im blauen Feld */
.public-tool-search-listening {
  display: grid !important;
  grid-template-columns: 2.25rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.65rem !important;

  min-height: 3.15rem !important;
  padding: 0.45rem 0.75rem !important;

  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--public-text) !important;
}

.public-tool-search-status-icon {
  display: grid !important;
  place-items: center !important;

  width: 2.25rem !important;
  height: 2.25rem !important;

  border-radius: 999px !important;
  background: #22c55e !important;
  color: #ffffff !important;

  font-size: 1.45rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.public-tool-search-listening [data-public-search-status] {
  color: var(--public-text) !important;
  font-size: 1.2rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.public-tool-search-wave {
  display: none !important;
}


/* Verstandenes Wort */
.public-tool-search-heard {
  display: grid !important;
  grid-template-columns: 3.55rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;

  margin: 0 0.85rem 0.65rem !important;
  padding: 0.55rem 0.75rem !important;

  flex: 0 0 auto !important;

  border: 2px solid #86efac !important;
  border-radius: 1rem !important;
  background: #ecfdf3 !important;
}

.public-tool-search-heard[hidden] {
  display: none !important;
}

.public-tool-search-heard-symbol {
  display: grid !important;
  place-items: center !important;

  width: 3.55rem !important;
  height: 3.55rem !important;

  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.public-tool-search-heard-symbol img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.public-tool-search-heard em {
  display: none !important;
}

.public-tool-search-heard strong {
  display: block !important;

  color: var(--public-text) !important;
  font-size: clamp(1.55rem, 7vw, 2.1rem) !important;
  font-style: normal !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: -0.07em !important;
}


/* Nochmal sprechen / Eintippen */
.public-tool-search-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;

  margin: 0 0.85rem 0.65rem !important;
  flex: 0 0 auto !important;
}

.public-tool-search-secondary {
  display: grid !important;
  grid-template-columns: 3.2rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.55rem !important;

  min-height: 4.25rem !important;
  padding: 0.45rem 0.55rem !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;
  box-shadow: none !important;

  text-align: left !important;
}

.public-tool-search-secondary strong {
  color: var(--public-text) !important;
  font-size: clamp(1.05rem, 4.7vw, 1.35rem) !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.05em !important;
}

.public-tool-search-secondary-symbol {
  display: grid !important;
  place-items: center !important;

  width: 3.2rem !important;
  height: 3.2rem !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.public-tool-search-secondary-symbol img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* Eingabefeld nur im Tipp-Modus sichtbar */
.public-tool-search-input-wrap {
  margin: 0 0.85rem 0.65rem !important;
  flex: 0 0 auto !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-input-wrap,
.public-tool-search-modal[data-public-search-stage="recognized"] .public-tool-search-input-wrap,
.public-tool-search-modal[data-public-search-stage="listening"] .public-tool-search-input-wrap,
.public-tool-search-modal[data-public-search-stage="idle"] .public-tool-search-input-wrap {
  display: none !important;
}

.public-tool-search-modal[data-public-search-stage="typing"] .public-tool-search-input-wrap {
  display: grid !important;
  gap: 0.35rem !important;
}

.public-tool-search-input-wrap span {
  color: var(--public-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 850 !important;
}

.public-tool-search-input-wrap input {
  width: 100% !important;
  min-height: 3.4rem !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;

  padding: 0.65rem 0.85rem !important;

  font-size: 1.2rem !important;
  font-weight: 850 !important;
  outline: none !important;
}

.public-tool-search-input-wrap input:focus {
  border-color: var(--public-blue) !important;
  box-shadow: var(--public-focus) !important;
}


/* Ergebnisbereich */
.public-tool-search-result-section {
  display: flex !important;
  flex-direction: column !important;

  min-height: 0 !important;
  margin: 0.1rem 0.85rem 0.85rem !important;

  flex: 1 1 auto !important;
  overflow: hidden !important;

  border: 2px solid var(--public-border) !important;
  border-radius: 1.1rem !important;
  background: #f8fbff !important;
}

.public-tool-search-result-section[hidden] {
  display: none !important;
}

.public-tool-search-result-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 0.5rem !important;

  padding: 0.7rem 0.75rem 0.5rem !important;
  flex: 0 0 auto !important;

  border-bottom: 2px solid var(--public-border) !important;
  background: #ffffff !important;
}

.public-tool-search-result-heading h3 {
  margin: 0 !important;

  color: var(--public-text) !important;
  font-size: clamp(1.35rem, 6vw, 1.8rem) !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.07em !important;
}

.public-tool-search-result-heading p {
  margin: 0 !important;

  color: var(--public-green) !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}


/* Ergebnisliste scrollt im Modal */
.public-tool-search-results {
  display: grid !important;
  gap: 0.55rem !important;

  padding: 0.65rem !important;

  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}


/* einzelne Ergebnis-Karte */
.public-tool-search-result-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.15rem !important;
  align-items: stretch !important;
  gap: 0.5rem !important;

  min-height: 4.65rem !important;

  padding: 0.45rem !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
}

.public-tool-search-result {
  display: grid !important;
  grid-template-columns: 3.65rem minmax(0, 1fr) 1.2rem !important;
  align-items: center !important;
  gap: 0.65rem !important;

  min-width: 0 !important;

  color: var(--public-text) !important;
  text-decoration: none !important;
}

.public-tool-search-result-image {
  display: grid !important;
  place-items: center !important;

  width: 3.65rem !important;
  height: 3.65rem !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.public-tool-search-result-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.public-tool-search-result-text {
  display: grid !important;
  gap: 0.12rem !important;
  min-width: 0 !important;
}

.public-tool-search-result-text strong {
  display: block !important;

  color: var(--public-text) !important;
  font-size: clamp(1.15rem, 5.4vw, 1.55rem) !important;
  font-weight: 950 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.public-tool-search-result-text small {
  display: block !important;

  color: var(--public-muted) !important;
  font-size: 0.95rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.public-tool-search-result-arrow {
  display: grid !important;
  place-items: center !important;

  width: 1.15rem !important;
  height: 1.15rem !important;

  border-radius: 999px !important;
  background: var(--public-blue) !important;
  color: #ffffff !important;

  font-size: 1.25rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}


/* Ergebnis anhören */
.public-tool-search-result-speak {
  display: grid !important;
  place-items: center !important;

  width: 3.15rem !important;
  min-width: 3.15rem !important;
  height: 100% !important;
  min-height: 3.65rem !important;

  padding: 0 !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 0.85rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;
  box-shadow: none !important;
}

.public-tool-search-result-speak span {
  font-size: 1.35rem !important;
  line-height: 1 !important;
}


/* Hilfetext unten ausblenden, sobald Ergebnisse da sind */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-helper {
  display: none !important;
}

.public-tool-search-helper {
  margin: 0 0.85rem 0.85rem !important;
  flex: 0 0 auto !important;
}


/* iPhone SE Feinschliff */
@media (max-width: 390px) {
  .public-tool-search-modal {
    padding: 0.45rem !important;
    align-items: start !important;
  }

  .public-tool-search-panel {
    width: 100% !important;
    max-height: calc(100dvh - 0.9rem) !important;
    border-radius: 1.2rem !important;
  }

  .public-tool-search-header {
    padding: 0.7rem 0.7rem 0.45rem !important;
    grid-template-columns: minmax(0, 1fr) 2.9rem !important;
  }

  .public-tool-search-close {
    width: 2.8rem !important;
    height: 2.8rem !important;
    min-width: 2.8rem !important;
    min-height: 2.8rem !important;
    border-radius: 0.9rem !important;
  }

  .public-tool-search-mic {
    margin-left: 0.7rem !important;
    margin-right: 0.7rem !important;
    padding: 0.85rem !important;
    border-radius: 1.1rem !important;
  }

  .public-tool-search-mic-main {
    grid-template-columns: 3.75rem minmax(0, 1fr) !important;
  }

  .public-tool-search-mic-symbol {
    width: 3.75rem !important;
    height: 3.75rem !important;
  }

  .public-tool-search-heard,
  .public-tool-search-actions,
  .public-tool-search-input-wrap,
  .public-tool-search-result-section,
  .public-tool-search-helper {
    margin-left: 0.7rem !important;
    margin-right: 0.7rem !important;
  }

  .public-tool-search-secondary {
    grid-template-columns: 2.8rem minmax(0, 1fr) !important;
    min-height: 3.9rem !important;
  }

  .public-tool-search-secondary-symbol {
    width: 2.8rem !important;
    height: 2.8rem !important;
  }

  .public-tool-search-result-heading {
    grid-template-columns: 1fr !important;
    gap: 0.18rem !important;
    align-items: start !important;
  }

  .public-tool-search-result-card {
    grid-template-columns: minmax(0, 1fr) 2.85rem !important;
    min-height: 4.25rem !important;
  }

  .public-tool-search-result {
    grid-template-columns: 3.25rem minmax(0, 1fr) 1.1rem !important;
    gap: 0.5rem !important;
  }

  .public-tool-search-result-image {
    width: 3.25rem !important;
    height: 3.25rem !important;
  }

  .public-tool-search-result-speak {
    width: 2.85rem !important;
    min-width: 2.85rem !important;
  }
}

/* =========================================================
   Public Suche: Ergebnis-Modus kompakt
   - deutlich mehr Treffer sichtbar
   - Nochmal sprechen bleibt erreichbar
   - iPhone-SE-tauglich
   ========================================================= */


/* Modal im Ergebnis-Modus etwas höher nutzbar machen */
.public-tool-search-modal[data-public-search-stage="results"] {
  align-items: start !important;
  padding: 0.45rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-panel {
  height: calc(100dvh - 0.9rem) !important;
  max-height: calc(100dvh - 0.9rem) !important;
}


/* Kopf im Ergebnis-Modus kompakter */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-header {
  grid-template-columns: minmax(0, 1fr) 2.65rem !important;
  padding: 0.62rem 0.7rem 0.35rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-header .assistive-kicker {
  font-size: 0.68rem !important;
  letter-spacing: 0.13em !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-header h2 {
  font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
  line-height: 0.95 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-close {
  width: 2.55rem !important;
  min-width: 2.55rem !important;
  height: 2.55rem !important;
  min-height: 2.55rem !important;
  border-width: 2px !important;
  border-radius: 0.85rem !important;
  font-size: 1.75rem !important;
}


/* Großen blauen Sprechen-Button im Ergebnis-Modus ausblenden */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-mic {
  display: none !important;
}


/* Verstandenes Wort kompakter */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-heard {
  grid-template-columns: 2.85rem minmax(0, 1fr) !important;
  gap: 0.55rem !important;

  min-height: 3.35rem !important;
  margin: 0 0.7rem 0.45rem !important;
  padding: 0.38rem 0.55rem !important;

  border-radius: 0.9rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-heard-symbol {
  width: 2.85rem !important;
  height: 2.85rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-heard strong {
  font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
  line-height: 0.95 !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


/* Nochmal sprechen / Eintippen bleiben oben sichtbar, aber kompakt */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-actions {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;

  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.45rem !important;

  margin: 0 0.7rem 0.45rem !important;
  padding: 0 !important;

  background: #ffffff !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary {
  grid-template-columns: 2.35rem minmax(0, 1fr) !important;
  gap: 0.42rem !important;

  min-height: 3.2rem !important;
  padding: 0.32rem 0.42rem !important;

  border-width: 2px !important;
  border-radius: 0.85rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary-symbol {
  width: 2.35rem !important;
  height: 2.35rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary strong {
  font-size: clamp(0.95rem, 4.4vw, 1.12rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.045em !important;
}


/* Ergebnisbereich bekommt den Hauptplatz */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-section {
  flex: 1 1 auto !important;
  min-height: 0 !important;

  margin: 0 0.7rem 0.7rem !important;

  border-radius: 1rem !important;
  overflow: hidden !important;
}


/* Ergebnisüberschrift kompakter */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-heading {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;

  padding: 0.52rem 0.62rem 0.42rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-heading h3 {
  font-size: clamp(1.12rem, 5.3vw, 1.45rem) !important;
  line-height: 0.95 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-heading p {
  font-size: 0.92rem !important;
  line-height: 1 !important;
}


/* Liste nutzt den restlichen Platz vollständig */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-results {
  flex: 1 1 auto !important;
  min-height: 0 !important;

  display: grid !important;
  align-content: start !important;
  gap: 0.42rem !important;

  height: 100% !important;
  padding: 0.5rem !important;

  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}


/* Ergebnis-Karten kompakter, aber noch gut bedienbar */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
  grid-template-columns: minmax(0, 1fr) 2.75rem !important;
  gap: 0.38rem !important;

  min-height: 3.85rem !important;
  padding: 0.34rem !important;

  border-radius: 0.9rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
  grid-template-columns: 3rem minmax(0, 1fr) 1.05rem !important;
  gap: 0.5rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
  width: 3rem !important;
  height: 3rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text strong {
  font-size: clamp(1.05rem, 5vw, 1.32rem) !important;
  line-height: 0.95 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text small {
  font-size: 0.86rem !important;
  line-height: 0.95 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-arrow {
  width: 1.05rem !important;
  height: 1.05rem !important;
  font-size: 1.05rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  min-height: 3rem !important;

  border-radius: 0.8rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak span {
  font-size: 1.15rem !important;
}


/* iPhone SE: noch etwas dichter */
@media (max-width: 390px) {
  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-header {
    padding: 0.55rem 0.62rem 0.3rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-heard,
  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-actions,
  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-section {
    margin-left: 0.62rem !important;
    margin-right: 0.62rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-heard {
    grid-template-columns: 2.55rem minmax(0, 1fr) !important;
    min-height: 3rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-heard-symbol {
    width: 2.55rem !important;
    height: 2.55rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary {
    grid-template-columns: 2.15rem minmax(0, 1fr) !important;
    min-height: 3rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary-symbol {
    width: 2.15rem !important;
    height: 2.15rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
    min-height: 3.65rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
    grid-template-columns: 2.8rem minmax(0, 1fr) 1rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
    width: 2.8rem !important;
    height: 2.8rem !important;
  }
}

/* =========================================================
   Public Suche: Ergebnisliste ruhiger und dichter
   ========================================================= */

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-section {
  margin-top: 0.45rem !important;
  margin-bottom: 0.62rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-heading {
  padding: 0.48rem 0.62rem 0.38rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-heading h3 {
  font-size: clamp(1.05rem, 5vw, 1.32rem) !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-heading p {
  font-size: 0.9rem !important;
}


/* Ergebnisliste: mehr sichtbare Treffer */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-results {
  gap: 0.34rem !important;
  padding: 0.42rem !important;
}


/* Ergebnis-Karten dichter, aber noch gut antippbar */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
  grid-template-columns: minmax(0, 1fr) 2.65rem !important;
  gap: 0.32rem !important;

  min-height: 3.35rem !important;
  padding: 0.3rem !important;

  border-radius: 0.85rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
  grid-template-columns: 2.55rem minmax(0, 1fr) 1rem !important;
  gap: 0.48rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
  width: 2.55rem !important;
  height: 2.55rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text strong {
  font-size: clamp(1rem, 4.8vw, 1.25rem) !important;
  line-height: 0.95 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text small {
  font-size: 0.82rem !important;
  line-height: 0.95 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak {
  width: 2.65rem !important;
  min-width: 2.65rem !important;
  min-height: 2.75rem !important;
  border-radius: 0.78rem !important;
}


/* Pfeil etwas kleiner, damit er nicht wie ein zweiter Hauptbutton wirkt */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-arrow {
  width: 0.95rem !important;
  height: 0.95rem !important;
  font-size: 0.98rem !important;
}


/* Nochmal sprechen bleibt gut erreichbar */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-actions {
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;

  margin-bottom: 0.38rem !important;
  padding-bottom: 0.05rem !important;

  background: #ffffff !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary {
  min-height: 2.95rem !important;
  border-radius: 0.82rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-secondary strong {
  font-size: clamp(0.92rem, 4.3vw, 1.08rem) !important;
}

.public-tool-search-result-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 2.2rem !important;
  height: 2.2rem !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.public-tool-search-result-speak-symbol img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* =========================================================
   Public Suche: Bilder in Ergebnissen priorisieren
   - größere Werkzeugbilder
   - weniger visuelle Unruhe
   - weiterhin viele Treffer sichtbar
   ========================================================= */


/* Ergebnis-Karten etwas höher, damit das Bild größer sein darf */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
  grid-template-columns: minmax(0, 1fr) 2.7rem !important;
  gap: 0.34rem !important;

  min-height: 4.15rem !important;
  padding: 0.32rem !important;

  border-radius: 0.9rem !important;
}


/* Link-Bereich: Bild bekommt deutlich mehr Platz */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
  grid-template-columns: 3.45rem minmax(0, 1fr) !important;
  gap: 0.58rem !important;

  min-width: 0 !important;
  min-height: 3.45rem !important;
}


/* Werkzeugbild größer und klarer */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
  width: 3.45rem !important;
  height: 3.45rem !important;
  min-width: 3.45rem !important;
  min-height: 3.45rem !important;

  display: grid !important;
  place-items: center !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* Pfeil entfernen: Die ganze Karte ist bereits klickbar */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-arrow {
  display: none !important;
}


/* Text bleibt gut lesbar, aber Bild ist jetzt wichtiger */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text {
  min-width: 0 !important;
  align-self: center !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text strong {
  font-size: clamp(1.08rem, 5vw, 1.32rem) !important;
  font-weight: 950 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.06em !important;

  color: var(--public-text) !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text small {
  margin-top: 0.12rem !important;

  color: var(--public-muted) !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


/* Anhören bleibt groß genug, aber nicht dominanter als das Werkzeugbild */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak {
  width: 2.7rem !important;
  min-width: 2.7rem !important;
  height: 100% !important;
  min-height: 3.45rem !important;

  padding: 0 !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 0.78rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}


/* METACOM-Lautsprecher im Suchergebnis sauber skalieren */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak-symbol {
  width: 2.2rem !important;
  height: 2.2rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak-symbol img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* Liste minimal dichter halten, damit weiterhin genug sichtbar bleibt */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-results {
  gap: 0.36rem !important;
  padding: 0.42rem !important;
}


/* iPhone SE Feinschliff */
@media (max-width: 390px) {
  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
    min-height: 4rem !important;
    padding: 0.3rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
    grid-template-columns: 3.32rem minmax(0, 1fr) !important;
    gap: 0.52rem !important;
    min-height: 3.32rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
    width: 3.32rem !important;
    height: 3.32rem !important;
    min-width: 3.32rem !important;
    min-height: 3.32rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text strong {
    font-size: clamp(1.04rem, 4.9vw, 1.24rem) !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text small {
    font-size: 0.8rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak {
    width: 2.62rem !important;
    min-width: 2.62rem !important;
    min-height: 3.32rem !important;
  }
}

/* =========================================================
   Public Suche: Bilder in Ergebnissen priorisieren
   - größere Werkzeugbilder
   - weniger visuelle Unruhe
   - weiterhin viele Treffer sichtbar
   ========================================================= */


/* Ergebnis-Karten etwas höher, damit das Bild größer sein darf */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
  grid-template-columns: minmax(0, 1fr) 2.7rem !important;
  gap: 0.34rem !important;

  min-height: 4.15rem !important;
  padding: 0.32rem !important;

  border-radius: 0.9rem !important;
}


/* Link-Bereich: Bild bekommt deutlich mehr Platz */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
  grid-template-columns: 3.45rem minmax(0, 1fr) !important;
  gap: 0.58rem !important;

  min-width: 0 !important;
  min-height: 3.45rem !important;
}


/* Werkzeugbild größer und klarer */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
  width: 3.45rem !important;
  height: 3.45rem !important;
  min-width: 3.45rem !important;
  min-height: 3.45rem !important;

  display: grid !important;
  place-items: center !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* Pfeil entfernen: Die ganze Karte ist bereits klickbar */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-arrow {
  display: none !important;
}


/* Text bleibt gut lesbar, aber Bild ist jetzt wichtiger */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text {
  min-width: 0 !important;
  align-self: center !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text strong {
  font-size: clamp(1.08rem, 5vw, 1.32rem) !important;
  font-weight: 950 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.06em !important;

  color: var(--public-text) !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text small {
  margin-top: 0.12rem !important;

  color: var(--public-muted) !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


/* Anhören bleibt groß genug, aber nicht dominanter als das Werkzeugbild */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak {
  width: 2.7rem !important;
  min-width: 2.7rem !important;
  height: 100% !important;
  min-height: 3.45rem !important;

  padding: 0 !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 0.78rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}


/* METACOM-Lautsprecher im Suchergebnis sauber skalieren */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak-symbol {
  width: 2.2rem !important;
  height: 2.2rem !important;
}

.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak-symbol img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* Liste minimal dichter halten, damit weiterhin genug sichtbar bleibt */
.public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-results {
  gap: 0.36rem !important;
  padding: 0.42rem !important;
}


/* iPhone SE Feinschliff */
@media (max-width: 390px) {
  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-card {
    min-height: 4rem !important;
    padding: 0.3rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result {
    grid-template-columns: 3.32rem minmax(0, 1fr) !important;
    gap: 0.52rem !important;
    min-height: 3.32rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-image {
    width: 3.32rem !important;
    height: 3.32rem !important;
    min-width: 3.32rem !important;
    min-height: 3.32rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text strong {
    font-size: clamp(1.04rem, 4.9vw, 1.24rem) !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-text small {
    font-size: 0.8rem !important;
  }

  .public-tool-search-modal[data-public-search-stage="results"] .public-tool-search-result-speak {
    width: 2.62rem !important;
    min-width: 2.62rem !important;
    min-height: 3.32rem !important;
  }
}

/* =========================================================
   Hilfe-Karten: Lautsprecher sauber mittig ausrichten
   - betrifft Family-Seite und Werkzeug-Detailseite
   - Touch-Ziel bleibt groß
   ========================================================= */

.wh-employee-help-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 4rem !important;
  align-items: center !important;
  gap: 0.7rem !important;
}

/* Hauptbereich links */
.wh-employee-help-card .wh-employee-help-card-button,
.wh-employee-help-card .wh-family-device-note {
  min-width: 0 !important;
  align-self: center !important;
}

/* Lautsprecher-Button rechts */
.wh-employee-help-card > .wh-employee-speak-button,
.wh-employee-help-card > .wh-employee-help-speak-button,
.wh-employee-help-card > .assistive-speak-button-clean {
  align-self: center !important;
  justify-self: center !important;

  display: grid !important;
  place-items: center !important;

  width: 3.55rem !important;
  min-width: 3.55rem !important;
  max-width: 3.55rem !important;

  height: 3.55rem !important;
  min-height: 3.55rem !important;
  max-height: 3.55rem !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 0.9rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Symbol im Button exakt mittig */
.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol,
.wh-employee-help-card > .wh-employee-help-speak-button .assistive-speak-symbol,
.wh-employee-help-card > .assistive-speak-button-clean .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 2.75rem !important;
  height: 2.75rem !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol img,
.wh-employee-help-card > .wh-employee-help-speak-button .assistive-speak-symbol img,
.wh-employee-help-card > .assistive-speak-button-clean .assistive-speak-symbol img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: contain !important;
}

/* Textlabel im Lautsprecher-Button verstecken */
.wh-employee-help-card > .wh-employee-speak-button .assistive-speak-label,
.wh-employee-help-card > .wh-employee-help-speak-button .assistive-speak-label,
.wh-employee-help-card > .assistive-speak-button-clean .assistive-speak-label {
  display: none !important;
}


/* ---------------------------------------------------------
   iPhone SE: minimal kompakter, aber weiterhin gut antippbar
   --------------------------------------------------------- */

@media (max-width: 390px) {
  .wh-employee-help-card {
    grid-template-columns: minmax(0, 1fr) 3.75rem !important;
    gap: 0.55rem !important;
  }

  .wh-employee-help-card > .wh-employee-speak-button,
  .wh-employee-help-card > .wh-employee-help-speak-button,
  .wh-employee-help-card > .assistive-speak-button-clean {
    width: 3.35rem !important;
    min-width: 3.35rem !important;
    max-width: 3.35rem !important;

    height: 3.35rem !important;
    min-height: 3.35rem !important;
    max-height: 3.35rem !important;

    border-radius: 0.85rem !important;
  }

  .wh-employee-help-card > .wh-employee-speak-button .assistive-speak-symbol,
  .wh-employee-help-card > .wh-employee-help-speak-button .assistive-speak-symbol,
  .wh-employee-help-card > .assistive-speak-button-clean .assistive-speak-symbol {
    width: 2.55rem !important;
    height: 2.55rem !important;
  }
}

/* =========================================================
   FINAL FIX: Hilfe-Karten Lautsprecher nicht abschneiden
   Ursache:
   .assistive-speak-symbol hatte width/height:100% und overflow:hidden.
   Lösung:
   Button = feste quadratische Box
   Symbol = eigene quadratische Bildbox
   Bild = contain, nicht clippen
   ========================================================= */


/* Hilfe-Karten selbst: rechte Spalte kontrollieren */
.wh-employee-help-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.85rem !important;
  align-items: center !important;
  gap: 0.65rem !important;
  overflow: visible !important;
}


/* Der echte Lautsprecher-Button rechts */
.wh-employee-help-card > button.wh-employee-speak-button.assistive-speak-button-clean,
.wh-employee-help-card > button.wh-employee-help-speak-button.assistive-speak-button-clean,
.wh-employee-help-card > button.assistive-speak-button-clean[data-speak-text] {
  position: relative !important;

  display: grid !important;
  place-items: center !important;

  align-self: center !important;
  justify-self: center !important;

  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  grid-auto-flow: row !important;
  gap: 0 !important;

  width: 3.45rem !important;
  min-width: 3.45rem !important;
  max-width: 3.45rem !important;

  height: 3.45rem !important;
  min-height: 3.45rem !important;
  max-height: 3.45rem !important;

  margin: 0 !important;
  padding: 0.28rem !important;

  overflow: visible !important;

  border: 2px solid var(--public-border-strong) !important;
  border-radius: 0.9rem !important;
  background: #ffffff !important;
  box-shadow: none !important;

  line-height: 1 !important;
  font-size: 1rem !important;
}


/* Das innere Symbol: NICHT 100%, sondern echte eigene Bildbox */
.wh-employee-help-card > button.wh-employee-speak-button.assistive-speak-button-clean > .assistive-speak-symbol,
.wh-employee-help-card > button.wh-employee-help-speak-button.assistive-speak-button-clean > .assistive-speak-symbol,
.wh-employee-help-card > button.assistive-speak-button-clean[data-speak-text] > .assistive-speak-symbol {
  display: grid !important;
  place-items: center !important;

  width: 2.72rem !important;
  min-width: 2.72rem !important;
  max-width: 2.72rem !important;

  height: 2.72rem !important;
  min-height: 2.72rem !important;
  max-height: 2.72rem !important;

  inline-size: 2.72rem !important;
  min-inline-size: 2.72rem !important;
  max-inline-size: 2.72rem !important;

  block-size: 2.72rem !important;
  min-block-size: 2.72rem !important;
  max-block-size: 2.72rem !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: visible !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  line-height: 1 !important;
  font-size: 1rem !important;
}


/* Bild selbst: vollständig anzeigen, nicht schneiden */
.wh-employee-help-card > button.wh-employee-speak-button.assistive-speak-button-clean > .assistive-speak-symbol > img,
.wh-employee-help-card > button.wh-employee-help-speak-button.assistive-speak-button-clean > .assistive-speak-symbol > img,
.wh-employee-help-card > button.assistive-speak-button-clean[data-speak-text] > .assistive-speak-symbol > img {
  display: block !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;

  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* Text im Speak-Button sicher ausblenden */
.wh-employee-help-card > button.wh-employee-speak-button.assistive-speak-button-clean > .assistive-speak-label,
.wh-employee-help-card > button.wh-employee-help-speak-button.assistive-speak-button-clean > .assistive-speak-label,
.wh-employee-help-card > button.assistive-speak-button-clean[data-speak-text] > .assistive-speak-label {
  display: none !important;
}


/* iPhone SE Feinschliff */
@media (max-width: 390px) {
  .wh-employee-help-card {
    grid-template-columns: minmax(0, 1fr) 3.65rem !important;
    gap: 0.55rem !important;
  }

  .wh-employee-help-card > button.wh-employee-speak-button.assistive-speak-button-clean,
  .wh-employee-help-card > button.wh-employee-help-speak-button.assistive-speak-button-clean,
  .wh-employee-help-card > button.assistive-speak-button-clean[data-speak-text] {
    width: 3.32rem !important;
    min-width: 3.32rem !important;
    max-width: 3.32rem !important;

    height: 3.32rem !important;
    min-height: 3.32rem !important;
    max-height: 3.32rem !important;

    padding: 0.26rem !important;
    border-radius: 0.85rem !important;
  }

  .wh-employee-help-card > button.wh-employee-speak-button.assistive-speak-button-clean > .assistive-speak-symbol,
  .wh-employee-help-card > button.wh-employee-help-speak-button.assistive-speak-button-clean > .assistive-speak-symbol,
  .wh-employee-help-card > button.assistive-speak-button-clean[data-speak-text] > .assistive-speak-symbol {
    width: 2.62rem !important;
    min-width: 2.62rem !important;
    max-width: 2.62rem !important;

    height: 2.62rem !important;
    min-height: 2.62rem !important;
    max-height: 2.62rem !important;

    inline-size: 2.62rem !important;
    min-inline-size: 2.62rem !important;
    max-inline-size: 2.62rem !important;

    block-size: 2.62rem !important;
    min-block-size: 2.62rem !important;
    max-block-size: 2.62rem !important;
  }
}