#hacc-root {
  --hacc-orange: #da6229;
  --hacc-orange-dark: #b94b1b;
  --hacc-navy: #253a58;
  --hacc-ink: #182334;
  --hacc-muted: #667085;
  --hacc-line: #d9e0e8;
  position: relative;
  z-index: 2147483000;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.hacc-skip-link {
  position: fixed;
  z-index: 2147483647;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border: 3px solid #fff;
  border-radius: 6px;
  background: var(--hacc-navy);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .24);
  transition: transform .18s ease;
}

.hacc-skip-link:focus { transform: translateY(0); }

.hacc-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--hacc-orange);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(18, 34, 57, .28);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hacc-launcher:hover,
.hacc-launcher:focus-visible {
  transform: translateY(-2px);
  background: var(--hacc-orange-dark);
  box-shadow: 0 11px 32px rgba(18, 34, 57, .34);
}

.hacc-launcher:focus-visible,
.hacc-close:focus-visible,
.hacc-control:focus-visible,
.hacc-reset:focus-visible {
  outline: 3px solid #ffd6c3;
  outline-offset: 3px;
}

.hacc-launcher svg { width: 30px; height: 30px; fill: currentColor; }

.hacc-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 2147483090;
  width: min(390px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 120px));
  overflow: auto;
  border: 1px solid rgba(37, 58, 88, .18);
  border-radius: 14px;
  background: #fff;
  color: var(--hacc-ink);
  box-shadow: 0 22px 60px rgba(18, 34, 57, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.hacc-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hacc-panel__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  background: var(--hacc-navy);
  color: #fff;
}

.hacc-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #ffc2a5;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hacc-title {
  margin: 0;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 750;
  line-height: 1.12 !important;
}

.hacc-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.hacc-panel__body { padding: 20px 22px 22px; }

.hacc-intro {
  margin: 0 0 17px;
  color: var(--hacc-muted) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

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

.hacc-control {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid var(--hacc-line);
  border-radius: 9px;
  background: #f8fafc;
  color: var(--hacc-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.hacc-control:hover { border-color: #aeb9c7; background: #fff; }

.hacc-control[aria-pressed="true"] {
  border-color: var(--hacc-orange);
  background: #fff1ea;
  color: #8e3510;
}

.hacc-control__icon {
  color: var(--hacc-orange);
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1 !important;
}

.hacc-control__label { font-size: 14px !important; font-weight: 750; line-height: 1.2 !important; }
.hacc-control__state { color: var(--hacc-muted) !important; font-size: 11px !important; line-height: 1 !important; }

.hacc-reset {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--hacc-navy);
  border-radius: 7px;
  background: #fff;
  color: var(--hacc-navy);
  font-size: 14px !important;
  font-weight: 750;
  cursor: pointer;
}

.hacc-reset:hover { background: var(--hacc-navy); color: #fff; }

.hacc-note {
  margin: 14px 0 0;
  color: var(--hacc-muted) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.hacc-reading-guide {
  position: fixed;
  z-index: 2147482000;
  right: 0;
  left: 0;
  height: 42px;
  border-top: 2px solid rgba(218, 98, 41, .8);
  border-bottom: 2px solid rgba(218, 98, 41, .8);
  background: rgba(255, 213, 193, .16);
  pointer-events: none;
  display: none;
}

html.hacc-guide-on .hacc-reading-guide { display: block; }
html.hacc-text-1 { font-size: 112.5%; }
html.hacc-text-2 { font-size: 125%; }
html.hacc-line-height body { line-height: 1.8 !important; }
html.hacc-line-height body p,
html.hacc-line-height body li,
html.hacc-line-height body h1,
html.hacc-line-height body h2,
html.hacc-line-height body h3,
html.hacc-line-height body h4,
html.hacc-line-height body h5,
html.hacc-line-height body h6 { line-height: 1.8 !important; }
html.hacc-readable body,
html.hacc-readable body *:not(#hacc-root):not(#hacc-root *) { font-family: Arial, Helvetica, sans-serif !important; }
html.hacc-highlight-links body a:not(.hacc-skip-link) {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 3px !important;
  outline: 2px solid currentColor !important;
  outline-offset: 3px !important;
}
html.hacc-hide-images body img,
html.hacc-hide-images body picture,
html.hacc-hide-images body video { visibility: hidden !important; }
html.hacc-pause *,
html.hacc-pause *::before,
html.hacc-pause *::after {
  animation-play-state: paused !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
html.hacc-grayscale body > *:not(#hacc-root) { filter: grayscale(1); }
html.hacc-contrast body > *:not(#hacc-root) { filter: contrast(1.35); }
html.hacc-grayscale.hacc-contrast body > *:not(#hacc-root) { filter: grayscale(1) contrast(1.35); }
html.hacc-focus body :focus-visible { outline: 4px solid #ff7a35 !important; outline-offset: 4px !important; }

@media (max-width: 520px) {
  .hacc-launcher { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .hacc-panel { right: 12px; bottom: 78px; width: calc(100vw - 24px); max-height: calc(100vh - 100px); }
  .hacc-panel__header { padding: 19px 18px 16px; }
  .hacc-panel__body { padding: 17px 18px 19px; }
  .hacc-grid { gap: 8px; }
  .hacc-control { min-height: 70px; padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hacc-panel, .hacc-launcher, .hacc-skip-link { transition: none; }
}
