/* AlgoWay Docs — standalone stylesheet. No Bootstrap or main-site CSS. */
:root {
  color-scheme: light;
  --ink: #182844;
  --heading: #10203a;
  --muted: #61718b;
  --line: #e0e8f3;
  --canvas: #f7f9fd;
  --white: #ffffff;
  --accent: #285bd5;
  --accent-strong: #1c48b0;
  --soft: #edf3ff;
  --shadow: 0 14px 48px rgba(23, 53, 101, .06);
  --max-page: 1510px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.aw-docs{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.72 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.aw-docs a{color:var(--accent);text-decoration:none}
.aw-docs a:hover{color:var(--accent-strong)}
.aw-docs a:focus-visible,.aw-docs summary:focus-visible{outline:3px solid #98b6ff;outline-offset:3px;border-radius:5px}
.aw-docs button{font:inherit}
.aw-docs .skip-link{position:absolute;top:-80px;left:20px;z-index:80;padding:12px 16px;background:white;border-radius:10px}
.aw-docs .skip-link:focus{top:10px}
/* Top navigation */
.aw-docs .site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.aw-docs .header-inner{max-width:var(--max-page);margin:auto;padding:0 34px;min-height:76px;display:flex;align-items:center;gap:20px}
.aw-docs .brand{display:flex;align-items:center;gap:12px;color:var(--heading);font-weight:800;font-size:20px;letter-spacing:-.8px;line-height:1.05;white-space:nowrap}
.aw-docs .brand:hover{color:var(--heading)}
.aw-docs .brand-mark{width:42px;height:42px;display:block;flex:none;object-fit:contain;background:transparent;border-radius:12px}
.aw-docs .brand-title small{display:block;font-size:10px;letter-spacing:2px;color:#7b8aa1;text-transform:uppercase;margin-top:5px;font-weight:800}
.aw-docs .header-sep{height:25px;width:1px;background:var(--line);margin-left:12px}
.aw-docs .header-label{font-size:12px;color:#76859a;font-weight:750;letter-spacing:.75px;text-transform:uppercase}
.aw-docs .header-links{margin-left:auto;display:flex;align-items:center;gap:26px}
.aw-docs .header-links a{font-size:13px;font-weight:650;color:#475b76}
.aw-docs .header-links a:hover{color:var(--accent)}
.aw-docs .header-links .go-product{border:1px solid #cbd8ec;border-radius:10px;padding:9px 13px;color:#1e3d73}
/* Docs shell */
.aw-docs .docs-layout{max-width:var(--max-page);margin:0 auto;display:grid;grid-template-columns:284px minmax(0,1fr);gap:42px;padding:38px 34px 95px;align-items:start}
.aw-docs .docs-sidebar{position:sticky;top:102px;max-height:calc(100vh - 118px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cad8ed transparent;border:1px solid var(--line);border-radius:17px;background:white;box-shadow:0 7px 28px rgba(18,39,74,.03)}
.aw-docs .nav-content{padding:21px 13px 25px}
.aw-docs .sidebar-intro{padding:0 13px 16px;margin-bottom:11px;border-bottom:1px solid #edf1f7}
.aw-docs .sidebar-eyebrow{font-size:10px;color:#8190a5;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
.aw-docs .sidebar-title{font-size:19px;font-weight:850;letter-spacing:-.4px;color:var(--heading);margin-top:4px}
.aw-docs .sidebar-sub{font-size:12px;color:#77869c;margin-top:5px;line-height:1.5}
.aw-docs .nav-intro{padding:0 6px 14px;display:grid;gap:3px}
.aw-docs .nav-intro a{display:block;border-radius:9px;padding:7px 11px;color:#355077;font-size:13px;font-weight:700}
.aw-docs .nav-intro a:hover{background:var(--soft);color:var(--accent)}
.aw-docs .nav-block{border-top:1px solid #edf1f7;padding:14px 5px 7px}
.aw-docs .nav-label{font-size:10px;font-weight:850;letter-spacing:1.45px;color:#91a0b3;text-transform:uppercase;padding:0 11px 10px}
.aw-docs .nav-group{margin-bottom:4px}
.aw-docs .nav-group summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:6px 11px;border-radius:8px;font-size:12px;font-weight:800;color:#314966}
.aw-docs .nav-group summary::-webkit-details-marker{display:none}
.aw-docs .nav-group summary::after{content:'+';font-weight:500;color:#899cb4;font-size:17px;line-height:1}
.aw-docs .nav-group[open] summary::after{content:'−'}
.aw-docs .nav-group summary:hover{background:var(--soft)}
.aw-docs .nav-group ul{list-style:none;padding:3px 0 6px 8px;margin:0}
.aw-docs .nav-group li{margin:0}
.aw-docs .nav-group a{display:block;border-radius:7px;padding:6px 12px;font-size:12.4px;line-height:1.35;color:#5a6d86}
.aw-docs .nav-group a:hover{color:#1f50b9;background:#eef4ff}
.aw-docs .nav-link-flat{display:block;padding:6px 11px;font-size:12.5px;line-height:1.42;color:#5c708c;border-radius:7px}
.aw-docs .nav-link-flat:hover{background:var(--soft)}
.aw-docs .nav-mobile-label{display:none}
.aw-docs .docs-main{min-width:0;width:100%;max-width:1120px}
/* Homepage */
.aw-docs .doc-eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:1.65px;font-size:10.5px;font-weight:850;color:#5684e5}
.aw-docs .doc-eyebrow::before{content:'';width:6px;height:6px;border-radius:50%;background:#78a6ff}
.aw-docs .hero{position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(110deg,#102b53 0%,#153f82 65%,#2258a4 100%);padding:49px 54px 44px;color:white}
.aw-docs .hero::before{position:absolute;content:'';width:450px;height:450px;right:-135px;top:-240px;border:1px solid rgba(221,235,255,.20);border-radius:50%;box-shadow:0 0 0 70px rgba(221,235,255,.035),0 0 0 140px rgba(221,235,255,.025)}
.aw-docs .hero .doc-eyebrow{color:#bcd7ff}
.aw-docs .hero h1{position:relative;z-index:1;font-size:clamp(30px,3.2vw,46px);letter-spacing:-1.8px;line-height:1.16;color:white;max-width:850px;margin:17px 0 14px;font-weight:800}
.aw-docs .hero p{position:relative;z-index:1;max-width:690px;font-size:15px;line-height:1.8;color:#dbeaff;margin:0}
.aw-docs .hero-actions{position:relative;z-index:1;display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.aw-docs .hero-actions a{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:10px;font-size:13px;font-weight:800;background:#fff;color:#14366e}
.aw-docs .hero-actions a.secondary{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.3)}
.aw-docs .hero-actions a:hover{transform:translateY(-1px)}
.aw-docs .hero-stat{font-size:11px;letter-spacing:.4px;color:#b8d1f9;margin-top:26px}
.aw-docs .hero-stat strong{color:white;font-size:16px;margin-right:5px}
.aw-docs .hub-links{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.aw-docs .hub-link{display:block;background:white;border:1px solid var(--line);border-radius:14px;padding:19px 20px;min-height:125px;color:#203654}
.aw-docs .hub-link:hover{border-color:#acc4f4;box-shadow:var(--shadow);color:#203654}
.aw-docs .hub-link .hub-symbol{display:grid;place-items:center;height:30px;width:30px;border-radius:8px;background:#eaf1ff;color:#2254b8;font-weight:850;margin-bottom:11px}
.aw-docs .hub-link strong{display:block;font-size:14px;line-height:1.3}
.aw-docs .hub-link span:last-child{display:block;font-size:12.5px;line-height:1.5;color:#657691;margin-top:7px}
.aw-docs .docs-section{margin-top:55px;scroll-margin-top:100px}
.aw-docs .section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:18px}
.aw-docs .section-heading h2{font-size:30px;color:var(--heading);letter-spacing:-.9px;line-height:1.18;margin:7px 0}
.aw-docs .section-heading p{font-size:14px;color:var(--muted);margin:0}
.aw-docs .section-count{border:1px solid #dae6f8;color:#3d68aa;background:#eff5ff;padding:6px 12px;border-radius:40px;font-size:12px;font-weight:750;white-space:nowrap}
.aw-docs .platform-group{margin-top:29px;scroll-margin-top:100px}
.aw-docs .platform-group h3{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:-.2px;color:#203553;margin:0 0 13px}
.aw-docs .platform-group h3 span{font-size:11px;letter-spacing:0;color:#8293ac;font-weight:650;background:#edf1f8;border-radius:8px;padding:2px 9px}
.aw-docs .platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.aw-docs .platform-card{display:flex;flex-direction:column;gap:11px;border:1px solid var(--line);border-radius:14px;background:white;padding:21px;min-height:146px;color:#20324c;transition:border-color .15s,transform .15s,box-shadow .15s}
.aw-docs .platform-card:hover{color:#20324c;border-color:#b3c9f3;transform:translateY(-2px);box-shadow:var(--shadow)}
.aw-docs .platform-card .platform-top{display:flex;align-items:center;justify-content:space-between;gap:9px}
.aw-docs .platform-card .platform-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:9px;background:#edf3ff;color:#2855ae;font-size:11px;font-weight:850;letter-spacing:-.5px}
.aw-docs .platform-card .platform-chevron{font-size:22px;color:#adbdd2;font-weight:300}
.aw-docs .platform-card strong{display:block;font-size:14px;line-height:1.3;color:#223955}
.aw-docs .platform-card .platform-desc{color:#6a7b92;font-size:12px;line-height:1.5;margin-top:-5px}
.aw-docs .topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.aw-docs .topic-panel{border:1px solid var(--line);border-radius:15px;background:white;padding:24px 24px 13px}
.aw-docs .topic-panel h3{font-size:16px;margin:0 0 12px;color:#203756}
.aw-docs .topic-panel ul{list-style:none;padding:0;margin:0}
.aw-docs .topic-panel li{border-top:1px solid #eef2f8}
.aw-docs .topic-panel a{display:block;padding:12px 0;color:#274e9b;font-size:13px;font-weight:700}
.aw-docs .topic-panel a:hover{color:#143b83}
.aw-docs .topic-panel a small{display:block;font-size:12px;font-weight:400;color:#718198;margin-top:3px;line-height:1.5}
.aw-docs .topic-note{font-size:12.5px;color:#77879c;margin:13px 0 0}
/* Article pages, including legacy content markup. */
.aw-docs .article-crumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 19px;font-size:12px;color:#7b8aa1}
.aw-docs .article-crumbs a{color:#5372a4}
.aw-docs .article-crumbs .crumb-div{color:#bac6d5}
.aw-docs .docs-main > .card,.aw-docs .docs-main > .container,.aw-docs .docs-main > .row,.aw-docs .docs-main .card{max-width:100%}
.aw-docs .docs-main .card{border:1px solid var(--line);border-radius:17px;background:white;box-shadow:0 6px 28px rgba(25,56,103,.035);margin-bottom:22px;overflow:hidden}
.aw-docs .docs-main .card-body{padding:35px 40px}
.aw-docs .docs-main .card-body .card-body{padding:20px 25px}
.aw-docs .docs-main .card h1{font-size:clamp(25px,3vw,36px);line-height:1.23;letter-spacing:-.7px;margin:0 0 24px;color:#132840;font-weight:800}
.aw-docs .docs-main .card h2{font-size:25px;letter-spacing:-.45px;color:#203a5a;margin:32px 0 12px}
.aw-docs .docs-main .card h3{font-size:21px;color:#213c5e;margin:26px 0 10px}
.aw-docs .docs-main .card h4{font-size:18px;color:#223d60;margin:22px 0 10px}
.aw-docs .docs-main .card h5{font-size:16px;color:#233d5d;margin:18px 0 9px}
.aw-docs .docs-main .card h6{font-size:14px;color:#2d4b6d;margin:16px 0 8px}
.aw-docs .docs-main p{margin:11px 0 16px;line-height:1.8}
.aw-docs .docs-main li{line-height:1.75;margin-bottom:5px}
.aw-docs .docs-main ul,.aw-docs .docs-main ol{padding-left:24px;margin:12px 0 22px}
.aw-docs .docs-main strong{font-weight:750}
.aw-docs .docs-main img{display:block;max-width:100%;height:auto;border-radius:9px;margin:20px auto}
.aw-docs .docs-main figure{max-width:100%;margin:20px auto}
.aw-docs .docs-main figcaption{color:#7a8aa1;font-size:12px;text-align:center}
.aw-docs .docs-main iframe{max-width:100%;width:100%;min-height:340px;aspect-ratio:16/9;border:0;border-radius:10px}
.aw-docs .docs-main .video-wrap{margin:18px 0 27px;padding:18px;background:#f5f8fd;border-radius:12px}
.aw-docs .docs-main a:not(.platform-card){overflow-wrap:anywhere}
.aw-docs .docs-main pre{background:#152740;color:#e8f2ff;overflow-x:auto;padding:19px 21px;border-radius:11px;margin:22px 0;font:13px/1.7 Consolas,Menlo,monospace;white-space:pre}
.aw-docs .docs-main code{background:#f0f4fa;color:#18499d;border-radius:4px;font:13px/1.6 Consolas,Menlo,monospace;padding:2px 5px;overflow-wrap:anywhere}
.aw-docs .docs-main pre code{background:transparent;color:inherit;padding:0;overflow-wrap:normal}
.aw-docs .docs-main table{width:100%;border-collapse:collapse;margin:20px 0;display:block;overflow-x:auto;font-size:13px}
.aw-docs .docs-main th,.aw-docs .docs-main td{border:1px solid #e3eaf4;padding:10px 13px;vertical-align:top;text-align:left}
.aw-docs .docs-main th{background:#eff4fc;color:#2d4c77;font-weight:750}
.aw-docs .docs-main hr{border:0;border-top:1px solid var(--line);margin:28px 0}
.aw-docs .docs-main blockquote{margin:20px 0;border-left:3px solid #4579d8;background:#f5f8fd;padding:13px 19px;color:#3c5370}
.aw-docs .docs-main .alert,.aw-docs .docs-main .faq-box,.aw-docs .docs-main .info-box,.aw-docs .docs-main .callout{padding:16px 19px;border-radius:10px;border:1px solid #d9e6f8;background:#f3f8ff;margin:19px 0}
.aw-docs .docs-main .alert-warning{background:#fff9ea;border-color:#f5e3b0}
.aw-docs .docs-main .alert-danger{background:#fff1f1;border-color:#f0c9c9}
.aw-docs .docs-main .text-muted{color:#74839a}
.aw-docs .docs-main .text-center{text-align:center}
.aw-docs .docs-main .text-end{text-align:right}
.aw-docs .docs-main .img-fluid{max-width:100%;height:auto}
.aw-docs .docs-main .mt-5{margin-top:0!important}
.aw-docs .docs-main .mt-4{margin-top:24px!important}
.aw-docs .docs-main .mt-3{margin-top:16px!important}
.aw-docs .docs-main .mb-0{margin-bottom:0!important}
.aw-docs .docs-main .mb-3{margin-bottom:16px!important}
.aw-docs .docs-main .mb-4{margin-bottom:24px!important}
.aw-docs .docs-main .pt-3{padding-top:30px!important}
.aw-docs .docs-main .row{display:flex;flex-wrap:wrap;margin-left:-8px;margin-right:-8px}
.aw-docs .docs-main [class*="col-"]{min-width:0;padding:0 8px;flex:1 0 100%;max-width:100%}
.aw-docs .docs-main .container,.aw-docs .docs-main .container-fluid{width:100%;margin:0 auto}
.aw-docs .docs-main .btn{display:inline-block;background:#2456b7;color:white;padding:9px 15px;border-radius:8px;font-size:13px;font-weight:700;margin:6px 3px;text-align:center}
.aw-docs .docs-main .btn:hover{background:#193f8b;color:white}
.aw-docs .docs-main .btn-outline-primary{background:white;color:#2456b7;border:1px solid #9dbbee}
.aw-docs .docs-main .ratio{position:relative;width:100%;aspect-ratio:16/9}
.aw-docs .docs-main .ratio iframe{width:100%;height:100%;min-height:auto}
/* Footer */
.aw-docs .site-footer{background:#fff;border-top:1px solid var(--line)}
.aw-docs .footer-inner{max-width:var(--max-page);margin:auto;padding:25px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#74839a;font-size:12.5px}
.aw-docs .footer-links{display:flex;gap:22px;flex-wrap:wrap}
.aw-docs .footer-links a{color:#4d6484;font-weight:650}
@media(min-width:1150px){.aw-docs .docs-main .col-md-6,.aw-docs .docs-main .col-lg-6{flex:0 0 50%;max-width:50%}.aw-docs .docs-main .col-md-4,.aw-docs .docs-main .col-lg-4{flex:0 0 33.333%;max-width:33.333%}}
@media(max-width:1280px){.aw-docs .docs-layout{gap:25px;grid-template-columns:255px minmax(0,1fr)}.aw-docs .platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aw-docs .header-inner{padding:0 22px}.aw-docs .docs-layout{padding:28px 22px 70px}.aw-docs .hero{padding:38px 38px 40px}}
@media(max-width:900px){.aw-docs .site-header{position:relative}.aw-docs .header-inner{min-height:68px}.aw-docs .header-sep,.aw-docs .header-label{display:none}.aw-docs .header-links{gap:13px}.aw-docs .header-links .header-secondary{display:none}.aw-docs .docs-layout{display:block;padding:18px 16px 65px}.aw-docs .docs-sidebar{position:static;max-height:none;overflow:visible;margin-bottom:23px;border-radius:12px}.aw-docs .docs-sidebar > summary{display:block;cursor:pointer;padding:14px 19px;font-weight:750;color:#2b4d7c;list-style:none}.aw-docs .docs-sidebar > summary::-webkit-details-marker{display:none}.aw-docs .docs-sidebar > summary::after{content:'+';float:right;font-size:18px}.aw-docs .docs-sidebar[open] > summary::after{content:'−'}.aw-docs .docs-sidebar:not([open]) .nav-content{display:none}.aw-docs .nav-content{border-top:1px solid var(--line)}.aw-docs .nav-mobile-label{display:inline}.aw-docs .docs-main{max-width:none}.aw-docs .hub-links{grid-template-columns:repeat(3,minmax(0,1fr))}.aw-docs .hero{padding:34px}.aw-docs .docs-main .card-body{padding:26px 25px}}
@media(min-width:901px){.aw-docs .docs-sidebar > summary{display:none}}
@media(max-width:640px){.aw-docs .header-inner{padding:0 15px;min-height:63px}.aw-docs .brand{font-size:17px}.aw-docs .brand-mark{width:37px;height:37px}.aw-docs .header-links{gap:11px}.aw-docs .header-links .go-product{padding:7px 9px;font-size:12px}.aw-docs .hero{padding:30px 24px;border-radius:17px}.aw-docs .hero h1{font-size:31px;letter-spacing:-1px}.aw-docs .hero p{font-size:13.5px}.aw-docs .hub-links{grid-template-columns:1fr;gap:9px}.aw-docs .hub-link{min-height:auto;padding:15px 18px}.aw-docs .platform-grid,.aw-docs .topic-grid{grid-template-columns:1fr}.aw-docs .platform-card{min-height:117px}.aw-docs .section-heading{align-items:start;flex-direction:column}.aw-docs .section-heading h2{font-size:26px}.aw-docs .docs-section{margin-top:38px}.aw-docs .docs-main .card-body{padding:22px 18px}.aw-docs .docs-main iframe{min-height:210px}.aw-docs .footer-inner{flex-direction:column;align-items:start;padding:22px 17px}.aw-docs .header-links .header-muted{display:none}}
@media print{.aw-docs .site-header,.aw-docs .docs-sidebar,.aw-docs .site-footer{display:none!important}.aw-docs .docs-layout{display:block;padding:0}.aw-docs .docs-main{width:100%;max-width:none}.aw-docs .docs-main .card{box-shadow:none;border:0}.aw-docs .docs-main pre{white-space:pre-wrap}.aw-docs .hero{color:black;background:none}}
/* Responsive navigation toggle without JavaScript. */
.aw-docs .nav-toggle,.aw-docs .nav-mobile-toggle{display:none}
@media(max-width:900px){
  .aw-docs .nav-toggle{display:block;position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
  .aw-docs .nav-mobile-toggle{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;cursor:pointer;color:#244a81;font-weight:800;font-size:13px}
  .aw-docs .nav-mobile-toggle span{font-size:20px;font-weight:400}
  .aw-docs .docs-sidebar .nav-content{display:none}
  .aw-docs .docs-sidebar .nav-toggle:checked ~ .nav-content{display:block}
  .aw-docs .docs-sidebar .nav-toggle:checked ~ .nav-mobile-toggle span{transform:rotate(45deg)}
}
