/* RequesTech help and policy pages. This stylesheet does not affect the portal. */
:root {
  color-scheme: light;
  --ink: #171717;
  --ink-soft: #3e3e3e;
  --muted: #6a6a6a;
  --line: #e4e4e4;
  --paper: #fff;
  --page: #f7f7f8;
  --red: #b51f32;
  --red-dark: #94172a;
  --fire: #f16a1b;
  --content: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 15px/1.65 "Poppins", sans-serif; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
button, input { font: inherit; }
button { cursor: pointer; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; padding: 12px clamp(16px, 4vw, 44px); border-bottom: 1px solid var(--line); background: #fff; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 34px; height: 44px; object-fit: contain; }
.brand-title { display: block; font-weight: 750; font-size: 15px; line-height: 1.25; letter-spacing: -.02em; }
.brand-subtitle { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.header-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; font-size: 13px; }
.header-links a { color: var(--ink-soft); text-decoration: none; }
.header-links a:hover { color: var(--red); }
.docs-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.docs-sidebar { position: sticky; top: 0; align-self: start; height: calc(100vh - 0px); overflow-y: auto; padding: 28px 18px 30px 26px; border-right: 1px solid var(--line); background: #fff; }
.search-wrap { position: relative; margin-bottom: 24px; }
.search-wrap input { width: 100%; min-height: 42px; border: 1px solid #d8d8d8; border-radius: 7px; padding: 8px 12px 8px 35px; background: #fafafa; color: var(--ink); outline: none; }
.search-wrap input:focus { border-color: #9c9c9c; box-shadow: 0 0 0 3px #b51f321a; }
.search-wrap .search-icon { position: absolute; left: 12px; top: 10px; color: #777; }
.sidebar-label { margin: 20px 0 8px; color: #555; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.docs-nav { display: grid; gap: 3px; }
.docs-nav a { display: block; padding: 6px 10px; border-radius: 5px; color: #484848; font-size: 12.5px; text-decoration: none; }
.docs-nav a:hover, .docs-nav a.active { background: #f5e8ea; color: var(--red-dark); }
.docs-nav a.hidden { display: none; }
.docs-main { min-width: 0; padding: 48px clamp(20px, 5vw, 68px) 70px; }
.docs-inner { max-width: 920px; margin: 0 auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -.035em; }
h1 { max-width: 800px; margin: 0 0 15px; font-size: clamp(32px, 4vw, 46px); font-weight: 760; }
h2 { margin: 0 0 13px; font-size: 24px; font-weight: 730; }
h3 { margin: 24px 0 7px; font-size: 17px; font-weight: 720; }
p { margin: 0 0 14px; }
.lead { max-width: 720px; color: #505050; font-size: 17px; line-height: 1.7; }
.docs-hero { padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.quick-link { display: block; padding: 16px 17px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .12s, transform .12s; }
.quick-link:hover { transform: translateY(-1px); border-color: #c6a0a5; color: var(--ink); }
.quick-link strong { display: block; margin-bottom: 4px; font-size: 14px; }
.quick-link span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.doc-section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.doc-section:last-child { border-bottom: 0; }
.doc-section[hidden] { display: none; }
.doc-section p, .doc-section li { color: #444; }
.doc-section ul, .doc-section ol { padding-left: 22px; }
.doc-section li { margin: 5px 0; }
.note { margin: 17px 0; padding: 13px 15px; border-left: 3px solid var(--red); border-radius: 4px; background: #f5e9eb; color: #4b2027; font-size: 13.5px; }
.note.neutral { border-left-color: #777; background: #efefef; color: #333; }
.steps { counter-reset: steps; display: grid; gap: 10px; padding: 0 !important; list-style: none; }
.steps li { position: relative; min-height: 42px; padding: 10px 12px 10px 48px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.steps li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 12px; top: 10px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #f5e8ea; color: var(--red-dark); font-size: 12px; font-weight: 800; }
.inline-code { padding: 1px 5px; border: 1px solid #e2e2e2; border-radius: 4px; background: #f3f3f3; font-family: "Poppins", sans-serif; font-size: .91em; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; background: #fff; }
th, td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f3f3f3; font-weight: 750; }
.policy-shell { max-width: 940px; margin: 0 auto; padding: 44px 22px 72px; }
.policy-content { margin-top: 28px; padding: clamp(18px, 4vw, 36px); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.policy-content h2 { margin-top: 32px; font-size: 21px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { margin-top: 20px; font-size: 16px; }
.policy-content ul { padding-left: 22px; }
.policy-content li { margin: 6px 0; color: #444; }
.policy-updated { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.meta-pill { padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #5a5a5a; font-size: 11.5px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px clamp(16px, 4vw, 44px); border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; }
.site-footer a { color: var(--ink-soft); }
.no-results { display: none; padding: 15px; border: 1px dashed #c8c8c8; border-radius: 6px; color: var(--muted); font-size: 13px; }
.no-results.visible { display: block; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; height: auto; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-label { margin-top: 14px; }
  .docs-nav { display: flex; flex-wrap: wrap; }
  .docs-nav a { border: 1px solid #e8e8e8; }
  .docs-main { padding-top: 32px; }
}
@media (max-width: 600px) {
  .site-header { align-items: flex-start; }
  .header-links { gap: 8px 12px; font-size: 12px; }
  .quick-links { grid-template-columns: 1fr; }
  .docs-main { padding: 28px 17px 48px; }
  .policy-shell { padding: 28px 14px 48px; }
  .policy-content { padding: 18px; }
  table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
