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

.public-assistant {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
}

.public-assistant-launcher {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 11px;
  border: 1px solid rgba(18, 50, 44, .18);
  border-radius: 8px;
  background: #12322c;
  color: #fff;
  box-shadow: 0 14px 36px rgba(18, 50, 44, .22);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.public-assistant-launcher img {
  border-radius: 6px;
  background: #fff;
}

.assistant-chat {
  overflow: hidden;
  border: 1px solid rgba(18, 50, 44, .16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 50, 44, .22);
}

.public-assistant-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(410px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
}

.public-assistant-panel[hidden] {
  display: none;
}

.assistant-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #12322c;
  color: #fff;
}

.assistant-chat-header div {
  display: grid;
  gap: 2px;
}

.assistant-chat-header span {
  color: #a9e6d5;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-chat-header button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.assistant-chat-intro {
  padding: 16px 18px 4px;
}

.assistant-chat-intro p,
.assistant-chat-intro small {
  margin: 0;
}

.assistant-chat-intro small {
  display: block;
  margin-top: 8px;
  color: #64736e;
  line-height: 1.45;
}

.assistant-starters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 18px;
}

.assistant-starters button {
  min-height: 42px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #cddbd6;
  border-radius: 8px;
  background: #f7fbf9;
  color: #174a41;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.assistant-has-messages .assistant-starters {
  display: none;
}

.assistant-messages {
  min-height: 110px;
  max-height: 330px;
  overflow-y: auto;
  padding: 4px 18px 16px;
}

.assistant-message {
  width: min(92%, 680px);
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.5;
}

.assistant-message > span {
  display: block;
  margin-bottom: 6px;
  color: #5a6b65;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.assistant-message p,
.assistant-message h3 {
  margin: 0;
}

.assistant-message p + p,
.assistant-message h3 + p,
.assistant-message ol,
.assistant-message .assistant-answer-caution,
.assistant-message .assistant-answer-links,
.assistant-answer-meta {
  margin-top: 10px;
}

.assistant-message-user {
  margin-left: auto;
  background: #dff6ec;
  color: #12322c;
}

.assistant-message-answer,
.assistant-message-system {
  border: 1px solid #dbe4e0;
  background: #fff;
}

.assistant-message-error {
  border: 1px solid #e4b4ab;
  background: #fff3ef;
  color: #6b2d24;
}

.assistant-message ol,
.assistant-message ul {
  padding-left: 22px;
}

.assistant-message li + li {
  margin-top: 7px;
}

.assistant-answer-label {
  display: block;
  margin-top: 14px;
}

.assistant-answer-caution {
  padding: 11px 12px;
  border-left: 3px solid #d8a53b;
  background: #fff9e9;
}

.assistant-answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-answer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #b9d2ca;
  border-radius: 8px;
  color: #0d6255;
  font-weight: 800;
  text-decoration: none;
}

.assistant-answer-meta {
  display: block;
  color: #6c7a75;
  font-size: .72rem;
}

.assistant-chat-form {
  padding: 14px 18px 16px;
  border-top: 1px solid #e2e9e6;
  background: #f8fbfa;
}

.assistant-chat-form textarea {
  width: 100%;
  min-height: 66px;
  resize: vertical;
}

.assistant-chat-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.assistant-chat-form span {
  color: #5d6b66;
  font-size: .75rem;
}

.manual-hero,
.manual-section-band,
.manual-support-band,
.manual-article-page {
  width: min(100% - 40px, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.manual-hero {
  padding: 46px 0 30px;
}

.manual-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 40px;
}

.manual-hero h1,
.manual-article-hero h1 {
  max-width: 860px;
  margin: 10px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
}

.manual-hero-grid > div > p:last-child,
.manual-article-hero > p {
  max-width: 820px;
  color: #52625d;
  font-size: 1.12rem;
}

.manual-coverage,
.help-hub-stat {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid #cbdad5;
  border-radius: 8px;
  background: #f2faf7;
}

.manual-coverage strong,
.help-hub-stat strong {
  color: #0e6759;
  font-size: 2.4rem;
}

.manual-search {
  max-width: 820px;
  margin-top: 30px;
}

.manual-search label,
.help-hub-search label {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.manual-search > div,
.help-hub-search form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.manual-section-band {
  padding: 36px 0;
  border-top: 1px solid #dce6e2;
}

.manual-section-heading,
.help-hub-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.manual-section-heading h2,
.help-hub-section h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.manual-section-heading p,
.help-hub-section header p {
  max-width: 760px;
  margin: 0;
  color: #566660;
}

.manual-section-heading > span,
.help-hub-section header > span {
  white-space: nowrap;
  color: #0e6759;
  font-weight: 800;
}

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

.manual-article-card,
.help-hub-article-grid > a {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
  border: 1px solid #d4e0dc;
  border-radius: 8px;
  background: #fff;
  color: #16231f;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.manual-article-card:hover,
.help-hub-article-grid > a:hover {
  transform: translateY(-2px);
  border-color: #7eb4a8;
  box-shadow: 0 12px 28px rgba(18, 50, 44, .08);
}

.manual-article-card > span,
.help-hub-article-grid > a > span {
  color: #0e6759;
  font-size: .78rem;
  font-weight: 850;
}

.manual-article-card h3,
.help-hub-article-grid strong {
  font-size: 1.16rem;
  line-height: 1.2;
}

.manual-article-card p,
.help-hub-article-grid p {
  margin: 0;
  color: #52625d;
  font-size: .92rem;
}

.manual-article-card small,
.help-hub-article-grid small {
  margin-top: auto;
  color: #6c7a75;
}

.manual-support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 36px;
  padding: 30px;
  border-radius: 8px;
  background: #12322c;
  color: #fff;
}

.manual-support-band h2,
.manual-support-band p {
  margin: 4px 0;
}

.manual-support-band > div:last-child {
  display: flex;
  gap: 10px;
}

.manual-article-page {
  padding-top: 34px;
}

.breadcrumbs,
.dashboard-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #5e6c67;
  font-size: .85rem;
}

.manual-article-hero {
  padding: 34px 0;
  border-bottom: 1px solid #dbe5e1;
}

.manual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.manual-meta > div {
  min-width: 170px;
  padding: 12px 14px;
  border: 1px solid #d3e0db;
  border-radius: 8px;
  background: #f8fbfa;
}

.manual-meta dt {
  color: #64736e;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.manual-meta dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.manual-article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 760px);
  justify-content: space-between;
  gap: 50px;
  padding: 42px 0;
}

.manual-article-summary {
  height: fit-content;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid #d4e0dc;
  border-radius: 8px;
  background: #f8fbfa;
}

.manual-article-content {
  display: grid;
  gap: 36px;
}

.manual-article-content section,
.dashboard-manual-article section {
  padding-bottom: 28px;
  border-bottom: 1px solid #e1e8e5;
}

.manual-article-content h2,
.dashboard-manual-article h2 {
  margin: 5px 0 14px;
  font-size: 1.5rem;
}

.manual-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.manual-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.manual-steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff6ec;
  color: #0e6759;
  font-weight: 900;
}

.manual-steps p {
  margin: 3px 0 0;
}

.manual-result,
.manual-caution {
  padding: 24px !important;
  border: 1px solid #c8ddd6 !important;
  border-radius: 8px;
  background: #f2faf7;
}

.manual-caution {
  border-color: #ead5a4 !important;
  background: #fff9e9;
}

.manual-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid #dbe5e1;
}

.manual-pagination a {
  min-height: 96px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid #d3e0db;
  border-radius: 8px;
  color: #16352f;
  text-decoration: none;
}

.manual-pagination a:last-child {
  text-align: right;
}

.manual-pagination span {
  color: #64736e;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.manual-related {
  padding: 36px 0;
}

.help-hub-hero,
.assistant-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: center;
}

.help-hub-hero h1,
.assistant-page-header h1,
.dashboard-manual-article h1 {
  margin: 6px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.help-hub-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.help-hub-sections {
  display: grid;
  gap: 20px;
}

.help-hub-section > header {
  align-items: start;
}

.dashboard-manual-article {
  max-width: 900px;
}

.dashboard-manual-article > header {
  max-width: 760px;
}

.dashboard-manual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}

.dashboard-manual-meta span {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #d3e0db;
  border-radius: 8px;
}

.dashboard-manual-actions,
.assistant-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.assistant-mode {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid #c8ddd6;
  border-radius: 8px;
  background: #f2faf7;
}

.assistant-mode span,
.assistant-mode small {
  color: #5d6c67;
}

.dashboard-assistant-chat {
  overflow: hidden;
  padding: 0;
}

.dashboard-assistant-chat > .assistant-chat-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .45fr);
  gap: 24px;
  padding: 24px 26px 8px;
}

.dashboard-assistant-chat > .assistant-chat-intro aside {
  padding: 15px;
  border: 1px solid #ead5a4;
  border-radius: 8px;
  background: #fff9e9;
}

.dashboard-assistant-chat > .assistant-chat-intro aside p {
  margin-top: 5px;
  font-size: .86rem;
}

.assistant-messages-inline {
  min-height: 180px;
  max-height: 540px;
  padding: 10px 26px 22px;
  background: #f8fbfa;
}

.assistant-chat-form-inline {
  padding: 20px 26px 24px;
}

.assistant-chat-form-inline label {
  display: block;
  margin-bottom: 7px;
  font-weight: 850;
}

.assistant-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 18px;
}

.assistant-compact-panel h2 {
  margin: 4px 0 8px;
  font-size: 1.45rem;
}

@media (max-width: 900px) {
  .manual-hero-grid,
  .manual-article-layout,
  .help-hub-hero,
  .assistant-page-header,
  .dashboard-assistant-chat > .assistant-chat-intro,
  .assistant-support-grid {
    grid-template-columns: 1fr;
  }

  .manual-article-grid,
  .help-hub-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .public-assistant {
    right: 14px;
    bottom: 14px;
  }

  .public-assistant-launcher span {
    display: none;
  }

  .public-assistant-launcher {
    width: 52px;
    padding: 10px;
  }

  .public-assistant-panel {
    position: fixed;
    inset: 14px;
    width: auto;
    max-height: none;
  }

  .assistant-messages {
    max-height: none;
    flex: 1 1 auto;
  }

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

  .assistant-starters button:last-child {
    grid-column: 1 / -1;
  }

  .manual-hero,
  .manual-section-band,
  .manual-support-band,
  .manual-article-page {
    width: min(100% - 28px, 1180px);
  }

  .manual-hero h1,
  .manual-article-hero h1 {
    font-size: 2.35rem;
  }

  .manual-search > div,
  .help-hub-search,
  .help-hub-search form > div,
  .manual-pagination,
  .manual-article-grid,
  .help-hub-article-grid {
    grid-template-columns: 1fr;
  }

  .manual-article-card,
  .help-hub-article-grid > a {
    min-height: 0;
  }

  .manual-section-heading,
  .help-hub-section > header,
  .manual-support-band,
  .assistant-chat-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-support-band > div:last-child {
    flex-direction: column;
  }

  .manual-pagination a:last-child {
    text-align: left;
  }
}
