#account-guide{font:15px/1.5 system-ui,sans-serif;color:#21304d}#account-guide *{box-sizing:border-box}#account-guide button,#account-guide input,#account-guide select{font:inherit}#account-guide button{cursor:pointer}#account-guide [hidden]{display:none!important}.ag-launch{position:fixed;right:20px;bottom:20px;z-index:999;border:0;border-radius:30px;background:#315ba1;color:white;padding:14px 22px;box-shadow:0 5px 20px #0003}.ag-overlay{position:fixed;inset:0;z-index:2000;background:#14244299;display:grid;place-items:center;padding:16px}.ag-modal{width:min(900px,100%);max-height:94dvh;overflow:auto;background:white;border-radius:22px;box-shadow:0 25px 90px #14244250}.ag-head{padding:24px 30px;background:linear-gradient(115deg,#173c6a,#4166b2);color:white;display:flex;justify-content:space-between;align-items:center}.ag-head small{color:#bce7ff;letter-spacing:2px;font-weight:700}.ag-head h2{margin:5px 0;font-size:23px;color:white}.ag-head p{margin:0}.ag-close{border:0;border-radius:50%;background:#ffffff24;color:white;width:40px;height:40px;font-size:25px!important}.ag-notice{background:#fff2d4;color:#705219;text-align:center;font-size:13px;padding:10px}.ag-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:20px 24px 12px;background:#f8faff}.ag-tabs:empty{display:none}.ag-tabs button{--color:#315ba1;--tint:#eaf0fc;border:0;border-radius:12px;padding:12px 5px;background:var(--tint);color:var(--color);font-size:12px!important;font-weight:750;display:grid;gap:6px;justify-items:center}.ag-tabs span{border-radius:50%;width:25px;height:25px;background:white;display:grid;place-items:center}.ag-tabs button.active{background:var(--color);color:white;box-shadow:0 5px 12px #24355324}.ag-tabs button.active span{background:#ffffff28}.ag-tabs button:nth-child(2){--color:#087b79;--tint:#e1f5f2}.ag-tabs button:nth-child(3){--color:#4167c0;--tint:#eaf0ff}.ag-tabs button:nth-child(4){--color:#8150b8;--tint:#f1eafa}.ag-tabs button:nth-child(5){--color:#a36311;--tint:#fff2dd}.ag-tabs button:nth-child(6){--color:#268254;--tint:#e6f5ec}.ag-body{padding:24px 30px}.ag-body h2{font-size:27px;margin:0 0 10px;color:#21304d}.ag-body p{color:#586b84}.ag-choice{width:100%;text-align:left;padding:23px;border-radius:14px;border:1px solid #cedaf0;background:#f0f5ff;margin:12px 0;color:#21304d}.ag-choice.purple{background:#f3edfc;border-color:#dfd0f3}.ag-choice strong{display:block;font-size:18px}.ag-choice span{display:block;margin-top:5px;color:#586b84}.ag-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:20px}.ag-body label{display:grid;gap:6px;font-size:14px;font-weight:600}.ag-body input,.ag-body select{padding:11px;border-radius:8px;border:1px solid #cbd5e5;width:100%;background:#f8faff;color:#21304d}.ag-body input:disabled{color:#61738a;opacity:1}.ag-body .ag-check{display:flex;gap:10px;align-items:center;margin-top:18px}.ag-check input{width:auto;accent-color:#3868be}.ag-note{padding:17px;border-radius:11px;background:#eef7f8;border-left:4px solid #169592;margin:20px 0}.ag-body table{width:100%;border-collapse:collapse;margin:20px 0}.ag-body th,.ag-body td{padding:14px;text-align:left;border-bottom:1px solid #dce6ee}.ag-body th{background:#eaf5f4;color:#176e6b}.ag-doc{padding:13px;background:#f8faff;border:1px solid #e2e9f3;border-radius:8px;margin:8px 0}.ag-doc b{display:block;font-size:11px;color:#8b5811}.ag-footer{padding:18px 30px;border-top:1px solid #e3e9f2;background:#f8faff;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ag-next,.ag-primary{border:0;border-radius:10px;background:linear-gradient(110deg,#3161bb,#4d78cf);color:white!important;padding:13px 23px;font-weight:750;text-decoration:none;display:inline-block}.ag-back{border:1px solid #cfdaeb;background:white;color:#526685;padding:12px 18px;border-radius:10px}.ag-help{color:#187549;background:#e4f6eb;padding:10px 13px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:700}#account-guide button:focus-visible,#account-guide a:focus-visible{outline:3px solid #d6a143;outline-offset:3px}@media(max-width:600px){.ag-tabs{grid-template-columns:repeat(3,1fr);padding:15px;gap:7px}.ag-grid{grid-template-columns:1fr}.ag-head,.ag-body,.ag-footer{padding:18px}.ag-head h2{font-size:19px}.ag-choice{padding:16px}.ag-body table{font-size:13px}}

/* One guide shared by the homepage and welcome popup. */
.account-guide-home{scroll-margin-top:110px;min-width:0}.hero .htext{min-width:0}.hero .hgrid{grid-template-columns:1.2fr 1fr;align-items:start}#account-guide:not(.ag-popup) .ag-overlay{position:static;display:block;padding:0;background:none}#account-guide:not(.ag-popup) .ag-modal{width:100%;max-height:none;overflow:hidden;box-shadow:0 12px 32px #10244b30}#account-guide:not(.ag-popup) .ag-close{display:none}#account-guide:not(.ag-popup) .ag-tabs{grid-template-columns:repeat(3,1fr)}#account-guide .ag-body h2{font-size:25px;max-width:none}#account-guide .ag-body p{font-size:15px;opacity:1}#account-guide .ag-head p{font-size:15px;opacity:1}#account-guide:not(.ag-popup) .ag-grid{grid-template-columns:1fr}#account-guide .ag-choice strong{font-size:17px}#account-guide .ag-body{max-width:100%}#account-guide .ag-body table{overflow-wrap:anywhere}@media(max-width:720px){.hero .hgrid{grid-template-columns:1fr}.hero-event{grid-row:auto}.account-guide-home{scroll-margin-top:140px}}


/* Isolate the guide from the site's header, section and footer rules. */
#account-guide{direction:ltr;text-align:left}
#account-guide .ag-modal{padding:0;color:#21304d}
#account-guide .ag-head{position:static;top:auto;z-index:auto;min-height:0;border:0;box-shadow:none;backdrop-filter:none;padding:18px 24px;background:linear-gradient(115deg,#173c6a,#4166b2);flex-shrink:0}
#account-guide .ag-head h2{font:700 22px/1.25 system-ui,sans-serif;margin:4px 0}
#account-guide .ag-head p{font-size:14px;line-height:1.4;margin:0}
#account-guide .ag-head small{font-size:10px}
#account-guide .ag-body h2{font:700 24px/1.25 system-ui,sans-serif;margin:0 0 10px}
#account-guide .ag-body h2::after,#account-guide .ag-head h2::after{display:none}
#account-guide .ag-body p{line-height:1.5;max-width:none}
#account-guide .ag-footer{color:#21304d;font-size:14px;border:0;border-top:1px solid #e3e9f2;padding:14px 24px;flex-shrink:0}
#account-guide .ag-tabs{margin:0;flex-shrink:0;order:0;width:auto;font-family:system-ui,sans-serif}
#account-guide .ag-overlay{padding:24px;overflow:hidden}
#account-guide.ag-popup .ag-modal{width:min(1000px,100%);height:auto;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;border-radius:20px}
#account-guide.ag-fullscreen .ag-modal{height:min(780px,calc(100dvh - 48px))}
#account-guide.ag-popup .ag-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;flex:1;scrollbar-gutter:stable}
#account-guide.ag-popup .ag-tabs{grid-template-columns:repeat(6,minmax(0,1fr));padding:12px 24px;gap:8px}
#account-guide.ag-popup .ag-tabs button{padding:8px 5px;gap:3px}
#account-guide.ag-popup .ag-notice{padding:8px 20px;flex-shrink:0;font-size:12px}
#account-guide .ag-choice{padding:16px 18px;margin:8px 0}
#account-guide .ag-choice strong{font-size:16px;line-height:1.4}
#account-guide .ag-choice span{font-size:13px;line-height:1.5;margin-top:4px}
#account-guide:not(.ag-popup) .ag-head{padding:16px 20px}
#account-guide:not(.ag-popup) .ag-body{padding:18px 20px}
#account-guide:not(.ag-popup) .ag-body h2{font-size:22px}
#account-guide:not(.ag-popup) .ag-body>p{font-size:14px;margin:8px 0 12px}
#account-guide:not(.ag-popup) .ag-footer{padding:10px 20px}
#account-guide:not(.ag-popup) .ag-notice{padding:8px 16px;font-size:11px}
.hero .hgrid{grid-template-columns:1fr 1.08fr;gap:28px;align-items:start}
#account-guide .ag-body th,#account-guide .ag-body td{padding:12px}
#account-guide .ag-note{margin:14px 0;padding:14px}
@media(max-width:720px){.hero .hgrid{grid-template-columns:1fr}.hero-event{grid-row:auto}#account-guide .ag-overlay{padding:12px}#account-guide.ag-popup .ag-modal{max-height:calc(100dvh - 24px);border-radius:16px}#account-guide.ag-fullscreen .ag-modal{height:calc(100dvh - 24px)}#account-guide .ag-head{padding:14px 18px}#account-guide.ag-popup .ag-tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 16px;gap:5px}#account-guide.ag-popup .ag-tabs button{padding:5px;font-size:11px!important}#account-guide.ag-popup .ag-tabs span{width:20px;height:20px}#account-guide.ag-popup .ag-body{padding:16px 18px}#account-guide .ag-footer{padding:12px 18px}#account-guide .ag-help{font-size:12px}}
@media(max-height:600px) and (min-width:721px){#account-guide .ag-head{padding:10px 24px}#account-guide .ag-head p{display:none}#account-guide.ag-popup .ag-tabs span{display:none}#account-guide.ag-popup .ag-tabs{padding:8px 24px}}

/* Fillable application fields and review. */
#account-guide textarea{font:inherit;width:100%;padding:11px;border:1px solid #cbd5e5;border-radius:8px;background:#f8faff;color:#21304d;resize:vertical}
#account-guide input:focus-visible,#account-guide textarea:focus-visible,#account-guide select:focus-visible{outline:3px solid #87b6f3;outline-offset:2px}
#account-guide .ag-doc input{font-size:13px;margin:4px 0;background:white}
#account-guide .ag-doc small{font-weight:400;color:#526685;overflow-wrap:anywhere}
#account-guide .ag-error{padding:14px;margin:16px 0;border:1px solid #e6a6a6;border-radius:10px;background:#fff1f1;color:#8b2626;font-size:14px}
#account-guide .ag-tabs button:disabled{opacity:.5;cursor:default}
#account-guide button:disabled{cursor:wait}
#account-guide .ag-review{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
#account-guide .ag-review div{padding:10px;border:1px solid #e2e9f3;border-radius:8px;min-width:0}
#account-guide .ag-review dt{font-size:12px;color:#586b84}
#account-guide .ag-review dd{margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-wrap;font-weight:600}
#account-guide .ag-privacy{font-size:12px}
#account-guide #ag-security{min-height:65px;margin-top:18px}
@media(max-width:600px){#account-guide .ag-review{grid-template-columns:1fr}}

/* Clear, actionable application feedback. */
#account-guide .ag-security-status{padding:14px 16px;border-radius:10px;background:#eef3fc;color:#31517e;margin:12px 0;border:1px solid #ccdaef;font-size:14px}
#account-guide .ag-security-failed{background:#fff5e7;border-color:#e9c78e;color:#73501b}
#account-guide .ag-security-passed{background:#e9f7ef;border-color:#a8d7ba;color:#256441}
#account-guide .ag-security-status p{color:inherit;font-size:14px;margin:8px 0}
#account-guide .ag-security-status ol{padding-left:22px;margin:10px 0 16px}
#account-guide .ag-security-status li{margin:6px 0}
#account-guide .ag-security-status .ag-help{display:inline-block;margin:8px 0 0 10px}
#account-guide .ag-submit-hint{font-size:13px;background:#f5f8fd;padding:10px;border-radius:8px}
#account-guide .ag-field-error{font-size:12px;font-weight:500;color:#9c2929;line-height:1.45}
#account-guide [aria-invalid="true"]{border-color:#c44747;background:#fff8f8}
#account-guide .ag-error-link{border:0;background:transparent;color:#8b2626;text-decoration:underline;padding:5px 0;text-align:left;font-weight:600;font-size:14px}
#account-guide .ag-error ul{padding-left:20px;margin:8px 0}
#account-guide .ag-error p{color:#8b2626;font-size:13px;margin:8px 0 0}
#account-guide .ag-next:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){#account-guide .ag-security-status .ag-help{margin-left:0;display:block;text-align:center}#account-guide .ag-security-status .ag-primary{width:100%}}

#account-guide .ag-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}#account-guide .ag-plan{border:1px solid #cbd8eb;border-radius:16px;padding:24px 16px;display:flex;flex-direction:column;gap:16px;text-align:left;cursor:pointer;background:#fff4da;color:#654d16}#account-guide .ag-plan strong{font-size:24px}#account-guide .plan-1{background:#eef2ff;color:#354e87}#account-guide .plan-2{background:#faeee6;color:#854b2c}#account-guide .ag-plan:hover{outline:2px solid #315ba0}#account-guide .ag-offer{background:#e7f7ed;border-left:4px solid #248353;margin:18px 0}#account-guide .ag-offer p{font-size:13px;margin-bottom:0}@media(max-width:650px){#account-guide .ag-plans{grid-template-columns:1fr}}

/* Raised, high-contrast choices throughout the guide. */
#account-guide .ag-choice{position:relative;border:1px solid #356ac0;border-bottom:4px solid #153e82;background:linear-gradient(135deg,#316dca,#214c99);color:#fff;border-radius:14px;box-shadow:0 5px 0 #173b7824,0 8px 16px #173b781c;padding:18px 50px 18px 20px;margin:10px 0 14px;transition:transform .15s,box-shadow .15s;min-height:72px}
#account-guide .ag-choice.purple{background:linear-gradient(135deg,#8253bb,#59378b);border-color:#9069be;border-bottom-color:#3e2268}
#account-guide .ag-choice strong{color:#fff;font-size:16px;font-weight:750;line-height:1.4}
#account-guide .ag-choice span{color:#f0f5ff;font-size:13px;line-height:1.5}
#account-guide .ag-choice::after{content:'›';position:absolute;right:17px;top:50%;transform:translateY(-50%);width:26px;height:30px;display:grid;place-items:center;border-radius:8px;background:#ffffff22;color:white;font-size:27px;font-weight:700}
#account-guide .ag-choice[data-category="investing"],#account-guide .ag-choice[data-group="kmiTrading"],#account-guide .ag-choice[data-group="kmiInvestor"]{background:linear-gradient(135deg,#16817a,#10615e);border-color:#299a90;border-bottom-color:#06433f}
#account-guide .ag-choice[data-category="etf"]{background:linear-gradient(135deg,#316dca,#214c99);border-color:#356ac0;border-bottom-color:#153e82}
#account-guide .ag-choice[data-category="consultation"]{background:linear-gradient(135deg,#8253bb,#59378b)}
#account-guide .ag-choice:hover,#account-guide .ag-plan:hover{transform:translateY(-2px);box-shadow:0 7px 0 #173b7820,0 12px 22px #173b7826}
#account-guide .ag-choice:active,#account-guide .ag-plan:active{transform:translateY(2px);box-shadow:0 1px 0 #173b7820}
#account-guide .ag-tabs button{border:1px solid var(--color);border-bottom-width:3px;box-shadow:0 3px 6px #253b6414;font-weight:750}
#account-guide .ag-tabs button.active{box-shadow:0 4px 0 #253b6420,0 7px 12px #253b6420}
#account-guide .ag-tabs button:disabled{border-color:#cbd5e5;box-shadow:none;opacity:.6;cursor:not-allowed}
#account-guide .ag-plan{border-bottom:5px solid #b78625;box-shadow:0 5px 0 #6d4b1512,0 8px 16px #21304d12;transition:transform .15s,box-shadow .15s;min-height:170px}
#account-guide .ag-plan.plan-1{border-bottom-color:#657dab}
#account-guide .ag-plan.plan-2{border-bottom-color:#b16d40}
#account-guide .ag-plan span{font-weight:750}
#account-guide .ag-plan small{font-weight:700;text-decoration:underline;text-underline-offset:4px}
#account-guide .ag-next,#account-guide .ag-primary{border:1px solid #3567b7;border-bottom:4px solid #173e80;box-shadow:0 4px 8px #173e8026;font-weight:750}
#account-guide .ag-back{border-bottom:3px solid #b3c3db;box-shadow:0 3px 6px #21304d12;font-weight:650}
#account-guide .ag-help{border:1px solid #b2ddc3;border-bottom:3px solid #80bc9b;box-shadow:0 3px 6px #18754912;display:inline-block}
#account-guide .ag-launch{border:1px solid #5a85cf;border-bottom:4px solid #1b407f;font-weight:700}
#account-guide .ag-next:disabled{box-shadow:none;border-bottom-color:#7993bd;cursor:not-allowed}
#account-guide button:focus-visible,#account-guide a:focus-visible{outline:3px solid #e6a522;outline-offset:4px}
@media(max-width:600px){#account-guide .ag-choice{padding:16px 46px 16px 16px}#account-guide .ag-choice strong{font-size:15px}#account-guide .ag-plan{min-height:145px}}
@media(prefers-reduced-motion:reduce){#account-guide .ag-choice,#account-guide .ag-plan{transition:none}#account-guide .ag-choice:hover,#account-guide .ag-plan:hover,#account-guide .ag-choice:active,#account-guide .ag-plan:active{transform:none}}

.ag-service-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.ag-terms{background:#eef3ff;border:1px solid #cbd7ee;border-radius:16px;padding:20px;color:#243553}.ag-terms ol{padding-left:22px}.ag-terms li{margin-bottom:12px;line-height:1.55}.ag-bank{padding:20px;background:#eef8f5;border-radius:14px}.ag-bank dd{margin:0 0 14px;overflow-wrap:anywhere;font-weight:700}.ag-prompt{max-width:460px;width:calc(100% - 40px);border:1px solid #cbd7ee;border-radius:20px;padding:26px;color:#243553}.ag-prompt::backdrop{background:#10244399}.ag-prompt button{display:block;margin-top:16px;padding:12px;border-radius:10px;cursor:pointer}@media(max-width:800px){.ag-service-layout{grid-template-columns:1fr}}

#account-guide button:disabled{cursor:not-allowed;opacity:.5;box-shadow:none}.ag-prompt .ag-check{display:flex;align-items:flex-start;gap:12px;line-height:1.6;margin:20px 0}.ag-prompt .ag-check input{width:auto;margin-top:5px;flex-shrink:0}
