body.cp3-api { --api-navy:#334155; --api-teal:#64748b; --api-ink:#1f2937; --api-muted:#64748b; --api-border:#e2e8f0; --api-accent:#475569; --api-accent-soft:#f1f5f9; --api-accent-border:#cbd5e1; --api-hero-end:#1e293b; --api-hero-detail:#cbd5e1; --api-button-hover:#475569; margin:0; padding:0; min-height:100vh; display:flex; flex-direction:column; background:#f6f8fa; color:var(--api-ink); font-family:"Segoe UI",Arial,sans-serif; font-size:14px; line-height:1.55; }
.cp3-api *, .cp3-api *::before, .cp3-api *::after { box-sizing:border-box; }
.cp3-api a { color:var(--api-navy); }
.cp3-api a:focus-visible, .cp3-api button:focus-visible, .cp3-api summary:focus-visible, .cp3-api input:focus-visible { outline:3px solid var(--api-teal); outline-offset:4px; }
.api-skip-link { position:fixed; left:20px; top:-80px; z-index:1000; padding:12px 18px; background:white; border:2px solid var(--api-teal); border-radius:8px; }
.api-skip-link:focus { top:12px; }
.api-header { background:#fff; border-bottom:1px solid var(--api-border); }
.api-header-inner { position:relative; }
.api-header-inner { max-width:1320px; margin:auto; min-height:86px; padding:18px 40px; display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.api-brand { display:inline-flex; align-items:center; gap:20px; text-decoration:none!important; flex:none; }
.api-brand img { display:block; width:144px; height:auto; }
.api-brand-divider { width:1px; height:26px; background:var(--api-border); }
.api-brand-product { font-size:15px; font-weight:500; white-space:nowrap; }
.api-brand-product strong { font-weight:700; }
.api-nav { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-left:auto; }
.api-nav-link, .api-menu summary { display:block; padding:9px 13px; border-radius:8px; font-weight:600; color:var(--api-muted); text-decoration:none!important; cursor:pointer; }
.api-nav-link.is-active, .api-nav-link:hover, .api-menu summary:hover, .api-menu[open] summary { background:var(--api-accent-soft); color:var(--api-accent); }
.api-menu { position:relative; }
.api-menu summary { list-style:none; }
.api-menu summary::-webkit-details-marker { display:none; }
.api-menu summary::after { content:""; display:inline-block; width:6px; height:6px; margin:0 0 3px 10px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
.api-menu-items { position:absolute; top:calc(100% + 8px); left:0; z-index:100; min-width:230px; max-width:calc(100vw - 40px); max-height:360px; overflow:auto; padding:8px; border:1px solid var(--api-border); border-radius:12px; background:white; box-shadow:0 12px 36px #1a33601a; }
.api-menu-items a { display:block; padding:9px 12px; border-radius:6px; text-decoration:none; overflow-wrap:anywhere; }
.api-menu-items a:hover { background:#f0f5f8; }
.api-menu-items button { display:block; width:100%; padding:9px 12px; border:0; border-radius:6px; background:transparent; color:var(--api-navy); text-align:left; font:inherit; cursor:pointer; }
.api-menu-items button:hover { background:#f0f5f8; }
.api-account-menu { margin-left:auto; }
.api-header-inner>.api-nav { order:3; flex-basis:100%; margin-left:0; border-top:1px solid var(--api-border); padding-top:12px; }
.api-account-menu .api-menu-items { right:0; left:auto; }
.api-session-badge { display:inline-flex; align-items:center; gap:8px; border:1px solid var(--api-border); border-radius:24px; padding:6px 12px; color:var(--api-muted); font-size:12px; white-space:nowrap; }
.api-session-badge>span { width:6px; height:6px; border-radius:50%; background:#8794a5; }
.api-session-badge.is-connected { border-color:#cce7df; color:#216b55; background:#f0f9f5; }
.api-session-badge.is-connected>span { background:#2d9474; }
.api-content { flex:1; width:100%; max-width:1240px; margin:0 auto; padding:40px 40px 52px; min-width:0; }
.api-content:not(.api-content-home) { max-width:none; overflow-x:auto; }
.portal-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:30px; }
.api-eyebrow { margin:0 0 7px; color:var(--api-accent); font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:1.8px; }
.portal-heading h1 { margin:0 0 7px; color:var(--api-navy); font-size:34px; font-weight:650; letter-spacing:-.8px; line-height:1.2; }
.api-subtitle { margin:0; color:var(--api-muted); font-size:15px; }
.api-environment-badge { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border:1px solid var(--api-border); border-radius:7px; color:#627286; background:white; font-size:12px; white-space:nowrap; }
.api-environment-badge>span { color:var(--api-accent); font-weight:700; }
.portal-hero { display:grid; grid-template-columns:minmax(0,1.48fr) minmax(290px,1fr); border:1px solid var(--api-border); border-radius:20px; background:white; overflow:hidden; box-shadow:0 8px 28px #20385306; }
.portal-story { position:relative; isolation:isolate; padding:40px 44px; color:white; background:linear-gradient(120deg,var(--api-navy) 30%,var(--api-hero-end)); }
.portal-kicker { display:inline-block; color:var(--api-hero-detail); font-size:10px; letter-spacing:2px; font-weight:700; text-transform:uppercase; margin-bottom:23px; }
.portal-story h2 { font-size:39px; font-weight:600; letter-spacing:-1.1px; line-height:1.18; margin:0 0 18px; color:white; }
.portal-story>p { max-width:355px; margin:0 0 38px; color:#d4e3ec; font-size:14px; line-height:1.7; }
.portal-signature { display:flex; align-items:center; gap:10px; font-size:11px; color:#c3d9df; }
.portal-signature img { object-fit:contain; }
.portal-access { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:34px 36px; }
.api-feature-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:43px; height:43px; border-radius:12px; color:var(--api-accent); background:var(--api-accent-soft); }
.api-feature-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.portal-access>.api-feature-icon { margin-bottom:20px; }
.portal-access h2 { font-size:23px; font-weight:650; color:var(--api-navy); letter-spacing:-.5px; margin:0 0 12px; }
.portal-access>p { color:var(--api-muted); line-height:1.65; margin:0 0 23px; font-size:14px; }
.api-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:11px 21px; font-size:14px; font-weight:600; border:1px solid transparent; border-radius:8px; text-decoration:none!important; cursor:pointer; transition:background .15s; }
.cp3-api .api-button-primary { color:white; background:var(--api-navy); }
.cp3-api .api-button-primary:hover { background:var(--api-button-hover); color:white; }
.portal-access .api-button { width:100%; justify-content:space-between; }
.api-access-note { color:#758291; text-align:center; width:100%; font-size:11px; margin-top:12px; }
.api-access-label { color:#267361; font-size:11px; font-weight:600; margin-bottom:7px; }
.portal-access>.api-error, .api-error { color:#a13e37; }
.portal-resources { margin-top:32px; }
.portal-section-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:15px; }
.portal-section-heading h2 { font-size:17px; color:var(--api-navy); margin:0; font-weight:650; }
.portal-section-heading>span { font-size:12px; color:#7c8896; }
.portal-resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.portal-resource-card { display:flex; align-items:flex-start; gap:18px; padding:25px; border:1px solid var(--api-border); border-radius:13px; background:white; text-decoration:none!important; min-width:0; }
a.portal-resource-card { transition:border-color .15s,box-shadow .15s; }
a.portal-resource-card:hover { border-color:var(--api-accent-border); box-shadow:0 4px 18px #20385308; }
.portal-resource-card h3 { margin:0 0 6px; color:var(--api-navy); font-size:16px; font-weight:650; }
.portal-resource-card p { color:var(--api-muted); font-size:13px; margin:0 0 13px; line-height:1.6; }
.api-text-link { display:inline-flex; align-items:center; gap:12px; color:var(--api-accent); font-size:12px; font-weight:650; }
.api-card-caption { font-size:11px; color:#758291; }
.portal-workspace-details { display:flex; align-items:center; gap:42px; margin-top:25px; padding:19px 24px; border:1px solid var(--api-border); border-radius:10px; background:#f0f4f7; }
.portal-workspace-details>div { display:flex; gap:12px; align-items:center; }
.portal-workspace-details span { color:#778492; font-size:11px; }
.portal-workspace-details strong { font-size:11px; font-weight:600; color:#495e76; }
.api-footer { border-top:1px solid var(--api-border); background:#fff; }
.api-footer-inner { max-width:1240px; margin:auto; padding:20px 40px; display:flex; justify-content:space-between; align-items:center; gap:20px; color:#7c8996; font-size:11px; }
.api-footer-dot { padding:0 7px; }
.api-build { text-align:right; }
.api-build summary { cursor:pointer; }
.api-build>span { display:block; padding-top:8px; }
.api-content>.jumbotron { background:white; border:1px solid var(--api-border); border-radius:14px; padding:32px; }
.api-content .table { background:white; color:var(--api-ink); }
.api-content .table th { background:#edf2f7; color:var(--api-navy); border-color:var(--api-border); }
.api-message-card { max-width:560px; margin:48px auto; padding:40px; background:white; border:1px solid var(--api-border); border-radius:18px; box-shadow:0 8px 30px #20385306; }
.api-message-card h1 { font-size:28px; font-weight:650; color:var(--api-navy); margin:20px 0 12px; letter-spacing:-.5px; }
.api-message-card p { color:var(--api-muted); margin-bottom:24px; }
.api-message-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
.api-login-form { display:flex; flex-direction:column; gap:8px; }
.api-login-form label { font-weight:600; margin:10px 0 0; }
.api-login-form input { width:100%; min-height:44px; border:1px solid #c9d5df; border-radius:7px; padding:10px 12px; background:white; color:var(--api-ink); }
.api-login-form button { margin-top:16px; }
@media(max-width:1000px) { .api-header-inner { padding:18px 24px; gap:18px; } .api-brand { gap:12px; } .api-content { padding:30px 24px 40px; } .portal-story { padding:34px 30px; } .portal-story h2 { font-size:34px; } .portal-access { padding:30px; } .api-session-badge { margin-left:auto; } .portal-workspace-details { gap:24px; } }
@media(max-width:720px) { .api-header-inner { gap:16px; padding:18px 20px; } .api-brand img { width:120px; } .api-brand-product { font-size:13px; } .api-nav { order:3; width:100%; margin-left:0; } .api-session-badge { font-size:11px; padding:5px 9px; } .api-content { padding:27px 20px 36px; } .portal-heading { align-items:flex-start; margin-bottom:22px; } .portal-heading h1 { font-size:29px; } .api-subtitle { font-size:13px; max-width:210px; } .api-environment-badge { font-size:10px; padding:6px 8px; } .portal-hero { grid-template-columns:1fr; } .portal-story { padding:30px; } .portal-story h2 { font-size:34px; } .portal-story>p { margin-bottom:23px; } .portal-access { padding:30px; } .portal-resource-grid { grid-template-columns:1fr; } .portal-section-heading>span { display:none; } .portal-workspace-details { flex-wrap:wrap; gap:12px 26px; padding:18px; } .portal-workspace-details>div { justify-content:space-between; min-width:140px; } .api-footer-inner { padding:18px 20px; flex-wrap:wrap; } .api-menu-items { left:0; min-width:210px; } .api-account-menu .api-menu-items { left:auto; right:0; } .api-message-card { margin:16px auto; padding:28px; } }
@media(prefers-reduced-motion:reduce) { .cp3-api * { transition:none!important; scroll-behavior:auto!important; } }
@media(max-width:720px) { .api-menu { position:static; } .api-menu-items, .api-account-menu .api-menu-items { left:20px; right:20px; top:100%; width:auto; min-width:0; max-width:none; } }
@media(max-width:720px) { .portal-access { order:-1; } }
