/* Guide hub and article styles. Scoped to the invoice knowledge experience. */
.guide-page{background:#fff;color:var(--ink)}.guide-head{padding:25px 0 28px;background:radial-gradient(ellipse at 80% 18%,#dcecff 0,transparent 40%),linear-gradient(180deg,#f7fbff,#eef6ff 72%,#fff);border-bottom:1px solid #edf1f6}.guide-head-inner,.guide-layout,.guide-related-wrap,.guide-hub-intro{width:min(1120px,calc(100% - 40px));margin-inline:auto}.guide-crumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#667085;font-size:12px;margin:0 0 15px}.guide-crumbs a{color:var(--blue);text-decoration:none}.guide-crumbs a:hover{text-decoration:underline}.guide-head .eyebrow{display:inline-flex;margin-bottom:5px}.guide-head h1{font-size:clamp(34px,4vw,48px);line-height:1.08;letter-spacing:-1.8px;margin:8px 0 10px;color:var(--ink)}.guide-head .lead{max-width:800px;margin:0;color:var(--ink);font-size:17px;line-height:1.6}.guide-meta{display:flex;gap:8px;flex-wrap:wrap;color:#667085;font-size:12px;margin-top:14px}.guide-meta span+span:before{content:"·";margin-right:8px;color:#98a2b3}.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:36px;align-items:start;padding:30px 0 38px}.guide-article{min-width:0;max-width:790px}.guide-prose{font-size:16px;line-height:1.76;color:var(--ink)}.guide-prose>p:first-child{margin-top:0}.guide-prose p,.guide-prose li,.guide-prose dd{color:#475467}.guide-prose p{margin:12px 0}.guide-prose h2{font-size:25px;line-height:1.25;letter-spacing:-.5px;color:var(--ink);margin:32px 0 10px}.guide-prose h3{font-size:18px;line-height:1.35;color:var(--ink);margin:24px 0 8px}.guide-prose ul,.guide-prose ol{padding-left:24px}.guide-prose li{margin:6px 0}.guide-prose a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.guide-prose a:hover{color:#1049c7}.guide-summary{border:1px solid #cfe0fb;border-left:4px solid var(--blue);border-radius:10px;background:#f4f8ff;padding:16px 18px;margin:0 0 22px}.guide-summary strong{display:block;color:#163b70;font-size:14px;margin-bottom:4px}.guide-summary p{margin:0!important;color:var(--ink)!important;font-size:15px;line-height:1.62!important}.guide-rail{position:sticky;top:84px;display:grid;gap:13px}.guide-action-card,.guide-rail-card{border:1px solid #e1e9f1;border-radius:13px;background:#fff;padding:17px;box-shadow:0 5px 18px rgba(30,80,130,.04)}.guide-action-card h2,.guide-rail-card h2{font-size:15px;letter-spacing:-.2px;margin:0 0 7px}.guide-action-card p,.guide-rail-card p{font-size:12px;line-height:1.55;color:#586b83;margin:0 0 12px}.guide-actions{display:grid;gap:8px}.guide-action{display:flex;justify-content:center;align-items:center;text-align:center;min-height:40px;border-radius:8px;background:var(--blue);color:#fff;text-decoration:none;font-size:12px;font-weight:800;padding:9px 12px}.guide-action:hover{background:#1049c7}.guide-action.secondary{background:#edf5ff;color:var(--blue);border:1px solid #d4e5ff}.guide-action.secondary:hover{background:#e4efff}.guide-rail-links{display:grid;gap:0}.guide-rail-links a{padding:9px 0;border-top:1px solid #eef1f5;text-decoration:none;color:var(--ink);font-size:12px;line-height:1.4}.guide-rail-links a:hover{color:var(--blue)}.guide-related{padding:25px 0 45px;background:#f8fbff;border-top:1px solid #edf2f8}.guide-related h2{font-size:21px;letter-spacing:-.4px;margin:0 0 13px}.guide-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.guide-resource-card{min-height:98px;padding:13px 14px;border:1px solid #dfe8f2;border-radius:11px;background:#fff;text-decoration:none;display:flex;flex-direction:column;justify-content:space-between;gap:9px;transition:border-color .15s,transform .15s,box-shadow .15s}.guide-resource-card:hover{border-color:#adc8ff;box-shadow:0 7px 18px rgba(21,94,239,.09);transform:translateY(-1px)}.guide-resource-card small{color:#667085;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.guide-resource-card strong{font-size:13px;color:var(--blue);line-height:1.35}.guide-sources{border-top:1px solid #e5eaf0;margin-top:28px;padding-top:17px}.guide-sources h2{font-size:18px;margin:0 0 6px}.guide-sources p{font-size:12px;line-height:1.55;color:#667085}.guide-sources ul{padding-left:19px}.guide-sources li{font-size:13px;line-height:1.5;margin:6px 0;color:#475467}.guide-sources a{overflow-wrap:anywhere}.guide-faq{border-top:1px solid #e5eaf0;margin-top:26px;padding-top:4px}.guide-faq h2{font-size:21px}.guide-faq details{border:1px solid #e0e7f0;border-radius:9px;background:#fff;margin:9px 0;padding:12px 15px}.guide-faq summary{cursor:pointer;font-size:14px;font-weight:750;color:#25324b}.guide-faq details p{margin:9px 0 0;font-size:14px;line-height:1.65;color:#52647d}.guide-note{background:#f7f9fc;border:1px solid #e5eaf0;border-radius:9px;padding:12px 14px;margin-top:22px;color:#667085;font-size:12px;line-height:1.55}.lifecycle{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:16px;margin:18px 0;background:#f4f8ff;border:1px solid #dce9fb;border-radius:12px}.lifecycle span{background:#fff;border:1px solid #dfe8f2;border-radius:8px;padding:9px 11px;color:#17437d;font-size:12px;font-weight:800;text-align:center}.lifecycle b{color:var(--blue);font-size:17px}.comparison-table{border-collapse:collapse;width:100%;min-width:650px;background:#fff;border:1px solid #dfe6ee;border-radius:10px;overflow:hidden;font-size:13px;line-height:1.5}.comparison-table caption{text-align:left;font-weight:750;font-size:14px;color:var(--ink);padding:0 0 8px}.comparison-table th,.comparison-table td{border:1px solid #e3e9f0;padding:10px 11px;text-align:left;vertical-align:top}.comparison-table thead th{background:#eef5ff;color:#183b72;font-weight:800}.comparison-table tbody th{background:#f8fafc;color:var(--ink);font-weight:750;min-width:125px}.table-scroll{overflow-x:auto;max-width:100%;margin:16px 0}.direction-diagram{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.direction-diagram>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:15px;border:1px solid #dfe8f2;background:#f8fbff;border-radius:10px}.direction-diagram b{grid-column:1/-1;font-size:13px;color:#183b72}.direction-diagram span{padding:8px;background:#fff;border:1px solid #e1e8f0;border-radius:6px;text-align:center;font-size:12px;font-weight:750}.direction-diagram i{font-size:20px;color:var(--blue);font-style:normal}.invoice-anatomy{padding:17px;border:1px solid #dfe8f2;background:#fbfdff;border-radius:12px;margin:18px 0}.invoice-anatomy figcaption{font-size:13px;font-weight:800;color:var(--ink);margin-bottom:12px}.anatomy-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.anatomy-grid div{display:grid;align-content:start;gap:5px;padding:11px;border-radius:8px;background:#f1f6ff;border:1px solid #e1ebfa;min-height:82px}.anatomy-grid b{font-size:12px;color:#17437d}.anatomy-grid span{font-size:11px;line-height:1.4;color:#52647d}.status-list{display:grid;grid-template-columns:115px 1fr;gap:0 12px}.status-list dt,.status-list dd{padding:10px 0;margin:0;border-bottom:1px solid #e9edf2}.status-list dt{font-weight:800;color:#17437d}.email-example{background:#f8fafc;border:1px solid #e3e9f0;border-radius:10px;padding:14px 16px;margin:16px 0}.email-example p{margin:7px 0;font-size:14px}.guide-hub{padding:34px 0 52px}.guide-hub-intro{max-width:1120px}.guide-hub-intro h1{font-size:clamp(36px,4vw,48px);letter-spacing:-1.8px;line-height:1.08;margin:0 0 11px;color:var(--ink)}.guide-hub-intro>p{font-size:17px;line-height:1.6;color:#475467;max-width:850px;margin:0}.guide-hub-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.guide-hub-actions a{font-size:11.5px;font-weight:800;text-decoration:none;border-radius:7px;padding:0 14px;height:32px;display:inline-flex;align-items:center;background:var(--blue);color:#fff;box-shadow:0 5px 12px rgba(8,104,255,.22)}.guide-hub-actions a.secondary{background:var(--softBlue);color:var(--blue);box-shadow:none;border:1px solid #d5e7ff}.guide-categories{width:min(1120px,calc(100% - 40px));margin:26px auto 0;display:grid;gap:27px}.guide-category{border-top:1px solid #e6ecf3;padding-top:20px}.guide-category header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}.guide-category h2{font-size:21px;letter-spacing:-.35px;margin:0;color:var(--ink)}.guide-category header p{font-size:12px;color:#667085;margin:0}.guide-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.guide-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:15px 16px;min-height:120px;border:1px solid #e1e9f1;border-radius:11px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}.guide-card:hover{border-color:#adc8ff;box-shadow:0 7px 20px rgba(21,94,239,.08);transform:translateY(-1px)}.guide-card small{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#667085;font-weight:750}.guide-card strong{font-size:15px;line-height:1.35;color:var(--blue)}.guide-card p{font-size:12px;line-height:1.5;color:#586b83;margin:0}.guide-hub-footer{width:min(1120px,calc(100% - 40px));margin:27px auto 0;padding:17px 18px;background:#f4f8ff;border:1px solid #dfebfb;border-radius:12px;color:#475467;font-size:13px;line-height:1.6}.guide-hub-footer a{color:var(--blue);font-weight:750}
/* Dark theme — class is body.dark-theme (shared with the rest of the site). */
body.dark-theme .guide-page,
body.dark-theme .guide-hub{
  background:#050816;
  color:#e8eefc;
}
body.dark-theme .guide-head{
  background:
    radial-gradient(900px 420px at 12% -10%,rgba(59,130,255,.16),transparent 60%),
    linear-gradient(180deg,#0a1224 0%,#050816 78%);
  border-color:#1c2a44;
}
body.dark-theme .guide-crumbs{color:#8b97b0}
body.dark-theme .guide-crumbs a{color:#6aa4ff}
body.dark-theme .guide-head .eyebrow,
body.dark-theme .guide-hub-intro .eyebrow{
  background:rgba(59,130,255,.16);
  color:#9ec2ff;
  border:1px solid rgba(91,157,255,.28);
}
body.dark-theme .guide-head h1,
body.dark-theme .guide-hub-intro h1,
body.dark-theme h1 .blue{color:#6aa4ff}
body.dark-theme .guide-prose h2,
body.dark-theme .guide-prose h3,
body.dark-theme .guide-category h2,
body.dark-theme .guide-related h2,
body.dark-theme .guide-action-card h2,
body.dark-theme .guide-rail-card h2,
body.dark-theme .guide-faq h2,
body.dark-theme .guide-sources h2{color:#f5f8ff}
body.dark-theme .guide-head .lead,
body.dark-theme .guide-hub-intro>p,
body.dark-theme .guide-prose,
body.dark-theme .guide-prose p,
body.dark-theme .guide-prose li,
body.dark-theme .guide-prose dd,
body.dark-theme .guide-category header p,
body.dark-theme .guide-card p,
body.dark-theme .guide-card small,
body.dark-theme .guide-meta,
body.dark-theme .guide-action-card p,
body.dark-theme .guide-rail-card p{color:#a7b4cc}
body.dark-theme .guide-hub-actions a{
  background:linear-gradient(180deg,#4b8fff,#2563eb);
  color:#fff;
}
body.dark-theme .guide-hub-actions a.secondary,
body.dark-theme .guide-action.secondary{
  background:#0a1220;
  color:#9ec2ff;
  border:1px solid #3b6fbf;
}
body.dark-theme .guide-hub-actions a.secondary:hover,
body.dark-theme .guide-action.secondary:hover{
  background:#122038;
  color:#fff;
}
body.dark-theme .guide-category{border-top-color:#1c2a44}
body.dark-theme .guide-summary,
body.dark-theme .lifecycle,
body.dark-theme .invoice-anatomy,
body.dark-theme .guide-hub-footer{
  background:#101a2e;
  border-color:#1c2a44;
  color:#a7b4cc;
}
body.dark-theme .guide-summary strong,
body.dark-theme .anatomy-grid b,
body.dark-theme .direction-diagram b,
body.dark-theme .lifecycle span{color:#9ec2ff}
body.dark-theme .guide-summary p,
body.dark-theme .guide-sources p,
body.dark-theme .guide-sources li,
body.dark-theme .guide-faq details p{color:#a7b4cc!important}
body.dark-theme .guide-action-card,
body.dark-theme .guide-rail-card,
body.dark-theme .guide-resource-card,
body.dark-theme .guide-card,
body.dark-theme .comparison-table,
body.dark-theme .guide-faq details{
  background:#101a2e;
  border-color:#1c2a44;
  color:#e8eefc;
}
body.dark-theme .guide-card:hover,
body.dark-theme .guide-resource-card:hover{
  border-color:#3b6fbf;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}
body.dark-theme .guide-card strong,
body.dark-theme .guide-resource-card strong{color:#6aa4ff}
body.dark-theme .guide-related{
  background:#070d1a;
  border-color:#1c2a44;
}
body.dark-theme .guide-rail-links a,
body.dark-theme .guide-faq summary{color:#dce7f5}
body.dark-theme .guide-rail-links a{border-top-color:#1c2a44}
body.dark-theme .guide-rail-links a:hover{color:#9ec2ff}
body.dark-theme .comparison-table thead th,
body.dark-theme .comparison-table tbody th{background:#17233c;color:#e8eefc}
body.dark-theme .comparison-table th,
body.dark-theme .comparison-table td{border-color:#243553}
body.dark-theme .direction-diagram>div,
body.dark-theme .direction-diagram span,
body.dark-theme .anatomy-grid div,
body.dark-theme .email-example,
body.dark-theme .lifecycle span{
  background:#0a1220;
  border-color:#243553;
  color:#e8eefc;
}
body.dark-theme .guide-note{
  background:#0a1220;
  border-color:#243553;
  color:#8b97b0;
}
body.dark-theme .guide-hub-footer a,
body.dark-theme .guide-prose a,
body.dark-theme .guide-sources a{color:#6aa4ff}
body.dark-theme .status-list dt{color:#9ec2ff}
body.dark-theme .status-list dt,
body.dark-theme .status-list dd{border-bottom-color:#1c2a44;color:#a7b4cc}
@media(max-width:850px){.guide-layout{grid-template-columns:1fr;gap:20px}.guide-rail{position:static;grid-template-columns:1fr 1fr}.guide-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.anatomy-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.guide-head-inner,.guide-layout,.guide-related-wrap,.guide-hub-intro,.guide-categories,.guide-hub-footer{width:min(100% - 28px,570px)}.guide-head{padding:21px 0 24px}.guide-head .lead,.guide-hub-intro>p{font-size:15px}.guide-head h1,.guide-hub-intro h1{font-size:35px;letter-spacing:-1.3px}.guide-layout{padding:23px 0 29px}.guide-prose{font-size:15px}.guide-prose h2{font-size:22px;margin-top:27px}.guide-rail{grid-template-columns:1fr}.guide-related-grid,.guide-category-grid{grid-template-columns:1fr}.guide-resource-card{min-height:78px}.guide-category header{display:block}.guide-category header p{margin-top:4px}.guide-categories{gap:22px}.guide-hub{padding-top:27px}.lifecycle{gap:6px;padding:11px}.lifecycle span{font-size:11px;padding:7px 8px}.lifecycle b{font-size:14px}.direction-diagram{grid-template-columns:1fr}.anatomy-grid{grid-template-columns:1fr 1fr}.status-list{grid-template-columns:95px 1fr}.comparison-table{min-width:570px}.guide-meta{font-size:11px}.guide-meta span+span:before{margin-right:6px}}
@media(prefers-reduced-motion:reduce){.guide-resource-card,.guide-card{transition:none}}
