:root {
  --navy: #123e68;
  --navy-dark: #092744;
  --red: #ef1b2d;
  --ink: #102236;
  --muted: #5e6b78;
  --line: #dce3ea;
  --soft: #f4f7fa;
  --panel: #ffffff;
  --white: #ffffff;
  --steel: #7692a9;
  --shadow: 0 22px 60px rgba(9, 39, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 98px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: linear-gradient(180deg, #ffffff 0, #f7f9fc 430px, #ffffff 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy-dark);
  box-shadow: 0 18px 44px rgba(9, 39, 68, 0.24);
}

.site-header__inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hub-shell {
  width: calc(100% - 40px);
  max-width: none;
  margin: 0 auto;
}

.site-header__inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 132px;
  height: 62px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.brand span {
  display: inline-block;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dropdown {
  position: relative;
}

.drop-trigger {
  min-height: 54px;
  display: inline-grid;
  grid-template-columns: 50px auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 0;
  border: 0;
  border-radius: 7px;
  color: var(--white);
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.drop-trigger::before {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 7px;
  background:
    linear-gradient(#ffffff, #ffffff) center 16px / 24px 3px no-repeat,
    linear-gradient(#ffffff, #ffffff) center 24px / 24px 3px no-repeat,
    linear-gradient(#ffffff, #ffffff) center 32px / 24px 3px no-repeat,
    var(--red);
}

.drop-trigger:hover,
.dropdown:focus-within .drop-trigger,
.dropdown:hover .drop-trigger {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.drop-panel {
  position: fixed;
  top: 110px;
  left: 14px;
  z-index: 50;
  width: min(560px, calc(100vw - 36px));
  max-height: calc(100vh - 132px);
  overflow: auto;
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: var(--navy-dark);
  box-shadow: 0 30px 90px rgba(6, 30, 53, 0.38);
}

.dropdown:hover .drop-panel,
.dropdown:focus-within .drop-panel {
  display: grid;
}

.drop-panel a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  color: var(--white);
  background: rgba(18, 62, 104, 0.58);
  text-transform: none;
  letter-spacing: 0;
}

.drop-panel a:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(18, 62, 104, 0.92);
}

.drop-panel .menu-code {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.drop-panel .menu-copy {
  display: block;
  min-width: 0;
}

.drop-panel b {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.86rem;
}

.drop-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
}

.drop-panel .menu-code {
  color: var(--white);
}

.drop-panel .menu-parent {
  border-color: rgba(255, 255, 255, 0.26);
}

.drop-panel .menu-parent .menu-code {
  background: rgba(118, 146, 169, 0.38);
}

.drop-panel .menu-children {
  display: grid;
  gap: 8px;
  margin: -2px 0 4px 78px;
}

.drop-panel .menu-child {
  display: block;
  padding: 12px 14px 12px 18px;
  border-left: 5px solid var(--red);
  background: rgba(118, 146, 169, 0.24);
  font-size: 0.88rem;
  font-weight: 900;
}

.drop-panel .menu-child:hover {
  background: rgba(118, 146, 169, 0.38);
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--red);
}

.share-basket-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.share-basket-link [data-basket-count] {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  color: var(--white);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

.account-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.account-link.signed-in-account {
  gap: 10px;
  padding: 8px 11px;
  border-radius: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.account-link.signed-in-account::before {
  content: none;
}

.account-avatar,
.client-logo-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #9f1522);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.client-logo-mark.has-logo,
.account-avatar.has-logo {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--white);
}

.client-logo-mark.has-logo img,
.account-avatar.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
}

.account-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.account-copy b {
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.1;
}

.account-copy small {
  max-width: 156px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-context-bar {
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff, #f4f8fc);
  box-shadow: 0 14px 34px rgba(18, 62, 104, 0.06);
}

.client-context-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 12px 0;
}

.client-context-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.client-logo-mark {
  width: 48px;
  height: 48px;
  box-shadow: 0 12px 24px rgba(239, 27, 45, 0.18);
}

.client-logo-mark.has-logo {
  width: 58px;
  height: 58px;
  padding: 3px;
}

.client-context-copy {
  min-width: 0;
}

.client-context-copy b {
  display: block;
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.15;
}

.client-context-copy span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-context-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.client-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-shell {
  padding: 42px 0 72px;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
}

.article-header {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  padding: 38px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, #061e35 0%, var(--navy-dark) 48%, var(--navy) 100%);
  box-shadow: var(--shadow);
}

.article-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red), var(--navy), var(--red));
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffdbdf;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.red-eyebrow {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5.8vw, 4.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 1.12rem;
  font-weight: 900;
}

.lead,
.summary-answer {
  max-width: 920px;
  font-size: 1.08rem;
}

.summary-answer {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.meta-row span,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.meta-row span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
}

.hub-light-row span {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #edf3f8;
}

.chip {
  color: var(--navy);
  background: #edf3f8;
}

.chip.red {
  color: var(--red);
  background: #fff0f2;
}

.button,
button.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
  font: 900 0.76rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  filter: brightness(0.94);
}

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

.button.outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.button.dark {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-block {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.08);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

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

.stat-grid,
.tool-grid,
.topic-grid,
.resource-grid,
.builder-grid,
.course-grid,
.account-grid {
  display: grid;
  gap: 14px;
}

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

.tool-grid,
.topic-grid,
.resource-grid,
.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.stat-card,
.tool-card,
.topic-card,
.resource-card,
.builder-card,
.course-card,
.account-card,
.sidebar-card,
.toc,
.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.stat-card,
.tool-card,
.topic-card,
.resource-card,
.builder-card,
.course-card,
.account-card,
.sidebar-card,
.toc,
.content-card {
  padding: 18px;
}

.stat-card:nth-child(even),
.tool-card:nth-child(even),
.topic-card:nth-child(even),
.resource-card:nth-child(even),
.builder-card:nth-child(even),
.course-card:nth-child(even),
.account-card:nth-child(even) {
  border-top-color: var(--navy);
}

.stat-card b {
  display: block;
  color: var(--navy-dark);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1;
}

.stat-card span,
.tool-card span,
.topic-card span,
.resource-card span,
.builder-card span {
  color: var(--muted);
}

.tool-card,
.topic-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.tool-card p,
.topic-card p {
  color: var(--muted);
}

.tool-card .button,
.topic-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.lms-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.learner-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.learner-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.learner-avatar {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--red));
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.learner-head h2 {
  margin-bottom: 4px;
}

.learner-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.progress-stack {
  display: grid;
  gap: 12px;
}

.progress-item {
  display: grid;
  gap: 6px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e8eef4;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

.lms-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lms-profile-tile {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.lms-profile-tile:nth-child(even) {
  border-left-color: var(--navy);
}

.lms-profile-tile b {
  display: block;
  color: var(--navy-dark);
  font-size: 1.22rem;
  line-height: 1;
}

.lms-profile-tile span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assigned-course-grid,
.course-catalogue-grid {
  display: grid;
  gap: 14px;
}

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

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

.lms-course-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.lms-course-card:nth-child(even) {
  border-top-color: var(--navy);
}

.course-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 7px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.lms-course-card:nth-child(3n + 1) .course-symbol {
  background: linear-gradient(135deg, var(--red), #9f1522);
}

.course-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.course-badges .course-symbol {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.course-icon {
  position: relative;
  overflow: hidden;
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: #edf3f8;
  box-shadow: inset 0 0 0 2px rgba(18, 62, 104, 0.12);
}

.course-icon::before,
.course-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.course-icon--height::before {
  left: 19px;
  top: 10px;
  width: 18px;
  height: 38px;
  border-left: 5px solid var(--navy);
  border-right: 5px solid var(--navy);
  transform: skewX(-10deg);
}

.course-icon--height::after {
  left: 17px;
  top: 17px;
  width: 24px;
  height: 5px;
  background: var(--red);
  box-shadow: 0 10px 0 var(--red), 0 20px 0 var(--red);
  transform: skewX(-10deg);
}

.course-icon--dig::before {
  left: 14px;
  top: 12px;
  width: 6px;
  height: 34px;
  border-radius: 999px;
  background: var(--navy);
  transform: rotate(34deg);
}

.course-icon--dig::after {
  left: 25px;
  top: 28px;
  width: 20px;
  height: 15px;
  border-radius: 0 0 18px 18px;
  background: var(--red);
  box-shadow: -15px 12px 0 rgba(18, 62, 104, 0.22);
  transform: rotate(34deg);
}

.course-icon--hot::before {
  left: 20px;
  top: 13px;
  width: 20px;
  height: 30px;
  border-radius: 18px 18px 20px 20px;
  background: var(--red);
  transform: rotate(8deg);
}

.course-icon--hot::after {
  left: 26px;
  top: 23px;
  width: 10px;
  height: 18px;
  border-radius: 12px;
  background: var(--navy);
}

.course-icon--health::before {
  left: 12px;
  top: 17px;
  width: 34px;
  height: 22px;
  border: 4px solid var(--navy);
  border-top-color: transparent;
  border-radius: 0 0 22px 22px;
}

.course-icon--health::after {
  left: 19px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 13px 0 0 var(--red);
}

.course-icon--traffic::before {
  left: 18px;
  top: 20px;
  width: 26px;
  height: 14px;
  border-radius: 8px 8px 4px 4px;
  background: var(--navy);
}

.course-icon--traffic::after {
  left: 14px;
  top: 34px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 24px 0 0 var(--red), 11px -22px 0 -2px rgba(18, 62, 104, 0.32);
}

.course-icon--documents::before {
  left: 17px;
  top: 11px;
  width: 24px;
  height: 34px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--navy);
}

.course-icon--documents::after {
  left: 23px;
  top: 22px;
  width: 18px;
  height: 4px;
  background: var(--red);
  box-shadow: 0 8px 0 var(--navy), 0 16px 0 rgba(18, 62, 104, 0.45);
}

.course-icon--manual::before {
  left: 16px;
  top: 18px;
  width: 22px;
  height: 22px;
  background: var(--navy);
  transform: rotate(45deg);
}

.course-icon--manual::after {
  left: 33px;
  top: 31px;
  width: 16px;
  height: 5px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: -22px 13px 0 rgba(18, 62, 104, 0.34);
}

.course-icon--temporary::before {
  left: 15px;
  top: 15px;
  width: 28px;
  height: 28px;
  border: 4px solid var(--navy);
  border-top: 0;
  transform: skewX(-14deg);
}

.course-icon--temporary::after {
  left: 12px;
  top: 18px;
  width: 34px;
  height: 5px;
  background: var(--red);
  box-shadow: 0 17px 0 var(--red);
}

.course-icon--fire::before {
  left: 20px;
  top: 10px;
  width: 18px;
  height: 34px;
  border-radius: 18px 18px 14px 14px;
  background: var(--red);
}

.course-icon--fire::after {
  left: 27px;
  top: 24px;
  width: 8px;
  height: 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(18, 62, 104, 0.12);
}

.course-icon--noise::before {
  left: 14px;
  top: 18px;
  width: 16px;
  height: 24px;
  border: 5px solid var(--navy);
  border-right: 0;
  border-radius: 18px 0 0 18px;
}

.course-icon--noise::after {
  left: 35px;
  top: 17px;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 8px 5px 0 -1px var(--red), 15px 10px 0 -2px var(--red);
}

.course-icon--assurance::before {
  left: 14px;
  top: 16px;
  width: 30px;
  height: 24px;
  border: 4px solid var(--navy);
  border-radius: 5px;
}

.course-icon--assurance::after {
  left: 21px;
  top: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 12px -7px 0 var(--red), 21px -13px 0 var(--red);
}

.course-icon--confined::before {
  left: 18px;
  top: 15px;
  width: 22px;
  height: 30px;
  border-radius: 13px 13px 6px 6px;
  border: 4px solid var(--navy);
}

.course-icon--confined::after {
  left: 26px;
  top: 25px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.course-icon--risk::before {
  left: 18px;
  top: 12px;
  width: 25px;
  height: 25px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.course-icon--risk::after {
  left: 27px;
  top: 23px;
  width: 5px;
  height: 16px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 20px 0 -1px var(--navy);
}

.course-icon--equipment::before {
  left: 14px;
  top: 20px;
  width: 28px;
  height: 16px;
  border: 4px solid var(--navy);
  border-radius: 5px;
}

.course-icon--equipment::after {
  left: 18px;
  top: 38px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 18px 0 0 var(--red), 9px -23px 0 -1px var(--red);
}

.course-icon--culture::before {
  left: 13px;
  top: 19px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 16px -6px 0 var(--navy), 32px 0 0 var(--red);
}

.course-icon--culture::after {
  left: 11px;
  top: 36px;
  width: 38px;
  height: 9px;
  border-radius: 999px 999px 4px 4px;
  background: var(--navy);
}

.course-icon--ev::before {
  left: 13px;
  top: 22px;
  width: 28px;
  height: 14px;
  border-radius: 8px 8px 4px 4px;
  background: var(--navy);
}

.course-icon--ev::after {
  left: 20px;
  top: 13px;
  width: 15px;
  height: 29px;
  background: var(--red);
  clip-path: polygon(52% 0, 100% 0, 63% 42%, 100% 42%, 31% 100%, 44% 55%, 0 55%);
}

.course-icon--competence::before {
  left: 17px;
  top: 11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
}

.course-icon--competence::after {
  left: 12px;
  top: 35px;
  width: 34px;
  height: 11px;
  border-radius: 999px 999px 5px 5px;
  background: var(--red);
}

.course-icon--construction::before {
  left: 15px;
  top: 24px;
  width: 30px;
  height: 20px;
  background: var(--navy);
  clip-path: polygon(0 45%, 50% 0, 100% 45%, 100% 100%, 0 100%);
}

.course-icon--construction::after {
  left: 24px;
  top: 11px;
  width: 6px;
  height: 33px;
  background: var(--red);
  box-shadow: -9px 9px 0 -2px var(--red), 9px 9px 0 -2px var(--red);
}

.course-icon--contractor::before {
  left: 13px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 20px 0 0 var(--navy);
}

.course-icon--contractor::after {
  left: 15px;
  top: 37px;
  width: 29px;
  height: 5px;
  background: var(--red);
  box-shadow: 7px -6px 0 -1px var(--red);
}

.catalogue-card .course-badges {
  gap: 8px;
  margin-bottom: 10px;
}

.catalogue-card .course-symbol,
.catalogue-card .course-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.catalogue-card .course-symbol {
  font-size: 0.66rem;
}

.catalogue-card .course-icon {
  transform-origin: top left;
}

.catalogue-card .course-icon::before,
.catalogue-card .course-icon::after {
  transform: scale(0.78);
  transform-origin: top left;
}

.course-icon.has-source-icon {
  display: grid;
  place-items: center;
  overflow: visible;
  color: var(--navy);
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(18, 62, 104, 0.18),
    0 10px 24px rgba(9, 39, 68, 0.08);
}

.course-icon.has-source-icon::before,
.course-icon.has-source-icon::after {
  display: none;
}

.course-icon.has-source-icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.catalogue-card .course-icon.has-source-icon svg {
  width: 25px;
  height: 25px;
}

.course-thumb {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  margin-bottom: 14px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(237, 28, 45, 0.85), rgba(18, 62, 104, 0.98)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 8px, transparent 8px 16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.course-thumb::before,
.course-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.course-thumb span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(4, 30, 55, 0.76);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.course-thumb--height {
  background:
    linear-gradient(160deg, rgba(18, 62, 104, 0.96), rgba(11, 36, 59, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 5px, transparent 5px 22px);
}

.course-thumb--height::before {
  inset: 26px 18px auto 18px;
  height: 42px;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-bottom: 0;
}

.course-thumb--height::after {
  left: 34px;
  right: 34px;
  bottom: 34px;
  height: 8px;
  background: var(--red);
  box-shadow: 0 -22px 0 rgba(255, 255, 255, 0.72);
}

.course-thumb--dig {
  background:
    linear-gradient(180deg, #f8fbff 0 45%, #123e68 45% 100%);
}

.course-thumb--dig::before {
  left: 16px;
  right: 16px;
  top: 42px;
  height: 24px;
  background: repeating-linear-gradient(90deg, var(--red) 0 18px, #ffffff 18px 32px);
  transform: skewX(-14deg);
}

.course-thumb--dig::after {
  left: 24px;
  bottom: 26px;
  width: 62%;
  height: 34px;
  border-radius: 0 0 40px 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.32);
}

.course-thumb--hot {
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 255, 255, 0.9) 0 9px, transparent 10px),
    radial-gradient(circle at 66% 52%, rgba(237, 28, 45, 0.96) 0 32px, transparent 34px),
    linear-gradient(135deg, #082642, #123e68);
}

.course-thumb--hot::before {
  left: 26px;
  top: 48px;
  width: 64px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transform: rotate(-20deg);
}

.course-thumb--hot::after {
  left: 82px;
  top: 38px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-left-color: transparent;
}

.course-thumb--health {
  background:
    radial-gradient(circle at 68% 38%, rgba(255, 255, 255, 0.85) 0 24px, transparent 25px),
    linear-gradient(135deg, var(--red), var(--navy));
}

.course-thumb--health::before {
  left: 38px;
  top: 28px;
  width: 78px;
  height: 52px;
  border-radius: 28px 28px 18px 18px;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-top-color: transparent;
}

.course-thumb--health::after {
  left: 68px;
  top: 44px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 34px 0 0 rgba(255, 255, 255, 0.86);
}

.course-thumb--traffic {
  background:
    linear-gradient(90deg, rgba(237, 28, 45, 0.9) 0 14%, transparent 14% 86%, rgba(237, 28, 45, 0.9) 86% 100%),
    linear-gradient(135deg, #0b2540, #123e68);
}

.course-thumb--traffic::before {
  left: 50%;
  top: 0;
  width: 10px;
  height: 100%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0 18px, transparent 18px 34px);
  transform: translateX(-50%);
}

.course-thumb--traffic::after {
  right: 28px;
  top: 38px;
  width: 48px;
  height: 26px;
  border-radius: 8px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: -74px 22px 0 rgba(255, 255, 255, 0.46);
}

.course-thumb--documents {
  background: linear-gradient(135deg, #f8fbff, #dfe9f2);
}

.course-thumb--documents::before {
  left: 28px;
  top: 22px;
  width: 74px;
  height: 86px;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 22px 10px 0 rgba(18, 62, 104, 0.15), 44px 20px 0 rgba(237, 28, 45, 0.14);
}

.course-thumb--documents::after {
  left: 42px;
  top: 48px;
  width: 86px;
  height: 6px;
  background: var(--red);
  box-shadow: 0 18px 0 rgba(18, 62, 104, 0.48), 0 36px 0 rgba(18, 62, 104, 0.28);
}

.course-thumb--manual {
  background: linear-gradient(135deg, #123e68, #0a2037);
}

.course-thumb--manual::before {
  left: 32px;
  top: 32px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 52px 20px 0 rgba(255, 255, 255, 0.55), 22px 58px 0 var(--red);
}

.course-thumb--manual::after {
  right: 24px;
  bottom: 32px;
  width: 66px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.course-thumb--temporary {
  background: linear-gradient(145deg, #f8fbff 0 34%, #123e68 34% 100%);
}

.course-thumb--temporary::before {
  left: 30px;
  right: 30px;
  top: 34px;
  height: 12px;
  background: var(--red);
  box-shadow: 0 36px 0 rgba(255, 255, 255, 0.72);
}

.course-thumb--temporary::after {
  left: 48px;
  top: 42px;
  width: 80px;
  height: 70px;
  border-left: 5px solid rgba(255, 255, 255, 0.82);
  border-right: 5px solid rgba(255, 255, 255, 0.82);
  transform: skewX(-18deg);
}

.course-thumb--fire {
  background:
    radial-gradient(circle at 68% 42%, rgba(237, 28, 45, 0.96) 0 36px, transparent 37px),
    linear-gradient(135deg, #082642, #123e68);
}

.course-thumb--fire::before {
  left: 38px;
  top: 24px;
  width: 38px;
  height: 80px;
  border-radius: 18px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 20px 0 var(--red);
}

.course-thumb--fire::after {
  left: 75px;
  top: 40px;
  width: 56px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  transform: rotate(-18deg);
}

.course-thumb--noise {
  background: linear-gradient(135deg, var(--navy), #0a2037);
}

.course-thumb--noise::before {
  left: 34px;
  top: 34px;
  width: 34px;
  height: 56px;
  border: 7px solid rgba(255, 255, 255, 0.86);
  border-right: 0;
  border-radius: 34px 0 0 34px;
  box-shadow: 78px 0 0 -7px transparent;
}

.course-thumb--noise::after {
  right: 28px;
  top: 34px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 5px solid rgba(237, 28, 45, 0.95);
  border-left-color: transparent;
  box-shadow: -20px 0 0 -9px rgba(255, 255, 255, 0.72);
}

.course-thumb--assurance,
.course-thumb--risk,
.course-thumb--competence,
.course-thumb--construction,
.course-thumb--contractor,
.course-thumb--equipment,
.course-thumb--culture,
.course-thumb--ev,
.course-thumb--confined {
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.22) 0 28px, transparent 29px),
    linear-gradient(135deg, var(--navy), var(--red));
}

.course-thumb--assurance::before,
.course-thumb--risk::before,
.course-thumb--competence::before,
.course-thumb--construction::before,
.course-thumb--contractor::before,
.course-thumb--equipment::before,
.course-thumb--culture::before,
.course-thumb--ev::before,
.course-thumb--confined::before {
  left: 22px;
  top: 26px;
  width: 86px;
  height: 58px;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}

.course-thumb--assurance::after,
.course-thumb--risk::after,
.course-thumb--competence::after,
.course-thumb--construction::after,
.course-thumb--contractor::after,
.course-thumb--equipment::after,
.course-thumb--culture::after,
.course-thumb--ev::after,
.course-thumb--confined::after {
  left: 42px;
  top: 48px;
  width: 92px;
  height: 7px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.52);
}

.course-thumb--risk {
  background:
    linear-gradient(135deg, rgba(237, 28, 45, 0.92), rgba(18, 62, 104, 0.96)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 7px, transparent 7px 16px);
}

.course-thumb--equipment {
  background: linear-gradient(135deg, #123e68, #071d32);
}

.course-thumb--culture {
  background: linear-gradient(135deg, #0f344f, #123e68 48%, #ed1c2d 100%);
}

.course-thumb--ev {
  background:
    radial-gradient(circle at 74% 32%, rgba(255, 255, 255, 0.86) 0 12px, transparent 13px),
    linear-gradient(135deg, #123e68, #ed1c2d);
}

.course-thumb--confined {
  background: linear-gradient(135deg, #071d32, #123e68);
}

.lms-course-card h3 {
  font-size: 1rem;
}

.lms-course-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalogue-card {
  min-height: 218px;
}

.catalogue-card .course-thumb {
  min-height: 92px;
  margin-bottom: 12px;
}

.catalogue-card .course-thumb span {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.68rem;
}

.catalogue-card h3 {
  font-size: 0.92rem;
}

.hub-note {
  margin: 18px 0;
  padding: 15px 18px;
  border-left: 5px solid var(--red);
  border-radius: 4px;
  color: var(--navy-dark);
  background: #fff4f5;
  box-shadow: 0 12px 28px rgba(18, 62, 104, 0.07);
}

.ops-metric-grid,
.event-board,
.action-link-grid,
.fire-asset-grid,
.fire-register-grid {
  display: grid;
  gap: 14px;
}

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

.event-board,
.fire-register-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fire-asset-grid,
.action-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-metric,
.event-card,
.action-link-card,
.fire-site-card,
.fire-asset-card,
.fire-zone,
.evidence-card {
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.ops-metric,
.event-card,
.action-link-card,
.fire-site-card,
.fire-asset-card,
.evidence-card {
  padding: 18px;
}

.ops-metric:nth-child(even),
.event-card:nth-child(even),
.action-link-card:nth-child(even),
.fire-site-card:nth-child(even),
.fire-asset-card:nth-child(even) {
  border-top-color: var(--navy);
}

.ops-metric b {
  display: block;
  color: var(--navy-dark);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1;
}

.incident-command-centre {
  overflow: hidden;
}

.incident-view-switch {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin: 4px 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #edf3f8;
}

.incident-view-switch button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.incident-view-switch button.is-active {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(8, 47, 83, 0.18);
}

.incident-view-panel[hidden] {
  display: none;
}

.incident-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.incident-visual-card,
.incident-capture-grid article {
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.incident-visual-card {
  padding: 22px;
}

.incident-visual-card:nth-child(even),
.incident-capture-grid article:nth-child(even) {
  border-top-color: var(--navy);
}

.incident-visual-card-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-color: rgba(255, 255, 255, 0.2);
}

.incident-visual-card-dark .eyebrow,
.incident-visual-card-dark h3,
.incident-visual-card-dark p,
.incident-visual-card-dark span {
  color: var(--white);
}

.incident-visual-card h3 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.incident-visual-card p {
  color: var(--muted);
}

.incident-card-head {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
}

.incident-metric-strip,
.incident-action-health,
.incident-risk-split {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

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

.incident-action-health,
.incident-risk-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.incident-metric-strip div,
.incident-action-health div,
.incident-risk-split div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.incident-action-health div,
.incident-risk-split div {
  border-color: var(--line);
  background: #f8fafc;
}

.incident-risk-split .risk-high {
  border-color: rgba(237, 28, 46, 0.35);
  background: #fff4f5;
}

.incident-metric-strip b,
.incident-action-health b,
.incident-risk-split b {
  display: block;
  color: inherit;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.incident-action-health b,
.incident-risk-split b {
  color: var(--navy-dark);
}

.incident-metric-strip span,
.incident-action-health span,
.incident-risk-split span {
  display: block;
  margin-top: 6px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.incident-visual-card-dark h3 {
  color: #ffffff;
}

.incident-visual-card-dark p {
  color: rgba(255, 255, 255, 0.88);
}

.incident-visual-card-dark .eyebrow,
.incident-visual-card-dark .incident-metric-strip b,
.incident-visual-card-dark .incident-metric-strip span {
  color: #ffffff;
}

.incident-bar-list {
  display: grid;
  gap: 12px;
}

.incident-bar-list div {
  display: grid;
  grid-template-columns: 140px minmax(110px, 1fr) 34px;
  gap: 10px;
  align-items: center;
}

.incident-bar-list span {
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.incident-bar-list b {
  position: relative;
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce7f1;
}

.incident-bar-list b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

.incident-bar-list strong {
  color: var(--navy-dark);
  font-size: 0.9rem;
}

.incident-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy-dark);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.incident-status-pill.green {
  color: #0d5f3a;
  background: #e6f6ec;
}

.incident-status-pill.amber {
  color: #7a4b00;
  background: #fff3d7;
}

.incident-status-pill.red {
  color: var(--red);
  background: #fff1f3;
}

.incident-capture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.incident-capture-grid article {
  padding: 18px;
}

.incident-capture-grid span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.incident-capture-grid h3 {
  margin: 8px 0;
  color: var(--navy-dark);
}

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

.incident-database-toolbar {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.incident-database-toolbar h3 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.incident-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.incident-filter-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-table-scroll {
  overflow-x: auto;
  border-radius: 6px;
}

.incident-database-table {
  min-width: 1040px;
}

.incident-database-table td {
  color: var(--navy-dark);
}

@media (max-width: 1100px) {
  .incident-capture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .incident-overview-grid,
  .incident-database-toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .incident-filter-row {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .incident-view-switch {
    display: grid;
    width: 100%;
    border-radius: 10px;
  }

  .incident-view-switch button {
    width: 100%;
    border-radius: 8px;
  }

  .incident-card-head,
  .incident-bar-list div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .incident-capture-grid,
  .incident-action-health,
  .incident-risk-split {
    grid-template-columns: 1fr;
  }
}

.ops-metric span,
.event-card span,
.action-link-card span,
.fire-site-card span,
.fire-asset-card span,
.evidence-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.event-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
}

.event-head,
.asset-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.event-ref,
.asset-ref {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.event-card h3,
.fire-site-card h3,
.fire-asset-card h3,
.evidence-card h3 {
  margin-bottom: 8px;
}

.event-card p,
.action-link-card p,
.fire-site-card p,
.fire-asset-card p,
.evidence-card p {
  color: var(--muted);
}

.event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 14px;
}

.event-links span {
  min-height: 25px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.learning-cascade {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.cascade-step {
  position: relative;
  min-height: 118px;
  padding: 15px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.cascade-step:nth-child(even) {
  border-left-color: var(--navy);
}

.cascade-step b {
  display: block;
  color: var(--navy-dark);
  margin-bottom: 7px;
}

.cascade-step span {
  color: var(--muted);
  font-size: 0.84rem;
}

.fire-command {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.fire-profile {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.fire-profile-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.fire-profile-list div {
  padding: 12px 14px;
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: #f8fbff;
}

.fire-profile-list b {
  display: block;
  color: var(--navy-dark);
}

.fire-profile-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.fire-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(135deg, #edf3f8, #ffffff);
}

.fire-zone {
  min-height: 110px;
  padding: 14px;
  border-top-color: var(--navy);
  box-shadow: none;
}

.fire-zone.risk {
  border-top-color: var(--red);
  background: #fff4f5;
}

.fire-zone b {
  display: block;
  color: var(--navy-dark);
}

.fire-zone span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.asset-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.asset-status.warn {
  color: var(--red);
  background: #fff0f2;
}

.assessment-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.assessment-panel,
.assessment-template-card,
.register-chip,
.dsear-card {
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.assessment-panel,
.assessment-template-card,
.register-chip,
.dsear-card {
  padding: 18px;
}

.assessment-template-card:nth-child(even),
.register-chip:nth-child(even),
.dsear-card:nth-child(even) {
  border-top-color: var(--navy);
}

.assessment-panel h3,
.assessment-template-card h3,
.register-chip h3,
.dsear-card h3 {
  margin-bottom: 8px;
}

.assessment-panel p,
.assessment-template-card p,
.register-chip p,
.dsear-card p {
  color: var(--muted);
}

.assessment-step-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.assessment-step {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: #f8fbff;
}

.assessment-step:nth-child(even) {
  border-left-color: var(--navy);
}

.assessment-step b {
  color: var(--navy-dark);
}

.assessment-step span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.assessment-template-grid,
.register-chip-grid,
.dsear-grid {
  display: grid;
  gap: 12px;
}

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

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

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

.template-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.template-meta span,
.register-chip span,
.dsear-card span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.register-chip b {
  display: block;
  color: var(--navy-dark);
  font-size: 1.6rem;
  line-height: 1;
  margin: 8px 0 5px;
}

.register-chip {
  display: block;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.register-chip:hover,
.register-chip:focus {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 24px 48px rgba(18, 62, 104, 0.14);
}

.dsear-card.critical {
  border-top-color: var(--red);
  background: #fff7f8;
}

.assessor-tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.assessor-tool-main,
.assessor-brief-card,
.builder-control-card,
.standalone-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.08);
}

.assessor-tool-main {
  padding: 20px;
  border-top: 6px solid var(--red);
}

.tool-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tool-title-row p {
  max-width: 760px;
  color: var(--muted);
}

.assessor-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.progress-tile {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 5px;
  background: #f8fbff;
}

.progress-tile.complete,
.progress-tile.warn {
  border-left-color: var(--red);
}

.progress-tile.removed {
  opacity: 0.78;
}

.progress-tile b {
  display: block;
  color: var(--navy-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.progress-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fra-step-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.fra-step-ribbon div {
  min-height: 96px;
  padding: 13px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
}

.fra-step-ribbon div:nth-child(odd) {
  background: linear-gradient(145deg, var(--red), #b7111e);
}

.fra-step-ribbon b {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.fra-step-ribbon span {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.question-builder {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.question-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: #fff7f8;
}

.question-row:nth-child(even) {
  border-left-color: var(--navy);
  background: #f8fbff;
}

.question-row span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.question-row b {
  display: block;
  margin-top: 8px;
  color: var(--navy-dark);
}

.question-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.digital-section-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.digital-section-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.digital-section-item:nth-child(even) {
  border-left-color: var(--navy);
}

.digital-section-item:hover,
.digital-section-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(18, 62, 104, 0.12);
}

.digital-section-item span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.digital-section-item h4 {
  margin: 4px 0;
  color: var(--navy-dark);
}

.digital-section-item p {
  margin: 0;
  color: var(--muted);
}

.digital-section-item.is-optional {
  background: #f8fbff;
}

.digital-section-item.is-removed {
  opacity: 0.58;
  border-left-color: #7b8794;
  background:
    repeating-linear-gradient(-45deg, rgba(18, 62, 104, 0.05) 0 8px, transparent 8px 16px),
    #f8fbff;
}

.delete-pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.delete-pill:hover,
.delete-pill:focus {
  border-color: var(--red);
  color: var(--red);
}

.assessor-side-stack {
  display: grid;
  gap: 12px;
}

.assessor-brief-card {
  padding: 18px;
  border-top: 5px solid var(--red);
}

.assessor-brief-card:nth-child(even) {
  border-top-color: var(--navy);
}

.assessor-brief-card p {
  color: var(--muted);
}

.mini-evidence-list,
.action-mini-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mini-evidence-list span {
  display: block;
  padding: 10px 12px;
  border-left: 5px solid var(--red);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #fff7f8;
  font-weight: 800;
}

.mini-evidence-list span:nth-child(even) {
  border-left-color: var(--navy);
  background: #f8fbff;
}

.action-mini-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.action-mini-list b {
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.action-mini-list span {
  color: var(--muted);
}

.tool-builder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.builder-control-card {
  padding: 18px;
  border-top: 5px solid var(--red);
}

.builder-control-card:nth-child(even) {
  border-top-color: var(--navy);
}

.builder-control-card span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-control-card h3 {
  margin-top: 10px;
}

.builder-control-card p {
  color: var(--muted);
}

.standalone-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border-top: 6px solid var(--red);
}

.standalone-card p {
  max-width: 830px;
  color: var(--muted);
}

.standalone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.asset-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.asset-tool-shell {
  display: grid;
  grid-template-columns: minmax(285px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.asset-register-panel,
.inspection-work-card,
.evidence-upload-card,
.defect-output-card,
.location-report-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.08);
}

.asset-register-panel {
  position: sticky;
  top: 126px;
  padding: 18px;
  border-top: 6px solid var(--red);
}

.asset-register-panel p {
  color: var(--muted);
}

.asset-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.asset-line-chip {
  min-height: 62px;
  padding: 9px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #f8fbff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.asset-line-chip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.asset-line-chip.is-pass {
  border-left-color: #58a36a;
}

.asset-line-chip.is-watch {
  border-left-color: #d99618;
  background: #fff9ea;
}

.asset-line-chip.is-defect {
  border-left-color: var(--red);
  background: #fff7f8;
}

.asset-line-chip.is-pending {
  border-left-color: #7b8794;
  background: #f2f5f8;
}

.asset-line-chip:hover,
.asset-line-chip:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 62, 104, 0.12);
}

.inspection-work-card {
  padding: 20px;
  border-top: 6px solid var(--navy);
}

.inspection-work-card.extinguisher-card {
  border-top-color: var(--red);
}

.inspection-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.inspection-card-header h3 {
  margin-top: 10px;
}

.inspection-card-header p {
  max-width: 760px;
  color: var(--muted);
}

.inspection-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.inspection-meta-grid div {
  min-height: 86px;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: #f8fbff;
}

.inspection-meta-grid div:nth-child(even) {
  border-left-color: var(--navy);
}

.inspection-meta-grid b {
  display: block;
  color: var(--navy-dark);
}

.inspection-meta-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.digital-checksheet {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.checksheet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: var(--white);
}

.checksheet-row:nth-child(even) {
  border-left-color: var(--navy);
}

.checksheet-row[data-result="defect"] {
  background: #fff7f8;
}

.checksheet-row[data-result="watch"] {
  background: #fff9ea;
}

.checksheet-row span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checksheet-row b {
  display: block;
  margin-top: 4px;
  color: var(--navy-dark);
}

.check-result-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy);
  background: #edf3f8;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.check-result-button[data-state="pass"] {
  color: #155724;
  border-color: rgba(88, 163, 106, 0.45);
  background: #eaf7ed;
}

.check-result-button[data-state="watch"] {
  color: #7b4d00;
  border-color: rgba(217, 150, 24, 0.44);
  background: #fff1ca;
}

.check-result-button[data-state="defect"] {
  color: var(--red);
  border-color: rgba(237, 28, 45, 0.44);
  background: #fff0f2;
}

.check-result-button[data-state="na"] {
  color: var(--muted);
  background: #f2f5f8;
}

.defect-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 14px;
  align-items: start;
}

.evidence-upload-card,
.defect-output-card {
  padding: 18px;
  border-top: 5px solid var(--red);
}

.defect-output-card {
  border-top-color: var(--navy);
}

.photo-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.upload-slot {
  min-height: 104px;
  padding: 12px;
  border: 2px dashed rgba(18, 62, 104, 0.28);
  border-radius: 6px;
  color: var(--navy);
  background: #f8fbff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.upload-slot:hover,
.upload-slot:focus {
  border-color: var(--red);
  color: var(--red);
}

.sign-off-strip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.sign-off-strip b {
  display: block;
}

.sign-off-strip span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.location-report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border-top: 6px solid var(--red);
}

.location-report-card.is-ready {
  border-top-color: var(--navy);
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.location-report-card p {
  max-width: 760px;
  color: var(--muted);
}

.report-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.report-output-grid span {
  min-height: 38px;
  padding: 9px;
  border-left: 5px solid var(--red);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #fff7f8;
  font-size: 0.78rem;
  font-weight: 900;
}

.report-output-grid span:nth-child(even) {
  border-left-color: var(--navy);
  background: #f8fbff;
}

.fire-hub-hero {
  background:
    linear-gradient(135deg, rgba(9, 39, 68, 0.96), rgba(18, 62, 104, 0.92)),
    linear-gradient(90deg, rgba(237, 28, 45, 0.22), transparent 55%);
}

.fire-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fire-module-card {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fire-module-card:nth-child(even) {
  border-top-color: var(--navy);
}

.fire-module-card:hover,
.fire-module-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(18, 62, 104, 0.14);
}

.fire-module-card p {
  color: var(--muted);
}

.module-code {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fire-module-card:nth-child(odd) .module-code {
  background: var(--red);
}

.anchor-target {
  position: absolute;
  top: -150px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.fire-pathway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.fire-pathway div {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.fire-pathway div:nth-child(even) {
  border-top-color: var(--navy);
}

.fire-pathway b {
  display: block;
  color: var(--navy-dark);
}

.fire-pathway span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.fire-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.fire-page-nav .button {
  min-height: 40px;
}

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

.blank-form-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.blank-form-card:nth-child(even) {
  border-top-color: var(--navy);
}

.blank-form-card p {
  color: var(--muted);
}

.form-preview {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8fbff;
}

.form-preview span {
  min-height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(18, 62, 104, 0.3), rgba(18, 62, 104, 0.06));
}

.form-preview span:nth-child(2) {
  width: 72%;
}

.form-preview span:nth-child(3) {
  width: 88%;
}

.form-preview span:nth-child(4) {
  width: 56%;
  background: linear-gradient(90deg, rgba(237, 28, 45, 0.32), rgba(237, 28, 45, 0.06));
}

.blank-form-viewer {
  display: grid;
  gap: 22px;
}

.form-jump-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.form-jump-card {
  display: block;
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.07);
}

.form-jump-card:nth-child(even) {
  border-top-color: var(--navy);
}

.form-jump-card b {
  display: block;
  color: var(--navy-dark);
}

.form-jump-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.paper-form {
  scroll-margin-top: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 62, 104, 0.06);
}

.paper-form:nth-child(even) {
  border-top-color: var(--line);
}

.paper-form-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.paper-form-header h2 {
  margin: 6px 0 4px;
}

.paper-form-header p {
  max-width: 780px;
  color: var(--muted);
}

.form-brand-stamp {
  display: grid;
  place-items: center;
  min-width: 132px;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.form-field-box {
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.form-field-box.span-two {
  grid-column: span 2;
}

.form-field-box.span-four {
  grid-column: 1 / -1;
}

.form-field-box b {
  display: block;
  color: var(--navy-dark);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-line {
  display: block;
  min-height: 24px;
  margin-top: 8px;
  border-bottom: 1px solid rgba(18, 62, 104, 0.3);
}

.assessment-area-section {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.assessment-area-section .form-check-table td[contenteditable="true"],
.assessment-area-section .data-table td[contenteditable="true"] {
  min-width: 120px;
  background: #fff;
  outline: none;
}

.assessment-area-section td[contenteditable="true"]:focus {
  box-shadow: inset 0 0 0 2px rgba(237, 28, 45, 0.22);
}

.area-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.area-sync-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.area-sync-strip span {
  min-height: 52px;
  padding: 10px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.area-sync-strip b {
  color: var(--navy-dark);
  font-size: 1.2rem;
}

.linked-assessment-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.linked-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.linked-area-stack {
  display: grid;
  gap: 12px;
}

.linked-area-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(18, 62, 104, 0.05);
}

.linked-area-card:nth-child(even) {
  border-left-color: var(--line);
}

.linked-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.linked-card-header h4 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.06rem;
}

.linked-card-header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.area-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.linked-field {
  min-height: 104px;
  padding: 12px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 5px;
  background: #fff;
}

.linked-field.span-two {
  grid-column: 1 / -1;
}

.linked-field b {
  display: block;
  color: var(--navy-dark);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.linked-field p {
  min-height: 42px;
  margin: 8px 0 0;
  color: var(--muted);
  outline: none;
}

.linked-field p[contenteditable="true"],
.protection-matrix td[contenteditable="true"] {
  background: #fff;
}

.linked-field p[contenteditable="true"]:focus,
.protection-matrix td[contenteditable="true"]:focus {
  box-shadow: inset 0 0 0 2px rgba(237, 28, 45, 0.2);
}

.action-create-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.action-create-control.compact {
  justify-content: center;
  min-width: 108px;
  margin-top: 0;
}

.action-create-control label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.small-action-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.small-action-button:hover,
.small-action-button:focus {
  border-color: var(--navy);
  background: #f8fafc;
}

.action-feedback {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.small-danger-button {
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(237, 28, 45, 0.32);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.small-danger-button:hover,
.small-danger-button:focus {
  color: var(--red);
  background: #fff7f8;
}

.paper-section {
  margin-top: 18px;
}

.paper-section h3 {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--navy-dark);
  background: transparent;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paper-section:nth-of-type(odd) h3 {
  background: transparent;
}

.form-check-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9rem;
}

.form-check-table th {
  color: var(--navy-dark);
  background: #f8fafc;
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-check-table th,
.form-check-table td {
  padding: 10px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.form-check-table tbody tr:nth-child(even) {
  background: #fff;
}

.tick-cell {
  width: 62px;
  text-align: center;
}

.tick-box {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(18, 62, 104, 0.34);
  border-radius: 3px;
  background: var(--white);
}

.wide-response {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.form-note-box {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: #fff;
}

.form-image-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.form-image-slot {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 12px;
  border: 2px dashed rgba(18, 62, 104, 0.28);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  text-align: center;
  font-weight: 900;
}

.capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.capture-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy-dark);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.capture-button.primary {
  color: var(--navy-dark);
  border-color: var(--line);
  background: #fff;
}

.capture-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.capture-button:hover,
.capture-button:focus-within {
  border-color: var(--red);
  color: var(--red);
}

.capture-button.primary:hover,
.capture-button.primary:focus-within {
  color: var(--red);
  background: #fff;
}

.attachment-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.attachment-strip b {
  display: block;
  color: var(--navy-dark);
}

.attachment-strip span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-workspace-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.live-register-panel,
.create-record-panel,
.legal-context-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 62, 104, 0.05);
}

.live-register-panel h3,
.create-record-panel h3,
.legal-context-panel h3 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-dark);
  background: transparent;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-context-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: start;
}

.legal-context-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-context-list li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: #fff;
  font-size: 0.84rem;
}

.legal-context-list b {
  color: var(--navy-dark);
}

.asset-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 0;
}

.form-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

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

.form-control-grid .span-two {
  grid-column: span 2;
}

.form-control-grid .span-four {
  grid-column: 1 / -1;
}

.form-control {
  display: grid;
  gap: 6px;
}

.form-control label,
.form-control > span {
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-control input,
.form-control select,
.form-control textarea,
.form-table-input,
.form-table-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 62, 104, 0.24);
  border-radius: 4px;
  color: var(--navy-dark);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
}

.form-control textarea,
.form-table-input.is-notes {
  min-height: 76px;
  resize: vertical;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus,
.form-table-input:focus,
.form-table-select:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(18, 62, 104, 0.1);
}

.qr-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.scan-button {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy-dark);
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.scan-button:hover,
.scan-button:focus {
  border-color: var(--red);
  color: var(--red);
}

.form-subsection {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.form-subsection h4 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.multi-entry-table th {
  white-space: nowrap;
}

.multi-entry-table td {
  min-width: 128px;
}

.multi-entry-table .notes-cell {
  min-width: 230px;
}

.form-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.plain-muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.health-vault-hero {
  background:
    linear-gradient(135deg, rgba(9, 39, 68, 0.98), rgba(18, 62, 104, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(239, 27, 45, 0.24), transparent 34%);
}

.vault-split,
.health-module-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.vault-access-card,
.vault-boundary-card,
.health-module-card,
.record-type-card,
.clinical-workbench {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(18, 62, 104, 0.08);
}

.vault-access-card,
.health-module-card.secure {
  border-top: 4px solid var(--red);
}

.vault-access-card h2,
.vault-boundary-card h2,
.health-module-card h3,
.record-type-card h3 {
  margin: 10px 0 8px;
  color: var(--navy-dark);
  line-height: 1.1;
}

.secure-login-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 6px;
  background: #fbfcfe;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.boundary-grid div {
  min-height: 118px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbfcfe;
}

.boundary-grid b,
.boundary-grid span {
  display: block;
}

.boundary-grid b {
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.boundary-grid span,
.health-module-card li,
.governance-list li {
  color: var(--muted);
}

.record-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.record-type-card span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-type-card:nth-child(even) span {
  background: var(--red);
}

.health-module-card ul,
.governance-list {
  display: grid;
  gap: 9px;
  margin: 16px 0;
  padding-left: 18px;
}

.health-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.health-flow article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.07);
}

.health-flow b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 1rem;
}

.health-flow h3 {
  margin: 14px 0 8px;
  color: var(--navy-dark);
  line-height: 1.1;
}

.manager-outcome-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 5px solid var(--red);
}

.manager-outcome-strip h2 {
  margin: 0 0 8px;
  color: var(--navy-dark);
}

.manager-outcome-strip p {
  max-width: 850px;
}

.form-signoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.knowledge-directory {
  position: relative;
}

.knowledge-search-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.08);
}

.knowledge-search-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.knowledge-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.knowledge-search-row input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy-dark);
  background: #f8fbff;
  font: inherit;
  font-weight: 800;
}

.knowledge-search-row input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(237, 28, 45, 0.14);
}

.knowledge-search-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 104px;
  padding: 0 12px;
  border-radius: 5px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.az-letter-nav {
  position: sticky;
  top: 100px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 4px;
  margin: 16px 0 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(18, 62, 104, 0.08);
}

.az-letter-link {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 5px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.az-letter-link:nth-child(odd) {
  background: var(--red);
}

.az-letter-link span {
  margin-top: -4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.az-letter-link.is-empty {
  color: var(--muted);
  background: #edf3f8;
}

.az-letter-link:hover,
.az-letter-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(18, 62, 104, 0.16);
}

.az-topic-list {
  display: grid;
  gap: 18px;
}

.az-letter-section {
  scroll-margin-top: 174px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.06);
}

.az-letter-section.is-filtered-empty {
  display: none;
}

.az-letter-head {
  display: grid;
  align-content: start;
  gap: 8px;
}

.az-letter-head span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-size: 2rem;
  font-weight: 900;
}

.az-letter-section:nth-child(even) .az-letter-head span {
  background: var(--navy);
}

.az-letter-head b {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.az-topic-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.az-topic-link {
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.az-topic-link:nth-child(even) {
  border-left-color: var(--navy);
  background: #f8fbff;
}

.az-topic-link:hover,
.az-topic-link:focus {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 16px 30px rgba(18, 62, 104, 0.12);
}

.az-topic-link b {
  display: block;
  color: var(--navy-dark);
}

.az-topic-link span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.az-empty,
.az-no-results {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(18, 62, 104, 0.22);
  border-radius: 5px;
  color: var(--muted);
  background: #f8fbff;
  font-weight: 800;
}

.az-no-results {
  margin-top: 16px;
}

.register-detail-stack {
  display: grid;
  gap: 18px;
}

.register-detail {
  scroll-margin-top: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.08);
}

.register-detail:nth-child(even) {
  border-top-color: var(--navy);
}

.register-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.register-detail-header p {
  max-width: 720px;
  color: var(--muted);
}

.register-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(270px, 0.84fr);
  gap: 16px;
  align-items: start;
}

.attachment-grid,
.evidence-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.attachment-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: #f8fbff;
}

.attachment-card:nth-child(even) {
  border-left-color: var(--navy);
}

.attachment-card b {
  display: block;
  color: var(--navy-dark);
}

.attachment-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.evidence-gallery {
  margin-top: 12px;
}

.evidence-thumb {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(18, 62, 104, 0.88), rgba(237, 28, 45, 0.82)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 8px, transparent 8px 16px);
}

.evidence-thumb::before,
.evidence-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.evidence-thumb span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(9, 39, 68, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.evidence-thumb.photo::before {
  left: 18px;
  top: 18px;
  width: 52px;
  height: 36px;
  border: 4px solid rgba(255, 255, 255, 0.84);
  border-radius: 5px;
}

.evidence-thumb.photo::after {
  right: 18px;
  bottom: 26px;
  width: 66px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 -18px 0 rgba(255, 255, 255, 0.46);
}

.evidence-thumb.plan {
  background:
    linear-gradient(90deg, rgba(18, 62, 104, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(18, 62, 104, 0.12) 1px, transparent 1px),
    #ffffff;
  background-size: 18px 18px;
}

.evidence-thumb.plan::before {
  left: 18px;
  top: 22px;
  right: 20px;
  height: 42px;
  border: 5px solid var(--navy);
}

.evidence-thumb.plan::after {
  left: 42px;
  top: 22px;
  width: 5px;
  height: 66px;
  background: var(--red);
  box-shadow: 42px 0 0 var(--red);
}

.evidence-thumb.certificate {
  background: linear-gradient(135deg, #ffffff, #edf3f8);
}

.evidence-thumb.certificate::before {
  left: 28px;
  top: 15px;
  width: 58px;
  height: 74px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--navy), 26px 10px 0 rgba(237, 28, 45, 0.18);
}

.evidence-thumb.certificate::after {
  left: 40px;
  top: 38px;
  width: 44px;
  height: 5px;
  background: var(--red);
  box-shadow: 0 15px 0 rgba(18, 62, 104, 0.45), 0 30px 0 rgba(18, 62, 104, 0.26);
}

.member-journey {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin: 24px 0;
}

.journey-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.journey-card.dark {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.journey-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-card.dark .journey-kicker {
  color: #ffb5bc;
}

.journey-card.dark h2,
.journey-card.dark h3 {
  color: var(--white);
}

.hub-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.hub-section:last-child {
  border-bottom: 0;
}

.direct-answer {
  color: var(--navy-dark);
  font-weight: 800;
}

.direct-answer::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  margin: 0 10px 3px 0;
  background: var(--red);
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.access-gate {
  margin: 28px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 7px solid var(--red);
  border-radius: 7px;
  text-align: center;
  background: linear-gradient(135deg, #f5f8fb, #ffffff);
  box-shadow: 0 20px 52px rgba(18, 62, 104, 0.12);
}

.locked-content {
  position: relative;
  max-height: 540px;
  overflow: hidden;
}

.locked-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.97) 93%, #ffffff 100%);
}

.sidebar-card {
  margin-bottom: 18px;
}

.sidebar-card.ai {
  border-top-color: var(--red);
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.sidebar-card h2,
.toc h2 {
  margin-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar-card label,
.field label {
  display: block;
  margin: 9px 0 5px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.sidebar-card input,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.toc {
  position: sticky;
  top: 112px;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--navy-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.toc a:hover {
  color: var(--red);
}

.data-table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.06);
}

.data-table th {
  color: var(--white);
  background: var(--navy);
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-table th,
.data-table td {
  padding: 11px;
  border: 1px solid var(--line);
  vertical-align: top;
}

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

.risk-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.risk-heatmap-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.risk-heatmap {
  display: grid;
  grid-template-columns: 92px repeat(5, minmax(58px, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.risk-axis,
.risk-cell,
.risk-corner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-align: center;
}

.risk-corner,
.risk-axis {
  padding: 8px;
  color: var(--navy-dark);
  background: #edf3f8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.risk-cell {
  position: relative;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(9, 39, 68, 0.05);
}

.risk-low {
  background: #d9f0d1;
}

.risk-medium {
  background: #ffe69a;
}

.risk-high {
  background: #ffb56b;
}

.risk-critical {
  background: #ef1b2d;
}

.risk-score {
  position: absolute;
  right: 8px;
  bottom: 5px;
  color: rgba(9, 39, 68, 0.48);
  font-size: 0.72rem;
  font-weight: 900;
}

.risk-critical .risk-score {
  color: rgba(255, 255, 255, 0.68);
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 7px 16px rgba(9, 39, 68, 0.2);
}

.risk-critical .risk-badge {
  color: var(--red);
  background: var(--white);
}

.point-risk-badge {
  border: 2px solid var(--white);
  color: var(--white);
  background: var(--red);
}

.risk-critical .point-risk-badge {
  color: var(--white);
  background: var(--red);
}

.risk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.risk-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.risk-legend span::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--legend-color);
}

.risk-list-panel {
  display: grid;
  gap: 12px;
}

.risk-row-link {
  color: var(--navy-dark);
  font-weight: 900;
}

.risk-row-link:hover {
  color: var(--red);
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 68px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.priority-pill.critical {
  background: var(--red);
}

.priority-pill.high {
  background: #c95b00;
}

.priority-pill.medium {
  color: var(--navy-dark);
  background: #ffe69a;
}

.risk-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.risk-detail-card {
  scroll-margin-top: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.risk-detail-card:target {
  outline: 3px solid rgba(239, 27, 45, 0.18);
}

.risk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 12px;
}

.risk-meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assurance-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.assurance-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.assurance-card:nth-child(even) {
  border-top-color: var(--navy);
}

.assurance-card::after {
  content: attr(data-level);
  position: absolute;
  right: -10px;
  bottom: -35px;
  color: rgba(18, 62, 104, 0.07);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.assurance-card h3 {
  max-width: 260px;
}

.assurance-card dl {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.assurance-card dt {
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.assurance-card dd {
  margin: -7px 0 5px;
  color: var(--muted);
}

.audit-command-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.audit-command-strip .content-card {
  min-height: 100%;
}

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

.monitor-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 34px rgba(18, 62, 104, 0.07);
}

.monitor-card:nth-child(even) {
  border-left-color: var(--navy);
}

.monitor-card p {
  color: var(--muted);
}

.monitor-card .risk-meta {
  margin-bottom: 0;
}

.policy-hierarchy {
  display: grid;
  gap: 16px;
}

.policy-layer {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.policy-layer-label {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 16px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
  box-shadow: 0 18px 38px rgba(18, 62, 104, 0.12);
}

.policy-layer.level-one .policy-layer-label {
  background: linear-gradient(135deg, #ef1b2d, #b50f1c);
}

.policy-layer.level-two .policy-layer-label {
  background: linear-gradient(135deg, #092744, #123e68);
}

.policy-layer.level-three .policy-layer-label {
  color: var(--navy-dark);
  background: linear-gradient(135deg, #dce3ea, #ffffff);
  border: 1px solid rgba(18, 62, 104, 0.18);
}

.policy-layer.level-three .policy-layer-label span {
  color: rgba(9, 39, 68, 0.66);
}

.policy-layer-label b {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.policy-layer-label span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-layer.level-three .policy-layer-label span {
  color: rgba(9, 39, 68, 0.66);
}

.policy-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.policy-layer.level-two .policy-nodes,
.policy-layer.level-three .policy-nodes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.policy-node {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.07);
}

.policy-layer.level-one .policy-node {
  border-top-color: var(--red);
  background: linear-gradient(180deg, #fff7f8, #ffffff);
}

.policy-layer.level-two .policy-node {
  border-top-color: var(--navy);
  background: linear-gradient(180deg, #f3f8fc, #ffffff);
}

.policy-layer.level-three .policy-node {
  border-top-color: var(--steel);
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
}

.policy-node h3 {
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.policy-node p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.document-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.document-overview-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.08);
}

.document-overview-card:target {
  outline: 3px solid rgba(239, 27, 45, 0.2);
  outline-offset: 4px;
}

.document-overview-card.layer-one {
  border-top-color: var(--red);
  background: linear-gradient(180deg, #fff7f8, #ffffff);
}

.document-overview-card.layer-two {
  border-top-color: var(--navy);
  background: linear-gradient(180deg, #f3f8fc, #ffffff);
}

.document-overview-card.layer-three {
  border-top-color: var(--steel);
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
}

.document-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.document-card-head span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-overview-card.layer-one .document-card-head span {
  background: var(--red);
}

.document-overview-card.layer-three .document-card-head span {
  color: var(--navy-dark);
  background: var(--line);
}

.document-card-head b {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.document-overview-card h3 {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.18;
}

.document-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.document-meta-grid span {
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.document-meta-grid b {
  display: block;
  margin-bottom: 3px;
  color: var(--navy-dark);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-button.edit {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.mini-button.view {
  color: var(--white);
  border-color: var(--navy-dark);
  background: var(--navy-dark);
}

.mini-button.locked {
  color: var(--muted);
  border-color: var(--line);
  background: #f5f7f9;
}

.doc-control-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.doc-control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.doc-control-card,
.doc-control-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 62, 104, 0.07);
}

.doc-control-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.doc-control-card h3,
.doc-control-panel h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.15rem;
}

.doc-control-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.doc-upload-drop {
  display: grid;
  gap: 8px;
  min-height: 126px;
  align-content: center;
  padding: 18px;
  border: 1px dashed rgba(18, 62, 104, 0.38);
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.doc-upload-drop:hover,
.doc-upload-drop.is-dragging {
  border-color: var(--red);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(239, 27, 45, 0.16);
}

.doc-upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.doc-upload-drop b {
  color: var(--navy-dark);
}

.doc-upload-drop span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.doc-lifecycle {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-lifecycle li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 6px;
  background: #f8fafc;
}

.doc-lifecycle b {
  color: var(--navy-dark);
}

.doc-lifecycle span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.doc-approval-list {
  display: grid;
  gap: 8px;
}

.doc-approval-list button {
  min-height: 64px;
  padding: 11px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 6px;
  color: inherit;
  background: #f8fafc;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.doc-approval-list button:hover,
.doc-approval-list button:focus-visible,
.doc-approval-list button.is-selected {
  border-color: var(--red);
  background: #ffffff;
  outline: 0;
}

.doc-approval-list button:hover {
  transform: translateY(-1px);
}

.doc-approval-list b,
.doc-approval-list span {
  display: block;
}

.doc-approval-list b {
  color: var(--navy-dark);
}

.doc-approval-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.doc-control-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.doc-control-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.doc-control-panel.audit {
  grid-column: 1 / -1;
}

.doc-control-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.doc-control-panel-head h3 {
  margin-top: 4px;
}

.doc-control-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.doc-control-detail-grid div {
  padding: 10px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 6px;
  background: #f8fafc;
}

.doc-control-detail-grid dt {
  color: var(--navy-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc-control-detail-grid dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.doc-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-version-list,
.doc-audit-trail {
  display: grid;
  gap: 9px;
}

.doc-version-list article,
.doc-audit-trail article {
  padding: 11px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-left: 4px solid var(--navy);
  border-radius: 6px;
  background: #f8fafc;
}

.doc-version-list b,
.doc-audit-trail b,
.doc-version-list span,
.doc-audit-trail span,
.doc-audit-trail time {
  display: block;
}

.doc-version-list b,
.doc-audit-trail b {
  color: var(--navy-dark);
}

.doc-version-list span,
.doc-audit-trail span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.doc-audit-trail time {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.competence-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.competence-map-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.competence-map {
  width: 100%;
  border-collapse: separate;
  border-spacing: 6px;
  min-width: 760px;
}

.competence-map th,
.competence-map td {
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  vertical-align: middle;
}

.competence-map th {
  color: var(--white);
  background: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.competence-map th:first-child {
  text-align: left;
}

.competence-role {
  color: var(--navy-dark);
  background: #edf3f8;
  text-align: left !important;
  font-size: 0.82rem;
  font-weight: 900;
}

.comp-cell {
  position: relative;
  min-width: 92px;
  color: var(--navy-dark);
  border: 1px solid rgba(9, 39, 68, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
}

.comp-cell span {
  display: block;
  color: rgba(9, 39, 68, 0.72);
  font-size: 0.64rem;
  font-weight: 800;
}

.comp-good {
  background: #d9f0d1;
}

.comp-watch {
  background: #ffe69a;
}

.comp-gap {
  color: var(--white);
  background: var(--red);
}

.comp-gap span {
  color: rgba(255, 255, 255, 0.84);
}

.comp-na {
  color: var(--muted);
  background: #eef2f6;
}

.competence-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.competence-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.competence-legend span::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--legend-color);
}

.role-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-profile-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.07);
}

.role-profile-card:nth-child(even) {
  border-left-color: var(--navy);
}

.role-profile-card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.tool-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.form-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.output-panel {
  padding: 22px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-left: 6px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.toolbox-hero {
  background:
    linear-gradient(135deg, rgba(9, 39, 68, 0.98), rgba(18, 62, 104, 0.92)),
    radial-gradient(circle at 82% 16%, rgba(239, 27, 45, 0.24), transparent 36%);
}

.toolbox-builder-workbench {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.35fr);
  align-items: start;
}

.toolbox-builder-form {
  position: sticky;
  top: 118px;
}

.toolbox-standard-output h2 {
  margin: 8px 0 8px;
  color: var(--navy-dark);
}

.talk-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.talk-meta-grid span,
.source-pill-row span {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.78rem;
}

.talk-meta-grid b {
  display: block;
  color: var(--navy-dark);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toolbox-image-controls {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbfcfe;
}

.toolbox-image-controls .eyebrow {
  margin: 0;
}

.image-upload-list {
  padding: 10px;
  border: 1px dashed rgba(18, 62, 104, 0.32);
  border-radius: 4px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.82rem;
}

.export-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: #fbfcfe;
}

.export-strip h3 {
  margin: 0 0 5px;
  color: var(--navy-dark);
  line-height: 1.1;
}

.export-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.risk-builder-hero {
  background:
    linear-gradient(135deg, rgba(9, 39, 68, 0.98), rgba(18, 62, 104, 0.92)),
    radial-gradient(circle at 82% 18%, rgba(239, 27, 45, 0.28), transparent 34%);
}

.hero-button-row {
  margin-top: 24px;
}

.hero-outline {
  border-color: rgba(255, 255, 255, 0.76);
  color: var(--white);
}

.source-pack-grid,
.level-band-grid,
.point-risk-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.source-pack-card,
.level-band-card,
.point-risk-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 62, 104, 0.08);
}

.source-pack-card:nth-child(even),
.level-band-card:nth-child(even),
.point-risk-card:nth-child(even) {
  border-top-color: var(--navy);
}

.source-table td:first-child {
  color: var(--navy-dark);
  font-weight: 900;
}

.risk-assessment-builder {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.42fr);
  align-items: start;
}

.builder-input-panel {
  position: sticky;
  top: 118px;
}

.builder-output-panel {
  min-width: 0;
}

.hazard-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hazard-recommendation-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 4px;
  color: var(--navy-dark);
  background: #fbfcfe;
  font-size: 0.82rem;
  font-weight: 900;
}

.hazard-recommendation-grid input {
  accent-color: var(--red);
}

.builder-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-outline-panel {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: #fbfcfe;
}

.assessment-table-wrap {
  max-height: 680px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.assessment-builder-table {
  min-width: 2300px;
  margin: 0;
  box-shadow: none;
}

.assessment-builder-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.assessment-builder-table td {
  min-width: 118px;
}

.assessment-builder-table td:nth-child(2),
.assessment-builder-table td:nth-child(3),
.assessment-builder-table td:nth-child(4),
.assessment-builder-table td:nth-child(5),
.assessment-builder-table td:nth-child(6),
.assessment-builder-table td:nth-child(10),
.assessment-builder-table td:nth-child(17) {
  min-width: 220px;
}

.assessment-builder-table .line-number {
  color: var(--red);
  font-weight: 900;
}

.score-select {
  min-width: 64px;
}

.risk-rating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 86px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.risk-rating-pill.low {
  color: var(--navy-dark);
  background: #d9f0d1;
}

.risk-rating-pill.medium {
  color: var(--navy-dark);
  background: #ffe69a;
}

.risk-rating-pill.high {
  background: #c95b00;
}

.risk-rating-pill.critical {
  background: var(--red);
}

.risk-builder-flow .workflow-step {
  min-height: 184px;
}

.talk-preview-document {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 62, 104, 0.08);
}

.talk-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -20px -20px 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.talk-preview-header b {
  color: var(--red);
}

.talk-preview-document h3 {
  margin: 18px 0 8px;
  color: var(--navy-dark);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.output-section-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.output-section-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfcfe;
}

.output-section-list b,
.output-section-list span {
  display: block;
}

.output-section-list b {
  margin-bottom: 4px;
  color: var(--navy-dark);
}

.output-section-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.toolbox-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.toolbox-image-grid div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  border: 1px dashed rgba(18, 62, 104, 0.28);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), #ffffff),
    repeating-linear-gradient(135deg, #f4f7fa 0, #f4f7fa 10px, #ffffff 10px, #ffffff 20px);
}

.toolbox-image-grid span {
  width: max-content;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toolbox-image-grid b {
  margin-top: 10px;
  color: var(--navy-dark);
}

.toolbox-image-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.compact-table th,
.compact-table td {
  font-size: 0.78rem;
}

.key-takeaway {
  margin-top: 18px;
  padding: 14px;
  border-left: 5px solid var(--red);
  color: var(--red);
  background: #fff3f4;
  font-weight: 900;
}

.question-grid,
.recent-talk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.question-grid article,
.recent-talk-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.07);
}

.question-grid article span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.question-grid article:nth-child(even) span {
  background: var(--red);
}

.question-grid h3,
.recent-talk-card h3 {
  margin: 12px 0 8px;
  color: var(--navy-dark);
  line-height: 1.12;
}

.question-grid p,
.recent-talk-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.recent-talk-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
}

.source-pill-row,
.recent-talk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-talk-actions .button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.7rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-step {
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background: var(--white);
}

.workflow-step:nth-child(even) {
  border-top-color: var(--navy);
}

.footer {
  border-top: 1px solid rgba(18, 62, 104, 0.12);
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy-dark);
}

.footer-inner {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 1000px) {
  .page-shell,
  .section-heading,
  .tool-workbench,
  .risk-dashboard {
    grid-template-columns: 1fr;
  }

  .tool-grid,
  .topic-grid,
  .resource-grid,
  .course-grid,
  .stat-grid,
  .builder-grid,
  .account-grid,
  .workflow,
  .risk-detail-grid,
  .assurance-levels,
  .monitoring-grid,
  .policy-layer,
  .policy-nodes,
  .policy-layer.level-two .policy-nodes,
  .policy-layer.level-three .policy-nodes,
  .document-overview-grid,
  .doc-control-grid,
  .doc-control-workbench,
  .competence-overview,
  .role-profile-grid,
  .lms-dashboard,
  .lms-profile-grid,
  .assigned-course-grid,
  .course-catalogue-grid,
  .audit-command-strip,
  .ops-metric-grid,
  .event-board,
  .action-link-grid,
  .fire-command,
  .fire-asset-grid,
  .fire-register-grid,
  .learning-cascade,
  .assessment-workbench,
  .assessor-tool-shell,
  .assessor-progress,
  .fra-step-ribbon,
  .tool-builder-grid,
  .asset-summary-grid,
  .asset-tool-shell,
  .fire-module-grid,
  .fire-pathway,
  .template-library-grid,
  .form-jump-grid,
  .form-meta-grid,
  .form-workspace-split,
  .legal-context-grid,
  .form-control-grid,
  .vault-split,
  .health-module-grid,
  .record-type-grid,
  .health-flow,
  .talk-meta-grid,
  .output-section-list,
  .toolbox-image-grid,
  .question-grid,
  .recent-talk-grid,
  .source-pack-grid,
  .level-band-grid,
  .point-risk-grid,
  .hazard-recommendation-grid,
  .form-image-slots,
  .form-signoff-grid,
  .asset-line-grid,
  .inspection-meta-grid,
  .defect-action-grid,
  .photo-evidence-grid,
  .location-report-card,
  .report-output-grid,
  .assessment-template-grid,
  .register-chip-grid,
  .dsear-grid,
  .register-data-grid,
  .attachment-grid,
  .evidence-gallery,
  .az-topic-links,
  .area-sync-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc {
    position: static;
  }

  .asset-register-panel {
    position: static;
  }

  .az-letter-nav {
    top: 88px;
    grid-template-columns: repeat(13, minmax(0, 1fr));
  }

  .toolbox-builder-form {
    position: static;
  }

  .builder-input-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    padding-top: 152px;
  }

  .site-header__inner,
  .footer-inner,
  .client-context-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header__inner {
    padding: 16px 0;
  }

  .drop-panel {
    top: 154px;
    left: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 170px);
  }

  .drop-panel .menu-children {
    margin-left: 0;
  }

  .brand img {
    width: 138px;
    height: auto;
  }

  .site-header__inner,
  .footer-inner,
  .client-context-inner {
    width: min(100% - 28px, 1180px);
  }

  .hub-shell {
    width: calc(100% - 28px);
    max-width: none;
  }

  .client-context-main {
    width: 100%;
  }

  .client-context-meta {
    justify-content: flex-start;
  }

  .client-context-copy span {
    white-space: normal;
  }

  .account-copy small {
    max-width: 118px;
  }

  .article-header {
    padding: 28px 22px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .tool-grid,
  .topic-grid,
  .resource-grid,
  .course-grid,
  .stat-grid,
  .builder-grid,
  .account-grid,
  .risk-detail-grid,
  .assurance-levels,
  .monitoring-grid,
  .policy-layer,
  .policy-nodes,
  .policy-layer.level-two .policy-nodes,
  .policy-layer.level-three .policy-nodes,
  .document-overview-grid,
  .document-meta-grid,
  .doc-control-grid,
  .doc-control-workbench,
  .doc-control-detail-grid,
  .doc-lifecycle li,
  .competence-overview,
  .role-profile-grid,
  .lms-dashboard,
  .lms-profile-grid,
  .assigned-course-grid,
  .course-catalogue-grid,
  .audit-command-strip,
  .ops-metric-grid,
  .event-board,
  .action-link-grid,
  .fire-command,
  .fire-asset-grid,
  .fire-register-grid,
  .learning-cascade,
  .assessment-workbench,
  .assessor-tool-shell,
  .assessor-progress,
  .fra-step-ribbon,
  .tool-builder-grid,
  .asset-summary-grid,
  .asset-tool-shell,
  .fire-module-grid,
  .fire-pathway,
  .template-library-grid,
  .form-jump-grid,
  .form-meta-grid,
  .form-workspace-split,
  .legal-context-grid,
  .form-control-grid,
  .form-control-grid.two-col,
  .vault-split,
  .health-module-grid,
  .record-type-grid,
  .health-flow,
  .boundary-grid,
  .talk-meta-grid,
  .output-section-list,
  .toolbox-image-grid,
  .question-grid,
  .recent-talk-grid,
  .source-pack-grid,
  .level-band-grid,
  .point-risk-grid,
  .hazard-recommendation-grid,
  .form-image-slots,
  .form-signoff-grid,
  .asset-line-grid,
  .inspection-meta-grid,
  .defect-action-grid,
  .photo-evidence-grid,
  .location-report-card,
  .report-output-grid,
  .assessment-template-grid,
  .register-chip-grid,
  .dsear-grid,
  .register-data-grid,
  .attachment-grid,
  .evidence-gallery,
  .workflow,
  .member-journey {
    grid-template-columns: 1fr;
  }

  .knowledge-search-row,
  .az-letter-section,
  .az-topic-links,
  .area-sync-strip,
  .area-card-grid {
    grid-template-columns: 1fr;
  }

  .az-letter-nav {
    position: static;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .az-letter-head span {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }

  .tool-title-row,
  .inspection-card-header,
  .paper-form-header,
  .attachment-strip,
  .digital-section-item,
  .standalone-card,
  .linked-section-heading,
  .linked-card-header,
  .sign-off-strip,
  .manager-outcome-strip,
  .export-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .export-strip {
    display: flex;
  }

  .export-actions {
    justify-content: flex-start;
  }

  .delete-pill,
  .check-result-button,
  .location-report-card .button,
  .standalone-actions .button {
    width: 100%;
  }

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

  .form-field-box.span-two,
  .form-field-box.span-four,
  .form-control-grid .span-two,
  .form-control-grid .span-four {
    grid-column: auto;
  }

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

  .standalone-actions {
    justify-content: flex-start;
  }

  .action-mini-list div {
    grid-template-columns: 1fr;
  }

  .fire-plan {
    grid-template-columns: 1fr;
  }

  .risk-heatmap {
    grid-template-columns: 54px repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .risk-axis,
  .risk-cell,
  .risk-corner {
    min-height: 54px;
  }

  .risk-heatmap-panel {
    padding: 14px;
  }

  .risk-corner,
  .risk-axis {
    padding: 4px 2px;
    font-size: 0.56rem;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .risk-cell {
    padding: 6px 4px 18px;
  }

  .risk-score {
    right: 4px;
    bottom: 3px;
    font-size: 0.62rem;
  }

  .risk-badge {
    min-width: 24px;
    min-height: 22px;
    padding: 0 5px;
    font-size: 0.6rem;
  }
}

@media print {
  body {
    padding-top: 0;
    background: var(--white);
  }

  .site-header,
  .footer,
  .article-header,
  .section-heading,
  .toolbox-builder-form,
  .export-strip,
  .question-grid,
  .recent-talk-grid,
  .manager-outcome-strip {
    display: none !important;
  }

  .hub-shell {
    width: 100%;
  }

  .section-block {
    padding: 0;
    border: 0;
  }

  .toolbox-builder-workbench {
    display: block;
  }

  .output-panel {
    padding: 0;
    border: 0;
    background: var(--white);
  }

  .talk-preview-document {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* SHARE app-style public and member homepages */
.share-app-page {
  min-height: 100vh;
  padding-top: 0;
  background:
    linear-gradient(180deg, rgba(239, 27, 45, 0.025) 0, rgba(255, 255, 255, 0) 280px),
    #ffffff;
}

.share-app-page .site-header,
.share-app-page .client-context-bar,
.share-app-page .footer {
  display: none;
}

.share-app-shell {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  min-height: 100vh;
}

.share-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  width: 288px;
  min-width: 288px;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px 10px;
  border-right: 2px solid var(--navy);
  background: #ffffff;
  box-shadow: 14px 0 34px rgba(9, 39, 68, 0.08);
  overflow: hidden;
}

.share-sidebar-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.share-sidebar-brand {
  display: inline-grid;
  grid-template-columns: 54px;
  place-items: center;
  align-items: center;
  gap: 0;
  width: 54px;
  min-height: 44px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-sidebar-brand img {
  display: block;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.share-sidebar-brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.share-sidebar-toggle {
  position: static;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 62, 104, 0.28);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.share-sidebar-toggle:hover,
.share-sidebar-toggle:focus-visible {
  background: #edf3f8;
  outline: 0;
}

.share-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 14px;
  background:
    linear-gradient(var(--navy-dark), var(--navy-dark)) left 0 top 0 / 18px 2px no-repeat,
    linear-gradient(var(--navy-dark), var(--navy-dark)) left 0 center / 18px 2px no-repeat,
    linear-gradient(var(--navy-dark), var(--navy-dark)) left 0 bottom 0 / 18px 2px no-repeat;
}

.share-sidebar-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 0;
  overflow-x: visible;
  overflow-y: auto;
  padding: 2px 2px 8px 0;
}

.share-sidebar-link,
.share-member-profile {
  appearance: none;
  width: 100%;
  text-align: left;
  font: inherit;
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 4px 6px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: #ffffff;
  background: var(--navy);
  cursor: pointer;
}

.share-sidebar-link:hover,
.share-sidebar-link:focus-visible,
.share-sidebar-link.is-active {
  border-color: var(--red);
  background: var(--navy-dark);
  outline: 0;
}

.share-sidebar-link.is-locked {
  border-color: #c9d3dc;
  color: #70808f;
  background: #e8edf2;
  cursor: not-allowed;
}

.share-sidebar-link.is-locked:hover,
.share-sidebar-link.is-locked:focus-visible {
  border-color: #c9d3dc;
  background: #e8edf2;
  outline: 0;
}

.share-sidebar-link.is-locked .share-sidebar-code {
  color: #7c8b99;
  background: #f7f9fb;
}

.share-sidebar-link.is-locked .share-sidebar-copy b,
.share-sidebar-link.is-locked .share-sidebar-copy small {
  color: #728292;
}

.share-sidebar-code {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  color: var(--navy-dark);
  background: #ffffff;
}

.share-sidebar-code svg {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}

.share-sidebar-code svg path,
.share-sidebar-code svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-sidebar-link.has-children .share-sidebar-copy::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 900;
}

.share-sidebar-link.has-children[aria-expanded="true"] .share-sidebar-copy::after {
  content: "−";
}

.share-sidebar-link.is-active::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: var(--red);
}

.share-sidebar-link.is-active .share-sidebar-code {
  color: var(--navy-dark);
  background: #ffffff;
}

.share-sidebar-children {
  display: none;
  position: fixed;
  left: 306px;
  top: var(--share-sidebar-flyout-top, 144px);
  z-index: 95;
  width: min(260px, calc(100vw - 330px));
  gap: 4px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--navy);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(9, 39, 68, 0.22);
}

.share-sidebar-children.is-open {
  display: grid;
}

.share-sidebar-children a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--navy);
  border-left: 3px solid rgba(255, 255, 255, 0.56);
  border-radius: 7px;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.share-sidebar-children a:hover,
.share-sidebar-children a.is-active {
  color: #ffffff;
  background: var(--navy-dark);
}

.share-sidebar-copy {
  position: relative;
  align-self: center;
  min-width: 0;
  padding-right: 16px;
}

.share-sidebar-copy b,
.share-member-profile b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: #ffffff;
  font-size: 0.74rem;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.share-sidebar-copy small,
.share-member-profile small {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-sidebar-footer {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.share-member-profile {
  border-radius: 8px;
  border: 1px solid var(--navy);
  background: var(--navy);
}

.share-member-popout {
  position: relative;
  z-index: 85;
  margin-bottom: 60px;
  align-self: end;
  padding-top: 8px;
  border-top: 1px solid rgba(18, 62, 104, 0.12);
}

.share-member-popout-toggle,
.share-member-static-card {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  padding: 7px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #f8fafc;
  box-shadow: 0 12px 26px rgba(18, 62, 104, 0.08);
  cursor: pointer;
}

.share-member-static-card {
  margin-bottom: 60px;
  cursor: default;
}

.share-member-popout-toggle:hover,
.share-member-popout-toggle:focus-visible,
.share-member-popout.is-open .share-member-popout-toggle {
  border-color: var(--red);
  background: #ffffff;
  outline: 0;
}

.share-member-popout-toggle .client-logo-mark,
.share-member-static-card .client-logo-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.share-member-popout-label {
  display: grid;
  gap: 1px;
  min-width: 0;
  text-align: left;
}

.share-member-popout-label b {
  overflow: hidden;
  color: var(--navy-dark);
  font-size: 0.83rem;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-member-popout-label small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-member-popout-panel {
  position: fixed;
  left: 302px;
  bottom: 76px;
  z-index: 160;
  width: min(350px, calc(100vw - 360px));
  max-height: min(76vh, 680px);
  display: none;
  overflow: auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(9, 39, 68, 0.22);
}

.share-member-popout:hover .share-member-popout-panel,
.share-member-popout:focus-within .share-member-popout-panel,
.share-member-popout.is-open .share-member-popout-panel {
  display: grid;
}

.share-member-popout-panel .share-current-plan,
.share-member-popout-panel .share-usage-meter {
  padding: 12px;
}

.share-member-popout-panel .share-status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.share-member-popout-panel .share-status-grid article,
.share-member-popout-panel .share-usage-list div {
  padding: 10px;
}

.share-member-popout-panel .share-status-grid b {
  font-size: 1.35rem;
}

.share-member-popout-panel .share-subscription-button {
  min-height: 40px;
  font-size: 0.76rem;
}

.share-member-login-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.share-member-login-actions .button {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  justify-content: center;
  font-size: 0.74rem;
}

.share-main {
  width: calc(100% - 54px);
  max-width: none;
  margin: 0 auto;
  padding: 28px 0 72px;
}

.share-topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.share-topbar h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  text-transform: none;
}

.share-kicker {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.share-kicker::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(239, 27, 45, 0.42);
}

.share-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.share-app-page .button,
.share-app-page button.button {
  border-color: var(--navy);
  color: #ffffff;
  background: var(--navy);
}

.share-app-page .button:hover {
  filter: brightness(0.96);
}

.share-app-page .button.outline {
  border-color: rgba(18, 62, 104, 0.72);
  color: var(--navy);
  background: transparent;
}

.share-app-page .button.dark {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
}

.share-hero,
.share-member-hero,
.share-minimal-section,
.share-dashboard-card {
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-top-color: rgba(239, 27, 45, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 27, 45, 0.026), rgba(255, 255, 255, 0) 34%),
    #ffffff;
  box-shadow: 0 18px 50px rgba(18, 62, 104, 0.07);
}

.share-gateway-page .share-hero {
  box-shadow:
    inset 4px 0 0 rgba(239, 27, 45, 0.18),
    0 18px 50px rgba(18, 62, 104, 0.07);
}

.share-hero-intro {
  max-width: 980px;
  margin: 0 0 18px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(239, 27, 45, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(239, 27, 45, 0.18), rgba(239, 27, 45, 0) 30%),
    linear-gradient(135deg, #061e35 0%, var(--navy-dark) 46%, var(--navy) 100%);
  box-shadow: inset 4px 0 0 rgba(239, 27, 45, 0.42);
}

.share-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  min-height: 540px;
  padding: clamp(28px, 5vw, 58px);
}

.share-gateway-page .share-hero {
  grid-template-columns: 1fr;
  min-height: auto;
}

.share-gateway-page .share-hero-copy {
  max-width: 1040px;
}

.share-hero h2,
.share-member-hero h2,
.share-minimal-section h2 {
  color: var(--navy-dark);
  font-size: clamp(2.2rem, 5vw, 5rem);
  text-transform: none;
}

.share-hero p,
.share-member-hero p,
.share-section-heading p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}

.share-hero .share-hero-intro h2 {
  color: #ffffff;
}

.share-hero .share-hero-intro p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.share-typed-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 860px;
  min-height: 4.2em;
  margin: 18px 0;
}

.share-typed-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 27, 45, 0.22);
}

.share-typed-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.share-typed-logo.is-thinking {
  animation: shareLogoThinking 0.9s ease-in-out infinite;
}

.share-typed-logo.is-ready {
  box-shadow: 0 0 0 6px rgba(18, 62, 104, 0.06);
}

.share-typed-statement {
  min-height: 3.1em;
  margin: 0;
  font-weight: 900;
}

.share-typed-statement::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.12em;
  border-radius: 999px;
  background: var(--red);
  animation: shareTypeCursor 0.72s steps(1, end) infinite;
}

.share-typed-statement.is-complete::after {
  background: var(--navy-dark);
}

.share-context-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 22px 0 24px;
}

.share-context-tiles article {
  min-height: 146px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-left: 3px solid rgba(239, 27, 45, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 62, 104, 0.055);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.46s ease, transform 0.46s ease, border-color 0.2s ease;
}

.share-context-tiles article:nth-child(2) {
  transition-delay: 0.08s;
}

.share-context-tiles article:nth-child(3) {
  transition-delay: 0.16s;
}

.share-context-tiles article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.share-context-tiles article:hover {
  border-left-color: rgba(239, 27, 45, 0.42);
}

.share-context-tiles b {
  color: var(--navy-dark);
  font-size: 0.98rem;
}

.share-context-tiles span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.44;
}

@keyframes shareLogoThinking {
  0%,
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(239, 27, 45, 0.2);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(239, 27, 45, 0.05);
  }
}

.share-free-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(90deg, rgba(239, 27, 45, 0.08), #edf3f8 42%);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-search-cta,
.share-chat-box div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 840px;
  margin: 24px 0 18px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-left-color: rgba(239, 27, 45, 0.22);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 62, 104, 0.09);
}

.share-search-cta > span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy-dark);
  background: #f1f4f8;
  font-size: 1.55rem;
  line-height: 1;
}

.share-search-cta input,
.share-chat-box input,
.share-locked-search-message {
  margin: 0;
  border: 0;
  padding: 10px 4px;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.share-locked-search-message {
  position: relative;
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  color: var(--navy-dark);
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.share-locked-search-message::after {
  content: "";
  display: none;
  width: 2px;
  height: 1.1em;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--red);
  animation: shareTypeCursor 0.72s steps(1, end) infinite;
}

.share-locked-search-message.is-typing,
.share-locked-search-message.is-complete {
  opacity: 1;
}

.share-locked-search-message.is-typing::after,
.share-locked-search-message.is-complete::after {
  display: inline-block;
}

.share-locked-search-message.is-complete::after {
  background: var(--navy-dark);
}

@keyframes shareTypeCursor {
  0%,
  46% {
    opacity: 1;
  }
  47%,
  100% {
    opacity: 0;
  }
}

.share-search-cta.is-locked {
  border-color: #d6dde5;
  background: #f2f5f8;
  box-shadow: none;
}

.share-search-cta.is-locked > span:first-child {
  color: #7d8995;
  background: #e2e8ee;
}

.share-search-cta.is-locked input {
  color: #758292;
  cursor: not-allowed;
}

.share-search-cta.is-locked input::placeholder {
  color: #8f9aa6;
}

.button.is-disabled,
.share-search-cta .button.is-disabled {
  border-color: #c8d1da;
  color: #677583;
  background: #e3e8ed;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.share-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 20px;
}

.share-audience-section {
  background:
    linear-gradient(135deg, rgba(239, 27, 45, 0.018), rgba(255, 255, 255, 0) 38%),
    #ffffff;
}

.share-audience-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}

.share-audience-heading .share-kicker {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  letter-spacing: 0;
  text-transform: none;
}

.share-audience-grid article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-left: 3px solid rgba(239, 27, 45, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(239, 27, 45, 0.025), rgba(248, 250, 252, 0) 45%), #f8fafc;
}

.share-audience-section .share-audience-grid article {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.46s ease, transform 0.46s ease, border-color 0.2s ease;
}

.share-audience-section .share-audience-grid article:nth-child(2) {
  transition-delay: 0.08s;
}

.share-audience-section .share-audience-grid article:nth-child(3) {
  transition-delay: 0.16s;
}

.share-audience-section .share-audience-grid article:nth-child(4) {
  transition-delay: 0.24s;
}

.share-audience-section .share-audience-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.share-audience-grid b {
  color: var(--navy-dark);
  font-size: 0.96rem;
}

.share-audience-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.share-hero-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-hero-panel h3 {
  font-size: 1.45rem;
}

.share-ecosystem-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.share-schematic-section .share-ecosystem-visual {
  min-height: 560px;
}

.share-schematic-section .share-ecosystem-map {
  width: min(100%, 560px);
}

.share-ecosystem-map {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
}

.ecosystem-core,
.ecosystem-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(9, 39, 68, 0.12);
}

.ecosystem-core {
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  padding: 16px;
  border: 2px solid var(--navy);
}

.ecosystem-core img {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: contain;
  object-position: right center;
}

.ecosystem-core b,
.ecosystem-node b {
  color: var(--navy-dark);
  font-weight: 900;
}

.ecosystem-core span,
.ecosystem-node span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.ecosystem-node {
  width: 104px;
  min-height: 76px;
  padding: 10px;
  border-radius: 8px;
}

.node-knowledge { left: 50%; top: 0; transform: translateX(-50%); }
.node-ai { right: 0; top: 22%; }
.node-risk { right: 5%; bottom: 12%; }
.node-audit { left: 50%; bottom: 0; transform: translateX(-50%); }
.node-learning { left: 5%; bottom: 12%; }
.node-fire { left: 0; top: 22%; }

.ecosystem-line {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 2px;
  height: 176px;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(18, 62, 104, 0), rgba(18, 62, 104, 0.42), rgba(18, 62, 104, 0));
}

.line-a { transform: rotate(0deg); }
.line-b { transform: rotate(60deg); }
.line-c { transform: rotate(120deg); }
.line-d { transform: rotate(180deg); }
.line-e { transform: rotate(240deg); }
.line-f { transform: rotate(300deg); }

.ecosystem-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(239, 27, 45, 0.12);
  animation: ecosystemPulse 3.4s linear infinite;
}

.pulse-a { --angle: 0deg; animation-delay: 0s; }
.pulse-b { --angle: 75deg; animation-delay: -0.8s; }
.pulse-c { --angle: 180deg; animation-delay: -1.6s; }
.pulse-d { --angle: 255deg; animation-delay: -2.4s; }

@keyframes ecosystemPulse {
  0% {
    opacity: 0;
    transform: rotate(var(--angle)) translateY(8px) rotate(calc(-1 * var(--angle))) scale(0.65);
  }
  18% {
    opacity: 1;
  }
  50% {
    transform: rotate(var(--angle)) translateY(108px) rotate(calc(-1 * var(--angle))) scale(1);
  }
  82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle)) translateY(176px) rotate(calc(-1 * var(--angle))) scale(0.65);
  }
}

.share-clean-list,
.share-recent-list,
.share-document-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-clean-list li {
  padding-left: 18px;
  border-left: 4px solid var(--navy);
  color: var(--ink);
  font-weight: 700;
}

.share-minimal-section {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.share-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.share-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.share-section-heading p {
  margin-bottom: 0;
}

.share-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 22px;
}

.share-video-placeholder {
  min-height: 320px;
  display: grid;
  place-content: center;
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 16% 18%, rgba(239, 27, 45, 0.24), rgba(239, 27, 45, 0) 34%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.share-video-placeholder span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-video-placeholder h3 {
  color: #ffffff;
  font-size: 1.55rem;
}

.share-video-placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.share-flow,
.share-tool-sections,
.share-action-stack {
  display: grid;
  gap: 12px;
}

.share-flow article,
.share-tool-sections article,
.share-action-stack a,
.share-member-route-grid a {
  border: 1px solid var(--line);
  border-left: 3px solid rgba(239, 27, 45, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.share-flow article {
  padding: 18px;
}

.share-flow b {
  display: block;
  color: var(--navy-dark);
}

.share-flow span {
  color: var(--muted);
}

.share-free-tool-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.share-free-tool-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.share-free-tool-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(239, 27, 45, 0.62);
}

.share-flow .share-business-cta {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr) auto;
  border-color: rgba(18, 62, 104, 0.22);
  border-left-color: rgba(239, 27, 45, 0.28);
  background: linear-gradient(90deg, rgba(239, 27, 45, 0.045), rgba(248, 250, 252, 0) 42%), #f8fafc;
}

.share-flow .share-business-cta .button {
  align-self: center;
  white-space: nowrap;
}

.share-pricing-split {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 27, 45, 0.045), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(18, 62, 104, 0.08);
}

.share-pricing-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 6px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 999px;
  background: #eef2f6;
}

.share-pricing-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.share-pricing-tabs button.is-active {
  color: var(--navy-dark);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 62, 104, 0.1);
}

.share-pricing-panel {
  display: grid;
  gap: 18px;
}

.share-pricing-panel[hidden] {
  display: none;
}

.share-pricing-panel-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(18, 62, 104, 0.12);
}

.share-pricing-panel-copy h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.share-pricing-panel-copy p:not(.share-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.5;
}

.share-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.share-pricing-cards article {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  background: #f8fafc;
}

.share-pricing-cards article:first-child {
  border-top-color: var(--red);
}

.share-pricing-cards span {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-pricing-cards b {
  display: inline-block;
  margin-top: 10px;
  color: #050b12;
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  line-height: 1;
}

.share-pricing-cards small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.share-pricing-cards p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.share-pricing-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-pricing-modules span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-left: 3px solid rgba(239, 27, 45, 0.72);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--navy-dark);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.share-pricing-panel > .button {
  width: fit-content;
}

.share-business-intelligence {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 26px;
  align-items: center;
  border-left: 5px solid var(--red);
  background:
    linear-gradient(90deg, rgba(239, 27, 45, 0.045), rgba(255, 255, 255, 0) 36%),
    var(--white);
}

.share-business-intelligence h2 {
  max-width: 780px;
}

.share-business-intelligence p {
  max-width: 820px;
}

.share-business-intelligence-actions {
  display: grid;
  gap: 10px;
}

.share-business-intelligence-actions span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-left: 4px solid rgba(239, 27, 45, 0.72);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--navy-dark);
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 900;
}

.share-business-intelligence-actions .button {
  width: 100%;
  margin-top: 4px;
}

.share-tool-sections article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.share-tool-sections article:hover {
  border-left-color: rgba(239, 27, 45, 0.36);
  box-shadow: 0 14px 34px rgba(18, 62, 104, 0.08);
}

.share-tool-sections article > span,
.share-member-route-grid span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(239, 27, 45, 0.18), rgba(239, 27, 45, 0) 45%),
    var(--navy);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.share-tool-sections h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.share-tool-sections p {
  margin-bottom: 10px;
  color: var(--muted);
}

.share-tool-sections a,
.share-card-head a {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-register-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 5px solid var(--navy);
}

.share-register-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.share-member-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 42px);
}

.share-member-hero-wide {
  grid-template-columns: minmax(0, 1fr);
}

.share-member-hero-wide .share-chat-panel {
  width: 100%;
  justify-self: center;
}

.share-member-hero h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.share-member-home .share-chat-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-top-color: rgba(239, 27, 45, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 62, 104, 0.055);
}

.share-member-home .share-chat-intro {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(239, 27, 45, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(239, 27, 45, 0.18), rgba(239, 27, 45, 0) 30%),
    linear-gradient(135deg, #061e35 0%, var(--navy-dark) 46%, var(--navy) 100%);
  box-shadow: inset 4px 0 0 rgba(239, 27, 45, 0.42);
}

.share-member-home .share-chat-intro .share-kicker,
.share-member-home .share-chat-intro h2 {
  color: #ffffff;
}

.share-member-home .share-chat-intro > p {
  max-width: none;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.share-member-home .share-chat-panel .share-chat-area {
  background: #ffffff;
}

.share-member-home .share-chat-panel .share-prompt-row a {
  border-color: rgba(18, 62, 104, 0.16);
  color: var(--navy);
  background: #ffffff;
}

.share-member-home .share-chat-panel .share-prompt-row a:hover {
  border-color: rgba(239, 27, 45, 0.5);
  background: #ffffff;
}

.share-org-command-centre {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 5%, rgba(239, 27, 45, 0.2), rgba(239, 27, 45, 0) 28%),
    linear-gradient(135deg, #061e35 0%, #092744 45%, #123e68 100%);
  box-shadow: 0 24px 64px rgba(9, 39, 68, 0.24);
  overflow: hidden;
}

.share-org-command-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 18px;
  align-items: stretch;
}

.share-org-command-head .share-kicker,
.share-org-command-head h2,
.share-org-command-head p {
  color: #ffffff;
}

.share-org-command-head h2 {
  margin: 4px 0 12px;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.share-org-command-head p {
  max-width: 920px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}

.share-org-health-badge {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 160px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
}

.share-org-health-badge span,
.share-org-health-badge small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-org-health-badge strong {
  color: #ffffff;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1;
}

.share-org-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  gap: 10px;
}

.share-org-filter-row span,
.share-org-filter-row button {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
}

.share-org-filter-row strong {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.share-org-filter-row button {
  cursor: pointer;
  border-color: rgba(239, 27, 45, 0.62);
  background: var(--red);
  text-transform: uppercase;
}

.share-org-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.share-org-kpi,
.share-org-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.share-org-kpi {
  display: grid;
  gap: 6px;
  min-height: 170px;
  padding: 18px;
}

.share-org-kpi-alert {
  border-top-color: var(--red);
}

.share-org-kpi span {
  color: #ffffff;
  font-size: clamp(2.1rem, 3.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
}

.share-org-kpi strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-org-kpi p,
.share-org-panel-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.share-org-panel-grid,
.share-org-lower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.share-org-panel-wide {
  grid-column: span 1;
}

.share-org-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.share-org-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.share-org-panel-title span {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-org-panel-title strong {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 900;
}

.share-org-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 7px;
  min-height: 210px;
  align-items: end;
  padding: 12px 0 6px;
}

.share-org-bars span {
  position: relative;
  display: block;
  height: var(--h);
  min-height: 34px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #ffffff 0%, #b9ccdd 100%);
}

.share-org-bars span:nth-child(4n),
.share-org-bars span:nth-child(5n) {
  background: linear-gradient(180deg, #ef1b2d 0%, #9f1020 100%);
}

.share-org-bars i {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.share-org-donut-wrap {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.share-org-donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0 38%, #123e68 38% 61%, #4f789b 61% 78%, #d9e5ef 78% 92%, #f2a33c 92% 100%);
}

.share-org-donut::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: #092744;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.share-org-donut b,
.share-org-donut small {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.share-org-donut b {
  margin-top: -14px;
  font-size: 2.15rem;
}

.share-org-donut small {
  margin-top: 38px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.share-org-donut-wrap ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.share-org-donut-wrap li {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.share-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.share-dot.red { background: var(--red); }
.share-dot.navy { background: #123e68; }
.share-dot.blue { background: #4f789b; }
.share-dot.pale { background: #d9e5ef; }
.share-dot.amber { background: #f2a33c; }

.share-org-progress-list,
.share-org-document-list,
.share-org-action-stack {
  display: grid;
  gap: 10px;
}

.share-org-progress-list p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  margin: 0;
  color: #ffffff;
  font-weight: 900;
}

.share-org-progress-list i {
  grid-column: 1 / -1;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.share-org-progress-list i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ffffff);
}

.share-org-document-list p,
.share-org-action-stack a {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.share-org-document-list b,
.share-org-action-stack a {
  display: block;
  color: #ffffff;
  font-weight: 900;
}

.share-org-document-list span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.82rem;
  font-weight: 800;
}

.share-org-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-org-mini-stats span {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.share-org-mini-stats b {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.share-risk-mini-matrix {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.share-risk-mini-matrix span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 5px;
  color: #ffffff;
  font-weight: 900;
}

.share-risk-mini-matrix .risk-low {
  background: rgba(185, 204, 221, 0.42);
}

.share-risk-mini-matrix .risk-med {
  background: rgba(242, 163, 60, 0.82);
}

.share-risk-mini-matrix .risk-high {
  background: rgba(239, 27, 45, 0.88);
}

.share-org-action-stack a {
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.share-org-action-stack a:hover {
  border-color: rgba(239, 27, 45, 0.72);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.share-chat-box label {
  display: block;
  color: var(--navy-dark);
}

.share-chat-box div {
  margin: 10px 0 0;
}

.share-chat-area {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #f8fafc;
}

.share-chat-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-chat-source-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
}

.share-chat-thread {
  display: grid;
  gap: 10px;
}

.share-chat-message {
  width: min(88%, 680px);
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 62, 104, 0.05);
}

.share-chat-message.user {
  justify-self: end;
  border-color: rgba(18, 62, 104, 0.24);
  color: #ffffff;
  background: var(--navy);
}

.share-chat-message.assistant {
  justify-self: start;
}

.share-chat-message b {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.share-chat-message .share-chat-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 50%;
  background: #ffffff;
}

.share-chat-message .share-chat-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-chat-message p {
  margin: 0;
  color: inherit;
  font-size: 0.94rem;
  line-height: 1.45;
}

.share-chat-message.assistant p {
  color: var(--muted);
}

.share-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.share-chat-composer label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.share-chat-composer textarea {
  width: 100%;
  min-height: 56px;
  max-height: 150px;
  resize: vertical;
  border: 0;
  padding: 8px 4px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.96rem;
  outline: 0;
}

.share-chat-composer .button {
  min-width: 86px;
}

.share-prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.share-prompt-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.share-member-summary {
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-status-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-status-grid b {
  display: block;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
}

.share-status-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.share-individual-access-panel {
  display: grid;
  gap: 14px;
}

.share-current-plan {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(239, 27, 45, 0.22);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(239, 27, 45, 0.055), rgba(255, 255, 255, 0) 58%), #ffffff;
}

.share-current-plan span,
.share-plan-stack article > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-current-plan b {
  color: var(--navy-dark);
  font-size: 1.35rem;
  line-height: 1.1;
}

.share-current-plan small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.share-allowance-list {
  display: grid;
  gap: 8px;
}

.share-allowance-list div {
  display: grid;
  grid-template-columns: minmax(82px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.share-allowance-list b {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.15;
}

.share-allowance-list span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
}

.share-usage-meter {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(239, 27, 45, 0.2);
  border-radius: 8px;
  background: #ffffff;
}

.share-usage-meter div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.share-usage-meter span {
  color: var(--navy-dark);
  font-size: 0.86rem;
  font-weight: 950;
}

.share-usage-meter b {
  color: var(--red);
  font-size: 1.7rem;
  line-height: 1;
}

.share-usage-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.share-usage-meter i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf1f7;
}

.share-usage-meter i::before {
  content: "";
  display: block;
  width: var(--usage, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #b80f1e);
}

.share-usage-list {
  display: grid;
  gap: 8px;
}

.share-usage-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.share-usage-list span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.share-usage-list b {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 950;
}

.share-usage-list small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.share-subscription-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.16);
}

.share-subscription-button:hover,
.share-subscription-button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  outline: 0;
}

.share-plan-stack {
  display: grid;
  gap: 10px;
}

.share-plan-stack article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 62, 104, 0.055);
}

.share-plan-stack h3 {
  margin: 4px 0 10px;
  color: var(--navy-dark);
  font-size: 1rem;
}

.share-plan-stack ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-plan-stack li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-plan-stack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.share-subscription-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: stretch;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 18%, rgba(239, 27, 45, 0.08), rgba(255, 255, 255, 0) 36%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(18, 62, 104, 0.08);
}

.share-subscription-hero h2 {
  max-width: 820px;
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.05;
}

.share-subscription-hero p:not(.share-kicker) {
  max-width: 850px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.share-subscription-current-card {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #f8fafc;
}

.share-subscription-current-card b {
  color: var(--navy-dark);
  font-size: 1.3rem;
}

.share-subscription-current-card small {
  color: var(--muted);
  font-weight: 850;
}

.share-subscription-current-card strong {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  margin-top: 6px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--navy);
  background: #eaf1f7;
  font-size: 0.78rem;
  font-weight: 950;
}

.share-subscription-segment {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: min(100%, 520px);
  margin: 24px auto 0;
  padding: 6px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 999px;
  background: #eef2f6;
  box-shadow: 0 10px 28px rgba(18, 62, 104, 0.08);
}

.share-subscription-segment a {
  display: inline-flex;
  flex: 1;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
}

.share-subscription-segment a.is-active {
  color: var(--navy-dark);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 62, 104, 0.1);
}

.share-subscription-panel-stack {
  position: relative;
  margin-top: 24px;
}

.share-account-pricing-panel[hidden] {
  display: none;
}

.share-account-pricing-panel.is-active {
  display: block;
}

.share-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.share-tier-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(18, 62, 104, 0.07);
}

.share-tier-card.is-current {
  border-color: rgba(239, 27, 45, 0.34);
  box-shadow: inset 0 4px 0 var(--red), 0 18px 42px rgba(18, 62, 104, 0.08);
}

.share-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.share-tier-head span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-tier-head strong {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--navy);
  background: #eaf1f7;
  font-size: 0.7rem;
  font-weight: 950;
}

.share-tier-card h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.share-tier-card p {
  min-height: 74px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.48;
}

.share-tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0;
}

.share-tier-price b {
  color: #050b12;
  font-size: 3rem;
  line-height: 1;
}

.share-tier-price span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.share-tier-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.share-tier-button:hover,
.share-tier-button:focus-visible {
  background: var(--red);
  outline: 0;
}

.share-tier-button.is-disabled {
  color: var(--navy);
  background: #eaf1f7;
  pointer-events: none;
}

.share-tier-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(18, 62, 104, 0.12);
  list-style: none;
}

.share-tier-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.share-tier-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 950;
}

.share-tier-matrix {
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(18, 62, 104, 0.08);
}

.share-tier-matrix-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 62, 104, 0.12);
}

.share-tier-matrix-intro h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.share-tier-matrix-intro p:not(.share-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.5;
}

.share-tier-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
}

.share-tier-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--ink);
}

.share-tier-table th,
.share-tier-table td {
  border-bottom: 1px solid rgba(18, 62, 104, 0.12);
  padding: 18px 16px;
  text-align: left;
  vertical-align: middle;
}

.share-tier-table thead th {
  background:
    linear-gradient(180deg, rgba(239, 27, 45, 0.05), rgba(255, 255, 255, 0)),
    #f8fafc;
  vertical-align: bottom;
}

.share-tier-table thead th:first-child,
.share-tier-table tbody th,
.share-tier-table tbody td {
  width: 25%;
}

.share-tier-table thead th:not(:first-child) {
  min-width: 0;
  text-align: center;
}

.share-tier-table thead span {
  display: block;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-tier-table thead b {
  display: block;
  margin-top: 8px;
  color: #050b12;
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1;
}

.share-tier-table thead small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 850;
}

.share-tier-table thead strong,
.share-tier-table thead a,
.share-tier-table thead button {
  display: flex;
  width: min(100%, 190px);
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.72rem;
  font-family: inherit;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.share-tier-table thead strong {
  color: var(--navy);
  background: #eaf1f7;
}

.share-tier-table thead a,
.share-tier-table thead button {
  color: #ffffff;
  background: var(--navy-dark);
}

.share-tier-table thead a:hover,
.share-tier-table thead a:focus-visible,
.share-tier-table thead button:hover,
.share-tier-table thead button:focus-visible {
  background: var(--red);
  outline: 0;
}

.share-tier-table tbody th {
  color: var(--navy-dark);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
}

.share-tier-table tbody td {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.share-tier-table tbody tr:nth-child(even) th,
.share-tier-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.share-tier-table tbody tr:last-child th,
.share-tier-table tbody tr:last-child td {
  border-bottom: 0;
}

.share-topup-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 27, 45, 0.055), rgba(255, 255, 255, 0) 60%),
    #ffffff;
}

.share-topup-card h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.share-topup-card p:not(.share-kicker) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.share-topup-card button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--navy-dark);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.share-topup-card button:hover,
.share-topup-card button:focus-visible {
  background: var(--red);
  outline: 0;
}

.share-business-pricing {
  scroll-margin-top: 24px;
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 62, 104, 0.045), rgba(255, 255, 255, 0) 52%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(18, 62, 104, 0.08);
}

.share-business-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.share-business-price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-top: 5px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 62, 104, 0.07);
}

.share-business-price-card:first-child {
  border-top-color: var(--red);
}

.share-business-price-card span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-business-price-card h3 {
  margin: 10px 0 0;
  color: var(--navy-dark);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.share-business-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 8px;
}

.share-business-price b {
  color: #050b12;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
}

.share-business-price small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.share-business-price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.share-business-price-card p strong {
  color: var(--navy-dark);
}

.share-business-price-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(18, 62, 104, 0.12);
  list-style: none;
}

.share-business-price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.4;
}

.share-business-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 950;
}

.share-business-allowance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.share-business-allowance-grid article {
  padding: 18px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-business-allowance-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 950;
}

.share-business-allowance-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}

.share-business-estimator {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(180px, 0.28fr) minmax(420px, 1fr);
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-left: 5px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
}

.share-business-estimator h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.share-business-estimator p:not(.share-kicker) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.share-business-estimator label {
  display: grid;
  gap: 8px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-business-estimator input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 62, 104, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--navy-dark);
  background: #f8fafc;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.share-business-estimator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-business-estimator-grid article {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #f8fafc;
}

.share-business-estimator-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.share-business-estimator-grid b {
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.share-business-estimator-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-tier-button.is-secondary {
  border: 1px solid rgba(18, 62, 104, 0.35);
  color: var(--navy-dark);
  background: #ffffff;
}

.share-tier-button.is-secondary:hover,
.share-tier-button.is-secondary:focus-visible {
  color: #ffffff;
  background: var(--red);
}

.share-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.share-dashboard-card {
  padding: 22px;
}

.share-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.share-recent-list a,
.share-action-stack a {
  display: grid;
  gap: 3px;
  padding: 13px;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fafc;
}

.share-recent-list b,
.share-action-stack b {
  color: var(--navy-dark);
}

.share-recent-list span,
.share-action-stack span {
  color: var(--muted);
  font-size: 0.86rem;
}

.share-document-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px 13px;
  align-items: start;
  padding: 13px;
  border-radius: 8px;
  background: #f8fafc;
}

.share-document-list li > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.share-document-list b {
  color: var(--navy-dark);
}

.share-document-list small {
  color: var(--muted);
}

.share-member-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.share-member-route-grid a {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: var(--ink);
}

.share-member-route-grid b {
  color: var(--navy-dark);
  font-size: 1rem;
}

.share-member-route-grid small {
  color: var(--muted);
}

.share-home-access {
  border-left: 5px solid var(--navy);
}

.share-access-grid,
.share-account-gateway {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.share-access-card,
.share-account-panel {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(18, 62, 104, 0.1);
  border-top-color: rgba(239, 27, 45, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(18, 62, 104, 0.055);
}

.share-access-card.primary,
.share-account-panel.primary {
  border-left: 5px solid var(--navy);
  background: linear-gradient(135deg, rgba(239, 27, 45, 0.04), rgba(248, 250, 252, 0) 38%), #f8fafc;
}

.share-access-card-head {
  min-height: 150px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.share-access-card-head .share-free-pill {
  margin-bottom: 14px;
}

.share-access-card h3,
.share-account-panel h2 {
  margin-bottom: 10px;
  color: var(--navy-dark);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  text-transform: none;
}

.share-access-card p,
.share-account-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.share-account-form {
  display: grid;
  grid-template-rows: repeat(3, auto) minmax(76px, auto);
  gap: 13px;
  margin-top: 20px;
}

.share-account-form label {
  display: grid;
  gap: 7px;
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-account-form input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  padding: 0 13px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.share-account-form input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 62, 104, 0.12);
  outline: 0;
}

.share-form-actions {
  align-self: end;
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

.share-form-actions .button {
  width: 100%;
}

.share-form-actions small,
.share-form-actions small a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
}

.share-redirect-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 18px;
}

.share-sidebar-brand.inline-brand {
  color: var(--navy-dark);
}

.share-tool-page {
  padding-top: 0;
  background: #ffffff;
}

.share-tool-page .site-header,
.share-tool-page .client-context-bar {
  display: none !important;
}

.share-tool-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 312px;
  max-width: 312px;
}

.share-page-topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-left: 312px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.share-page-topbar h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
  text-transform: none;
}

.share-tool-page .hub-shell,
.share-tool-page .footer {
  width: calc(100% - 366px);
  max-width: none;
  margin-left: calc(312px + 27px);
  margin-right: 27px;
}

.share-tool-page .hub-shell {
  padding-top: 28px;
}

.share-sidebar-collapsed.share-tool-page .share-page-topbar {
  margin-left: 92px;
}

.share-sidebar-collapsed.share-tool-page .share-tool-sidebar {
  width: 92px;
  min-width: 92px;
  max-width: 92px;
}

.share-sidebar-collapsed.share-tool-page .hub-shell,
.share-sidebar-collapsed.share-tool-page .footer {
  width: calc(100% - 146px);
  max-width: none;
  margin-left: 119px;
}

.share-sidebar-collapsed .share-app-shell {
  grid-template-columns: 92px minmax(0, 1fr);
}

.share-sidebar-collapsed .share-sidebar {
  width: 92px;
  min-width: 92px;
  padding: 16px 10px;
  overflow: hidden;
}

.share-sidebar-collapsed .share-sidebar-head {
  grid-template-columns: 58px;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 82px;
}

.share-sidebar-collapsed .share-sidebar-brand {
  display: grid;
  grid-template-columns: 58px;
  place-items: center;
  width: 58px;
}

.share-sidebar-collapsed .share-sidebar-nav {
  display: grid;
  grid-template-columns: 58px;
  justify-content: center;
  justify-items: center;
  overflow-x: visible;
  overflow-y: auto;
  padding: 2px 0 8px;
}

.share-sidebar-collapsed .share-sidebar-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
}

.share-sidebar-collapsed .share-sidebar-brand span,
.share-sidebar-collapsed .share-sidebar-copy,
.share-sidebar-collapsed .share-member-profile span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.share-sidebar-collapsed .share-sidebar-toggle {
  width: 40px;
  height: 32px;
}

.share-sidebar-collapsed .share-sidebar-link,
.share-sidebar-collapsed .share-member-profile {
  width: 58px;
  height: 58px;
  grid-template-columns: 58px;
  place-items: center;
  justify-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0;
}

.share-sidebar-collapsed .share-sidebar-code {
  justify-self: center;
  align-self: center;
}

.share-sidebar-collapsed .share-member-popout,
.share-sidebar-collapsed .share-member-static-card {
  width: 58px;
  justify-self: center;
  padding-top: 8px;
}

.share-sidebar-collapsed .share-member-popout-toggle,
.share-sidebar-collapsed .share-member-static-card {
  width: 58px;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  grid-template-columns: 58px;
  place-items: center;
  padding: 0;
}

.share-sidebar-collapsed .share-member-popout-label,
.share-sidebar-collapsed .share-member-static-card .share-member-popout-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.share-sidebar-collapsed .share-member-popout-panel {
  left: 106px;
  width: min(340px, calc(100vw - 120px));
}

@media (max-width: 1000px) {
  .share-app-shell,
  .share-sidebar-collapsed .share-app-shell {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .share-page-topbar,
  .share-sidebar-collapsed.share-tool-page .share-page-topbar {
    margin-left: 92px;
    align-items: flex-start;
    flex-direction: column;
  }

  .share-tool-sidebar,
  .share-sidebar-collapsed.share-tool-page .share-tool-sidebar {
    width: 92px;
    max-width: 92px;
  }

  .share-tool-page .hub-shell,
  .share-tool-page .footer,
  .share-sidebar-collapsed.share-tool-page .hub-shell,
  .share-sidebar-collapsed.share-tool-page .footer {
    width: calc(100% - 120px);
    max-width: none;
    margin-left: 106px;
    margin-right: 14px;
  }

  .share-sidebar {
    padding: 14px 9px;
    overflow: hidden;
  }

  .share-sidebar-nav {
    display: grid;
    grid-template-columns: 58px;
    justify-content: center;
    justify-items: center;
    overflow-x: visible;
    overflow-y: auto;
    padding: 2px 0 8px;
  }

  .share-sidebar-brand {
    display: grid;
    grid-template-columns: 58px;
    place-items: center;
    width: 58px;
  }

  .share-sidebar-brand img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    object-position: center;
  }

  .share-sidebar-brand span,
  .share-sidebar-copy,
  .share-member-profile span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .share-sidebar-toggle {
    display: grid;
  }

  .share-sidebar-link,
  .share-member-profile {
    width: 58px;
    height: 58px;
    grid-template-columns: 58px;
    place-items: center;
    justify-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0;
  }

  .share-sidebar-code {
    justify-self: center;
    align-self: center;
  }

  .share-member-popout,
  .share-member-static-card {
    width: 58px;
    justify-self: center;
    padding-top: 8px;
  }

  .share-member-popout-toggle,
  .share-member-static-card {
    width: 58px;
    height: 58px;
    min-height: 58px;
    grid-template-columns: 58px;
    place-items: center;
    padding: 0;
  }

  .share-member-popout-label,
  .share-member-static-card .share-member-popout-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .share-member-popout-panel {
    left: 106px;
    width: min(340px, calc(100vw - 120px));
  }

  .share-main {
    width: calc(100% - 28px);
    max-width: none;
  }

  .share-hero,
  .share-member-hero,
  .share-section-heading,
  .share-explainer-grid,
  .share-dashboard-grid,
  .share-access-grid,
  .share-account-gateway,
  .share-subscription-hero,
  .share-tier-matrix-intro,
  .share-tier-grid,
  .share-business-price-grid,
  .share-business-allowance-grid,
  .share-business-estimator,
  .share-pricing-panel-copy,
  .share-pricing-cards,
  .share-context-tiles {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .share-app-page {
    padding-top: 0;
  }

  .share-app-shell,
  .share-sidebar-collapsed .share-app-shell {
    display: block;
  }

  .share-tool-sidebar {
    position: fixed;
    width: auto;
    max-width: none;
  }

  .share-page-topbar,
  .share-sidebar-collapsed.share-tool-page .share-page-topbar {
    margin-left: 0;
    padding: 18px 16px 18px 74px;
  }

  .hub-shell > .article-header:first-child {
    padding-left: 74px;
  }

  .share-tool-page .hub-shell,
  .share-tool-page .footer,
  .share-sidebar-collapsed.share-tool-page .hub-shell,
  .share-sidebar-collapsed.share-tool-page .footer {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .share-sidebar,
  .share-sidebar-collapsed .share-sidebar,
  .share-tool-sidebar,
  .share-sidebar-collapsed.share-tool-page .share-tool-sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 120;
    width: 54px;
    min-width: 54px;
    max-width: 54px;
    height: auto;
    max-height: calc(100vh - 88px);
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .share-sidebar-head,
  .share-sidebar-collapsed .share-sidebar-head {
    display: grid;
    grid-template-columns: 54px;
    justify-content: start;
    justify-items: start;
    min-height: 54px;
  }

  .share-sidebar-brand,
  .share-sidebar-collapsed .share-sidebar-brand {
    width: 54px;
    min-height: 54px;
    display: grid;
    grid-template-columns: 54px;
    place-items: center;
    border: 1px solid rgba(18, 62, 104, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(9, 39, 68, 0.16);
  }

  .share-sidebar-brand img,
  .share-sidebar-collapsed .share-sidebar-brand img {
    width: 42px;
    height: 42px;
  }

  .share-sidebar-toggle {
    display: none;
  }

  .share-sidebar-nav,
  .share-sidebar-collapsed .share-sidebar-nav,
  .share-sidebar .share-member-popout {
    display: none;
  }

  .share-sidebar-footer {
    display: none;
  }

  .share-mobile-hub-menu-open .share-sidebar,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar,
  .share-mobile-hub-menu-open .share-tool-sidebar,
  .share-mobile-hub-menu-open.share-sidebar-collapsed.share-tool-page .share-tool-sidebar {
    width: min(300px, calc(100vw - 20px));
    min-width: min(300px, calc(100vw - 20px));
    max-width: min(300px, calc(100vw - 20px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 6px;
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(18, 62, 104, 0.18);
    border-left: 4px solid var(--red);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(9, 39, 68, 0.28);
  }

  .share-mobile-hub-menu-open .share-sidebar-head,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-head {
    margin-bottom: 8px;
  }

  .share-mobile-hub-menu-open .share-sidebar-brand,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-brand {
    box-shadow: none;
  }

  .share-mobile-hub-menu-open .share-sidebar-nav,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: stretch;
    gap: 5px;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .share-mobile-hub-menu-open .share-sidebar-footer {
    display: block;
  }

  .share-mobile-hub-menu-open .share-sidebar-link,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-link,
  .share-mobile-hub-menu-open .share-member-profile {
    width: 100%;
    height: auto;
    min-height: 34px;
    max-height: none;
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    text-align: left;
  }

  .share-mobile-hub-menu-open .share-sidebar-code,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-code {
    display: none;
  }

  .share-mobile-hub-menu-open .share-sidebar-copy,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-copy {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .share-mobile-hub-menu-open .share-sidebar-copy {
    display: block;
    padding-right: 18px;
  }

  .share-mobile-hub-menu-open .share-sidebar-copy b,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-copy b {
    display: block;
    color: inherit;
    font-size: 0.75rem;
    line-height: 1.15;
    white-space: normal;
    -webkit-line-clamp: initial;
  }

  .share-mobile-hub-menu-open .share-sidebar-copy small,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-sidebar-copy small {
    display: none;
  }

  .share-mobile-hub-menu-open .share-sidebar-link.has-children .share-sidebar-copy::after {
    right: 0;
  }

  .share-mobile-hub-menu-open .share-sidebar-children {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 4px 0 6px;
    padding: 6px;
    border-radius: 8px;
    box-shadow: none;
  }

  .share-mobile-hub-menu-open .share-sidebar-children a {
    min-height: 30px;
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .share-mobile-hub-menu-open .share-sidebar .share-member-popout {
    position: relative;
    z-index: auto;
    display: block;
    width: 100%;
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid rgba(18, 62, 104, 0.14);
  }

  .share-mobile-hub-menu-open .share-member-popout-toggle,
  .share-mobile-hub-menu-open .share-member-static-card,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-member-popout-toggle,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-member-static-card {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    grid-template-columns: 38px minmax(0, 1fr);
    place-items: initial;
    align-items: center;
    padding: 6px;
  }

  .share-mobile-hub-menu-open .share-member-popout-toggle .client-logo-mark,
  .share-mobile-hub-menu-open .share-member-static-card .client-logo-mark {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .share-mobile-hub-menu-open .share-member-popout-label,
  .share-mobile-hub-menu-open .share-member-static-card .share-member-popout-label,
  .share-mobile-hub-menu-open.share-sidebar-collapsed .share-member-popout-label {
    position: static;
    width: auto;
    height: auto;
    overflow: hidden;
    clip: auto;
  }

  .share-member-popout-panel {
    left: 14px;
    right: 14px;
    bottom: 84px;
    top: auto;
    width: auto;
    max-height: 58vh;
  }

  .share-topbar,
  .share-register-band {
    align-items: stretch;
    flex-direction: column;
  }

  .share-top-actions {
    justify-content: flex-start;
  }

  .share-hero,
  .share-member-hero,
  .share-minimal-section,
  .share-dashboard-card {
    border-radius: 6px;
  }

  .share-hero h2,
  .share-member-hero h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .share-search-cta,
  .share-chat-box div {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .share-chat-composer {
    grid-template-columns: 1fr;
  }

  .share-chat-composer .button {
    width: 100%;
  }

  .share-tool-sections article,
  .share-flow .share-business-cta,
  .share-business-intelligence,
  .share-audience-grid,
  .share-context-tiles,
  .share-document-list li {
    grid-template-columns: 1fr;
  }

  .share-status-grid,
  .share-member-route-grid,
  .share-tier-grid {
    grid-template-columns: 1fr;
  }

  .share-subscription-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .share-subscription-current-card {
    min-height: 0;
  }

  .share-subscription-segment {
    border-radius: 8px;
  }

  .share-subscription-segment a {
    border-radius: 6px;
  }

  .share-pricing-split {
    padding: 16px;
  }

  .share-pricing-tabs {
    border-radius: 8px;
  }

  .share-pricing-tabs button {
    border-radius: 6px;
  }

  .share-pricing-panel > .button {
    width: 100%;
  }

  .share-tier-matrix {
    padding: 16px;
  }

  .share-business-pricing {
    padding: 16px;
  }

  .share-topup-card {
    grid-template-columns: 1fr;
  }

  .share-topup-card button {
    width: 100%;
  }

  .share-business-estimator-grid {
    grid-template-columns: 1fr;
  }

  .share-business-estimator-actions {
    justify-content: stretch;
  }

  .share-business-estimator-actions .share-tier-button {
    width: 100%;
  }

  .share-tier-table th,
  .share-tier-table td {
    padding: 14px 12px;
  }
}

.ai-chat-section {
  padding: 24px;
  background: #f8fafc;
}

.ai-chat-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.ai-chat-card,
.ai-answer-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(18, 62, 104, 0.055);
}

.ai-chat-card {
  padding: 22px;
}

.ai-chat-card__head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.ai-chat-card__head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.ai-chat-card__head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.ai-chat-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ai-chat-fields .span-two {
  grid-column: 1 / -1;
}

.ai-chat-fields .field label {
  margin: 0;
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-chat-fields .field input,
.ai-chat-fields .field select,
.ai-chat-fields .field textarea {
  margin-top: 7px;
  border-radius: 8px;
  padding: 12px 13px;
  border-color: #cfd9e3;
  background: #ffffff;
}

.ai-chat-fields .field textarea {
  min-height: 144px;
  line-height: 1.45;
}

.ai-chat-prompt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ai-chat-prompt span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.ai-suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ai-suggestion-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.ai-answer-card {
  padding: 24px;
  border-left: 5px solid var(--navy);
}

.ai-answer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ai-answer-card__head .eyebrow {
  margin-bottom: 0;
}

.ai-answer-card__head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-answer-card h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
}

.ai-answer-card > p {
  color: var(--muted);
  font-size: 1rem;
}

.ai-answer-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ai-answer-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.ai-answer-grid b {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-dark);
}

.ai-answer-grid span {
  color: var(--muted);
}

.ai-source-strip {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ai-source-strip span {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
}

.ai-app-chat-main {
  padding: 20px;
  background: #f7f9fb;
}

.ai-chat-app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ai-chat-window,
.ai-chat-context-rail,
.ai-context-panel,
.ai-documents-panel {
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 62, 104, 0.05);
}

.ai-chat-window {
  min-height: 640px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.ai-chat-window__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.ai-chat-window__head h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
}

.ai-source-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.ai-source-badges span,
.ai-prompt-tools button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: #f3f6f9;
  font-size: 0.75rem;
  font-weight: 900;
}

.ai-message-stream {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px 24px;
  overflow: auto;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, rgba(237, 243, 248, 0.8), rgba(255, 255, 255, 0)) border-box;
}

.ai-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  max-width: 850px;
}

.ai-message > span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.ai-message > span.ai-logo-avatar {
  overflow: hidden;
  padding: 0;
  color: transparent;
  background: transparent;
  box-shadow: 0 8px 18px rgba(18, 62, 104, 0.12);
}

.ai-logo-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ai-message-user {
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) 42px;
}

.ai-message-user > span {
  grid-column: 2;
  grid-row: 1;
  background: var(--red);
}

.ai-message-user > div {
  grid-column: 1;
  grid-row: 1;
  background: #edf3f8;
}

.ai-message > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #ffffff;
}

.ai-message p,
.ai-message ul {
  margin: 0;
}

.ai-message p + p,
.ai-message p + ul {
  margin-top: 10px;
}

.ai-message li {
  margin-top: 6px;
  color: var(--muted);
}

.ai-message-note {
  color: var(--muted);
  font-weight: 800;
}

.ai-prompt-console {
  padding: 16px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.ai-prompt-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ai-prompt-tools button {
  border-radius: 8px;
  cursor: pointer;
}

.ai-prompt-tools button:hover,
.ai-prompt-tools button:focus-visible {
  border-color: var(--red);
  outline: none;
}

.ai-prompt-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(18, 62, 104, 0.2);
  border-radius: 8px;
  background: #ffffff;
}

.ai-prompt-box textarea {
  min-height: 70px;
  resize: vertical;
  border: 0;
  color: var(--navy-dark);
  background: transparent;
  font: inherit;
  line-height: 1.45;
}

.ai-prompt-box textarea:focus {
  outline: none;
}

.ai-prompt-console > p {
  margin: 9px 2px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ai-chat-context-rail {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  background: #ffffff;
}

.ai-rail-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.ai-rail-card h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.05rem;
}

.ai-source-route {
  display: grid;
  gap: 5px;
}

.ai-source-route span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-source-route b {
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: 0.86rem;
  line-height: 1.3;
}

.ai-rail-card.compact a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 900;
}

.ai-intelligence-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  background: #ffffff;
}

.ai-context-option {
  background: #ffffff;
}

.ai-context-panel,
.ai-documents-panel {
  padding: 20px;
}

.compact-heading {
  margin-bottom: 18px;
}

.ai-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ai-context-grid .span-two {
  grid-column: 1 / -1;
}

.ai-context-grid label {
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-context-grid input,
.ai-context-grid select,
.ai-context-grid textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  color: var(--navy-dark);
  background: #ffffff;
  font: inherit;
}

.ai-context-grid textarea {
  min-height: 120px;
  line-height: 1.45;
}

.ai-upload-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ai-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-upload-head .eyebrow {
  margin-bottom: 0;
}

.ai-upload-head span {
  padding: 6px 10px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.ai-upload-zone {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1.5px dashed rgba(18, 62, 104, 0.34);
  border-radius: 8px;
  background: #f8fafc;
}

.ai-upload-zone.is-dragging {
  border-color: var(--red);
  background: #fff7f8;
}

.ai-upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ai-upload-zone label {
  display: grid;
  gap: 5px;
  color: var(--navy-dark);
  pointer-events: none;
}

.ai-upload-zone label b {
  font-size: 1rem;
}

.ai-upload-button {
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: #ffffff !important;
  background: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.ai-upload-zone label span,
.ai-file-list {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.ai-file-list {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.ai-file-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.ai-business-source-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  background: #f1f4f7;
  opacity: 0.58;
  filter: grayscale(0.25);
  pointer-events: none;
}

.share-company-mode .ai-business-source-panel {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  background: #ffffff;
}

.ai-business-source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ai-business-source-head h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.1rem;
}

.ai-business-source-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.share-company-mode .ai-business-source-head span {
  color: #ffffff;
  border-color: var(--navy);
  background: var(--navy);
}

.ai-business-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ai-business-source-grid label {
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-business-source-grid select {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  color: var(--navy-dark);
  background: #ffffff;
  font: inherit;
}

.ai-documents-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.ai-documents-panel h2 {
  margin-bottom: 8px;
  color: var(--navy-dark);
}

.ai-documents-panel p:not(.eyebrow) {
  color: var(--muted);
}

.ai-documents-full {
  background: #ffffff;
}

.ai-documents-full .section-heading {
  margin-bottom: 16px;
}

.ai-documents-actions {
  display: flex;
  justify-content: flex-end;
}

.ai-document-file-list {
  display: grid;
  gap: 8px;
}

.ai-document-file-head,
.ai-document-file-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) 128px minmax(260px, 1.45fr) minmax(176px, auto);
  gap: 14px;
  align-items: center;
}

.ai-document-file-head {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-document-file-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 62, 104, 0.045);
}

.ai-document-file-row:hover {
  border-color: rgba(239, 27, 45, 0.38);
}

.ai-document-title {
  display: grid;
  gap: 5px;
}

.ai-document-title span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-document-title b {
  color: var(--navy-dark);
  font-size: 0.98rem;
  line-height: 1.3;
}

.ai-document-title small,
.ai-document-file-row time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.ai-document-file-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.42;
}

.ai-document-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ai-document-row-actions .button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.share-account-switcher {
  min-width: min(100%, 430px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 62, 104, 0.06);
}

.share-account-mode-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.share-account-mode-copy b {
  color: var(--navy-dark);
  font-size: 0.86rem;
  line-height: 1.2;
}

.share-account-mode-copy span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.28;
}

.share-account-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(82px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 8px;
  background: #f3f6f9;
}

.share-account-toggle button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.share-account-toggle button:hover,
.share-account-toggle button:focus-visible {
  border-color: var(--red);
  outline: none;
}

.share-account-toggle button.is-active {
  color: #ffffff;
  border-color: var(--navy);
  background: var(--navy);
}

.add-on-panel {
  border-color: rgba(18, 62, 104, 0.16);
  background:
    linear-gradient(135deg, rgba(18, 62, 104, 0.04), rgba(255, 255, 255, 0.96) 42%),
    #ffffff;
}

.learning-home-panel {
  border-color: rgba(18, 62, 104, 0.18);
  border-top-color: rgba(239, 27, 45, 0.2);
  background:
    linear-gradient(135deg, rgba(18, 62, 104, 0.05), rgba(255, 255, 255, 0.96) 46%),
    #ffffff;
}

.learning-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.learning-home-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid rgba(18, 62, 104, 0.82);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(9, 39, 68, 0.07);
}

.learning-home-card:nth-child(3) {
  border-left-color: rgba(239, 27, 45, 0.55);
}

.learning-home-card h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.08rem;
}

.learning-home-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.55;
}

.learning-home-card .button {
  align-self: end;
  justify-self: start;
  margin-top: 4px;
}

.learning-route-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.learning-route-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.add-on-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.add-on-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(9, 39, 68, 0.07);
}

.add-on-card h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.add-on-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.55;
}

.mini-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-feature-list span {
  padding: 7px 9px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

body:not(.share-company-mode) .company-only,
body:not(.share-company-mode) .company-workspace-block {
  display: none;
}

.share-company-mode .individual-only {
  display: none;
}

.ai-tool-entry-page .hub-shell > .section-block:not(.ai-tool-entry-overview) {
  display: none;
}

.ai-tool-entry-overview {
  display: block;
}

.ai-video-explainer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  background: #ffffff;
}

.ai-video-frame,
.ai-video-mini-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 30%, rgba(239, 27, 45, 0.14), transparent 24%),
    linear-gradient(135deg, #092744 0%, #123e68 58%, #edf3f8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ai-video-frame {
  min-height: 310px;
}

.ai-video-frame::before,
.ai-video-mini-screen::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.ai-video-screen {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 310px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 28px;
  color: #ffffff;
}

.ai-video-play {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.ai-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

.ai-video-screen p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-video-screen h2 {
  max-width: 540px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
}

.ai-video-screen small {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
}

.ai-video-copy {
  display: grid;
  align-content: center;
}

.ai-video-copy h2 {
  max-width: 680px;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.ai-video-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.ai-video-steps {
  counter-reset: ai-step;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ai-video-steps li {
  counter-increment: ai-step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  font-weight: 700;
}

.ai-video-steps li::before {
  content: counter(ai-step);
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.ai-video-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ai-video-mini-card {
  display: grid;
  grid-template-rows: 156px auto auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 62, 104, 0.05);
  min-height: 390px;
}

.ai-video-mini-screen {
  min-height: 156px;
  height: 156px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
}

.ai-video-mini-screen .ai-video-play {
  width: 42px;
  height: 42px;
}

.ai-video-mini-screen .ai-video-play::before {
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 13px;
}

.ai-video-mini-screen b {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 0.78rem;
}

.ai-video-mini-card h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.ai-video-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.share-sidebar-collapsed .share-sidebar {
  overflow: hidden;
}

.share-sidebar-collapsed .share-sidebar-nav {
  overflow-x: visible;
  overflow-y: auto;
}

.share-sidebar-collapsed .share-sidebar-children {
  display: none;
  position: fixed;
  left: 104px;
  top: var(--share-sidebar-flyout-top, 120px);
  z-index: 95;
  width: min(260px, calc(100vw - 122px));
  margin: 0;
  padding: 8px;
  border: 1px solid var(--navy);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(9, 39, 68, 0.22);
}

.share-sidebar-collapsed .share-sidebar-children.is-open {
  display: grid;
}

.share-sidebar-collapsed .share-sidebar-children a {
  border-left-color: rgba(239, 27, 45, 0.42);
}

.share-access-card.staff {
  border-left: 5px solid var(--red);
  background: linear-gradient(135deg, rgba(18, 62, 104, 0.05), rgba(248, 250, 252, 0) 42%), #ffffff;
}

.share-staff-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-left: 4px solid var(--red);
  border-radius: 999px;
  color: var(--navy-dark);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.share-super-user-page .share-main {
  background: #f7f9fb;
}

.share-admin-sidebar-nav a {
  min-height: 54px;
}

.share-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(18, 62, 104, 0.07);
}

.share-admin-hero h2 {
  max-width: 780px;
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.02;
  text-transform: none;
}

.share-admin-hero p:not(.share-kicker) {
  max-width: 780px;
  color: var(--muted);
}

.share-admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.share-admin-kpi-grid article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-admin-kpi-grid b {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1;
}

.share-admin-kpi-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.share-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.share-admin-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(18, 62, 104, 0.055);
}

.share-admin-panel-wide {
  grid-column: 1 / -1;
}

.share-admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.share-admin-panel-head h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  text-transform: none;
}

.share-admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-dashboard-reminders {
  margin-top: 18px;
}

.share-reminder-panel {
  border-left: 4px solid var(--red);
}

.share-reminder-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.share-reminder-list {
  display: grid;
  gap: 10px;
}

.share-reminder-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-reminder-row.is-overdue {
  border-color: rgba(239, 35, 60, 0.34);
  background: #fffafa;
}

.share-reminder-row.is-due-soon {
  border-color: rgba(18, 62, 104, 0.24);
  background: #f8fbff;
}

.share-reminder-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-reminder-status span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #7d8da1;
}

.share-reminder-row.is-overdue .share-reminder-status span {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.12);
}

.share-reminder-row.is-due-soon .share-reminder-status span {
  background: #0f9d58;
  box-shadow: 0 0 0 4px rgba(15, 157, 88, 0.12);
}

.share-reminder-row time,
.share-reminder-row small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.share-reminder-row h3 {
  margin: 4px 0;
  color: var(--navy-dark);
  font-size: 1.05rem;
}

.share-reminder-row p {
  margin: 0 0 6px;
  color: var(--text);
}

.share-reminder-empty {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px dashed #cfdbe7;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
}

.share-reminder-empty b {
  color: var(--navy-dark);
}

.share-reminder-alert {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(440px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 62, 104, 0.18);
}

.share-reminder-alert-light {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 35, 60, 0.12);
}

.share-reminder-alert b {
  color: var(--navy-dark);
}

.share-reminder-alert p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.share-reminder-alert button {
  min-height: 34px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 0 10px;
  background: #f8fafc;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.share-schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-inbox-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
}

.share-inbox-list {
  display: grid;
  gap: 9px;
}

.share-inbox-list button {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 4px solid rgba(18, 62, 104, 0.2);
  border-radius: 8px;
  text-align: left;
  background: #ffffff;
  cursor: pointer;
}

.share-inbox-list button.is-active {
  border-left-color: var(--red);
  background: #f8fafc;
}

.share-inbox-list b,
.share-inbox-thread h3,
.share-pipeline-board b,
.share-admin-table b,
.share-sync-grid b,
.share-role-grid b {
  color: var(--navy-dark);
}

.share-inbox-list span,
.share-inbox-list small,
.share-inbox-thread p,
.share-admin-table span,
.share-sync-grid span,
.share-sync-grid small,
.share-role-grid span {
  color: var(--muted);
}

.share-inbox-thread {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-enquiry-stack,
.share-admin-tab-deck {
  display: grid;
  gap: 0;
  align-items: start;
  padding: 4px 0 0;
}

.share-enquiry-tabs {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 5px;
  align-items: flex-end;
  padding: 0 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.share-enquiry-route-tab {
  display: inline-grid;
  gap: 2px;
  align-content: center;
  min-width: 156px;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid #cfdbe7;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f8fafc;
  color: var(--navy-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform: translateY(7px);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.share-enquiry-route-tab span {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
}

.share-enquiry-route-tab b {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.share-enquiry-route-tab:hover,
.share-enquiry-route-tab:focus-visible {
  border-color: var(--red);
  outline: 0;
  transform: translateY(2px);
}

.share-enquiry-route-tab.is-active {
  z-index: 5;
  background: #ffffff;
  border-color: #cfdbe7;
  border-top-color: var(--red);
  box-shadow: 0 -8px 22px rgba(9, 39, 68, 0.06);
  transform: translateY(0);
}

.share-enquiry-route-tab.is-active b {
  color: var(--red);
}

.share-enquiry-route-card,
.share-admin-tab-card {
  position: relative;
  display: none;
  gap: 14px;
  min-height: 280px;
  padding: 22px;
  border: 1px solid #cfdbe7;
  border-top: 1px solid #cfdbe7;
  border-left: 5px solid var(--red);
  border-radius: 0 8px 8px 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(9, 39, 68, 0.1);
}

.share-enquiry-route-card.is-front,
.share-admin-tab-card.is-front,
.share-enquiry-stack:not(.is-ready) .share-enquiry-route-card:first-child,
.share-admin-tab-deck:not(.is-ready) .share-admin-tab-card:first-child {
  display: grid;
}

.share-enquiry-route-head,
.share-admin-tab-head {
  display: none;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 12px 14px;
  border-bottom: 0;
  background: #ffffff;
  outline: 0;
}

.share-enquiry-route-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(237, 28, 46, 0.2);
}

.share-enquiry-route-card.is-front .share-enquiry-route-head,
.share-enquiry-stack:not(.is-ready) .share-enquiry-route-card:first-child .share-enquiry-route-head {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.share-enquiry-route-head h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.18rem;
}

.share-enquiry-route-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.share-enquiry-lines {
  display: grid;
  gap: 9px;
  padding: 0;
}

.share-enquiry-lines > div,
.share-admin-tab-lines > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.3fr) minmax(120px, auto) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-enquiry-lines b,
.share-admin-tab-lines b {
  color: var(--navy-dark);
}

.share-enquiry-lines span,
.share-admin-tab-lines span {
  color: var(--muted);
}

.share-enquiry-lines em,
.share-admin-tab-lines em {
  color: var(--navy);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
}

.share-enquiry-lines .button,
.share-admin-tab-lines .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-admin-tab-lines {
  display: grid;
  gap: 9px;
}

.share-admin-tab-lines > div {
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.4fr) minmax(116px, auto) auto;
}

.share-admin-tab-card .share-course-admin-toolbar {
  margin: 0 0 14px;
}

.share-social-performance-feed {
  display: grid;
  gap: 8px;
}

.share-social-performance-feed > div {
  display: grid;
  grid-template-columns: minmax(96px, 0.7fr) minmax(190px, 1.4fr) repeat(4, minmax(76px, 0.55fr)) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-social-performance-feed .share-social-performance-head {
  background: #ffffff;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-social-performance-feed b {
  color: var(--navy-dark);
}

.share-social-performance-feed span {
  color: var(--muted);
}

.share-social-performance-feed strong {
  color: var(--navy-dark);
  font-size: 1rem;
}

.share-social-performance-feed .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-social-reply-feed {
  display: grid;
  gap: 12px;
}

.share-social-reply-standalone {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-social-reply-standalone .share-admin-tab-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.share-social-reply-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-social-reply-toolbar h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.1rem;
}

.share-social-reply-toolbar > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.share-social-reply-toolbar span,
.share-social-reply-meta em,
.share-social-inline-reply > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.share-social-reply-item {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(220px, 0.75fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
}

.share-social-reply-item.is-new {
  border-left-color: var(--red);
  box-shadow: 0 12px 28px rgba(239, 35, 60, 0.08);
}

.share-social-reply-item.is-lead {
  border-left-color: #16a34a;
}

.share-social-reply-meta,
.share-social-reply-body,
.share-social-inline-reply {
  display: grid;
  gap: 7px;
}

.share-social-reply-meta b,
.share-social-reply-body strong {
  color: var(--navy-dark);
}

.share-social-reply-meta span,
.share-social-reply-body small,
.share-social-reply-body p {
  margin: 0;
  color: var(--muted);
}

.share-social-reply-body p {
  color: var(--text);
  line-height: 1.45;
}

.share-social-inline-reply textarea {
  width: 100%;
  min-height: 94px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.share-social-inline-reply > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-social-inline-reply .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-social-reply-item.is-replied {
  opacity: 0.72;
}

.share-social-reply-item.is-replied .share-social-reply-meta em,
.share-social-inline-reply > span.is-sent {
  background: #dcfce7;
  color: #166534;
}

.share-social-inline-reply > span.is-lead {
  background: #fff5f6;
  color: var(--red);
}

.share-social-api-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.share-social-api-status article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-social-api-status b {
  color: var(--navy-dark);
}

.share-social-api-status span {
  color: var(--muted);
}

.share-social-scheduler {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.share-social-composer,
.share-social-calendar-panel {
  display: grid;
  gap: 14px;
}

.share-social-calendar-panel {
  order: -1;
}

.share-social-composer-head,
.share-social-calendar-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.share-social-composer-head h3,
.share-social-calendar-head h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.22rem;
}

.share-social-composer-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #166534;
  background: #dcfce7;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.share-social-post-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-social-post-form label,
.share-social-post-form fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.share-social-post-form input,
.share-social-post-form select,
.share-social-post-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.share-social-post-form textarea {
  min-height: 118px;
  resize: vertical;
}

.share-social-copy-field,
.share-social-channel-picker,
.share-social-date-plan,
.share-social-hashtag-panel,
.share-social-post-preview,
.share-social-upload-box,
.share-social-form-actions {
  grid-column: 1 / -1;
}

.share-social-channel-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.share-social-channel-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.share-social-channel-actions .button {
  min-height: 32px;
  padding: 0 11px;
  box-shadow: none;
}

.share-social-channel-picker legend {
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-social-channel-picker label {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  color: var(--text);
  font-weight: 800;
}

.share-social-channel-picker input[type="checkbox"],
.share-social-repeat-row input[type="checkbox"],
.share-social-hashtag-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

.share-social-date-plan {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  background: #ffffff;
}

.share-social-date-plan-head,
.share-social-repeat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.share-social-date-plan-head h4,
.share-social-post-preview h4 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1rem;
}

.share-social-date-plan-head .button,
.share-social-date-row .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-social-date-rows {
  display: grid;
  gap: 8px;
}

.share-social-date-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.7fr) auto minmax(160px, auto);
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-social-date-count,
.share-social-day-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 10px;
  border: 1px solid #cfdbe7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.share-social-date-count.is-low,
.share-social-day-count:not(.is-empty):not(.is-busy) {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.share-social-date-count.is-busy,
.share-social-day-count.is-busy {
  border-color: #fecdd3;
  background: #fff5f6;
  color: var(--red);
}

.share-social-date-count.is-outside {
  border-color: #d8e2ec;
  background: #f8fafc;
  color: #64748b;
}

.share-social-repeat-row {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.share-social-repeat-row label:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-social-post-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cfdbe7;
  border-left: 5px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
}

.share-social-post-preview p {
  margin: 0;
  color: var(--muted);
}

.share-social-post-preview > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
}

.share-social-hashtag-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  background: #ffffff;
}

.share-social-hashtag-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.share-social-hashtag-head h4 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1rem;
}

.share-social-hashtag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.share-social-hashtag-actions .button {
  min-height: 32px;
  padding: 0 11px;
  box-shadow: none;
}

.share-social-hashtag-recommendations,
.share-social-hashtag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-social-hashtag-recommendations span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  font-weight: 900;
}

.share-social-hashtag-grid label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d8e2ec;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-social-hashtag-grid label:has(input:checked) {
  border-color: var(--red);
  background: #fff5f6;
}

.share-social-hashtag-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.share-social-upload-box {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px dashed #9fb2c5;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.share-social-upload-box.is-dragging {
  border-color: var(--red);
  background: #fff8f9;
  box-shadow: 0 12px 30px rgba(239, 35, 60, 0.12);
}

.share-social-upload-box b {
  color: var(--navy-dark);
}

.share-social-upload-box span {
  color: var(--muted);
}

.share-social-upload-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 34px;
  align-items: center;
  padding-top: 4px;
}

.share-social-upload-list > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-social-upload-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #f8fafc;
}

.share-social-upload-list article div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.share-social-upload-list article b,
.share-social-upload-list article span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-social-upload-list article span {
  font-size: 0.76rem;
}

.share-social-upload-list .button {
  min-height: 30px;
  padding: 0 10px;
  box-shadow: none;
}

.share-social-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-social-calendar-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-social-calendar-key span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 900;
}

.share-social-calendar-actions,
.share-social-month-nav,
.share-social-calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-social-calendar-actions .button,
.share-social-month-nav .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-social-calendar-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0 4px;
}

.share-social-month-nav strong {
  color: var(--navy-dark);
  font-size: 1rem;
}

.share-social-month-nav span,
.share-social-calendar-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d8e2ec;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.share-social-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  border: 1px solid #d8e2ec;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  overflow-x: auto;
  background: #ffffff;
}

.share-social-calendar-weekdays span {
  min-width: 150px;
  padding: 10px;
  border-right: 1px solid #d8e2ec;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.share-social-calendar-weekdays span:last-child {
  border-right: 0;
}

.share-social-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  border: 1px solid #d8e2ec;
  border-radius: 0 0 10px 10px;
  background: #ffffff;
}

.share-social-calendar-grid article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 150px;
  min-height: 172px;
  padding: 12px 9px;
  border: 0;
  border-right: 1px solid #d8e2ec;
  border-bottom: 1px solid #d8e2ec;
  border-radius: 0;
  background: #fbfdff;
}

.share-social-calendar-grid article > b {
  color: var(--navy-dark);
  font-size: 0.82rem;
}

.share-social-calendar-grid article.is-muted {
  background: #f3f6f9;
}

.share-social-calendar-grid article.is-muted > b {
  color: #9aa8b6;
}

.share-social-calendar-slot {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 7px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid #cfdbe7;
  border-left: 4px solid var(--navy);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: none;
}

.share-social-calendar-slot span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.share-social-calendar-slot strong {
  color: var(--navy-dark);
  font-size: 0.72rem;
}

.share-social-calendar-slot small {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-social-calendar-slot.ready {
  border-left-color: #16a34a;
}

.share-social-calendar-slot.review {
  border-left-color: var(--red);
}

.share-social-calendar-slot.draft {
  border-left-color: #94a3b8;
}

.share-social-calendar-slot.past {
  border-left-color: #64748b;
  background: #eef3f8;
}

.share-social-post-tooltip {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: calc(100% + 8px);
  z-index: 35;
  display: none;
  padding: 10px;
  border: 1px solid #cfdbe7;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy-dark);
  box-shadow: 0 18px 42px rgba(9, 39, 68, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.4;
}

.share-social-calendar-slot.past:hover .share-social-post-tooltip,
.share-social-calendar-slot.past:focus-within .share-social-post-tooltip {
  display: block;
}

.share-social-scheduled-list {
  display: grid;
  gap: 8px;
}

.share-social-scheduled-list > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-social-scheduled-list b {
  color: var(--navy-dark);
}

.share-social-scheduled-list span {
  color: var(--muted);
}

.share-thread-meta,
.share-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-thread-meta span,
.share-admin-table em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.share-pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.share-pipeline-board div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  background: #f8fafc;
}

.share-pipeline-board span,
.share-admin-table div,
.share-sync-grid article,
.share-role-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-admin-table,
.share-sync-grid,
.share-role-grid {
  display: grid;
  gap: 10px;
}

.share-admin-table .share-course-date-row {
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.6fr) auto auto;
  align-items: center;
}

.share-customer-admin {
  align-items: start;
}

.share-customer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-customer-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.share-customer-record {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid rgba(18, 62, 104, 0.28);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.share-customer-record:hover,
.share-customer-record:focus-visible {
  border-color: rgba(18, 62, 104, 0.28);
  box-shadow: 0 12px 28px rgba(18, 62, 104, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.share-customer-record.is-active {
  border-left-color: var(--red);
  background: #fffafa;
  box-shadow: 0 12px 30px rgba(239, 35, 60, 0.09);
}

.share-customer-record b,
.share-customer-line-list b,
.share-customer-timeline b {
  color: var(--navy-dark);
}

.share-customer-record span,
.share-customer-record p,
.share-customer-line-list span,
.share-customer-timeline p,
.share-customer-timeline span,
.share-customer-log-form span {
  margin: 0;
  color: var(--muted);
}

.share-customer-record footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.share-customer-record em,
.share-customer-pill,
.share-customer-line-list em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.share-customer-line-list {
  display: grid;
  gap: 10px;
}

.share-customer-line-list div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-customer-database {
  display: grid;
  gap: 14px;
}

.share-customer-database-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-customer-database-tabs button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
  background: transparent;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.share-customer-database-tabs button:hover,
.share-customer-database-tabs button:focus-visible,
.share-customer-database-tabs button.is-active {
  border-color: rgba(18, 62, 104, 0.22);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 62, 104, 0.08);
  outline: none;
}

.share-customer-database-tabs button.is-active {
  border-left: 3px solid var(--red);
}

.share-customer-database-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.35fr);
  gap: 12px;
}

.share-customer-database-tools label {
  display: grid;
  gap: 6px;
  color: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-customer-database-tools input,
.share-customer-database-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.share-customer-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-customer-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.share-customer-table th,
.share-customer-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.share-customer-table th {
  background: #f8fafc;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.share-customer-table td {
  color: var(--text);
  font-size: 0.88rem;
}

.share-customer-table tr:last-child td {
  border-bottom: 0;
}

.share-customer-table b {
  display: block;
  color: var(--navy-dark);
}

.share-customer-table span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.share-customer-table em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.share-customer-database-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed #cfdbe7;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 800;
}

.share-customer-log-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: start;
}

.share-customer-log-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-customer-log-form label {
  display: grid;
  gap: 6px;
  color: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-customer-log-form input,
.share-customer-log-form select,
.share-customer-log-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.share-customer-log-form textarea {
  min-height: 92px;
  resize: vertical;
}

.share-customer-log-form .button {
  width: fit-content;
}

.share-customer-reminder-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0;
  padding: 12px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  background: #ffffff;
}

.share-customer-reminder-fields legend {
  padding: 0 6px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-customer-reminder-fields .share-customer-log-wide {
  grid-column: 1 / -1;
}

.share-customer-timeline {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.share-customer-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #cfdbe7;
}

.share-customer-timeline article {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-customer-timeline article.share-customer-empty-log {
  border-style: dashed;
  background: #f8fafc;
}

.share-customer-timeline article::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 18px;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 2px #cfdbe7;
}

.share-customer-timeline article.share-customer-empty-log::before {
  background: var(--navy);
}

.share-customer-timeline time {
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-email-admin {
  align-items: start;
}

.share-email-pill,
.share-email-audience-grid em,
.share-email-sync-list em,
.share-email-campaign-list em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.share-email-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.share-email-audience-grid article,
.share-email-sync-list div,
.share-email-campaign-list div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-email-audience-grid article:first-child {
  border-left: 4px solid var(--red);
  background: #fffafa;
}

.share-email-audience-grid b,
.share-email-sync-list b,
.share-email-campaign-list b,
.share-email-performance b {
  color: var(--navy-dark);
}

.share-email-audience-grid span,
.share-email-audience-grid p,
.share-email-sync-list span,
.share-email-campaign-list span,
.share-email-checks label {
  margin: 0;
  color: var(--muted);
}

.share-email-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-email-form label {
  display: grid;
  gap: 6px;
  color: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-email-form input,
.share-email-form select,
.share-email-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.share-email-form textarea {
  min-height: 132px;
  resize: vertical;
}

.share-email-wide,
.share-email-form-actions {
  grid-column: 1 / -1;
}

.share-email-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-email-sync-list,
.share-email-campaign-list,
.share-email-checks {
  display: grid;
  gap: 10px;
}

.share-email-checks label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  font-weight: 800;
}

.share-email-checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--red);
}

.share-email-campaign-list div,
.share-email-performance > div {
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.4fr) minmax(112px, auto) auto;
  align-items: center;
}

.share-email-campaign-list .button,
.share-email-performance .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-email-performance {
  display: grid;
  gap: 8px;
}

.share-email-performance > div {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(140px, 0.9fr) repeat(4, minmax(70px, 0.45fr)) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-email-performance .share-email-performance-head {
  background: #ffffff;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-email-performance span {
  color: var(--muted);
}

.share-email-performance strong {
  color: var(--navy-dark);
}

.share-instance-attendee-title {
  display: block;
  margin-top: 10px;
  color: var(--navy-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-instance-attendee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

.share-instance-attendee-box,
.share-instance-attendee-empty {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 900;
}

.share-instance-attendee-box small,
.share-instance-attendee-empty {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.share-delete-date-button {
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(239, 27, 45, 0.38);
  color: var(--red);
  background: #ffffff;
  box-shadow: none;
}

.share-delete-date-button:hover,
.share-delete-date-button:focus-visible {
  border-color: var(--red);
  color: #ffffff;
  background: var(--red);
  outline: 0;
}

.share-push-toast {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 200;
  min-width: 210px;
  display: grid;
  grid-template-columns: 14px auto;
  gap: 8px 10px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy-dark);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(9, 39, 68, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.share-push-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.share-push-toast > span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #cbd5df;
  box-shadow: 0 0 0 4px rgba(203, 213, 223, 0.22);
}

.share-push-toast.is-success > span {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}

.share-push-toast.is-error > span {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 27, 45, 0.14);
}

.share-push-toast strong {
  font-size: 0.92rem;
}

.share-push-toast small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

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

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

.share-course-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
  gap: 12px;
  margin-bottom: 14px;
}

.share-course-admin-toolbar label,
.share-course-form-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-course-admin-toolbar input,
.share-course-admin-toolbar select,
.share-course-form-grid input,
.share-course-form-grid select,
.share-course-form-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.share-course-form-grid textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.share-course-admin-list {
  display: grid;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
  padding-right: 4px;
}

.share-course-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.7fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
}

.share-course-admin-row:hover {
  border-left-color: var(--red);
  box-shadow: 0 12px 28px rgba(18, 62, 104, 0.08);
}

.share-course-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.share-course-admin-row h3 {
  margin: 0 0 5px;
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.share-course-admin-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.share-course-admin-meta,
.share-course-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-course-admin-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.72rem;
  font-weight: 900;
}

.share-course-admin-actions {
  justify-content: flex-end;
}

.share-course-record-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
}

.share-course-record-main,
.share-course-record-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.share-course-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.share-course-form-grid .span-two {
  grid-column: 1 / -1;
}

.share-course-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.share-online-class-fields[hidden] {
  display: none;
}

.share-calendar-status {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #f8fafc;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.share-calendar-route {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.share-booking-detail-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  background: #f8fafc;
}

.share-booking-detail-card h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 1.08rem;
}

.share-booking-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.share-payment-status {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;
}

.share-admin-helper {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.share-learning-option-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.share-learning-option-admin-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
}

.share-learning-option-admin-card.is-updated {
  border-color: rgba(239, 27, 45, 0.42);
  box-shadow: 0 12px 30px rgba(9, 39, 68, 0.08);
}

.share-learning-option-update {
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
  box-shadow: none;
}

.share-learning-option-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-dark);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.share-learning-option-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.share-learning-option-admin-card textarea {
  min-height: 74px;
}

.share-knowledge-promo-form textarea {
  min-height: 86px;
}

.share-knowledge-topic-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  background: #f8fafc;
}

.share-knowledge-topic-picker legend {
  padding: 0 6px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-knowledge-topic-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
}

.share-knowledge-topic-picker input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--red);
}

.share-knowledge-page-picker {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  background: #f8fafc;
}

.share-knowledge-page-picker-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.share-knowledge-page-picker-head label {
  display: grid;
  gap: 7px;
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-knowledge-page-picker-head input {
  min-height: 44px;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.share-knowledge-page-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.share-knowledge-page-picker-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.share-knowledge-page-picker-actions .button {
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.share-knowledge-selected-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
}

.share-knowledge-selected-pages span,
.share-knowledge-selected-pages em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--navy-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.share-knowledge-page-dropdown {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(18, 62, 104, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.share-knowledge-page-dropdown label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #ffffff;
  text-transform: none;
  letter-spacing: 0;
}

.share-knowledge-page-dropdown label[hidden] {
  display: none;
}

.share-knowledge-page-dropdown label:hover,
.share-knowledge-page-dropdown label:has(input:checked) {
  border-color: rgba(239, 27, 45, 0.42);
  background: #fff8f8;
}

.share-knowledge-page-dropdown input {
  width: 16px;
  min-height: 16px;
  margin-top: 3px;
  accent-color: var(--red);
}

.share-knowledge-page-dropdown b,
.share-knowledge-page-dropdown small {
  display: block;
  overflow-wrap: anywhere;
}

.share-knowledge-page-dropdown b {
  font-size: 0.86rem;
  line-height: 1.25;
}

.share-knowledge-page-dropdown small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.share-knowledge-page-no-results {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(18, 62, 104, 0.25);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
}

.share-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.share-receipt-actions span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.share-attendee-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.share-csv-upload-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.share-csv-upload-panel h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 1.08rem;
}

.share-csv-upload-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.share-csv-dropzone {
  display: grid;
  place-items: center;
  min-height: 142px;
  padding: 18px;
  border: 2px dashed rgba(18, 62, 104, 0.32);
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  text-align: center;
  cursor: pointer;
}

.share-csv-dropzone:hover,
.share-csv-dropzone.is-dragging {
  border-color: var(--red);
  background: #fff8f8;
}

.share-csv-dropzone span {
  color: var(--navy-dark);
  font-weight: 900;
}

.share-csv-dropzone small,
.share-csv-status {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.share-csv-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.share-attendee-list div {
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr) auto;
  align-items: center;
}

.share-attendee-list .share-attendee-row {
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1fr) minmax(210px, 0.9fr) minmax(180px, auto) auto;
  align-items: center;
}

.share-attendee-row label {
  display: grid;
  gap: 5px;
  color: var(--navy-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-attendee-row select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.share-attendee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.share-attendee-actions .button {
  min-height: 34px;
  padding: 0 10px;
  box-shadow: none;
}

.share-partner-course-admin {
  align-items: start;
}

.share-partner-perspective-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.share-partner-perspective-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(9, 39, 68, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.share-partner-perspective-card.is-active {
  border-top-color: var(--red);
}

.share-partner-perspective-card:hover,
.share-partner-perspective-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: 0 20px 42px rgba(9, 39, 68, 0.13);
  outline: none;
}

.share-partner-perspective-strip span,
.share-partner-perspective-head span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.share-partner-perspective-card.is-active span,
.share-partner-perspective-head span {
  background: var(--red);
}

.share-partner-perspective-card b {
  align-self: end;
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 950;
}

.share-partner-perspective-card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.48;
}

.share-partner-perspective-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(310px, 0.86fr);
  gap: 16px;
  align-items: start;
  margin: 18px 0 0;
}

.share-partner-perspective-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.share-partner-perspective-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-perspective-head b {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 950;
}

.share-partner-perspective-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.share-partner-client-preview-panel {
  border-left: 4px solid var(--navy);
}

.share-partner-public-panel {
  position: sticky;
  top: 24px;
}

.share-partner-public-preview {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 62%, #fff7f8 100%);
}

.share-partner-public-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.share-partner-public-top .share-partner-logo-thumb {
  width: 56px;
  height: 56px;
}

.share-partner-public-top h3 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.12;
}

.share-partner-public-top p:not(.share-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}

.share-partner-public-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.share-partner-public-facts div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-public-facts dt {
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.share-partner-public-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.35;
}

.share-partner-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-partner-public-actions .button {
  flex: 1 1 150px;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  box-shadow: none;
}

.share-partner-view-gateway {
  display: grid;
  gap: 16px;
}

.share-partner-gateway-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.share-partner-gateway-preview article {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-gateway-preview span {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 950;
  line-height: 1;
}

.share-partner-gateway-preview b {
  color: var(--navy-dark);
  font-size: 0.94rem;
  font-weight: 950;
}

.share-partner-gateway-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.45;
}

.share-partner-focused-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.share-partner-focused-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.2fr);
  align-items: start;
}

.share-partner-review-page {
  display: grid;
  gap: 18px;
}

.share-partner-workflow-board,
.share-partner-monthly-payout {
  overflow: hidden;
}

.share-partner-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.share-partner-workflow-step {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 360px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  background: #f8fbff;
}

.share-partner-workflow-step.is-submitted {
  border-top-color: var(--red);
}

.share-partner-workflow-step.is-awaiting-review {
  border-top-color: var(--navy);
}

.share-partner-workflow-step.is-published {
  border-top-color: #138a58;
}

.share-partner-workflow-step.is-closed {
  border-top-color: #5d6b7a;
}

.share-partner-workflow-step-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.share-partner-workflow-step-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--navy);
  font-weight: 950;
}

.share-partner-workflow-step-head div {
  display: grid;
  gap: 4px;
}

.share-partner-workflow-step-head b {
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 950;
}

.share-partner-workflow-step-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-workflow-step-head em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.share-partner-workflow-list {
  display: grid;
  gap: 10px;
}

.share-partner-workflow-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy-dark);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.share-partner-workflow-card:hover,
.share-partner-workflow-card:focus-visible,
.share-partner-workflow-card.is-active {
  border-left-color: var(--red);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.share-partner-workflow-card .share-partner-logo-thumb {
  grid-column: 1;
  grid-row: 1 / 6;
  width: 42px;
  height: 42px;
}

.share-partner-workflow-card span {
  grid-column: 2;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.share-partner-workflow-card b,
.share-partner-workflow-card small,
.share-partner-workflow-card em,
.share-partner-workflow-card strong {
  grid-column: 2;
}

.share-partner-workflow-card b {
  font-size: 0.92rem;
  line-height: 1.25;
}

.share-partner-workflow-card small,
.share-partner-workflow-card em,
.share-partner-workflow-card strong {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-workflow-card strong {
  color: var(--navy-dark);
}

.share-partner-workflow-empty {
  margin: 0;
  padding: 12px;
  border: 1px dashed rgba(18, 62, 104, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.share-partner-payout-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.share-partner-payout-kpis div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fbff;
}

.share-partner-payout-kpis span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-payout-kpis b {
  color: var(--navy-dark);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 950;
  line-height: 1;
}

.share-partner-payout-kpis small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-payout-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.share-partner-payout-head,
.share-partner-payout-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(110px, 0.5fr) repeat(3, minmax(120px, 0.7fr)) minmax(170px, 0.8fr);
}

.share-partner-payout-head span {
  padding: 12px;
  color: var(--muted);
  background: #f7fafc;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-payout-row {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.share-partner-payout-row > span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-payout-row > span:first-child {
  border-left: 0;
}

.share-partner-payout-row b {
  color: var(--navy-dark);
  font-weight: 950;
}

.share-partner-payout-row small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.share-partner-payout-empty {
  padding: 14px;
  color: var(--muted);
  background: #ffffff;
  font-weight: 800;
}

.share-partner-public-focused-grid {
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.64fr);
}

.share-partner-course-form textarea,
.share-partner-review-form textarea {
  min-height: 104px;
}

.share-partner-logo-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-logo-upload h3 {
  margin: 0 0 7px;
  color: var(--navy-dark);
  font-size: 1.04rem;
}

.share-partner-logo-upload p:not(.share-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.share-partner-logo-upload.is-dragging {
  border-color: rgba(239, 27, 45, 0.62);
  background: #fff8f8;
}

.share-partner-logo-target {
  display: grid;
  min-height: 126px;
  cursor: pointer;
}

.share-partner-logo-target input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.share-partner-logo-preview {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 126px;
  padding: 14px;
  border: 2px dashed rgba(18, 62, 104, 0.28);
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  text-align: center;
}

.share-partner-logo-preview:hover,
.share-partner-logo-upload.is-dragging .share-partner-logo-preview {
  border-color: var(--red);
}

.share-partner-logo-preview b,
.share-partner-logo-preview small {
  display: block;
}

.share-partner-logo-preview b {
  color: var(--navy-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.share-partner-logo-preview small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.share-partner-logo-preview.has-logo {
  border-style: solid;
}

.share-partner-logo-preview.has-logo img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.share-partner-logo-thumb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  overflow: hidden;
}

.share-partner-logo-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.share-partner-course-queue,
.share-partner-review-panel {
  align-self: stretch;
}

.share-partner-course-list {
  display: grid;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.share-partner-course-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 5px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  color: var(--navy-dark);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.share-partner-course-row:hover,
.share-partner-course-row:focus-visible,
.share-partner-course-row.is-active {
  border-left-color: var(--red);
  box-shadow: 0 14px 30px rgba(18, 62, 104, 0.08);
  outline: none;
}

.share-partner-course-row .share-partner-logo-thumb {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: start;
}

.share-partner-course-row > span:not(.share-partner-logo-thumb) {
  grid-column: 2;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.share-partner-course-row b {
  grid-column: 2;
  font-size: 0.98rem;
  line-height: 1.25;
}

.share-partner-course-row small,
.share-partner-course-row em {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-course-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-course-detail h3 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: 1.18rem;
}

.share-partner-course-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.share-partner-course-detail dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.share-partner-course-detail dl div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-course-detail dt {
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-partner-course-detail dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-database-grid {
  margin-bottom: 18px;
}

.share-partner-database-panel,
.share-partner-account-panel,
.share-partner-sales-panel {
  overflow: hidden;
}

.share-partner-search {
  display: grid;
  gap: 6px;
  min-width: min(320px, 100%);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-partner-search input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.share-partner-provider-table,
.share-partner-sales-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.share-partner-provider-head,
.share-partner-provider-row,
.share-partner-sales-head,
.share-partner-sales-row {
  display: grid;
  gap: 0;
  align-items: stretch;
}

.share-partner-provider-head,
.share-partner-provider-row {
  grid-template-columns: minmax(230px, 1.35fr) minmax(190px, 1fr) minmax(120px, 0.55fr) minmax(140px, 0.65fr) minmax(110px, 0.45fr) minmax(130px, auto);
}

.share-partner-sales-head,
.share-partner-sales-row {
  grid-template-columns: minmax(150px, 0.8fr) minmax(190px, 1fr) minmax(230px, 1.25fr) minmax(190px, 1fr) minmax(130px, 0.6fr) minmax(180px, auto);
}

.share-partner-provider-head span,
.share-partner-sales-head span {
  padding: 12px;
  color: var(--muted);
  background: #f7fafc;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-provider-row,
.share-partner-sales-row {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.share-partner-provider-row.is-active {
  background: #f8fbff;
  box-shadow: inset 4px 0 0 var(--red);
}

.share-partner-provider-row[hidden] {
  display: none;
}

.share-partner-provider-row > span,
.share-partner-sales-row > span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 14px 12px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.35;
}

.share-partner-provider-row > span:first-child,
.share-partner-sales-row > span:first-child {
  border-left: 0;
}

.share-partner-provider-row b,
.share-partner-sales-row b {
  color: var(--navy-dark);
  font-weight: 950;
}

.share-partner-provider-row small,
.share-partner-provider-row em,
.share-partner-sales-row small,
.share-partner-sales-row em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.share-partner-provider-name {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.share-partner-provider-name .share-partner-logo-thumb {
  grid-row: 1 / 3;
}

.share-partner-account-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.14);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-account-hero h2 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.share-partner-account-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.share-partner-account-hero .share-partner-logo-thumb {
  width: 64px;
  height: 64px;
}

.share-partner-account-hero dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.share-partner-account-hero dl div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-account-hero dt {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-partner-account-hero dd {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 950;
}

.share-partner-resell-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.share-partner-resell-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-resell-card h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 1.04rem;
}

.share-partner-resell-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.share-partner-resell-card small {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.share-partner-resell-actions,
.share-partner-refund-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.share-partner-resell-actions .button,
.share-partner-refund-actions .button {
  min-height: 36px;
  padding: 0 11px;
  box-shadow: none;
}

.share-partner-status-pill {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf3f8;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-partner-sales-intro {
  max-width: 920px;
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.share-partner-sales-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.share-partner-sales-summary div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fbff;
}

.share-partner-sales-summary span,
.share-partner-resale-kpis span,
.share-partner-statement-total span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-sales-summary b,
.share-partner-resale-kpis b,
.share-partner-statement-total b {
  color: var(--navy-dark);
  font-size: 1.35rem;
  font-weight: 950;
}

.share-partner-sales-summary small,
.share-partner-resale-kpis small,
.share-partner-statement-total small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-resale-hero {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: stretch;
}

.share-partner-resale-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-partner-resale-kpis div {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(18, 62, 104, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-commercial-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-left: 4px solid var(--red);
}

.share-partner-commercial-note .button {
  justify-self: end;
}

.share-partner-resale-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.share-partner-resale-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-partner-resale-toolbar select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.share-partner-resale-status {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fbff;
  font-weight: 800;
}

.share-partner-resale-statements {
  display: grid;
  gap: 16px;
}

.share-partner-statement-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(9, 39, 68, 0.08);
}

.share-partner-statement-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.share-partner-statement-card-head h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.share-partner-statement-total {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.share-partner-statement-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.share-partner-statement-head,
.share-partner-statement-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(180px, 1fr) minmax(230px, 1.3fr) minmax(110px, 0.55fr) minmax(130px, 0.65fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr);
  gap: 0;
  align-items: stretch;
}

.share-partner-statement-head span {
  padding: 12px;
  color: var(--muted);
  background: #f7fafc;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-statement-row {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.share-partner-statement-row > span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 13px 12px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
}

.share-partner-statement-row > span:first-child {
  border-left: 0;
}

.share-partner-statement-row b {
  color: var(--navy-dark);
  font-weight: 950;
}

.share-partner-statement-row small,
.share-partner-statement-row em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.share-partner-email-panel {
  grid-column: 1 / -1;
}

.share-partner-email-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.72fr);
  gap: 14px;
  align-items: stretch;
}

.share-partner-email-controls,
.share-partner-email-preview {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.share-partner-email-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.share-partner-email-status-grid div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-email-status-grid small {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-email-status-grid b {
  color: var(--navy-dark);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.25;
}

.share-partner-email-status-grid span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.share-partner-email-editor {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-partner-email-editor textarea {
  min-height: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
  resize: vertical;
  text-transform: none;
}

.share-partner-email-preview {
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #f8fafc;
}

.share-partner-email-preview h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.share-partner-email-body {
  display: grid;
  gap: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.48;
}

.share-partner-email-body p {
  margin: 0;
}

.share-partner-email-body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.share-partner-email-body dl div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-email-body dt {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-email-body dd {
  margin: 0;
  color: var(--navy-dark);
  font-weight: 950;
}

.share-partner-email-instructions {
  padding: 12px;
  border: 1px solid rgba(18, 62, 104, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.share-partner-email-log {
  display: grid;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.share-partner-email-log-head,
.share-partner-email-log-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.2fr) minmax(180px, 0.7fr);
  align-items: stretch;
}

.share-partner-email-log-head span {
  padding: 11px 12px;
  color: var(--muted);
  background: #f7fafc;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-partner-email-log-row {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.share-partner-email-log-row > span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 13px 12px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
}

.share-partner-email-log-row > span:first-child {
  border-left: 0;
}

.share-partner-email-log-row b {
  color: var(--navy-dark);
  font-weight: 950;
}

.share-partner-email-log-row small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.share-partner-email-empty {
  padding: 14px;
  color: var(--muted);
  background: #ffffff;
  font-weight: 800;
}

@media (max-width: 1000px) {
  .share-sidebar {
    overflow: hidden;
  }

  .share-sidebar-nav {
    overflow-x: visible;
    overflow-y: auto;
  }

  .share-sidebar-children {
    display: none;
    position: fixed;
    left: 104px;
    top: var(--share-sidebar-flyout-top, 120px);
    z-index: 95;
    width: min(260px, calc(100vw - 122px));
    margin: 0;
    padding: 8px;
    border: 1px solid var(--navy);
    border-left: 5px solid var(--red);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(9, 39, 68, 0.22);
  }

  .share-sidebar-children.is-open {
    display: grid;
  }

  .ai-chat-workbench {
    grid-template-columns: 1fr;
  }

  .share-page-topbar {
    align-items: stretch;
  }

  .share-top-actions {
    width: 100%;
    align-items: stretch;
  }

  .share-account-switcher {
    width: min(100%, 620px);
  }

  .ai-video-explainer,
  .ai-video-library-grid,
  .ai-chat-app-shell,
  .ai-intelligence-home,
  .learning-home-grid,
  .add-on-grid,
  .ai-business-source-grid,
  .share-admin-hero,
  .share-admin-grid,
  .share-reminder-row,
  .share-inbox-layout,
  .share-sync-grid,
  .share-role-grid,
  .share-learning-option-admin-grid,
  .share-course-admin-toolbar,
  .share-course-admin-row,
  .share-enquiry-lines > div,
  .share-admin-tab-lines > div,
  .share-social-performance-feed > div,
  .share-social-reply-item,
  .share-social-api-status,
  .share-social-scheduler,
  .share-customer-overview-grid,
  .share-customer-database-tools,
  .share-customer-log-shell,
  .share-customer-reminder-fields,
  .share-email-audience-grid,
  .share-email-form,
  .share-email-campaign-list div,
  .share-email-performance > div,
  .share-social-post-form,
  .share-social-channel-picker,
  .share-social-date-plan-head,
  .share-social-date-row,
  .share-social-repeat-row,
  .share-social-hashtag-head,
  .share-social-reply-toolbar,
  .share-social-upload-box,
  .share-social-scheduled-list > div,
  .share-admin-table .share-course-date-row,
  .share-attendee-list .share-attendee-row,
  .share-course-record-shell,
  .share-attendee-workbench,
  .share-knowledge-page-picker-head,
  .share-partner-logo-upload,
  .share-partner-course-detail,
  .share-partner-course-detail dl,
  .share-partner-sales-summary,
  .share-partner-provider-head,
  .share-partner-provider-row,
  .share-partner-sales-head,
  .share-partner-sales-row,
  .share-partner-account-hero,
  .share-partner-account-hero dl,
  .share-partner-resell-card,
  .share-partner-resale-hero,
  .share-partner-resale-kpis,
  .share-partner-commercial-note,
  .share-partner-resale-toolbar,
  .share-partner-statement-card-head,
  .share-partner-statement-head,
  .share-partner-statement-row,
  .share-partner-email-layout,
  .share-partner-email-status-grid,
  .share-partner-email-log-head,
  .share-partner-email-log-row,
  .share-partner-perspective-strip,
  .share-partner-perspective-board,
  .share-partner-gateway-preview,
  .share-partner-focused-intro,
  .share-partner-focused-grid,
  .share-partner-public-focused-grid,
  .share-partner-public-facts,
  .share-partner-workflow-steps,
  .share-partner-payout-kpis,
  .share-partner-payout-head,
  .share-partner-payout-row,
  .share-course-form-grid {
    grid-template-columns: 1fr;
  }

  .share-partner-workflow-step {
    min-height: auto;
  }

  .share-partner-commercial-note .button {
    justify-self: start;
  }

  .share-partner-public-panel {
    position: static;
  }

  .share-partner-public-actions .button {
    flex: 1 1 100%;
  }

  .share-course-admin-actions {
    justify-content: flex-start;
  }

  .share-enquiry-tabs {
    padding: 0;
  }

  .share-enquiry-route-tab {
    min-width: 138px;
    padding-inline: 12px;
  }

  .share-enquiry-route-card {
    min-height: auto;
    padding: 16px;
  }

  .share-admin-tab-card {
    min-height: auto;
    padding: 16px;
  }

  .share-social-composer-head,
  .share-social-calendar-head,
  .share-social-reply-toolbar,
  .share-admin-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .share-admin-panel-actions {
    justify-content: flex-start;
  }

  .share-knowledge-page-picker-actions {
    justify-content: flex-start;
  }

  .share-social-calendar-grid {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
  }

  .share-attendee-actions {
    justify-content: flex-start;
  }

  .ai-document-file-head {
    display: none;
  }

  .ai-document-file-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ai-document-row-actions {
    justify-content: flex-start;
  }

  .ai-chat-context-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ai-chat-fields,
  .ai-chat-prompt {
    grid-template-columns: 1fr;
  }

  .ai-answer-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-account-switcher {
    grid-template-columns: 1fr;
  }

  .share-account-toggle {
    width: 100%;
  }

  .ai-video-explainer {
    padding: 14px;
  }

  .ai-video-frame,
  .ai-video-screen {
    min-height: 250px;
  }

  .ai-video-screen {
    padding: 22px;
  }

  .ai-chat-window {
    min-height: 560px;
  }

  .ai-chat-window__head,
  .ai-prompt-box {
    grid-template-columns: 1fr;
  }

  .ai-chat-window__head {
    flex-direction: column;
  }

  .ai-source-badges {
    justify-content: flex-start;
  }

  .ai-message,
  .ai-message-user {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .ai-message-user > span,
  .ai-message-user > div {
    grid-column: auto;
    grid-row: auto;
  }

  .ai-message > span {
    width: 34px;
    height: 34px;
    font-size: 0.64rem;
  }

  .ai-chat-context-rail,
  .ai-context-grid {
    grid-template-columns: 1fr;
  }

  .ai-context-grid .span-two {
    grid-column: auto;
  }

  .ai-upload-zone,
  .ai-business-source-head {
    align-items: stretch;
  }

  .ai-business-source-head {
    flex-direction: column;
  }

  .ai-upload-button {
    width: 100%;
  }

  .ai-document-row-actions {
    flex-wrap: wrap;
  }

  .ai-document-row-actions .button {
    flex: 1 1 130px;
    justify-content: center;
  }
}

@media (max-width: 1180px) {
  .share-org-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .share-org-panel-grid,
  .share-org-lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .share-org-command-head,
  .share-org-filter-row,
  .share-org-panel-grid,
  .share-org-lower-grid {
    grid-template-columns: 1fr;
  }

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

  .share-org-donut-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .share-org-command-centre {
    margin: 16px 0;
    padding: 14px;
    border-radius: 8px;
  }

  .share-org-command-head h2 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .share-org-kpi-grid,
  .share-org-mini-stats {
    grid-template-columns: 1fr;
  }

  .share-org-kpi {
    min-height: 0;
  }

  .share-org-bars {
    min-height: 150px;
    gap: 4px;
  }

  .share-org-bars i {
    font-size: 0.56rem;
  }
}
