/* Compact, locally scoped document navigation. */
.bb-document-hub,.bb-document-hub *{box-sizing:border-box}
.bb-document-hub{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;--hub-bg:#f5f1ff;--hub-end:#fcfaff;--hub-text:#1d1d1f;--hub-muted:#65656d;--hub-accent:#6245ce;--hub-blue:#3269bd;--hub-blue-bg:#eaf2ff;--hub-blue-line:#c8daf5;--hub-amber:#96601b;--hub-amber-bg:#fff2df;--hub-amber-line:#efd6b1;--hub-green:#00755e;--hub-green-bg:#e7faf4;--hub-green-line:#c3ebdd;--hub-purple:#6245ce;--hub-purple-bg:#eee9ff;--hub-purple-line:#d9d0ff;display:flex;justify-content:center;width:100%;margin:0;padding:48px 24px 36px;min-height:360px;align-items:center;background:linear-gradient(135deg,var(--hub-route-bg,var(--hub-bg)),var(--hub-end) 52%,var(--hub-tail,var(--hub-green-bg)));color:var(--hub-text)}
.theme-dark .bb-document-hub,.bb-document-hub.theme-dark,[data-theme="dark"] .bb-document-hub,html[data-bb-theme="dark"] .bb-document-hub{--hub-bg:#1b162c;--hub-end:#141418;--hub-text:#f5f5f7;--hub-muted:#b0b0b7;--hub-accent:#baaaff;--hub-blue:#9ac3ff;--hub-blue-bg:#17263d;--hub-blue-line:#344c70;--hub-amber:#ffd08a;--hub-amber-bg:#302317;--hub-amber-line:#65492d;--hub-green:#70dfc2;--hub-green-bg:#0c221c;--hub-green-line:#205042;--hub-purple:#baaaff;--hub-purple-bg:#29223e;--hub-purple-line:#493969}
.bb-document-hub[data-bb-document-hub="verify"]{--hub-route-bg:var(--hub-green-bg);--hub-route-accent:var(--hub-green)}
.bb-document-hub[data-bb-document-hub="invoice"]{--hub-route-bg:var(--hub-blue-bg);--hub-tail:var(--hub-purple-bg);--hub-route-accent:var(--hub-blue)}
.bb-document-hub[data-bb-document-hub="receipt"]{--hub-route-bg:var(--hub-amber-bg);--hub-tail:var(--hub-amber-line);--hub-route-accent:var(--hub-amber)}
.bb-document-hub .bbdh-inner{width:100%;max-width:980px}
.bb-document-hub .bbdh-header{text-align:center;margin:0;background:none;padding:0}
.bb-document-hub .bbdh-header h2.bbdh-title{font-family:"BB Display",system-ui,sans-serif!important;font-weight:600!important;font-size:32px!important;letter-spacing:0.01em!important;line-height:1.1251!important;margin:0 0 7px;color:var(--hub-text)}
.bb-document-hub .bbdh-header p.bbdh-subheading{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;color:var(--hub-muted);margin:0 0 32px!important;padding:0}
.bb-document-hub .bbdh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bb-document-hub .bbdh-card{--card-accent:var(--hub-blue);--card-bg:var(--hub-blue-bg);--card-line:var(--hub-blue-line);position:relative;overflow:hidden;display:flex;align-items:center;gap:14px;min-width:0;min-height:148px;padding:22px;border:1px solid var(--card-line);border-radius:24px;background:linear-gradient(145deg,var(--card-bg),var(--hub-end));color:var(--hub-text);text-decoration:none;transition:transform .2s,border-color .2s}
.bb-document-hub .bbdh-card[data-action="create"]{--card-accent:var(--hub-purple);--card-bg:var(--hub-purple-bg);--card-line:var(--hub-purple-line)}
.bb-document-hub .bbdh-card[data-action="verify"]{--card-accent:var(--hub-green);--card-bg:var(--hub-green-bg);--card-line:var(--hub-green-line)}
.bb-document-hub .bbdh-card::after{content:"";position:absolute;right:-48px;bottom:-65px;width:140px;height:140px;border-radius:50%;background:var(--card-accent);opacity:.06;pointer-events:none}
.bb-document-hub .bbdh-card:hover{border-color:var(--card-accent);transform:translateY(-2px)}
.bb-document-hub a:focus-visible{outline:2px solid var(--hub-route-accent,var(--hub-accent));outline-offset:3px}
.bb-document-hub .bbdh-icon{display:grid;place-items:center;width:80px;height:80px;flex:none;border-radius:50%;background:linear-gradient(145deg,var(--card-accent),color-mix(in srgb,var(--card-accent) 78%,var(--hub-end)));color:var(--hub-end)}
.bb-document-hub .bbdh-icon svg{width:48px;height:48px;stroke-width:1.9}
.bb-document-hub .bbdh-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.bb-document-hub .bbdh-card-title{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;color:var(--hub-text)}
.bb-document-hub .bbdh-description{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;color:var(--hub-muted)}
.bb-document-hub .bbdh-arrow{flex:none;color:var(--card-accent);width:34px;height:34px;padding:8px;border:1px solid var(--card-line);border-radius:50%;background:var(--hub-end)}
.bb-document-hub .bbdh-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:16px}
.bb-document-hub .bbdh-nav a{font-family:"BB Text",system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:-0.016em;line-height:1.428571431;color:var(--hub-route-accent,var(--hub-accent));text-decoration:none}
.bb-document-hub .bbdh-nav a:hover{text-decoration:underline}
@media(max-width:650px){.bb-document-hub{width:100%;margin:0;padding:32px 16px 24px;min-height:0}.bb-document-hub .bbdh-grid{grid-template-columns:1fr}.bb-document-hub .bbdh-card{min-height:112px;padding:14px}}
@media(prefers-reduced-motion:reduce){.bb-document-hub .bbdh-card{transition:none}.bb-document-hub .bbdh-card:hover{transform:none}}

.bb-document-hub[data-bb-document-hub="documents"]{min-height:0;padding:56px 24px 44px;background:var(--hub-end);--hub-parent-radius:24px}
.bb-document-hub[data-bb-document-hub="documents"] .bbdh-parent-header{text-align:center;margin:0;padding:0;background:none}
.bb-document-hub .bbdh-parent-art{display:block;width:144px;height:120px;margin:0 auto 12px}
.bb-document-hub h2.bbdh-parent-title{font-family:"BB Display",system-ui,sans-serif!important;font-weight:600!important;font-size:32px!important;letter-spacing:0.01em!important;line-height:1.1251!important;margin:0 0 10px;color:var(--hub-text)}
.bb-document-hub p.bbdh-parent-subheading{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;margin:0 0 32px!important;padding:0;color:var(--hub-muted)}
.bb-document-hub .bbdh-parent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bb-document-hub .bbdh-parent-panel{--parent-accent:var(--hub-blue);--parent-tint:var(--hub-blue-bg);--parent-line:var(--hub-blue-line);display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--parent-line);border-radius:var(--hub-parent-radius);background:linear-gradient(145deg,var(--parent-tint),var(--hub-end) 75%)}
.bb-document-hub .bbdh-parent-panel[data-kind="receipt"]{--parent-accent:var(--hub-amber);--parent-tint:var(--hub-amber-bg);--parent-line:var(--hub-amber-line)}
.bb-document-hub .bbdh-parent-panel-top{display:flex;align-items:center;gap:14px;margin:0 0 24px}
.bb-document-hub .bbdh-parent-icon{display:grid;place-items:center;flex:none;width:64px;height:64px;border:1px solid var(--parent-line);border-radius:18px;background:var(--hub-end);color:var(--parent-accent)}
.bb-document-hub .bbdh-parent-icon svg{width:36px;height:36px}
.bb-document-hub .bbdh-parent-panel-copy{min-width:0}
.bb-document-hub h3.bbdh-parent-panel-title{font-family:"BB Display",system-ui,sans-serif;font-weight:700;font-size:24px;letter-spacing:0.02em;line-height:1.166667;margin:0 0 4px;color:var(--hub-text)}
.bb-document-hub .bbdh-parent-panel-copy p{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;margin:0;color:var(--hub-muted)}
.bb-document-hub .bbdh-parent-actions{display:grid;gap:8px}
.bb-document-hub a.bbdh-parent-action{display:flex;align-items:center;gap:12px;min-width:0;min-height:76px;padding:12px 14px;border:1px solid var(--parent-line);border-radius:14px;background:var(--hub-end);color:var(--hub-text);text-decoration:none;transition:background-color 320ms cubic-bezier(.4,0,.6,1),border-color 320ms cubic-bezier(.4,0,.6,1)}
.bb-document-hub a.bbdh-parent-action[data-action="verify"]{--parent-action-accent:var(--hub-green);--parent-action-tint:var(--hub-green-bg)}
.bb-document-hub a.bbdh-parent-action[data-action="create"]{--parent-action-accent:var(--hub-purple);--parent-action-tint:var(--hub-purple-bg)}
.bb-document-hub .bbdh-parent-action-icon{flex:none;width:40px;height:40px;padding:10px;border-radius:12px;background:var(--parent-action-tint);color:var(--parent-action-accent)}
.bb-document-hub .bbdh-parent-action-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.bb-document-hub .bbdh-parent-action-title{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:17px;letter-spacing:-0.022em;line-height:1.1764706;color:var(--hub-text)}
.bb-document-hub .bbdh-parent-action-description{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:12px;letter-spacing:-0.01em;line-height:1.3333334;color:var(--hub-muted)}
.bb-document-hub .bbdh-parent-chevron{width:18px;height:18px;flex:none;color:var(--parent-action-accent)}
.bb-document-hub a.bbdh-parent-panel-link{font-family:"BB Text",system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:-0.016em;line-height:1.428571431;align-self:flex-start;margin:18px 0 0;color:var(--parent-accent);text-decoration:none}
.bb-document-hub .bbdh-parent-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin:28px 0 0;padding:0}
.bb-document-hub .bbdh-parent-nav a{font-family:"BB Text",system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:-0.016em;line-height:1.428571431;color:var(--hub-accent);text-decoration:none}
.bb-document-hub p.bbdh-parent-note{font-family:"BB Text",system-ui,sans-serif;font-weight:400;font-size:12px;letter-spacing:-0.01em;line-height:1.3333334;color:var(--hub-muted);text-align:center;margin:12px 0 0}
@media(hover:hover){.bb-document-hub a.bbdh-parent-action:hover{background:var(--parent-tint);border-color:var(--parent-accent)}.bb-document-hub .bbdh-parent-panel-link:hover,.bb-document-hub .bbdh-parent-nav a:hover{text-decoration:underline}}
@media(max-width:650px){.bb-document-hub[data-bb-document-hub="documents"]{padding:32px 16px 28px}.bb-document-hub .bbdh-parent-grid{grid-template-columns:1fr;gap:12px}.bb-document-hub .bbdh-parent-panel{padding:18px}.bb-document-hub .bbdh-parent-panel-top{margin-bottom:18px}.bb-document-hub .bbdh-parent-art{width:120px;height:100px}}
@media(max-width:350px){.bb-document-hub .bbdh-parent-panel{padding:14px}.bb-document-hub a.bbdh-parent-action{padding:10px;gap:8px}.bb-document-hub .bbdh-parent-icon{width:52px;height:52px}.bb-document-hub .bbdh-parent-icon svg{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.bb-document-hub a.bbdh-parent-action{transition:none}}

@media only screen and (max-width:1024px){.bb-document-hub .bbdh-header h2.bbdh-title,.bb-document-hub h2.bbdh-parent-title{font-size:28px!important;letter-spacing:0.016em!important;line-height:1.14285715!important}}
@media only screen and (max-width:767px){.bb-document-hub .bbdh-header h2.bbdh-title,.bb-document-hub h2.bbdh-parent-title{font-size:24px!important;letter-spacing:0.02em!important;line-height:1.166667!important}.bb-document-hub h3.bbdh-parent-panel-title{font-size:21px;letter-spacing:0.024em;line-height:1.14285715}}
