/* Help Center (Admin → Help & documentation): flat, readable documentation layout */
.hc-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.hc-side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; }
.hc-search { display: flex; align-items: center; gap: 6px; border: 1px solid #d1d5db; border-radius: 8px; padding: 0 8px; margin-bottom: 10px; color: #6b7280; }
.hc-search .input { border: 0; padding: 8px 0; box-shadow: none; min-width: 0; }
.hc-cat { border-top: 1px solid #f1f5f9; padding: 4px 0; }
.hc-cat summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 13.5px; color: #0b1220; padding: 7px 4px; list-style: none; }
.hc-cat summary::-webkit-details-marker { display: none; }
.hc-count { margin-left: auto; font-size: 11px; font-weight: 700; color: #6b7280; background: #f1f5f9; border-radius: 10px; padding: 1px 7px; }
.hc-cat a { display: block; font-size: 13.5px; color: #374151; padding: 6px 8px 6px 28px; border-radius: 6px; text-decoration: none; line-height: 1.35; }
.hc-cat a:hover { background: #f1f5f9; color: #0b1220; }
.hc-cat a.active { background: #0a66ff; color: #fff; font-weight: 600; }

.hc-start h2, .hc-card h2 { font-size: 17px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.hc-quick { margin: 8px 0 10px 20px; padding: 0; columns: 2; column-gap: 32px; }
.hc-quick li { margin: 4px 0; break-inside: avoid; }
.hc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 14px; }
.hc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 18px; }
.hc-card ul { margin: 8px 0 0; padding: 0; list-style: none; }
.hc-card li { padding: 5px 0; border-top: 1px solid #f1f5f9; font-size: 14px; }
.hc-card li:first-child { border-top: 0; }
.hc-ico { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: #e8f0fe; color: #0a66ff; }
.hc-result { display: grid; gap: 2px; padding: 12px 16px; border-top: 1px solid #f1f5f9; color: inherit; text-decoration: none; }
.hc-result:hover { background: #f8fafc; }
.hc-result b { color: #0a66ff; }

.hc-crumbs { color: #6b7280; margin-bottom: 8px; }
.hc-main .hc-crumbs a { color: #0a5be0; text-decoration: underline !important; text-underline-offset: 2px; }
.hc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: start; }
.hc-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.hc-toc { position: sticky; top: 12px; display: grid; gap: 2px; font-size: 13px; border-left: 2px solid #e5e7eb; padding-left: 12px; }
.hc-toc b { margin-bottom: 6px; letter-spacing: .06em; }
.hc-toc a { color: #374151; padding: 3px 0; text-decoration: none; line-height: 1.35; }
.hc-toc a:hover { color: #0a66ff; }

.hc-article { padding: 26px 32px; font-size: 15.5px; line-height: 1.7; color: #1f2937; max-width: 980px; }
.hc-article h1 { font-size: 26px; }
.hc-article h2 { font-size: 21px; margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid #eef2f7; color: #0b1220; scroll-margin-top: 16px; }
.hc-article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.hc-article h3 { font-size: 17px; margin: 24px 0 8px; color: #0b1220; scroll-margin-top: 16px; }
.hc-article p { margin: 0 0 12px; }
.hc-article ul, .hc-article ol { margin: 0 0 14px; padding-left: 24px; }
.hc-article li { margin: 4px 0; }
.hc-article li > ul, .hc-article li > ol { margin: 4px 0; }
.hc-article a { color: #0b57d0; text-decoration: underline; text-underline-offset: 2px; }
.hc-article code { font-size: 13.5px; background: #f1f5f9; border: 1px solid #e5e7eb; border-radius: 5px; padding: 1px 6px; word-break: break-word; }
.hc-article pre { background: #0b1220; color: #e5e7eb; border-radius: 8px; padding: 14px 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; margin: 0 0 14px; }
.hc-article pre code { background: none; border: 0; padding: 0; color: inherit; }
.hc-article hr { border: 0; border-top: 1px solid #e5e7eb; margin: 24px 0; }
/* numbered steps: an ordered list reads as a step list with round numbers */
.hc-article > ol { list-style: none; counter-reset: hc; padding-left: 0; }
.hc-article > ol > li { counter-increment: hc; position: relative; padding-left: 40px; margin: 10px 0; }
.hc-article > ol > li::before { content: counter(hc); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: #0a66ff; color: #fff; font-weight: 700; font-size: 13px; line-height: 26px; text-align: center; }
.hc-table { overflow-x: auto; margin: 0 0 16px; border: 1px solid #e5e7eb; border-radius: 8px; }
.hc-article table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hc-article th { background: #f8fafc; text-align: left; font-weight: 700; color: #0b1220; }
.hc-article th, .hc-article td { padding: 9px 12px; border-top: 1px solid #eef2f7; vertical-align: top; }
.hc-article thead th { border-top: 0; }
.hc-fig { margin: 14px 0 20px; }
.hc-fig img { display: block; max-width: 100%; height: auto; border: 1px solid #d1d5db; border-radius: 8px; }
.hc-fig figcaption { font-size: 13px; color: #6b7280; margin-top: 6px; }
.hc-article blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid #94a3b8; background: #f8fafc; border-radius: 0 8px 8px 0; }
.hc-article blockquote p:last-child { margin-bottom: 0; }
.hc-article blockquote.hc-tip { border-left-color: #16a34a; background: #f0fdf4; }
.hc-article blockquote.hc-note { border-left-color: #0a66ff; background: #eff6ff; }
.hc-article blockquote.hc-important { border-left-color: #d97706; background: #fffbeb; }
.hc-article blockquote.hc-warning { border-left-color: #dc2626; background: #fef2f2; }
.hc-pager { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 8px; }
.hc-pager a { display: grid; gap: 2px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 14px; text-decoration: none; color: #0b1220; max-width: 48%; }
.hc-pager a:hover { border-color: #0a66ff; }
.hc-pager .hc-next { text-align: right; margin-left: auto; }

@media (max-width: 1180px) { .hc-grid { grid-template-columns: minmax(0, 1fr); } .hc-toc { display: none; } }
@media (max-width: 900px) {
  .hc-wrap { grid-template-columns: minmax(0, 1fr); }
  .hc-side { position: static; max-height: none; }
  .hc-side .hc-cat:not([open]) { }
  .hc-article { padding: 18px 16px; font-size: 15px; }
  .hc-quick { columns: 1; }
}
@media (max-width: 640px) { .hc-top { display: none; } }
@media print {
  .sidebar, .app-top, .hc-side, .hc-toc, .hc-pager, .page-head .row, .hc-crumbs, .sa-wrap, .pwa-bar, .hub-tabs { display: none !important; }
  .app, .app-main, .app-content, .hc-wrap, .hc-grid { display: block !important; padding: 0 !important; margin: 0 !important; }
  .hc-article { border: 0 !important; padding: 0 !important; max-width: none; font-size: 12pt; }
  .hc-article h2 { break-after: avoid; }
  .hc-fig, .hc-table, .hc-article pre { break-inside: avoid; }
}
/* "Who does this" box above an article: from the live role matrix */
.hc-col { min-width: 0; }
.hc-who { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-end; background: #fff; border: 1px solid #e5e7eb; border-left: 4px solid #0a66ff; border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.hc-who div { display: grid; gap: 2px; }
.hc-who span { letter-spacing: .06em; }
.hc-who b { font-size: 14px; color: #0b1220; }
.hc-who b.hc-yes { color: #15803d; }
.hc-who b.hc-view { color: #b45309; }
.hc-who a { margin-left: auto; }
@media print { .hc-who { border: 1px solid #ccc; } }
.hc-count { color: #4b5563; }
