/*
 * Help center pages (/faq/). Page frame and type, scoped to .docs. Use with /css/app-ui.css for mockups.
 * Source: tasks/faq/faq.css.
 */
.docs { background: var(--bg); color: #293349; font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.65; }
.docs a { color: var(--teal-dark); text-decoration: none; font-weight: 700; }
.docs a:hover { text-decoration: underline; }

/* Breadcrumbs */
.docs .crumbs { font-size: 13.5px; color: #64748b; margin: 0 0 18px; }
.docs .crumbs a { color: #64748b; font-weight: 600; }
.docs .crumbs span[aria-hidden] { margin: 0 6px; color: #94a3b8; }

.docs .wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.docs .layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 16px 80px; }
@media (min-width: 960px) { .docs .layout { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; } }

.docs .side { display: none; }
@media (min-width: 960px) { .docs .side { display: block; position: sticky; top: 94px; align-self: start; } }
.docs .side-label, .docs .label { color: #94a3b8; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.docs .side ol { list-style: none; margin: 12px 0 0; padding: 0; }
.docs .side ol + .side-label { margin-top: 20px; }
.docs .side li a { display: block; padding: 6px 10px; border-radius: 8px; color: #64748b; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.docs .side li a:hover { background: #edf2f9; text-decoration: none; color: #13233d; }
.docs .side li a[aria-current='page'] { background: #c6efe9; color: #0d7566; }

.docs article { min-width: 0; max-width: 760px; }

.docs .eyebrow { color: #64748b; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; }
.docs h1 { color: #13233d; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(32px, 5vw, 48px); margin: 0 0 16px; text-wrap: balance; }
.docs .lead { color: #64748b; font-size: 18px; font-weight: 500; line-height: 1.55; margin: 0 0 32px; }
.docs h2 { color: #13233d; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(22px, 2.6vw, 26px); margin: 48px 0 12px; }
.docs h3 { color: #13233d; font-weight: 800; font-size: 17px; margin: 28px 0 8px; }
.docs p { margin: 0 0 16px; }
.docs ul, .docs ol { padding-left: 22px; margin: 0 0 16px; }
.docs li { margin-bottom: 6px; }
.docs strong { color: #13233d; font-weight: 700; }
.docs .ui-label {
  padding: 0 6px; border-radius: 6px; background: #edf2f9; color: #13233d; font-weight: 700; font-size: 0.92em;
  overflow-wrap: anywhere;
}

.docs .callout { border: 1px solid #d3e3fe; background: #eef1ff; border-radius: 14px; padding: 16px 18px; margin: 24px 0; }
.docs .callout p:last-child { margin-bottom: 0; }
.docs .callout-title { color: #13233d; font-weight: 800; margin: 0 0 4px; }
.docs .callout.tip { background: #c6efe9; border-color: transparent; }
.docs .callout.warn { background: #fef3c7; border-color: transparent; }
.docs .callout.warn .callout-title, .docs .callout.warn p { color: #92400e; }
.docs .callout.help { margin-top: 48px; }

.docs table.facts { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.docs table.facts th, .docs table.facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e7ef; vertical-align: top; }
.docs table.facts th { color: #94a3b8; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; }
.docs table.facts td:first-child { color: #13233d; font-weight: 700; }
.docs .table-scroll { overflow-x: auto; }

.docs .related { margin-top: 56px; padding-top: 24px; border-top: 1px solid #e2e7ef; }
.docs .related ul { list-style: none; padding: 0; display: grid; gap: 8px; }

.docs .foot { border-top: 1px solid #e2e7ef; padding: 24px 0 40px; color: #94a3b8; font-size: 13px; }

/* ---------- Index ---------- */

.docs .hero { padding: 56px 0 24px; }
.docs .grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .docs .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .docs .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.docs .group { margin: 40px 0 0; }
.docs .group h2 { margin: 0 0 14px; }
.docs .card-link {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid #e2e7ef; border-radius: 14px; padding: 18px 18px 16px;
  color: #293349; font-weight: 500; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.docs .card-link:hover { text-decoration: none; border-color: #d3e3fe; box-shadow: 0 1px 2px rgba(19, 35, 61, 0.04), 0 8px 24px rgba(19, 35, 61, 0.06); }
.docs .card-num { color: #94a3b8; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.docs .card-title { color: #13233d; font-weight: 800; font-size: 17px; line-height: 1.3; }
.docs .card-text { color: #64748b; font-size: 14px; line-height: 1.5; }
