:root {
  --blue: #1769aa;
  --blue-dark: #0f4d7c;
  --blue-soft: #eaf4fb;
  --green: #1f9d72;
  --ink: #142033;
  --muted: #5f6b7a;
  --line: #dce5ee;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --warning: #fff7ed;
  --warning-line: #fed7aa;
  --shadow: 0 18px 44px rgba(20, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

textarea {
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(31, 157, 114, 0.55);
  outline-offset: 3px;
}

.private-data {
  display: none;
}

body.is-authorized .private-data {
  display: initial;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: white;
  background: var(--blue-dark);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-line {
  display: block;
  border-bottom: 1px solid var(--line);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.top-line-inner {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 0.18rem;
  padding-bottom: 0.18rem;
  line-height: 1.25;
}

.top-line-inner span,
.top-line-inner a {
  display: inline-flex;
  align-items: center;
}

.top-line-inner a {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-weight: 850;
}

.nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-weight: 800;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1.12;
}

.site-header .brand-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.brand-text strong {
  color: var(--ink);
  font-size: 1rem;
}

.site-header .brand-text strong {
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-header .brand-text small {
  font-size: 0.64rem;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-links {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 100%;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.54rem 0.68rem;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  border-radius: 999px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0;
}

.nav-dropdown-toggle {
  width: 100%;
  padding: 0.75rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.nav-dropdown-menu {
  display: grid;
  gap: 0;
  padding-left: 0.75rem;
}

.nav-dropdown-menu a {
  padding: 0.55rem 0.75rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-dropdown-toggle:hover {
  color: var(--blue-dark);
}

.nav-links a[aria-current="page"] {
  background: var(--blue-soft);
}

.measurement-layout {
  display: grid;
  gap: 1.5rem;
}

.measurement-diagram-panel {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.measurement-diagram-panel img {
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 36, 52, 0.1);
}

.measurement-diagram-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.measurement-form-panel {
  min-width: 0;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 20px rgba(23, 105, 170, 0.18);
}

.hero .button-primary,
.cta-band .button-light {
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  font-size: 1.02rem;
}

.button-secondary {
  color: var(--blue-dark);
  background: white;
  border-color: var(--line);
}

.continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.75rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: white;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button-light {
  color: var(--blue-dark);
  background: white;
}

.button-outline-light {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.hero,
.page-hero,
.product-hero {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6fc 100%);
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-grid,
.two-column,
.split-grid,
.trust-grid,
.contact-grid,
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hero-copy h1,
.page-hero h1,
.product-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 12vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.page-hero h1,
.product-header h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.hero-copy p,
.page-hero p,
.product-header p,
.lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-tag {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.system-tag.tag-ready {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-color: #b8d9ee;
}

.system-tag.tag-configurable {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.system-tag.tag-required {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.level-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid #b8d9ee;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.level-label.level-modular {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.level-label.level-advanced {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.basic-product-card {
  display: grid;
  gap: 0.35rem;
}

.memory-line {
  margin: 0.7rem 0 0;
  color: var(--blue-dark) !important;
  font-size: 0.92rem;
  font-weight: 900;
}

.memory-line-light {
  color: rgba(255, 255, 255, 0.9) !important;
}

.shop-product-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.shop-product-actions .button {
  min-height: 42px;
  padding-inline: 0.7rem;
  text-align: center;
}

.shop-product-note {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.shop-archive-hero {
  padding: 2.6rem 0 2.2rem;
}

.shop-archive-hero .container {
  max-width: 1120px;
}

.shop-archive-hero h1 {
  max-width: 720px;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 6vw, 3rem);
}

.shop-archive-hero p {
  max-width: 820px;
  margin: 0;
}

.shop-archive-section {
  padding-top: 2rem;
}

.shop-toolbar {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.06);
}

.shop-toolbar p {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 900;
}

.shop-toolbar-controls {
  display: grid;
  gap: 0.75rem;
}

.shop-toolbar-controls input,
.shop-toolbar-controls select {
  margin-top: 0;
}

.shop-archive-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.shop-filter-sidebar {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.shop-filter-sidebar section {
  display: grid;
  gap: 0.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.shop-filter-sidebar section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.shop-filter-sidebar h2 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.shop-filter-sidebar label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.shop-filter-sidebar input {
  width: auto;
  margin: 0.18rem 0 0;
}

.shop-results {
  min-width: 0;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.shop-product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(20, 32, 51, 0.07);
}

.shop-product-image {
  position: relative;
  display: grid;
  min-height: 156px;
  aspect-ratio: 4 / 3;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(232, 242, 250, 0.96), rgba(247, 251, 255, 0.9) 50%, rgba(226, 243, 237, 0.78)),
    white;
}

.shop-product-image::before {
  content: "";
  width: 44px;
  height: 44px;
  margin-bottom: 0.5rem;
  border: 1px solid #b8d9ee;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(23, 105, 170, 0.12), rgba(31, 157, 114, 0.1)),
    white;
}

.shop-product-image span {
  position: absolute;
  bottom: 1rem;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-product-body {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1rem 0.75rem;
}

.shop-product-badge {
  width: fit-content;
  padding: 0.28rem 0.55rem;
  border: 1px solid #b8d9ee;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.74rem;
  font-weight: 900;
}

.shop-product-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.shop-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.shop-product-sku {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.shop-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.shop-product-meta strong {
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.shop-product-meta span {
  padding: 0.24rem 0.5rem;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  background: #dcfce7;
  font-size: 0.75rem;
  font-weight: 900;
}

.shop-card-actions {
  display: grid;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.shop-card-actions .button {
  min-height: 40px;
  padding-inline: 0.75rem;
}

.shop-card-actions .micro-cta {
  justify-self: center;
  font-size: 0.86rem;
}

.shop-pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.shop-pagination a {
  min-width: 42px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: white;
  font-weight: 900;
}

.shop-pagination a[aria-current="page"] {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.shop-guidance-panel {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #b8d9ee;
  border-radius: 8px;
  background: var(--blue-soft);
}

.shop-guidance-panel h2 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.shop-guidance-panel p {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.actions,
.cta-actions,
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-visual {
  min-height: 320px;
  display: grid;
  align-items: center;
}

.care-scene {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 105, 170, 0.08), rgba(31, 157, 114, 0.12)),
    white;
  box-shadow: var(--shadow);
}

.scene-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.scene-card.main {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--blue);
  color: white;
}

.scene-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: inherit;
  opacity: 0.78;
  font-size: 0.85rem;
  font-weight: 800;
}

.scene-card strong {
  display: block;
  font-size: 1.1rem;
}

.trust-strip {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-strip span {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font-weight: 800;
}

.section {
  padding: 3.8rem 0;
}

.warm-clinical-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.96) 0%, rgba(255, 249, 239, 0.86) 48%, rgba(242, 251, 247, 0.95) 100%),
    linear-gradient(120deg, rgba(219, 234, 254, 0.72), rgba(254, 226, 226, 0.38) 45%, rgba(220, 252, 231, 0.55));
}

.warm-clinical-section::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(184, 217, 238, 0.65);
  border-radius: 28px;
  pointer-events: none;
}

.section-muted {
  background: var(--bg);
}

.section-trust {
  background: #f1f7fb;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-heading p {
  color: var(--muted);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 7vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.45rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

.card-grid,
.clinical-grid,
.condition-grid,
.solution-grid,
.step-grid,
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.support-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.support-solution-card {
  position: relative;
  min-height: 238px;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-top: 7px solid rgba(23, 105, 170, 0.42);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(20, 32, 51, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.support-solution-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.support-solution-card:hover,
.support-solution-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(23, 105, 170, 0.36);
  box-shadow: 0 30px 64px rgba(20, 32, 51, 0.16);
}

.support-solution-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.22rem;
  line-height: 1.2;
}

.support-solution-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #3f5368;
  font-weight: 650;
  line-height: 1.5;
}

.support-badge {
  position: relative;
  z-index: 1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(15, 77, 124, 0.16);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

.soft-icon-circle {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 20px rgba(20, 32, 51, 0.08);
  font-size: 0.88rem;
  font-weight: 900;
}

.pastel-sky {
  border-top-color: #55a7dd;
  background: linear-gradient(135deg, #dff3ff 0%, #c8e8fb 100%);
}

.pastel-mint {
  border-top-color: #43b883;
  background: linear-gradient(135deg, #ddfaed 0%, #c2f0d9 100%);
}

.pastel-lavender {
  border-top-color: #9f8be8;
  background: linear-gradient(135deg, #eee8ff 0%, #ddd3ff 100%);
}

.pastel-peach {
  border-top-color: #f59e66;
  background: linear-gradient(135deg, #ffead9 0%, #ffd7b8 100%);
}

.pastel-blue {
  border-top-color: #6da8ef;
  background: linear-gradient(135deg, #dfedff 0%, #c9ddfb 100%);
}

.pastel-cream {
  border-top-color: #e8bf3f;
  background: linear-gradient(135deg, #fff3bd 0%, #ffe79a 100%);
}

.pastel-orange {
  border-top-color: #f28b45;
  background: linear-gradient(135deg, #ffe3c7 0%, #ffc99f 100%);
}

.pastel-aqua {
  border-top-color: #38b7bf;
  background: linear-gradient(135deg, #d8fbfb 0%, #bdeff1 100%);
}

.pastel-purple {
  border-top-color: #9b7bdd;
  background: linear-gradient(135deg, #efe7ff 0%, #d9ccff 100%);
}

.pastel-yellow {
  border-top-color: #e9b72f;
  background: linear-gradient(135deg, #fff1aa 0%, #ffe07a 100%);
}

.pediatric-guidance-row {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(184, 217, 238, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 42px rgba(20, 32, 51, 0.08);
}

.pediatric-guidance-row .section-heading {
  margin-bottom: 1rem;
}

.family-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.family-support-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(20, 32, 51, 0.08);
}

.family-support-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1rem;
}

.family-blue {
  background: linear-gradient(135deg, #dff3ff, #f3fbff);
}

.family-green {
  background: linear-gradient(135deg, #ddfaed, #f3fff8);
}

.family-purple {
  background: linear-gradient(135deg, #efe7ff, #faf7ff);
}

.category-section,
.guided-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(20, 32, 51, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-section::before,
.guided-card::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 7px;
  background: var(--blue);
}

.category-section::after,
.guided-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -66px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.category-section:hover,
.category-section:focus-within,
.guided-card:hover,
.guided-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 58px rgba(20, 32, 51, 0.14);
}

.category-section > *,
.guided-card > * {
  position: relative;
  z-index: 1;
}

.category-thumb,
.guided-card-visual,
.pathway-icon,
.choice-icon-frame,
.category-tab-icon,
.condition-icon {
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(20, 32, 51, 0.08);
}

.category-accent-mobility {
  border-color: rgba(242, 139, 69, 0.36);
  background: linear-gradient(135deg, #fff3e7 0%, #e5f3ff 100%);
}

.category-accent-mobility::before {
  background: linear-gradient(180deg, #f28b45, #55a7dd);
}

.category-accent-seating {
  border-color: rgba(85, 167, 221, 0.34);
  background: linear-gradient(135deg, #e2f3ff 0%, #f6fbff 100%);
}

.category-accent-seating::before {
  background: #55a7dd;
}

.category-accent-bathroom {
  border-color: rgba(56, 183, 191, 0.34);
  background: linear-gradient(135deg, #dcfbfb 0%, #f4ffff 100%);
}

.category-accent-bathroom::before {
  background: #38b7bf;
}

.category-accent-transfer {
  border-color: rgba(155, 123, 221, 0.34);
  background: linear-gradient(135deg, #efe7ff 0%, #faf7ff 100%);
}

.category-accent-transfer::before {
  background: #9b7bdd;
}

.category-accent-home {
  border-color: rgba(67, 184, 131, 0.34);
  background: linear-gradient(135deg, #def8ec 0%, #f5fff9 100%);
}

.category-accent-home::before {
  background: #43b883;
}

.category-accent-therapy {
  border-color: rgba(233, 183, 47, 0.34);
  background: linear-gradient(135deg, #fff4bf 0%, #fffaf0 100%);
}

.category-accent-therapy::before {
  background: #e9b72f;
}

.guided-category-page .guided-card {
  border-radius: 22px !important;
  border-color: rgba(184, 217, 238, 0.86) !important;
  box-shadow: 0 20px 44px rgba(20, 32, 51, 0.1) !important;
}

.guided-category-page .guided-card.category-accent-mobility {
  background: linear-gradient(135deg, #fff3e7 0%, #e5f3ff 100%) !important;
}

.guided-category-page .guided-card.category-accent-seating {
  background: linear-gradient(135deg, #e2f3ff 0%, #f6fbff 100%) !important;
}

.guided-category-page .guided-card.category-accent-bathroom {
  background: linear-gradient(135deg, #dcfbfb 0%, #f4ffff 100%) !important;
}

.guided-category-page .guided-card.category-accent-transfer {
  background: linear-gradient(135deg, #efe7ff 0%, #faf7ff 100%) !important;
}

.guided-category-page .guided-card.category-accent-home {
  background: linear-gradient(135deg, #def8ec 0%, #f5fff9 100%) !important;
}

.guided-category-page .guided-card.category-accent-therapy {
  background: linear-gradient(135deg, #fff4bf 0%, #fffaf0 100%) !important;
}

.guided-category-page .guided-card:hover,
.guided-category-page .guided-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 30px 62px rgba(20, 32, 51, 0.15) !important;
}

.guided-category-page .category-choice-bar {
  border-radius: 22px;
  background: linear-gradient(135deg, #f3faff, #fffaf0);
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.09);
}

.guided-category-page .category-choice-bar a,
.quick-links a {
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 32, 51, 0.06);
}

.visual-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.visual-category-grid.single {
  max-width: 760px;
}

.visual-category-grid .category-section,
.guided-category-page .guided-card {
  display: grid;
  grid-template-columns: 1fr !important;
  align-content: start;
  gap: 1rem;
  min-height: 0;
  padding: 1.25rem;
}

.visual-category-grid .category-section {
  scroll-margin-top: 110px;
}

.visual-category-grid .category-section > div:first-child,
.guided-category-page .guided-card-content {
  display: grid;
  gap: 0.7rem;
}

.visual-category-grid .category-section .category-thumb,
.guided-category-page .guided-card-visual {
  width: 100%;
  min-height: 160px;
  aspect-ratio: 16 / 9;
  margin: 0 0 0.35rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08)),
    var(--blue-soft);
}

.visual-category-grid .category-section .condition-icon,
.guided-category-page .pathway-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.62);
}

.visual-category-grid .category-section h2,
.guided-category-page .guided-card h2,
.guided-category-page .guided-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.visual-category-grid .category-section p,
.guided-category-page .guided-card p {
  margin: 0;
  color: #43576c;
  font-size: 0.98rem;
  line-height: 1.55;
}

.visual-category-grid .solution-list,
.visual-category-grid .example-list {
  padding: 0;
  border: 0;
  background: transparent;
}

.visual-category-grid .solution-list h3,
.visual-category-grid .example-list h3 {
  margin: 0 0 0.55rem;
  color: var(--blue-dark);
  font-size: 0.88rem;
  flex: 0 0 100%;
}

.visual-category-grid .solution-list ul,
.visual-category-grid .example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.visual-category-grid .solution-list li,
.visual-category-grid .example-list span,
.visual-category-grid .example-list a,
.guided-category-page .tag-row li,
.guided-category-page .tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(15, 77, 124, 0.14);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
}

.visual-category-grid .category-actions,
.guided-category-page .guided-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: auto;
}

.visual-category-grid .category-actions .button,
.guided-category-page .guided-card-actions .button {
  min-height: 44px;
  border-radius: 999px;
}

.visual-category-grid .category-actions .button-secondary,
.guided-category-page .guided-card-actions .text-link {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 77, 124, 0.18);
}

.visual-category-grid .category-actions .button-secondary:hover,
.visual-category-grid .category-actions .button-secondary:focus-visible {
  color: white;
  background: var(--blue-dark);
}

.condition-card-grid .category-section,
.guided-category-page .pathway-card {
  padding: 1.2rem;
}

.condition-accent-cp {
  border-color: rgba(85, 167, 221, 0.34);
  background: linear-gradient(135deg, #e2f3ff 0%, #f7fcff 100%) !important;
}

.condition-accent-cp::before {
  background: #55a7dd;
}

.condition-accent-stroke {
  border-color: rgba(155, 123, 221, 0.34);
  background: linear-gradient(135deg, #efe7ff 0%, #faf7ff 100%) !important;
}

.condition-accent-stroke::before {
  background: #9b7bdd;
}

.condition-accent-elderly {
  border-color: rgba(67, 184, 131, 0.34);
  background: linear-gradient(135deg, #def8ec 0%, #f7fff9 100%) !important;
}

.condition-accent-elderly::before {
  background: #43b883;
}

.condition-accent-surgery {
  border-color: rgba(242, 139, 69, 0.34);
  background: linear-gradient(135deg, #fff3e7 0%, #fff9f3 100%) !important;
}

.condition-accent-surgery::before {
  background: #f28b45;
}

.condition-accent-neuro {
  border-color: rgba(98, 126, 221, 0.34);
  background: linear-gradient(135deg, #e7f1ff 0%, #f1ebff 100%) !important;
}

.condition-accent-neuro::before {
  background: linear-gradient(180deg, #55a7dd, #9b7bdd);
}

.condition-accent-pediatric {
  border-color: rgba(85, 167, 221, 0.34);
  background: linear-gradient(135deg, #e2f3ff 0%, #fff3bd 52%, #efe7ff 100%) !important;
}

.condition-accent-pediatric::before {
  background: linear-gradient(180deg, #55a7dd, #e9b72f, #9b7bdd);
}

.guided-category-page .guided-card::before,
.visual-category-grid .category-section::before {
  width: 8px;
}

.shop-archive-hero {
  background:
    linear-gradient(135deg, #f0f8ff 0%, #fff7ed 56%, #eefcf6 100%);
}

.shop-toolbar,
.shop-filter-sidebar,
.shop-guidance-panel {
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(20, 32, 51, 0.08);
}

.shop-product-grid {
  gap: 1.2rem;
}

.shop-product-card {
  border-color: rgba(184, 217, 238, 0.86);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: 0 20px 44px rgba(20, 32, 51, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-product-card:hover,
.shop-product-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 170, 0.3);
  box-shadow: 0 30px 62px rgba(20, 32, 51, 0.15);
}

.shop-product-card:nth-child(6n+1) .shop-product-image {
  background: linear-gradient(135deg, #e2f3ff, #fff3e7);
}

.shop-product-card:nth-child(6n+2) .shop-product-image {
  background: linear-gradient(135deg, #def8ec, #f5fff9);
}

.shop-product-card:nth-child(6n+3) .shop-product-image {
  background: linear-gradient(135deg, #fff4bf, #fffaf0);
}

.shop-product-card:nth-child(6n+4) .shop-product-image {
  background: linear-gradient(135deg, #dcfbfb, #f4ffff);
}

.shop-product-card:nth-child(6n+5) .shop-product-image {
  background: linear-gradient(135deg, #efe7ff, #faf7ff);
}

.shop-product-card:nth-child(6n+6) .shop-product-image {
  background: linear-gradient(135deg, #ffe3c7, #fff7ed);
}

.shop-product-image {
  min-height: 178px;
  border-bottom: 1px solid rgba(184, 217, 238, 0.86);
}

.shop-product-image::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.shop-product-image span {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(20, 32, 51, 0.09);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
}

.shop-product-image img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.shop-product-image.is-loaded-image img {
  opacity: 1;
}

.shop-product-image.is-loaded-image::before,
.shop-product-image.is-loaded-image::after,
.shop-product-image.is-loaded-image span {
  display: none;
}

.shop-product-image.is-missing-image img {
  display: none;
}

.shop-product-placeholder {
  overflow: hidden;
}

.shop-product-placeholder::before {
  display: none;
}

.shop-product-placeholder .shop-placeholder-icon {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  color: var(--blue-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(20, 32, 51, 0.09);
}

.shop-product-placeholder span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.placeholder-transfer {
  background: linear-gradient(135deg, #e2f3ff, #fff3e7);
}

.placeholder-bed {
  background: linear-gradient(135deg, #def8ec, #f5fff9);
}

.placeholder-table {
  background: linear-gradient(135deg, #fff4bf, #fffaf0);
}

.placeholder-rail {
  background: linear-gradient(135deg, #dcfbfb, #f4ffff);
}

.placeholder-bench {
  background: linear-gradient(135deg, #efe7ff, #faf7ff);
}

.placeholder-bath {
  background: linear-gradient(135deg, #ffe3c7, #fff7ed);
}

.shop-product-badge {
  border-color: rgba(23, 105, 170, 0.18);
  border-radius: 999px;
  background: #eaf4fb;
}

.shop-product-meta {
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(184, 217, 238, 0.78);
  border-radius: 14px;
  background: #fff;
}

.shop-product-meta strong {
  color: var(--blue-dark);
}

.shop-product-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  background: #dcfce7;
  font-size: 0.78rem;
  font-weight: 900;
}

.shop-card-actions {
  gap: 0.65rem;
}

.shop-guidance-panel {
  border: 1px solid rgba(184, 217, 238, 0.9);
  background:
    linear-gradient(135deg, rgba(234, 244, 251, 0.96), rgba(255, 255, 255, 0.9)),
    #fff;
}

.shop-guidance-panel h2 {
  color: var(--blue-dark);
}

.problem-card,
.clinical-card,
.condition-card,
.solution-card,
.step-card,
.content-card,
.brand-card,
.category-section,
.detail-section,
.inquiry-panel,
.whatsapp-panel,
.inquiry-form,
.prepare-card,
.disclaimer-box,
.risk-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.problem-card,
.clinical-card,
.condition-card,
.solution-card,
.step-card,
.content-card,
.brand-card,
.category-section,
.detail-section,
.inquiry-panel,
.whatsapp-panel,
.inquiry-form,
.prepare-card,
.disclaimer-box,
.risk-panel {
  padding: 1.25rem;
}

.problem-card p,
.clinical-card p,
.condition-card p,
.solution-card p,
.step-card p,
.content-card p,
.brand-card p,
.category-section p {
  color: var(--muted);
}

.problem-card strong,
.clinical-card span,
.condition-card span,
.solution-card span,
.text-link {
  color: var(--blue-dark);
  font-weight: 800;
}

.problem-card[data-problem] {
  min-height: 92px;
  padding: 1.25rem;
  color: var(--blue-dark);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.problem-card[data-problem]:hover,
.problem-card[data-problem]:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 32, 51, 0.12);
}

.problem-card[data-problem].is-selected {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.guidance-box {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid #bfe8d8;
  border-radius: 8px;
  background: #f0fbf6;
}

.guidance-box p {
  color: var(--muted);
}

.icon-badge,
.brand-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 800;
}

.step-card {
  border-top: 4px solid var(--blue);
}

.step-card span {
  color: var(--green);
  font-weight: 800;
}

.center-action {
  margin-top: 1.5rem;
}

.clinical-card,
.solution-card {
  min-height: 180px;
}

.clinical-card {
  border-left: 4px solid var(--green);
}

.condition-layer {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.condition-card {
  min-height: 170px;
  background: var(--bg);
}

.risk-panel {
  border-left: 4px solid var(--green);
}

.risk-panel ul,
.solution-list ul,
.prepare-card ul,
.check-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.risk-panel li,
.solution-list li,
.prepare-card li,
.check-list li {
  margin-bottom: 0.55rem;
}

.cta-band {
  padding: 3rem 0;
  color: white;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  color: white;
  background: #101928;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-trust-grid {
  align-items: start;
}

.site-footer p,
.site-footer a,
.site-footer small,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 0.55rem;
}

.footer-brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 0.85rem;
}

.footer-brand-icon {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.footer-brand .brand-text strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.staff-login-link {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.6;
  text-decoration: none;
}

.button:disabled,
.status-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.staff-login-link:hover,
.staff-login-link:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.staff-login-floating {
  position: fixed;
  right: 1rem;
  bottom: 4.25rem;
  z-index: 121;
  color: var(--muted);
}

.staff-login-modal[hidden] {
  display: none;
}

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

.staff-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 25, 40, 0.54);
}

.staff-login-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 22px 55px rgba(16, 25, 40, 0.24);
}

.staff-login-dialog h2 {
  margin: 0;
}

.staff-login-dialog label {
  display: grid;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--ink);
}

.staff-login-dialog input {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.staff-login-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

.footer-socials,
.footer-social-list {
  display: grid;
  gap: 0.55rem;
}

.footer-socials a,
.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0 !important;
  width: fit-content;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.footer-social-label {
  line-height: 1.2;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #fff;
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
}

.footer-memory-line {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.footer-policy-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  flex-basis: 100%;
  gap: 0.35rem;
  opacity: 0.86;
}

.footer-policy-links a {
  margin-bottom: 0 !important;
}

.footer-policy-links a:hover,
.footer-policy-links a:focus-visible {
  color: white;
  text-decoration: underline;
}

.footer-policy-links span {
  color: rgba(255, 255, 255, 0.45);
}

.footer-partner-note {
  display: block;
  flex-basis: 100%;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.4;
}

.categories-hero-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.category-hero-visual,
.category-thumb,
.category-tab-icon,
.condition-icon {
  position: relative;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background:
    linear-gradient(135deg, rgba(232, 242, 250, 0.98), rgba(255, 255, 255, 0.9) 52%, rgba(226, 243, 237, 0.76)),
    #fff;
}

.category-hero-visual {
  min-height: 220px;
  margin: 0;
  border: 1px solid rgba(184, 217, 238, 0.9);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(20, 32, 51, 0.1);
}

.category-thumb {
  width: min(100%, 168px);
  aspect-ratio: 4 / 3;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(184, 217, 238, 0.82);
  border-radius: 8px;
}

.category-tab-icon,
.condition-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(184, 217, 238, 0.86);
  border-radius: 10px;
}

.condition-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.7rem;
}

.category-hero-visual img,
.category-thumb img,
.category-tab-icon img,
.condition-icon img {
  width: 100%;
  height: 100%;
  display: block;
  color: transparent;
  font-size: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.category-hero-visual img,
.category-thumb img {
  object-fit: cover;
  object-position: center;
}

.category-hero-visual img {
  position: absolute;
  inset: 0;
}

.category-tab-icon img,
.condition-icon img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.category-hero-visual.is-loaded-image img,
.category-thumb.is-loaded-image img,
.category-tab-icon.is-loaded-image img,
.condition-icon.is-loaded-image img {
  opacity: 1;
}

.category-hero-visual.is-missing-image img,
.category-thumb.is-missing-image img,
.category-tab-icon.is-missing-image img,
.condition-icon.is-missing-image img {
  display: none;
}

.quick-links a {
  gap: 0.5rem;
}

.page-hero,
.product-hero {
  padding: 4rem 0;
}

.pill-grid,
.quick-links,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-grid span,
.quick-links a,
.feature-list span,
.example-list span,
.example-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--blue-dark);
  font-weight: 800;
}

.category-stack {
  display: grid;
  gap: 1rem;
}

.category-section {
  scroll-margin-top: 100px;
  display: grid;
  gap: 1rem;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.example-list h3 {
  flex-basis: 100%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-header {
  display: grid;
  gap: 1.25rem;
}

.product-tags,
.guidance-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.product-tags {
  margin-top: 1.5rem;
}

.tag-group,
.guidance-tags div {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.tag-group span,
.guidance-tags span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-group strong,
.guidance-tags strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.95rem;
  line-height: 1.35;
}

.product-layout {
  align-items: start;
}

.product-main {
  display: grid;
  gap: 1rem;
}

.detail-section.warning {
  background: var(--warning);
  border-color: var(--warning-line);
}

.inquiry-panel {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 0.8rem;
}

.disclaimer-box {
  background: var(--blue-soft);
}

.disclaimer-box p {
  color: var(--ink);
}

.disclaimer-box small {
  color: var(--muted);
}

.related-links {
  display: grid;
  gap: 0.45rem;
}

.related-links a {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-grid {
  align-items: start;
}

.assessment-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.assessment-form,
.assessment-side,
.form-step,
.assessment-result {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.assessment-form {
  display: grid;
  gap: 1rem;
}

.adaptive-fields {
  display: grid;
  gap: 1rem;
}

.form-step {
  position: relative;
}

.primary-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #bfe8d8;
  border-radius: 8px;
  background: #f0fbf6;
}

.primary-feedback p {
  color: var(--muted);
}

.primary-feedback .button {
  margin-top: 0.75rem;
}

.caseflow-guidance {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #b8d9ee;
  border-radius: 8px;
  background: var(--blue-soft);
}

.caseflow-guidance.is-alert {
  border-color: #fecaca;
  background: #fff1f2;
}

.caseflow-guidance p {
  color: var(--muted);
}

.caseflow-guidance .button {
  margin-top: 0.75rem;
}

.risk-note {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid var(--warning-line);
  border-radius: 8px;
  background: var(--warning);
}

.risk-note p {
  margin-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 800;
}

.field-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.assessment-result {
  background: #f0fbf6;
  border-color: #bfe8d8;
}

.decision-output {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.decision-output h2 {
  font-size: 1.25rem;
}

.decision-grid {
  display: grid;
  gap: 0.75rem;
}

.decision-grid section {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.decision-grid span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decision-grid strong {
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.decision-grid p {
  color: var(--muted);
}

.recommendation-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.recommendation-list li {
  margin-bottom: 0.45rem;
}

.solution-preview {
  margin: 1rem 0;
}

.solution-preview h2 {
  font-size: 1.15rem;
}

.cp-chair-result {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #bfe8d8;
  border-radius: 8px;
  background: white;
}

.cp-chair-result h2 {
  font-size: 1.15rem;
}

.cp-chair-summary {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.cp-chair-summary div {
  display: grid;
  gap: 0.2rem;
}

.cp-chair-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cp-chair-summary dd {
  margin: 0;
  color: var(--ink);
}

.controlled-result {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #bfe8d8;
  border-radius: 8px;
  background: white;
}

.controlled-result-summary {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.controlled-result-summary div {
  display: grid;
  gap: 0.2rem;
}

.controlled-result-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.controlled-result-summary dd {
  margin: 0;
  color: var(--ink);
}

.solution-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.solution-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  border: 1px solid #bfe8d8;
  border-radius: 999px;
  color: var(--blue-dark);
  background: white;
  font-weight: 800;
}

.assessment-result p {
  color: var(--muted);
}

.assessment-side {
  position: sticky;
  top: 112px;
}

.assessment-side ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.assessment-side li {
  margin-bottom: 0.6rem;
}

.whatsapp-panel {
  background: #f0fbf6;
  border-color: #bfe8d8;
}

.contact-number {
  margin: 1rem 0;
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 800;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.form-status {
  margin-top: 1rem;
  color: var(--green);
  font-weight: 800;
}

.form-status:not(:empty) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  line-height: 1.25;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  color: white;
  background: #3bbf8a;
  box-shadow: 0 10px 22px rgba(31, 157, 114, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem);
  font-weight: 800;
  font-size: 0.9rem;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #2fa978;
}

.whatsapp-float::before {
  content: "Need help? You can also contact us on WhatsApp";
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(260px, calc(100vw - 2rem));
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 28px rgba(20, 32, 51, 0.12);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:focus-visible::before,
.whatsapp-float.show-tooltip::before {
  opacity: 1;
  transform: translateY(0);
}

.conversion-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f0f8ff 0%, #fff7ed 48%, #eefcf6 100%);
  text-align: center;
}

.conversion-hero::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(184, 217, 238, 0.72);
  border-radius: 30px;
  pointer-events: none;
}

.conversion-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - 1180px) / 2));
  bottom: 1.4rem;
  width: min(420px, 46vw);
  height: min(300px, 34vw);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 224, 122, 0.6), rgba(190, 239, 241, 0.68));
  transform: rotate(-4deg);
  pointer-events: none;
}

.conversion-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.conversion-hero-inner.home-hero-grid {
  max-width: 1180px;
}

.home-hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.home-hero-copy {
  max-width: 780px;
  margin: 0 auto;
}

.home-hero-image,
.home-card-image {
  position: relative;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(232, 242, 250, 0.96), rgba(247, 251, 255, 0.86) 48%, rgba(226, 243, 237, 0.82)),
    #fff;
  box-shadow: 0 18px 42px rgba(20, 32, 51, 0.12);
}

.home-hero-image {
  min-height: 320px;
  aspect-ratio: 5 / 4;
  padding: 0.65rem;
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, #dff3ff 0%, #fff1aa 52%, #ddfaed 100%);
  box-shadow: 0 34px 76px rgba(20, 32, 51, 0.19);
}

.home-card-image {
  aspect-ratio: 16 / 9;
  margin: -1rem -1rem 1.2rem;
  border-width: 0 0 1px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 12px 26px rgba(20, 32, 51, 0.08);
}

.home-hero-image img,
.home-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  color: transparent;
  font-size: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.home-hero-image img {
  border-radius: 24px;
}

.home-hero-image.is-loaded-image img,
.home-card-image.is-loaded-image img {
  opacity: 1;
}

.home-hero-image.is-missing-image img,
.home-card-image.is-missing-image img {
  display: none;
}

.home-hero-image::before,
.home-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  background:
    linear-gradient(135deg, rgba(23, 105, 170, 0.09), rgba(31, 157, 114, 0.08)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.36) 0 16px, rgba(255, 255, 255, 0.08) 16px 32px);
}

.home-hero-image.is-missing-image::before,
.home-card-image.is-missing-image::before {
  display: block;
}

.home-hero-image figcaption {
  position: absolute;
  inset: 1rem;
  z-index: 2;
  display: none;
  place-items: center;
  padding: 1rem;
  color: var(--blue-dark);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  border: 1px dashed rgba(23, 105, 170, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.home-hero-image.is-missing-image figcaption {
  display: grid;
}

.home-card-image.is-missing-image::after,
.category-hero-visual.is-missing-image::after,
.category-thumb.is-missing-image::after,
.category-tab-icon.is-missing-image::after,
.condition-icon.is-missing-image::after {
  position: absolute;
  inset: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  border: 1px dashed rgba(23, 105, 170, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.home-card-image.is-missing-image::after,
.category-hero-visual.is-missing-image::after,
.category-thumb.is-missing-image::after {
  content: "RehabMart guided support visual\A Image coming soon";
  white-space: pre-line;
}

.category-hero-visual.is-missing-image {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 205, 131, 0.32), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(115, 214, 207, 0.26), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef7fb 48%, #fff7e8 100%);
  border-color: rgba(105, 166, 207, 0.42);
}

.category-hero-visual.is-missing-image::before {
  content: "RM";
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 105, 160, 0.96), rgba(67, 161, 203, 0.9));
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(20, 32, 51, 0.14);
}

.category-hero-visual.is-missing-image::after {
  inset: auto 1.25rem 1.25rem 1.25rem;
  min-height: 94px;
  align-content: center;
  border-color: rgba(105, 166, 207, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
  box-shadow: 0 14px 32px rgba(20, 32, 51, 0.08);
}

.category-tab-icon.is-missing-image::after,
.condition-icon.is-missing-image::after {
  content: "Pathway";
  inset: 0.3rem;
  font-size: 0.62rem;
}

.image-placeholder,
.placeholder-image {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(23, 105, 170, 0.28);
  border-radius: 8px;
  color: var(--blue-dark);
  background:
    linear-gradient(135deg, rgba(232, 242, 250, 0.96), rgba(247, 251, 255, 0.9) 50%, rgba(226, 243, 237, 0.78)),
    white;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.image-placeholder:empty::after,
.placeholder-image:empty::after {
  content: "RehabMart guided support visual\A Image coming soon";
  white-space: pre-line;
}

.problem-card-icon,
.home-mini-icon,
.process-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.55rem;
  border: 1px solid #b8d9ee;
  border-radius: 12px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.problem-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-mini-icon,
.process-icon {
  margin-bottom: 0.8rem;
}

.process-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 20px rgba(23, 105, 170, 0.18);
}

.visual-disclaimer {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.conversion-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 10vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.conversion-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.conversion-hero .actions {
  justify-content: center;
  margin-top: 2.1rem;
}

.hero-risk-line {
  margin-top: 0.8rem;
  color: var(--blue-dark) !important;
  font-weight: 750;
}

.hero-trust-line {
  margin-top: 1.25rem;
  color: var(--blue-dark) !important;
  font-weight: 800;
}

.trust {
  margin-top: 1.25rem;
  color: var(--blue-dark) !important;
  font-weight: 800;
}

.grid.conversion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card.conversion-card {
  display: block;
  min-height: 92px;
  padding: 1.35rem;
  border: 1px solid rgba(184, 217, 238, 0.82);
  border-radius: 18px;
  color: var(--blue-dark);
  background: white;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(20, 32, 51, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card.conversion-card:hover,
.card.conversion-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 170, 0.32);
  box-shadow: 0 24px 48px rgba(20, 32, 51, 0.13);
}

.card.conversion-card.has-media {
  padding: 1rem;
  overflow: hidden;
}

.card.conversion-card h3 {
  color: var(--ink);
}

.card.conversion-card p {
  color: var(--muted);
  font-weight: 500;
}

.support-list-clean {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list-clean li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font-weight: 800;
}

.start-here {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

.start-here .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.start-here .conversion-grid {
  gap: 1.25rem;
}

.start-here .problem-card[data-problem] {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  font-size: 1.2rem;
  text-align: center;
}

.start-here .problem-card[data-problem] span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.assessment-trust {
  background: white;
}

.assessment-bullets {
  display: grid;
  gap: 1.1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.assessment-bullets li {
  position: relative;
  padding: 1.2rem 1.25rem;
  padding-left: 3.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #f8fcff;
  color: var(--blue-dark);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.05);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.assessment-bullets li:hover {
  border-color: #bfe8d8;
  background: #f0fbf6;
  transform: translateY(-1px);
}

.assessment-bullets li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.dashboard-summary div {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 77, 124, 0.06);
}

.dashboard-summary div:hover {
  border-color: #b8d9ee;
}

.dashboard-summary div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
}

.dashboard-summary div:nth-child(2)::before {
  background: #dc2626;
}

.dashboard-summary div:nth-child(3)::before {
  background: #64748b;
}

.dashboard-summary div:nth-child(4)::before {
  background: #f97316;
}

.dashboard-summary div:nth-child(5)::before {
  background: #16a34a;
}

.dashboard-summary strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1;
}

.dashboard-summary span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: start;
}

.case-list-panel,
.case-detail-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 14px 34px rgba(16, 25, 40, 0.06);
}

.case-detail-panel > h2 {
  margin-top: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
}

.case-list {
  display: grid;
  gap: 0.75rem;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.75rem 0 1.25rem;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.filter-button {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-dark);
  background: white;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.case-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.case-row:hover,
.case-row:focus-within {
  border-color: #b8d9ee;
  box-shadow: 0 12px 28px rgba(15, 77, 124, 0.08);
}

.case-row.priority-critical {
  border-left: 5px solid #dc2626 !important;
}

.case-row.priority-high {
  border-left: 5px solid #f97316 !important;
}

.case-row.priority-medium {
  border-left: 5px solid #eab308 !important;
}

.case-row.priority-low {
  border-left: 5px solid #16a34a !important;
}

.case-row.urgency-urgent {
  border-color: #fecaca;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.08);
}

.case-priority-label {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.active-case-label {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.32rem 0.55rem;
  border: 1px solid #b8d9ee;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.new-case-label {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  padding: 0.3rem 0.52rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.case-row:has(.active-case-label) .new-case-label {
  display: none;
}

.case-row:has(.active-case-label) .case-priority-label {
  display: none;
}

.case-row:has(.active-case-label) {
  border-left: 4px solid var(--blue) !important;
  background: var(--blue-soft);
  box-shadow: 0 12px 28px rgba(15, 77, 124, 0.1);
}

.priority-label-critical {
  color: white;
  background: #dc2626;
}

.priority-label-high {
  color: white;
  background: #f97316;
}

.priority-label-medium {
  color: #713f12;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.priority-label-low {
  color: white;
  background: #16a34a;
}

.case-urgency-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.32rem 0.55rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 900;
}

.case-urgency-badge.urgency-attention {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a4b00;
}

.case-urgency-badge.urgency-urgent {
  border-color: #fecaca;
  background: #fee2e2;
  color: #991b1b;
}

.case-payment-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.case-payment-badge.is-pending {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a4b00;
}

.case-payment-badge.is-paid {
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
}

.case-payment-badge.is-full {
  border: 1px solid #bfdbfe;
  background: #dbeafe;
  color: #1d4ed8;
}

.dealer-case-list {
  gap: 0.6rem;
}

.dealer-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.dealer-case-card {
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
}

.dealer-card-compact {
  display: grid;
  gap: 0.28rem;
  line-height: 1.25;
}

.dealer-card-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.dealer-card-line-main {
  font-size: 0.9rem;
  font-weight: 800;
}

.dealer-card-line-main strong {
  color: var(--blue-dark);
}

.dealer-card-task {
  color: var(--muted);
}

.dealer-card-task strong {
  color: var(--blue-dark);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dealer-urgency-line {
  width: fit-content;
  padding: 0.28rem 0.5rem;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a4b00;
  font-size: 0.78rem;
  font-weight: 900;
}

.dealer-update-line {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.dealer-case-card .case-recommendations {
  margin-top: 0.55rem;
  padding: 0.65rem;
}

.dealer-case-card .order-control-label {
  gap: 0.35rem;
  font-size: 0.78rem;
}

.dealer-case-card .order-notes-field {
  min-height: 58px;
}

.dealer-status-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.dealer-status-button {
  min-height: 34px;
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}

.dealer-status-button.is-complete {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #166534;
}

.dealer-status-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(15, 77, 124, 0.18);
}

.dealer-status-button:hover,
.dealer-status-button:focus-visible {
  border-color: var(--blue);
}

.dealer-order-request-list {
  display: grid;
  gap: 0.75rem;
}

.dealer-order-request-card .case-summary-button {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.dealer-order-request-modal {
  width: min(100%, 640px);
}

.case-row:hover,
.case-row:focus-within {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 10px 22px rgba(15, 77, 124, 0.08);
  transform: translateY(-1px);
}

.case-summary-button {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.case-card-main {
  padding-right: 5.5rem;
}

.case-row .case-card-main strong {
  color: var(--blue-dark);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.case-row .case-card-main em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.case-summary-button > span,
.case-detail-list div {
  display: grid;
  gap: 0.2rem;
}

.case-row strong,
.case-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-detail-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.case-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.crm-detail-hero {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #b8d9ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.crm-detail-hero h3 {
  margin: 0.15rem 0;
  color: var(--blue-dark);
  font-size: 1.15rem;
}

.crm-detail-hero p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.crm-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-workflow-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfd;
}

.quick-workflow-button {
  position: relative;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 0;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.quick-workflow-button:first-child {
  border-radius: 10px 0 0 10px;
}

.quick-workflow-button:last-child {
  border-right: 1px solid #cbd5e1;
  border-radius: 0 10px 10px 0;
}

.quick-workflow-button:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-top: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
}

.quick-workflow-button span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: white;
  color: inherit;
  font-size: 0.72rem;
}

.quick-workflow-button strong {
  position: relative;
  z-index: 3;
  font-size: 0.76rem;
}

.quick-workflow-button.is-complete {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #166534;
}

.quick-workflow-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(15, 77, 124, 0.18);
}

.quick-workflow-button.is-active::after {
  border-color: var(--blue);
}

.quick-workflow-button:hover,
.quick-workflow-button:focus-visible {
  border-color: var(--blue);
}

.crm-detail-action-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfd;
}

.crm-detail-action-bar .button {
  min-height: 40px;
  justify-content: center;
  text-align: center;
}

.assessment-required-badge {
  color: #9a4b00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.payment-crm-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.payment-crm-summary div {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfd;
}

.payment-crm-summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-crm-summary strong {
  color: var(--blue-dark);
  font-size: 1rem;
}

.payment-state-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.payment-state-badge.is-paid {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.payment-state-badge.is-pending {
  color: #9a4b00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.case-detail-sections {
  display: grid;
  gap: 1rem;
}

.case-detail-sections section {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.case-detail-sections h3 {
  margin-bottom: 0.85rem;
  color: var(--blue-dark);
}

.quick-links a:hover,
.example-list a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 105, 170, 0.12);
}

.dashboard-whatsapp {
  width: 100%;
  margin-top: 1rem;
}

.quick-actions-panel {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
  overflow: hidden;
}

.quick-actions-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.quick-actions-icon {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1;
}

.quick-actions {
  display: grid;
  gap: 0.55rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 0 1rem;
  padding-right: calc(1rem + 6px);
  transition: max-height 220ms ease;
}

.quick-actions .button:first-child {
  margin-top: 0.25rem;
}

.quick-actions .button:last-child {
  margin-bottom: 1rem;
}

.quick-actions::-webkit-scrollbar {
  width: 6px;
}

.quick-actions::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.case-note-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.case-note-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.case-note-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-note-list time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.case-note-list span {
  color: var(--ink);
}

.case-status-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.case-status-summary span:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-detail-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: stretch;
}

.order-detail-status-grid div {
  display: grid;
  gap: 0.35rem;
}

.order-detail-status-grid strong {
  color: var(--blue-dark);
}

.order-edit-grid,
.order-qc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.order-qc-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.6rem 0.65rem;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

.order-qc-list input {
  width: auto;
  margin: 0;
}

.workshop-lock-warning {
  margin: 0.85rem 0 0;
  padding: 0.85rem;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: #9a4b00;
  background: #fff7ed;
  font-weight: 850;
}

.case-visibility-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.case-visibility-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.4rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
}

.case-visibility-badge.is-green {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #166534;
}

.case-visibility-badge.is-blue {
  border-color: #bfdbfe;
  background: #dbeafe;
  color: #1d4ed8;
}

.workflow-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.workflow-step {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 800;
}

.workflow-step span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
}

.workflow-step.is-complete span {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #166534;
}

.workflow-step.is-complete strong {
  color: #166534;
}

.workflow-step.is-active span {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(15, 77, 124, 0.2);
}

.workflow-step.is-active strong {
  color: var(--blue-dark);
}

.payment-trust-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.payment-trust-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.order-created-feedback {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
}

.order-created-feedback[hidden] {
  display: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
}

.status-new {
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.status-reviewing {
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}

.status-under-review {
  color: #0f4d7c;
  background: #eaf4fb;
  border: 1px solid #b8d9ee;
}

.status-assessment-required {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.status-contacted {
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
}

.status-solution-suggested {
  color: #5b21b6;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.status-recommendation-given {
  color: #5b21b6;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.status-solution-proposed {
  color: #5b21b6;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.status-in-progress {
  color: #9a4b00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.status-order-confirmed {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.status-delivered {
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
}

.status-follow-up-needed {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.status-follow-up {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.status-converted-to-order {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.status-closed {
  color: #334155;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

.status-control {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: 0;
}

.status-control h3 {
  margin-bottom: 0.75rem;
}

.status-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
}

.status-actions .button,
.actions .button {
  min-height: 42px;
  justify-content: center;
  text-align: center;
}

.case-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.status-action {
  min-height: 42px;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.case-recommendations {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.case-recommendations.submitted-data {
  border-color: #b8d9ee;
  background: #f8fbfe;
}

.case-recommendations.staff-data {
  border-color: #ddd6fe;
  background: #fbfaff;
}

.case-recommendations.control-data {
  background: #fffdf7;
}

.case-recommendations h3 {
  margin: 0 0 0.85rem;
  color: var(--blue-dark);
  font-size: 0.98rem;
}

.case-recommendations h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--blue);
}

.case-detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.case-detail-list div {
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.case-detail-list dt,
.case-detail-list dd {
  margin: 0;
}

.case-detail-list dd {
  overflow-wrap: anywhere;
}

.dashboard-accordion {
  overflow: hidden;
}

.dashboard-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.dashboard-accordion-toggle span:last-child {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
}

.dashboard-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.dashboard-accordion-panel > *:first-child {
  margin-top: 0.25rem;
}

.case-recommendations .case-detail-list {
  gap: 1rem;
}

.case-recommendations .case-detail-list dt {
  color: var(--blue-dark);
  font-weight: 900;
}

.measurement-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 28px rgba(16, 25, 40, 0.05);
}

.measurement-table th,
.measurement-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.measurement-table th {
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.measurement-table tbody tr:nth-child(even) {
  background: #f9fbfd;
}

.measurement-table tbody tr:last-child td {
  border-bottom: 0;
}

.measurement-table td:first-child {
  width: 28%;
  color: var(--ink);
  font-weight: 850;
}

.measurement-table input {
  min-height: 40px;
  margin-top: 0;
  background: white;
}

.measurement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.order-table-wrap {
  overflow-x: auto;
}

.order-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.order-table th,
.order-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.order-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blue-soft);
}

.order-table tbody tr {
  cursor: pointer;
}

.order-table tbody tr:hover,
.order-table tbody tr.is-selected {
  background: var(--blue-soft);
}

.order-status-select {
  width: 100%;
  min-width: 150px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font: inherit;
}

.order-control-label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.order-notes-field {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.professional-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.professional-status-new {
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
}

.professional-status-under-review {
  color: #0f4d7c;
  background: #eaf4fb;
  border: 1px solid #b8d9ee;
}

.professional-status-need-more-info {
  color: #9a4b00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.professional-status-solution-proposed {
  color: #5b21b6;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.professional-status-converted-to-order {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.professional-status-closed {
  color: #1f2937;
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.workshop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.workshop-filter {
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.workshop-filter.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.workshop-order-grid {
  display: grid;
  gap: 1rem;
}

.workshop-order-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.workshop-order-card.is-selected {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.workshop-order-card.is-urgent {
  border-color: #dc2626;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.13);
}

.urgent-label {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: #dc2626;
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.workshop-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.workshop-order-top h3 {
  margin: 0.2rem 0 0;
  color: var(--blue-dark);
  font-size: 1.2rem;
}

.workshop-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.workshop-status-new {
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
}

.workshop-status-production {
  color: #9a4b00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.workshop-status-ready {
  color: #0f4d7c;
  background: #eaf4fb;
  border: 1px solid #b8d9ee;
}

.workshop-status-delivered {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.workshop-order-meta {
  display: grid;
  gap: 0.5rem;
}

.workshop-order-meta span {
  display: grid;
  gap: 0.2rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.workshop-order-meta strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workshop-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.workshop-action-button {
  width: 100%;
  min-height: 40px;
  padding: 0.6rem 0.65rem;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a4b00;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.workshop-action-button.action-ready {
  border-color: #b8d9ee;
  background: #eaf4fb;
  color: #0f4d7c;
}

.workshop-action-button.action-delivered {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #166534;
}

.workshop-action-button.action-print {
  border-color: var(--line);
  background: white;
  color: var(--blue-dark);
}

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

.print-document-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 25, 40, 0.62);
}

.print-document-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
}

.print-document-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.print-sheet {
  display: none;
}

.print-document-modal .print-sheet {
  display: block;
}

.compact-print-document {
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
}

.print-header {
  padding-bottom: 8px;
  border-bottom: 2px solid #111827;
  margin-bottom: 8px;
}

.print-header h1 {
  margin: 0;
  color: #111827;
  font-size: 20px;
}

.print-header p {
  margin: 4px 0 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.print-header h2 {
  margin: 2px 0 0;
  color: #111827;
  font-size: 15px;
}

.print-sheet h3 {
  margin: 10px 0 5px;
  color: #111827;
  font-size: 12px;
  text-transform: uppercase;
}

.print-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #111827;
  border-left: 1px solid #111827;
  margin: 0 0 6px;
}

.print-detail-grid div {
  display: grid;
  grid-template-columns: 155px 1fr;
  min-height: 28px;
  border-right: 1px solid #111827;
  border-bottom: 1px solid #111827;
}

.print-detail-grid dt,
.print-detail-grid dd {
  margin: 0;
  padding: 5px 6px;
  color: #111827;
  font-size: 11px;
}

.print-detail-grid dt {
  border-right: 1px solid #111827;
  font-weight: 800;
}

.print-section {
  margin-top: 14px;
  break-inside: avoid;
}

.print-section h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 14px;
  text-transform: uppercase;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #111827;
  border-left: 1px solid #111827;
  margin: 0;
}

.print-grid div {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 34px;
  border-right: 1px solid #111827;
  border-bottom: 1px solid #111827;
}

.print-grid dt,
.print-grid dd {
  margin: 0;
  padding: 7px;
  color: #111827;
  font-size: 12px;
}

.print-grid dt {
  border-right: 1px solid #111827;
  font-weight: 800;
}

.print-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  margin: 0 0 8px;
  padding-left: 18px;
}

.print-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.print-checklist li {
  color: #111827;
  font-size: 11px;
  font-weight: 700;
}

.print-checklist span {
  width: 16px;
  height: 16px;
  border: 1px solid #111827;
}

.print-signoff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.print-signoff div {
  min-height: 42px;
  padding: 6px;
  border: 1px solid #111827;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html, body {
    background: #fff !important;
    overflow: visible !important;
  }

  body * {
    visibility: hidden !important;
  }

  body:has(.print-area:not(:empty)) > :not(.print-area) {
    display: none !important;
  }

  .orders-page > :not(.print-area):not(script),
  .orders-page .no-print {
    display: none !important;
  }

  .print-area,
  .print-area *,
  .invoice-print-area,
  .invoice-print-area *,
  .receipt-print-area,
  .receipt-print-area * {
    visibility: visible !important;
  }

  .print-area,
  .invoice-print-area,
  .receipt-print-area {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
  }

  .print-sheet {
    color: #111827 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  .modal,
  .modal-content {
    position: static !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .no-print,
  .modal-backdrop,
  .site-header,
  .site-footer,
  .page-hero,
  .dashboard-summary,
  .dashboard-layout,
  .case-list-panel,
  .case-detail-panel,
  .workshop-filters,
  .whatsapp-float,
  button,
  nav,
  header,
  footer {
    display: none !important;
  }

  .print-area,
  .print-area section,
  .print-area table,
  .print-area .card,
  .print-area .summary-block,
  .print-section,
  .print-grid,
  .print-grid div,
  .print-checklist,
  .print-checklist label,
  .print-signoff,
  .print-signoff div,
  .workshop-order-card,
  .dashboard-summary > div,
  table,
  tr {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .print-header {
    margin-bottom: 6px !important;
    padding-bottom: 5px !important;
  }

  .print-header h1 {
    font-size: 17px !important;
  }

  .print-header p {
    font-size: 12px !important;
  }

  .print-section {
    margin-top: 7px !important;
  }

  .print-section h2 {
    margin-bottom: 4px !important;
    font-size: 10px !important;
  }

  .print-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .print-grid div {
    grid-template-columns: 100px 1fr !important;
    min-height: 20px !important;
  }

  .print-grid dt,
  .print-grid dd {
    padding: 4px !important;
    font-size: 9px !important;
    line-height: 1.22 !important;
  }

  .print-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2px 8px !important;
    margin-bottom: 4px !important;
    padding-left: 0 !important;
  }

  .print-checklist label {
    gap: 5px !important;
    font-size: 9px !important;
  }

  .print-checklist span {
    width: 10px !important;
    height: 10px !important;
    flex: 0 0 10px !important;
  }

  .print-signoff {
    gap: 5px !important;
  }

  .print-signoff div {
    min-height: 28px !important;
    padding: 4px !important;
    font-size: 9px !important;
  }

  .invoice-print-area table,
  .receipt-print-area table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: avoid !important;
  }

  .invoice-print-area tr,
  .receipt-print-area tr {
    page-break-inside: avoid !important;
  }
}

.empty-state,
.detail-content p {
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 1rem;
  border: 1px dashed #b8d9ee;
  border-radius: 10px;
  background: #f8fbfe;
  font-weight: 750;
}

@media (min-width: 720px) {
  .nav-links {
    top: 100%;
  }

  .actions,
  .cta-actions,
  .product-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .trust-strip,
  .card-grid.three,
  .clinical-grid,
  .condition-grid,
  .solution-grid,
  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.conversion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .visual-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-category-grid.single {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-toolbar {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  }

  .shop-toolbar-controls {
    grid-template-columns: minmax(180px, 1fr) minmax(140px, 180px) auto;
    align-items: center;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.conversion-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-row {
    grid-template-columns: 1fr;
  }

  .case-summary-button {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-edit-grid,
  .order-qc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .categories-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  }

  .category-hero-visual {
    min-height: 280px;
  }

  .category-thumb {
    width: 150px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    min-height: 54px;
    justify-content: flex-start;
    gap: 28px;
  }

  .site-header .brand {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: max-content;
    max-width: none;
    margin-right: 0;
    overflow: visible;
  }

  .site-header .brand-text,
  .site-header .brand-text strong,
  .site-header .brand-text small {
    min-width: max-content;
    max-width: none;
    overflow: visible;
    text-overflow: initial;
  }

  .nav-links {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.22rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links a {
    min-height: 30px;
    max-width: none;
    padding: 0.32rem 0.38rem;
    font-size: 0.74rem;
    line-height: 1.12;
    white-space: nowrap;
  }

  .nav-dropdown {
    display: flex;
    align-items: center;
  }

  .nav-dropdown-toggle {
    width: auto;
    padding: 0.25rem;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 9999;
    min-width: 220px;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu,
  .nav-dropdown-menu:hover {
    display: grid;
  }

  .nav-dropdown::after {
    height: 0.7rem;
  }

  .nav-dropdown-menu a {
    padding: 0.55rem 0.65rem;
  }

  .hero-grid,
  .two-column,
  .split-grid,
  .trust-grid,
  .contact-grid,
  .assessment-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 3rem;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
    text-align: left;
  }

  .home-hero-copy {
    margin: 0;
  }

  .home-hero-image {
    min-height: 430px;
  }

  .home-hero-copy .actions {
    justify-content: flex-start;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
  }

  .measurement-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    align-items: start;
    gap: 2rem;
  }

  .measurement-form-panel {
    order: 1;
  }

  .measurement-diagram-panel {
    position: sticky;
    top: 100px;
    order: 2;
  }

  .product-header,
  .cta-content {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .product-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guidance-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-section {
    grid-template-columns: 1.15fr 0.85fr 1fr auto;
    align-items: center;
  }

  .category-actions {
    justify-content: flex-end;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .support-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-archive-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .shop-filter-sidebar {
    position: sticky;
    top: 96px;
  }

  .shop-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid.conversion-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-trust-grid {
    grid-template-columns: 1.25fr 0.9fr 1fr 0.9fr;
  }

  .dashboard-layout {
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  }
}

@media (min-width: 980px) and (max-width: 1179px) {
  .site-header .brand-text small {
    display: none;
  }
}

@media (min-width: 1180px) {
  .nav {
    gap: 30px;
  }

  .nav-links {
    gap: 0.24rem;
  }

  .nav-links a {
    padding: 0.36rem 0.48rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1rem, 1120px);
  }

  .top-line-inner {
    justify-content: center;
    text-align: center;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-header .brand-text small {
    font-size: 0.7rem;
  }

  .button {
    width: 100%;
  }

  .dashboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-list-panel,
  .case-detail-panel,
  .case-recommendations {
    padding: 0.85rem;
    border-radius: 10px;
  }

  .case-detail-list {
    grid-template-columns: 1fr;
  }

  .measurement-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .measurement-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop-product-actions {
    grid-template-columns: 1fr;
  }

  .workshop-card-actions {
    grid-template-columns: 1fr;
  }

  .quick-workflow-bar {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .quick-workflow-button,
  .quick-workflow-button:first-child,
  .quick-workflow-button:last-child {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
  }

  .quick-workflow-button::after {
    display: none;
  }

  .whatsapp-float {
    right: 1rem;
    left: auto;
  }
}

@media (max-width: 420px) {
  .site-header .brand {
    gap: 0.55rem;
  }

  .site-header .brand-text small {
    display: none;
  }
}

/* Modern public category pathway pages */
.pathway-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 193, 122, 0.26), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(85, 167, 221, 0.22), transparent 34%),
    linear-gradient(135deg, #f4fbff 0%, #fff7ee 52%, #f0fbf6 100%);
}

.pathway-hero .categories-hero-layout,
.pathway-hero .category-hero-grid {
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pathway-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.03;
}

.pathway-hero p {
  max-width: 660px;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-pathway-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-pathway-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(15, 77, 124, 0.14);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(20, 32, 51, 0.08);
  font-weight: 850;
}

.hero-pathway-chips a:hover,
.hero-pathway-chips a:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  background: var(--blue);
}

.equipment-pathway-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #fffaf4 52%, #f6fbf9 100%);
}

.equipment-pathway-grid,
.condition-pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.equipment-pathway-card,
.condition-pathway-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(15, 77, 124, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 32, 51, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.equipment-pathway-card:hover,
.condition-pathway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 77, 124, 0.22);
  box-shadow: 0 24px 58px rgba(20, 32, 51, 0.14);
}

.pathway-visual,
.condition-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(15, 77, 124, 0.1);
}

.pathway-visual {
  min-height: 210px;
  aspect-ratio: 16 / 9;
}

.condition-visual {
  min-height: 130px;
  margin: 1rem 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
}

.pathway-visual img,
.condition-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.condition-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.is-loaded-image img {
  opacity: 1;
}

.pathway-visual.is-missing-image img,
.condition-visual.is-missing-image img {
  display: none;
}

.pathway-visual::before,
.condition-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 18px, rgba(255, 255, 255, 0.06) 18px 36px);
}

.pathway-visual.is-loaded-image::before,
.condition-visual.is-loaded-image::before {
  display: none;
}

.pathway-visual.is-missing-image::after,
.condition-visual.is-missing-image::after {
  content: "Equipment pathway visual";
  position: absolute;
  inset: 1rem;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(15, 77, 124, 0.24);
  border-radius: 16px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.condition-visual.is-missing-image::after {
  content: "Condition pathway";
}

.pathway-card-body {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
}

.condition-pathway-card {
  gap: 0.85rem;
  padding-bottom: 1.2rem;
}

.condition-pathway-card h2,
.condition-pathway-card p,
.condition-pathway-card .pathway-tags,
.condition-pathway-card .pathway-actions {
  margin-left: 1.2rem;
  margin-right: 1.2rem;
}

.equipment-pathway-card h2,
.condition-pathway-card h2 {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.1;
}

.equipment-pathway-card p,
.condition-pathway-card p {
  margin-top: 0;
  margin-bottom: 0;
  color: #43576c;
  font-size: 1rem;
  line-height: 1.5;
}

.pathway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pathway-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.68rem;
  border: 1px solid rgba(15, 77, 124, 0.13);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 850;
}

.pathway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.3rem;
}

.pathway-actions .button {
  min-height: 44px;
  border-radius: 999px;
}

.pathway-actions .text-link {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pathway-sitting .pathway-visual,
.pathway-sitting {
  background: linear-gradient(135deg, #e2f3ff 0%, #f7fcff 100%);
}

.pathway-standing .pathway-visual,
.pathway-standing {
  background: linear-gradient(135deg, #def8ec 0%, #f8fffb 100%);
}

.pathway-walking .pathway-visual,
.pathway-walking {
  background: linear-gradient(135deg, #fff1df 0%, #fff9f2 100%);
}

.pathway-bathing .pathway-visual,
.pathway-bathing {
  background: linear-gradient(135deg, #dff8f7 0%, #f5ffff 100%);
}

.pathway-transfer .pathway-visual,
.pathway-transfer {
  background: linear-gradient(135deg, #efe7ff 0%, #fbf8ff 100%);
}

.pathway-therapy .pathway-visual,
.pathway-therapy {
  background: linear-gradient(135deg, #fff5bf 0%, #fffdf1 100%);
}

.pathway-guidance-band {
  background: #fff;
}

.pathway-guidance-inner {
  display: grid;
  gap: 1.3rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(15, 77, 124, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 193, 122, 0.22), transparent 28%),
    linear-gradient(135deg, #f0f8ff 0%, #fff7ec 100%);
  box-shadow: 0 18px 46px rgba(20, 32, 51, 0.09);
}

.pathway-guidance-inner h2,
.pathway-guidance-inner p {
  margin: 0;
}

.pathway-guidance-inner h2 {
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.condition-pathway-section {
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.condition-subheading {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.compact-grid {
  max-width: 880px;
}

@media (min-width: 720px) {
  .equipment-pathway-grid,
  .condition-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-guidance-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1100px) {
  .equipment-pathway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-pathway-chips,
  .pathway-actions,
  .pathway-guidance-inner .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-pathway-chips a,
  .pathway-actions .button,
  .pathway-guidance-inner .button {
    width: 100%;
    justify-content: center;
  }

  .pathway-visual {
    min-height: 175px;
  }
}
