:root {
  --public-bg: #f3f7fc;
  --public-card: #ffffff;
  --public-card-muted: #f8fbff;
  --public-text: #10245a;
  --public-text-soft: #243b6b;
  --public-muted: #5f6f8a;
  --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;
}

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%;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--public-border);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.65rem 1.25rem;
  box-shadow: var(--public-shadow);
  backdrop-filter: blur(16px);
}

.public-brand,
.public-staff-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--public-text);
  font-weight: 950;
  text-decoration: none;
}

.public-brand {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.public-brand-mark {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--public-blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.public-staff-link {
  min-height: 3rem;
  border: 2px solid var(--public-border-strong);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.55rem 0.9rem;
  box-shadow: var(--public-shadow);
}

.public-layout {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 1rem;
  width: min(100%, 1500px);
  margin: 0 auto;
}

.public-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
  display: grid;
  min-height: calc(100vh - 5rem);
  align-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
}

.public-sidebar-card {
  display: flex;
  min-height: 4.7rem;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--public-border-strong);
  border-radius: 1rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: var(--public-shadow);
}

.public-sidebar-card-home {
  border-color: #93c5fd;
  background: var(--public-blue-soft);
}

.public-sidebar-card-staff {
  align-self: end;
}

.public-content {
  min-width: 0;
  padding: 1rem;
}

.public-footer {
  width: min(100%, 1180px);
  margin: 1.5rem auto 7rem;
  padding: 0 1rem;
}

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

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

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

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

/* Symbol safety: never render METACOM images in original size */
.public-brand-icon,
.public-staff-symbol,
.public-sidebar-symbol,
.assistive-header-symbol,
.assistive-header-speak-button,
.assistive-speak-button,
.employee-area-speak-button,
.employee-area-card-speak-button,
.assistive-card-speak-button,
.wh-employee-speak-button,
.assistive-nav-icon,
.assistive-back-symbol,
.assistive-defect-symbol,
.assistive-tool-status-symbol,
.assistive-tool-mini-symbol,
.employee-area-hero-icon,
.employee-area-symbol,
.wh-employee-tool-fallback-symbol,
.wh-employee-status-big-symbol,
.wh-employee-info-symbol,
.wh-employee-safety-symbol,
.wh-employee-document-symbol,
.wh-employee-help-symbol,
.wh-document-modal-symbol,
.wh-document-modal-empty-symbol,
.assistive-status-summary-symbol,
.assistive-success-symbol {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.public-brand-icon,
.public-staff-symbol,
.public-sidebar-symbol {
  width: 2.35rem;
  height: 2.35rem;
}

.public-brand-icon img,
.public-brand-icon svg,
.public-staff-symbol img,
.public-staff-symbol svg,
.public-sidebar-symbol img,
.public-sidebar-symbol 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,
.employee-area-hero-icon img,
.employee-area-hero-icon svg,
.employee-area-symbol img,
.employee-area-symbol svg,
.wh-employee-tool-fallback-symbol img,
.wh-employee-tool-fallback-symbol svg,
.wh-employee-status-big-symbol img,
.wh-employee-status-big-symbol svg,
.wh-employee-info-symbol img,
.wh-employee-info-symbol svg,
.wh-employee-safety-symbol img,
.wh-employee-safety-symbol svg,
.wh-employee-document-symbol img,
.wh-employee-document-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,
.assistive-status-summary-symbol img,
.assistive-status-summary-symbol svg,
.assistive-success-symbol img,
.assistive-success-symbol svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

button[data-speak-text],
a[data-speak-text],
.assistive-speak-button,
.employee-area-speak-button,
.employee-area-card-speak-button,
.assistive-card-speak-button,
.wh-employee-speak-button,
.assistive-header-speak-button {
  display: inline-flex !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;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  color: var(--public-text) !important;
  padding: 0.25rem !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  flex: 0 0 auto !important;
}

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-area-speak-button img,
.employee-area-speak-button svg,
.employee-area-card-speak-button img,
.employee-area-card-speak-button svg,
.assistive-card-speak-button img,
.assistive-card-speak-button svg,
.wh-employee-speak-button img,
.wh-employee-speak-button svg,
.assistive-header-speak-button img,
.assistive-header-speak-button svg {
  width: 2.35rem !important;
  height: 2.35rem !important;
  max-width: 2.35rem !important;
  max-height: 2.35rem !important;
  object-fit: contain !important;
}

button[data-speak-text] span,
a[data-speak-text] span,
.assistive-speak-button span,
.employee-area-speak-button span,
.employee-area-card-speak-button span,
.assistive-card-speak-button span,
.wh-employee-speak-button span,
.assistive-header-speak-button span {
  font-size: 0 !important;
}

/* Area landing */
.employee-area-hero {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 1180px;
  margin: 1rem auto;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--public-shadow);
}

.employee-area-hero-symbol,
.employee-area-hero-icon {
  width: 4.5rem;
  height: 4.5rem;
}

.employee-area-hero-content h1,
.assistive-nav-hero h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.employee-area-hero-content p,
.assistive-nav-hero p {
  margin: 0.35rem 0 0;
  color: var(--public-text-soft);
  font-weight: 800;
}

.employee-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 1rem auto;
  padding: 0 1rem 2rem;
}

.employee-area-card {
  display: grid;
  gap: 0.9rem;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--public-shadow);
}

.employee-area-card-blue { border-color: #93c5fd; }
.employee-area-card-green { border-color: #86efac; }
.employee-area-card-slate { border-color: #cbd5e1; }

.employee-area-image-link {
  display: grid;
  min-height: 12rem;
  place-items: center;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--public-card-muted);
}

.employee-area-symbol {
  width: 9rem;
  height: 9rem;
}

.employee-area-card-text strong {
  display: block;
  color: var(--public-text);
  font-size: 1.5rem;
  font-weight: 950;
}

.employee-area-card-text small {
  display: block;
  margin-top: 0.25rem;
  color: #475569;
  font-weight: 750;
}

.employee-area-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.employee-area-count {
  color: var(--public-text);
  font-weight: 950;
  text-decoration: none;
}

.employee-area-open-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--public-blue);
  border-radius: 0.8rem;
  background: #ffffff;
  color: #1d4ed8;
  padding: 0.7rem 1rem;
  font-weight: 950;
  text-decoration: none;
}

/* Navigation / lists */
.assistive-nav-hero,
.assistive-section,
.assistive-empty-card,
.assistive-status-summary,
.assistive-danger-notice,
.assistive-action-row,
.assistive-success-card {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.assistive-nav-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--public-shadow);
}

.assistive-back-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--public-text);
  padding: 0.55rem 0.8rem;
  font-weight: 950;
  text-decoration: none;
}

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

.assistive-section,
.assistive-empty-card,
.assistive-status-summary,
.assistive-danger-notice,
.assistive-success-card {
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--public-shadow);
}

.assistive-section {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

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

.assistive-section-header h2 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.assistive-section-header p {
  margin: 0.25rem 0 0;
  color: var(--public-text-soft);
  font-weight: 850;
}

.assistive-nav-grid,
.assistive-tool-status-grid,
.assistive-defect-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.assistive-nav-card-shell,
.assistive-tool-status-card,
.assistive-defect-choice {
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: var(--public-shadow);
}

.assistive-nav-card,
.assistive-tool-status-main {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

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

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

.assistive-nav-content strong,
.assistive-tool-status-content strong {
  display: block;
  color: var(--public-text);
  font-size: 1.25rem;
  font-weight: 950;
}

.assistive-nav-content small,
.assistive-nav-content em,
.assistive-tool-status-content small {
  display: block;
  color: #475569;
  font-style: normal;
  font-weight: 750;
}

.assistive-nav-arrow {
  color: var(--public-blue);
  font-size: 1.5rem;
  font-weight: 950;
}

.assistive-tool-status-main {
  grid-template-columns: 4.5rem minmax(0, 1fr) 5rem;
}

.assistive-tool-status-icon,
.assistive-tool-status-symbol,
.assistive-tool-mini-symbol {
  width: 4rem;
  height: 4rem;
}

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

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

.assistive-tool-status-content em {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #e2e8f0;
  color: var(--public-text);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 950;
}

.assistive-tool-status-content strong {
  margin-top: 0.35rem;
}

.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);
}

/* Tool detail - supports both B4.3 and B4.7 markup */
.wh-employee-detail-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.wh-employee-tool-header,
.wh-employee-status-panel,
.wh-employee-info-grid,
.wh-employee-section-card,
.wh-employee-safety-section,
.wh-employee-document-section,
.wh-employee-share-section,
.wh-employee-qr-details {
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: var(--public-card);
  box-shadow: var(--public-shadow);
}

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

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

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

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

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

.wh-employee-tool-title h1 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

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

.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.35rem;
  letter-spacing: 0.04em;
}

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

.wh-employee-status-panel {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.wh-employee-status-symbol,
.wh-employee-status-big-symbol {
  width: 6rem;
  height: 6rem;
}

.wh-employee-status-content h2 {
  margin: 0 0 0.35rem;
  color: var(--public-text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.wh-employee-status-content p {
  margin: 0;
  color: #172554;
  font-size: 1.15rem;
  font-weight: 800;
}

.wh-employee-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

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

.wh-employee-status-ok,
.wh-employee-info-card.wh-employee-status-ok,
.wh-employee-inspection-ok {
  border-color: var(--public-green);
  background: var(--public-green-soft);
}

.wh-employee-status-warning,
.wh-employee-info-card.wh-employee-status-warning,
.wh-employee-inspection-warning {
  border-color: var(--public-orange);
  background: var(--public-orange-soft);
}

.wh-employee-status-danger,
.wh-employee-info-card.wh-employee-status-danger,
.wh-employee-inspection-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-icon {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #111827;
  border-radius: 0.5rem;
  background: #ffffff;
}

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

.wh-employee-info-text h2,
.wh-employee-info-card h2 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.wh-employee-info-text p,
.wh-employee-info-card p {
  margin: 0.25rem 0 0;
  color: #111827;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 900;
  line-height: 1.15;
}

.wh-employee-quick-actions,
.wh-employee-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.wh-employee-help-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wh-employee-section-card,
.wh-employee-safety-section,
.wh-employee-document-section,
.wh-employee-share-section {
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
}

.wh-employee-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.wh-employee-section-header h2,
.wh-employee-document-section h2,
.wh-employee-safety-section h2,
.wh-employee-share-section h2 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wh-employee-section-header h3 {
  margin: 0;
  color: var(--public-text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 950;
}

.wh-employee-section-header p {
  margin: 0.25rem 0 0;
  color: #111827;
  font-weight: 900;
}

.wh-employee-safety-grid,
.wh-employee-document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.55rem;
}

.wh-employee-document-grid {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.wh-employee-safety-tile,
.wh-employee-safety-card,
.wh-employee-document-card {
  min-height: 6.75rem;
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-md);
  background: #ffffff;
  padding: 0.6rem;
  box-shadow: var(--public-shadow);
}

.wh-employee-safety-tile {
  display: grid;
  place-items: center;
}

.wh-employee-safety-card-required,
.wh-employee-safety-tile-required {
  border-color: var(--public-orange);
  background: var(--public-orange-soft);
}

.wh-employee-safety-symbol,
.wh-employee-help-symbol {
  width: 5rem;
  height: 5rem;
}

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

.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 { 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: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--public-text);
  padding: 0;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.wh-employee-help-card strong {
  color: var(--public-text);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 950;
  line-height: 1.1;
}

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

.wh-employee-document-link {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.wh-employee-document-symbol {
  width: 3.5rem;
  height: 3.5rem;
}

.wh-employee-share-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-md);
  background: var(--public-card-muted);
  padding: 1rem;
}

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

.assistive-danger-notice h2 {
  margin: 0 0 0.5rem;
  color: #991b1b;
  font-size: 2rem;
}

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

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

/* Defect */
.assistive-defect-form {
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.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 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
}

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

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

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

.assistive-defect-note-details summary {
  cursor: pointer;
  color: var(--public-text);
  font-weight: 950;
}

.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: var(--public-radius-md);
  padding: 0.8rem;
  resize: vertical;
}

.assistive-defect-message {
  margin: 1rem 0;
  border-radius: var(--public-radius-md);
  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;
}

/* Success / not found */
.assistive-success-card,
.assistive-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

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

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

.wh-success-main-text,
.assistive-card p {
  color: var(--public-text-soft);
  font-weight: 850;
}

.wh-success-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.wh-success-meta-grid span {
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-md);
  background: var(--public-card-muted);
  padding: 0.7rem;
}

.wh-success-meta-grid small {
  display: block;
  color: var(--public-muted);
  font-weight: 900;
}

.wh-success-meta-grid strong {
  display: block;
  color: var(--public-text);
  font-weight: 950;
}

/* Legal */
.legal-page {
  width: min(100%, 980px);
  margin: 0 auto;
}

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

.legal-card h1 {
  margin: 0.35rem 0 1rem;
  color: var(--public-text);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.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-card ul {
  padding-left: 1.3rem;
}

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

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* QR / modal */
.wh-modal-open { overflow: hidden; }
.wh-document-modal[hidden] { display: none !important; }

.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: var(--public-radius-lg);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--public-shadow-strong);
}

.wh-document-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  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 {
  width: 3rem;
  height: 3rem;
  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 {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-md);
  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 {
  display: block;
  color: var(--public-text);
  font-weight: 950;
}

.wh-document-modal-link small {
  display: block;
  color: var(--public-muted);
  font-weight: 800;
}

.wh-employee-qr-details {
  overflow: hidden;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-md);
  background: #ffffff;
  box-shadow: var(--public-shadow);
}

.wh-employee-qr-details summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  color: var(--public-text);
  font-weight: 950;
}

.wh-employee-qr-panel {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--public-border);
  padding: 1rem;
}

.wh-employee-qr-code {
  width: 10rem;
  height: 10rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--public-border);
  background: #ffffff;
}

.wh-employee-qr-code svg {
  width: 100%;
  height: 100%;
}

.wh-employee-qr-panel strong,
.wh-employee-qr-panel p,
.wh-employee-share-card strong {
  overflow-wrap: anywhere;
}

.wh-employee-back-link {
  width: fit-content;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  border: 2px solid var(--public-border);
  border-radius: var(--public-radius-sm);
  background: #ffffff;
  color: var(--public-text);
  padding: 0.65rem 1rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: var(--public-shadow);
}

/* Cookie */
.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[hidden] { display: none !important; }

.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 (max-width: 900px) {
  .public-layout,
  .employee-area-hero,
  .assistive-nav-hero,
  .wh-employee-tool-header,
  .wh-employee-status-panel,
  .wh-employee-info-grid,
  .wh-employee-help-grid,
  .wh-employee-qr-panel {
    grid-template-columns: 1fr;
  }

  .public-sidebar {
    position: static;
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.75rem 1rem 0;
  }

  .public-content {
    padding: 0.75rem;
  }

  .assistive-nav-card,
  .assistive-tool-status-main,
  .wh-employee-document-link,
  .assistive-defect-choice-label,
  .wh-document-modal-link {
    grid-template-columns: 1fr;
  }

  .assistive-tool-status-image {
    width: 100%;
    height: 7rem;
  }

  .wh-employee-share-card {
    display: grid;
  }
}

@media (max-width: 620px) {
  .public-header {
    align-items: stretch;
    flex-direction: column;
  }

  .public-brand,
  .public-staff-link {
    justify-content: center;
  }

  .public-sidebar,
  .wh-success-meta-grid,
  .wh-employee-quick-actions {
    grid-template-columns: 1fr;
  }

  .wh-employee-info-card,
  .wh-employee-help-card,
  .assistive-success-card,
  .assistive-card {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}