:root {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: #25354d;
  background: #4c91d8;
  font-synthesis: none;
  color-scheme: light;
  --help-blue: #185dbb;
  --help-line: #d4dfed;
  --help-muted: #5d6c80;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-padding-top: 76px; scrollbar-gutter: stable; }
body.help-page { margin: 0; min-width: 280px; font-size: 14px; line-height: 1.65; }
a { color: #1857a5; text-underline-offset: 3px; }
a:hover { color: #083d81; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #e89a18; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 8px 12px; border: 1px solid #bcd1ee; border-radius: 3px; background: #fff; color: #184882; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.help-toolbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 9px max(20px, calc((100vw - 1420px) / 2));
  border-top: 1px solid #7bbaff;
  border-bottom: 1px solid #124eaa;
  background: linear-gradient(#418ff1 0%, #1d67d6 19%, #1c5fc5 88%, #174ea6);
  box-shadow: 0 2px 5px #17427735;
  color: #fff;
}
.help-toolbar a { color: #fff; text-decoration: none; }
.help-home { display: inline-flex; align-items: center; gap: 10px; font-weight: bold; line-height: 1.35; }
.help-home img { width: 28px; height: 28px; object-fit: contain; }
.help-home:hover { text-decoration: underline; }
.help-toolbar .editor-link {
  flex-shrink: 0;
  padding: 5px 13px;
  border: 1px solid #103d90;
  border-radius: 3px;
  background: linear-gradient(#fff, #edf3fd);
  box-shadow: inset 0 1px #fff, 0 1px 1px #12375a35;
  color: #184882;
  font-size: 13px;
  font-weight: bold;
}
.help-toolbar .editor-link:hover { background: #fff; color: #123866; }
.help-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  width: min(1420px, calc(100% - 40px));
  min-height: calc(100vh - 94px);
  margin: 20px auto;
  border: 1px solid #2863aa;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 5px 18px #204b7540, inset 0 0 0 1px #fff;
}
.help-sidebar {
  align-self: stretch;
  min-width: 0;
  padding: 22px 15px;
  border-right: 1px solid #bacce9;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(135deg, #e3ebfc, #d1ddf8);
  font-size: 13px;
}
.help-sidebar > h2, .help-sidebar nav > h2, .help-sidebar nav > p:first-child {
  margin: 0 0 12px;
  padding: 7px 9px;
  border: 1px solid #bccde9;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #fff, #e7efff);
  color: #225396;
  font-size: 13px;
  font-weight: bold;
}
.help-sidebar nav { display: grid; gap: 4px; }
.help-sidebar > nav { position: sticky; top: 74px; max-height: calc(100vh - 94px); max-height: calc(100dvh - 94px); padding: 3px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #9db6dc transparent; }
.help-sidebar a {
  display: block;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  line-height: 1.45;
  text-decoration: none;
}
.help-sidebar a:hover { border-color: #b7cae6; background: #ffffffa6; }
.help-sidebar a[aria-current="page"] { border-color: #a4bfe4; background: #fff; color: #163f79; font-weight: bold; }
.help-sidebar details { margin: 8px 0; }
.help-sidebar summary { cursor: pointer; padding: 7px 9px; color: #225396; font-weight: bold; }
.help-sidebar details a { margin-left: 12px; font-size: 12px; }
.help-sidebar a small { margin-left: 4px; color: #6d83a3; font-size: 10px; font-variant-numeric: tabular-nums; }
.help-sidebar ul { margin: 0; padding: 0; list-style: none; }
.help-main { width: 100%; min-width: 0; padding: clamp(22px, 3.5vw, 48px); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin: 0 0 26px; color: #68798f; font-size: 12px; line-height: 1.6; }
.breadcrumbs a { color: #516c8f; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: baseline; gap: 9px; }
.breadcrumbs li + li::before { content: "›"; color: #98a8bc; }
.help-hero { max-width: 900px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 7px; color: #366dba; font-size: 11px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.3; color: #203f6b; }
h1 { margin: 0 0 15px; font-size: clamp(25px, 3.4vw, 38px); letter-spacing: -.025em; }
h2 { margin: 28px 0 12px; font-size: 21px; letter-spacing: -.015em; }
h3 { margin: 22px 0 9px; font-size: 17px; }
p { margin: 0 0 15px; }
.lead { max-width: 800px; margin-bottom: 0; color: #53657d; font-size: 16px; line-height: 1.7; }
.help-notice { margin: 22px 0; padding: 13px 17px; border: 1px solid #cadcf3; border-left: 4px solid #75a1dc; border-radius: 3px; background: #f2f7ff; color: #466081; font-size: 13px; }
.help-notice p:last-child { margin-bottom: 0; }
.help-search { margin: 25px 0 9px; }
.help-search label { display: block; margin-bottom: 7px; color: #36557c; font-size: 13px; font-weight: bold; }
.help-search input[type="search"] {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #9db3d1;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 1px 2px 3px #283d5b0b;
  color: #263e5c;
  font-size: 14px;
}
.help-search input::placeholder { color: #7d8b9b; }
.help-results-count { margin: 0 0 17px; color: #687a90; font-size: 12px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 21px 0 30px; }
.help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px;
  border: 1px solid #ccdaec;
  border-radius: 4px;
  background: linear-gradient(135deg, #fff 55%, #f5f8fd);
  box-shadow: 0 2px 3px #244c7c07;
  color: #253f62;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.help-card:hover { border-color: #7ca3d7; background: #f6faff; box-shadow: 0 3px 8px #254b7e16; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 11px; border: 1px solid #c5d5ee; border-radius: 4px; background: linear-gradient(#fff, #e9f1ff); color: #285eac; font-size: 23px; }
.card-icon img, img.card-icon { width: 40px; height: 40px; object-fit: contain; }
.help-card h2, .help-card h3 { margin: 0 0 9px; font-size: 17px; }
.help-card p { margin: 0 0 15px; color: #607087; font-size: 13px; line-height: 1.65; }
.card-meta { margin-top: auto; padding-top: 6px; color: #4373ad; font-size: 12px; }
.help-empty { padding: 28px 20px; border: 1px dashed #c0cee1; border-radius: 4px; background: #f7f9fc; color: #62748c; text-align: center; }
.help-article { max-width: 960px; }
.help-article > p, .help-section > p, .help-steps, .help-tips { max-width: 800px; }
.help-location { display: inline-block; margin: 0 0 24px; padding: 7px 12px; border: 1px solid #d4dce8; border-radius: 3px; background: #f4f6f9; color: #53657d; font-size: 13px; }
.help-location h2 { margin: 2px 0 5px; font-size: 13px; }
.help-location p { margin-bottom: 6px; }
.help-location p:last-child { margin-bottom: 2px; }
.shortcut-note { margin-top: 24px; color: #738299; font-size: 12px; }
.help-section { margin: 30px 0; scroll-margin-top: 76px; }
.help-section + .help-section { padding-top: 3px; }
.help-section > h2:first-child { margin-top: 0; }
.help-steps { margin: 17px 0 23px; padding-left: 27px; }
.help-steps li { padding-left: 6px; margin-bottom: 14px; }
.help-steps li::marker { color: #2668b7; font-weight: bold; }
.help-tips { margin: 16px 0 23px; padding-left: 22px; }
.help-tips li { margin-bottom: 9px; padding-left: 3px; }
.help-limits { margin: 23px 0; padding: 16px 20px; border: 1px solid #e2d6b5; border-left: 4px solid #d7b45a; border-radius: 3px; background: #fffbee; color: #75623d; font-size: 13px; }
.help-limits h2, .help-limits h3 { margin-top: 0; color: #776139; font-size: 15px; }
.help-limits p:last-child, .help-limits ul:last-child { margin-bottom: 0; }
.help-figure { margin: 24px 0 29px; overflow: hidden; border: 1px solid #c4d1e2; border-radius: 4px; background: #edf2f8; }
.help-figure > a { display: block; cursor: zoom-in; }
.help-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.help-figure a:hover img { filter: brightness(1.035); }
.help-figure figcaption { padding: 10px 14px; border-top: 1px solid #d4deeb; background: #f7f9fc; color: #61728a; font-size: 12px; line-height: 1.6; }
.editor-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 34px 0 26px; padding: 19px 22px; border: 1px solid #bad0eb; border-radius: 4px; background: linear-gradient(115deg, #edf5ff, #f9fcff); color: #375b88; }
.editor-cta > p { flex: 1 1 240px; margin: 0; font-size: 14px; }
.editor-cta > div { flex: 1 1 240px; }
.editor-cta > div > p { margin: 4px 0 0; font-size: 13px; }
.editor-cta > a, a.editor-cta { display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid #17519b; border-radius: 3px; background: linear-gradient(#3c83db, #1e61b6); box-shadow: inset 0 1px #78aae7; color: #fff; font-size: 13px; font-weight: bold; line-height: 1.5; text-decoration: none; }
.editor-cta > a:hover, a.editor-cta:hover { background: linear-gradient(#4c93e9, #276fc7); }
.help-pagination { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--help-line); }
.help-pagination a { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 15px; border: 1px solid #d2deed; border-radius: 3px; color: #315f9a; font-size: 13px; text-decoration: none; }
.help-pagination a:hover { border-color: #8baedb; background: #f5f9ff; }
.help-pagination .prev { grid-column: 1; }
.help-pagination > a:not(.prev):not(.next) { grid-column: 2; align-items: center; text-align: center; }
.help-pagination .next { grid-column: 3; align-items: flex-end; text-align: right; }
.help-pagination > a { grid-row: 1; }
.help-pagination a span, .help-pagination a small { color: #7b899d; font-size: 11px; }
.help-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid #e0e7f0; color: #78879b; font-size: 11px; }
.help-footer p:last-child { margin-bottom: 0; }
.help-footer a { color: #597496; }
code, kbd { padding: 2px 5px; border: 1px solid #d3dce9; border-radius: 3px; background: #f4f6fa; color: #475c78; font: 12px/1.5 Consolas, Monaco, monospace; }
kbd { white-space: nowrap; box-shadow: 0 1px #c6d1e2; }

#help-lightbox {
  width: max-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 40px 10px 10px;
  overflow: auto;
  border: 2px solid #367bdd;
  border-top: 3px solid #78aaf4;
  border-radius: 5px;
  background: linear-gradient(#2c76d8 0 31px, #eef3fa 31px 100%);
  box-shadow: 0 12px 50px #0006;
}
#help-lightbox::backdrop { background: #132d4bc7; }
#help-lightbox img { display: block; max-width: 100%; max-height: calc(100dvh - 130px); margin: auto; object-fit: contain; }
#help-lightbox [data-close-lightbox] { position: absolute; top: 4px; right: 5px; padding: 1px 10px; border: 1px solid #fff9; border-radius: 3px; background: linear-gradient(#ee9982, #c94b2b); color: #fff; font-size: 12px; line-height: 19px; }
#help-lightbox [data-full-image] { display: block; width: fit-content; margin: 9px auto 0; font-size: 12px; }
body.lightbox-open { overflow: hidden; }

@media (min-width: 1280px) {
  .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .help-shell { grid-template-columns: 190px minmax(0, 1fr); width: calc(100% - 24px); margin: 12px auto; }
  .help-main { padding: 25px; }
  .help-sidebar { padding: 18px 10px; }
  .help-grid { gap: 12px; }
  .help-card { padding: 17px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .help-toolbar { min-height: 52px; gap: 10px; padding: 8px 13px; }
  .help-home { gap: 6px; font-size: 12px; }
  .help-home img { width: 23px; height: 23px; }
  .help-toolbar .editor-link { flex-shrink: 1; min-width: 0; padding: 5px 9px; font-size: 11px; text-align: center; }
  .help-shell { display: block; width: calc(100% - 16px); margin: 8px auto; }
  .help-sidebar { padding: 11px 14px; border-right: 0; border-bottom: 1px solid #bdcfea; border-radius: 3px 3px 0 0; }
  .help-sidebar > h2, .help-sidebar nav > h2, .help-sidebar nav > p:first-child { margin-bottom: 6px; padding: 0; border: 0; background: none; font-size: 12px; }
  .help-sidebar nav { display: flex; flex-wrap: wrap; gap: 2px 5px; }
  .help-sidebar > nav { position: static; max-height: 200px; padding: 2px; }
  .help-sidebar nav > h2, .help-sidebar nav > p, .help-sidebar nav > details, .help-sidebar nav > ul { width: 100%; }
  .help-sidebar nav > ul { display: flex; flex-wrap: wrap; gap: 2px 5px; }
  .help-sidebar a { padding: 4px 7px; font-size: 12px; }
  .help-sidebar details { margin: 0; }
  .help-sidebar details a { margin-left: 0; }
  .help-main { padding: 22px 18px; }
  .breadcrumbs { margin-bottom: 20px; font-size: 11px; }
  .lead { font-size: 14px; }
  .help-hero { margin-bottom: 20px; }
  .help-grid { gap: 10px; }
  .help-card { padding: 15px; }
  .help-card h2, .help-card h3 { font-size: 15px; }
  .help-card p { font-size: 12px; }
  .help-figure { margin-inline: -3px; }
  .editor-cta { padding: 16px; }
  .help-pagination { gap: 9px; }
  .help-pagination a { padding: 11px; font-size: 12px; }
}
@media (max-width: 420px) {
  .help-toolbar .help-home:nth-of-type(2) { display: none; }
  .help-grid { grid-template-columns: 1fr; }
  .help-main { padding: 20px 15px; }
  .help-card { padding: 18px; }
  .help-card h2, .help-card h3 { font-size: 17px; }
  .help-card p { font-size: 13px; }
  .help-pagination { grid-template-columns: 1fr; }
  .help-pagination > a, .help-pagination .next, .help-pagination > a:not(.prev):not(.next) { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .help-card { transition: none; }
}
@media print {
  :root, body.help-page { background: #fff; color: #111; font-size: 11pt; }
  .help-toolbar, .help-sidebar, .help-search, .help-results-count, .help-pagination, .editor-cta, #help-lightbox { display: none !important; }
  .help-shell { display: block; width: 100%; min-height: 0; margin: 0; border: 0; box-shadow: none; }
  .help-main { padding: 0; }
  .help-figure, .help-card { break-inside: avoid; }
  .help-figure { max-width: 100%; }
  a { color: inherit; }
}
