/* ===== AdvisersOS Invest in Advisory's design (Ethan, 14 Oct 2026) =====
   Advisory's iPad shell and components (apps/clientlens/css/app.css, "v6 · iPad app shell"), applied to Invest.
   Active only on the platform: html.aos-ipad is set by ipad-layout.js when <meta name="aos-platform"> is present.
   Sizes follow Advisory: body text 15px, labels 13–14px, key numbers 24–34px Montserrat, every control ≥ 44px. */

html.aos-ipad{
  --page:var(--aos-page);--card:var(--aos-card);--tint:var(--aos-tint);--tint-2:var(--aos-tint2);--line:var(--aos-line);--line-strong:var(--aos-line2);
  --text:var(--aos-text);--muted:var(--aos-muted);--blue:var(--aos-blue);--deep:#163E5C;--green:var(--aos-green);--green-d:var(--aos-green-d);
  --keep:#A9BCCB;--shadow:var(--aos-shadow);
  --hd:"Montserrat","Inter",system-ui,sans-serif;--bd:"Inter",system-ui,-apple-system,sans-serif;
  --hdr:64px
}
html.aos-ipad[data-theme="dark"]{--deep:#1D4568;--keep:#6F8699}
html.aos-ipad body{font:400 15px/1.5 var(--bd);color:var(--text);background:var(--page);height:100dvh;overflow:hidden;display:flex;flex-direction:column}
html.aos-ipad .wrap{flex:1 1 auto;min-height:0;max-width:none;margin:0;padding:0;overflow:auto;-webkit-overflow-scrolling:touch}
html.aos-ipad button{font-family:var(--bd)}

/* ---------- top bar ---------- */
html.aos-ipad body > header.ax-top{flex:none;position:relative;height:var(--hdr);min-height:0;padding:0 16px!important;gap:12px!important;flex-wrap:nowrap!important;
  background:var(--card)!important;border-bottom:1px solid var(--line);box-shadow:none!important}
html.aos-ipad header.ax-top > div:first-child{display:flex;align-items:center;gap:10px;flex:none}
html.aos-ipad header.ax-top .logo,html.aos-ipad header.ax-top .tag{display:none!important}
html.aos-ipad .ax-logo{flex:none;width:38px;height:38px;border-radius:11px;border:0;padding:0;overflow:hidden;cursor:pointer;background:none}
html.aos-ipad .ax-brand{display:flex;flex-direction:column;line-height:1.05}
html.aos-ipad .ax-brand b{font:700 19px var(--hd);color:var(--aos-ink)}
html.aos-ipad .ax-brand small{font:600 11px var(--bd);color:var(--muted);letter-spacing:.02em}
html.aos-ipad header.ax-top nav:not(.aos-switch){margin:0!important;flex:0 1 auto;min-width:0;background:var(--tint)!important;border-radius:12px;padding:3px;gap:2px!important}
html.aos-ipad header.ax-top nav:not(.aos-switch) button{font:600 14px var(--bd)!important;color:var(--blue)!important;padding:8px 13px!important;min-height:40px;border-radius:9px!important;box-shadow:none}
html.aos-ipad header.ax-top nav:not(.aos-switch) button.active{background:var(--card)!important;color:var(--aos-ink)!important;box-shadow:var(--shadow)!important}
html.aos-ipad[data-theme="dark"] header.ax-top nav:not(.aos-switch) button.active{background:var(--deep)!important;color:#fff!important}
html.aos-ipad #hdrCtrls{margin-left:auto;display:flex;align-items:center;gap:8px}
html.aos-ipad #hdrCtrls .ep-lang{display:none!important}
html.aos-ipad #themeToggle{width:44px;min-width:44px;height:44px;border-radius:12px!important}
html.aos-ipad #epAuthBox{display:flex;align-items:center;gap:8px;flex:none}
html.aos-ipad #epAuthBox > span:first-child{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted)}
html.aos-ipad #epAuthBox button,html.aos-ipad #epAuthBox a{min-height:44px;border-radius:12px;font:600 14px var(--bd)}
@media (max-width:1240px){html.aos-ipad header.ax-top nav:not(.aos-switch) button{padding:8px 10px!important;font-size:13.5px!important}html.aos-ipad .ax-brand small{display:none}html.aos-ipad #epAuthBox > span:first-child{display:none}}

/* ---------- the shell: rail · stage · panel ---------- */
html.aos-ipad .ax-card-host{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important;height:calc(100dvh - var(--hdr));display:flex;flex-direction:column}
html.aos-ipad .ax-old-title{display:none!important}
html.aos-ipad .ax-shell{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:200px minmax(0,1fr) 320px}
html.aos-ipad .ax-shell.no-rail{grid-template-columns:minmax(0,1fr) 320px}
html.aos-ipad .ax-pb{grid-template-columns:176px minmax(0,1fr) 330px}
html.aos-ipad .ax-rail{background:var(--card);border-right:1px solid var(--line);padding:16px 12px;display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto}
html.aos-ipad .ax-rail-h{font:700 12px var(--bd);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:2px 12px 6px}
html.aos-ipad .ax-rail > button{display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:14px;
  font:600 16px/1.2 var(--hd);color:var(--muted);cursor:pointer;min-height:56px}
html.aos-ipad .ax-rail > button b{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--tint-2);font:700 14px var(--hd);color:var(--muted)}
html.aos-ipad .ax-rail > button[aria-current=step]{background:var(--tint);color:var(--aos-ink);box-shadow:inset 4px 0 0 var(--blue)}
html.aos-ipad .ax-rail > button[aria-current=step] b{background:var(--deep);color:#fff}
html.aos-ipad .ax-rail > .ax-plan{margin-top:auto;border:1.5px solid var(--blue);color:var(--blue);justify-content:center;background:var(--card)}
html.aos-ipad .ax-rail > .ax-plan:hover{background:var(--tint)}
html.aos-ipad .ax-stage{min-width:0;min-height:0;position:relative}
html.aos-ipad .ax-scr{height:100%;display:flex;flex-direction:column;gap:14px;padding:18px 24px;overflow-y:auto;overflow-x:hidden}
html.aos-ipad .ax-kicker{font:700 13px/1.2 var(--bd);letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
html.aos-ipad .ax-head{font:700 clamp(22px,2.4vw,28px)/1.22 var(--hd);color:var(--aos-ink);margin:-6px 0 0;max-width:46ch}
html.aos-ipad .ax-head em{font-style:normal;color:var(--blue)}
html.aos-ipad .ax-head small{display:block;margin-top:4px;font:500 14px var(--bd);color:var(--muted)}
html.aos-ipad .ax-scen{background:var(--card);border-left:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:14px;min-height:0;overflow-y:auto}
html.aos-ipad .ax-scen-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html.aos-ipad .ax-scen-h h3{margin:0;font:700 18px var(--hd);color:var(--aos-ink);flex:1}
html.aos-ipad .ax-scen-h small{font:600 13px var(--bd);color:var(--muted)}
html.aos-ipad .ax-lbl{font:600 14px var(--bd);color:var(--muted)}
html.aos-ipad .ax-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 18px;display:flex;flex-direction:column;gap:8px;min-height:0}
html.aos-ipad .ax-card.ax-grow{flex:1 1 0;min-height:300px}
html.aos-ipad .ax-card-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html.aos-ipad .ax-card-h h3{font:700 17px var(--hd);color:var(--aos-ink);margin:0;flex:1;min-width:0}

/* ---------- the big numbers (Advisory's .num) ---------- */
html.aos-ipad .ax-nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;flex:none}
html.aos-ipad .ax-nums:empty{display:none}
html.aos-ipad .ax-nums .num{position:relative;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 18px;text-align:left;font:inherit;color:inherit;cursor:pointer;min-width:0}
html.aos-ipad .ax-nums .num:active{transform:scale(.985)}
html.aos-ipad .ax-nums .num > span{display:block;font:500 15px/1.3 var(--bd);color:var(--muted);padding-right:28px}
html.aos-ipad .ax-nums .num > b{display:inline-block;max-width:100%;font:800 clamp(24px,2.6vw,34px)/1.15 var(--hd);color:var(--aos-ink);margin-top:6px;border-bottom:3px dotted var(--keep);padding-bottom:2px;white-space:nowrap;font-variant-numeric:tabular-nums}
html.aos-ipad .ax-nums .num > small{display:block;font:500 13.5px/1.35 var(--bd);color:var(--muted);margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.aos-ipad .ax-nums .num .tap{position:absolute;top:12px;right:12px;width:26px;height:26px;border-radius:50%;background:var(--tint);color:var(--blue);display:grid;place-items:center;font:700 13px var(--hd);font-style:normal}
html.aos-ipad .ax-nums .num.hl{border:2px solid var(--blue);background:linear-gradient(180deg,var(--card),var(--tint))}
html.aos-ipad .ax-nums .num.hl > b{color:var(--blue);border-color:var(--blue)}

/* ---------- controls everywhere: Advisory's sizes ---------- */
html.aos-ipad .seg{display:inline-flex;background:var(--tint);border:0!important;border-radius:12px;padding:3px;gap:2px;overflow:visible;flex-wrap:wrap}
html.aos-ipad .seg button{border:0!important;background:transparent;font:600 14px var(--bd);color:var(--blue);padding:8px 13px;border-radius:9px;min-height:40px;cursor:pointer;white-space:nowrap}
html.aos-ipad .seg button.on,html.aos-ipad .seg button[aria-pressed=true]{background:var(--card);color:var(--aos-ink);box-shadow:var(--shadow)}
html.aos-ipad[data-theme="dark"] .seg button.on{background:var(--deep);color:#fff}
html.aos-ipad .fg label{font:600 13.5px var(--bd);color:var(--muted);text-transform:none;letter-spacing:0}
html.aos-ipad .fg select,html.aos-ipad .fg input:not([type=checkbox]):not([type=range]),html.aos-ipad .msbtn{min-height:48px;font-size:16px;border-radius:12px;padding:10px 12px;
  background:var(--card);border:1px solid var(--line-strong);color:var(--text);max-width:none}
html.aos-ipad .addbtn{min-height:44px;border-radius:12px;font:600 15px var(--bd);padding:10px 16px;background:var(--blue)}
html.aos-ipad .addbtn.idle{background:var(--card);color:var(--blue);border:1px solid var(--line-strong)}
html.aos-ipad .pbtn{min-height:40px;font:600 14px var(--bd);padding:8px 14px;border-radius:99px;background:var(--card);border:1px solid var(--line-strong);color:var(--text)}
html.aos-ipad .pbtn.on{background:var(--deep);border-color:var(--deep);color:#fff}
html.aos-ipad .pbtn .n{font-size:12px}
html.aos-ipad .mini,html.aos-ipad .pbnote{font:500 13.5px/1.45 var(--bd);color:var(--muted);font-style:normal}
html.aos-ipad .chips{gap:8px}
/* small type written inline by Invest's own screens, lifted to Advisory's minimum */
html.aos-ipad .wrap [style*="font-size:9"],html.aos-ipad .wrap [style*="font-size:10px"],html.aos-ipad .wrap [style*="font-size:10.5px"],
html.aos-ipad .modal-bg [style*="font-size:9"],html.aos-ipad .modal-bg [style*="font-size:10px"],html.aos-ipad .modal-bg [style*="font-size:10.5px"]{font-size:12.5px!important}
html.aos-ipad .wrap [style*="font-size:11px"],html.aos-ipad .wrap [style*="font-size:11.5px"],html.aos-ipad .wrap [style*="font-size:12px"],
html.aos-ipad .modal-bg [style*="font-size:11px"],html.aos-ipad .modal-bg [style*="font-size:11.5px"],html.aos-ipad .modal-bg [style*="font-size:12px"]{font-size:13.5px!important}
html.aos-ipad .wrap [style*="font-size:12.5px"],html.aos-ipad .wrap [style*="font-size:13px"],html.aos-ipad .modal-bg [style*="font-size:12.5px"],html.aos-ipad .modal-bg [style*="font-size:13px"]{font-size:14.5px!important}
/* the multi-select pickers open as large lists */
html.aos-ipad .mspop{min-width:300px;max-width:380px;border-radius:14px;padding:10px;font-size:15px;box-shadow:0 18px 50px rgba(13,21,29,.25)}
html.aos-ipad .mspop-q{min-height:46px;font-size:16px;border-radius:10px}
html.aos-ipad .mspop label.mspop-r{min-height:46px;font-size:15px;border-radius:10px}
html.aos-ipad .mspop label.mspop-r input{width:20px;height:20px}
html.aos-ipad .mspop-f button{font-size:15px;min-height:44px;border-radius:10px;padding:8px 16px}
html.aos-ipad .combo-list{font-size:15px;border-radius:14px;box-shadow:0 18px 50px rgba(13,21,29,.22);max-height:50vh}
html.aos-ipad .combo-list > *{min-height:46px;padding:10px 14px!important}
html.aos-ipad .ilppop{font-size:15px;border-radius:14px}
html.aos-ipad .ilppop button{min-height:44px;font-size:15px}

/* ---------- Explorer ---------- */
html.aos-ipad .ax-ex .drwbar{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;border:0;background:none}
html.aos-ipad .ax-ex .drwbar .drw{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:14px;
  font:600 16px/1.2 var(--hd);color:var(--muted);min-height:56px;cursor:pointer}
html.aos-ipad .ax-ex .drwbar .drw .cv{display:none}
html.aos-ipad .ax-ex .drwbar .drw .db{margin-left:auto;min-width:24px;height:24px;border-radius:99px;background:var(--blue);color:#fff;font:700 12px var(--bd);display:grid;place-items:center;padding:0 7px}
html.aos-ipad .ax-ex .drwbar .drw.act{color:var(--aos-ink)}
html.aos-ipad .ax-ex .drwbar .drw.on{background:var(--tint);color:var(--aos-ink);box-shadow:inset 4px 0 0 var(--blue)}
html.aos-ipad .ax-ex .drwbar .drw-clr{margin-top:10px;color:#C0392B;font:600 15px var(--bd);min-height:44px;justify-content:center;border:1px solid var(--line)}
html.aos-ipad .ax-search{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0!important;align-items:end}
html.aos-ipad .ax-search .fg{min-width:0}
html.aos-ipad .ax-search #q{font-size:17px;min-height:52px;padding-left:14px}
html.aos-ipad .ax-search .more{display:none}
html.aos-ipad .ax-viewrow{display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex:none}
html.aos-ipad .ax-viewrow #explTabs{margin:0!important}
html.aos-ipad .ax-tcard{flex:1 1 0;min-height:260px;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
html.aos-ipad .ax-tcard .tbl-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;border:0;border-radius:0;margin:0;-webkit-overflow-scrolling:touch}
html.aos-ipad .ax-tcard #tbl{min-width:940px;font:500 14.5px var(--bd);font-variant-numeric:tabular-nums}
html.aos-ipad .ax-tcard #tbl thead th{position:sticky;top:0;z-index:3;background:var(--tint-2);color:var(--muted);font:600 13px var(--bd);padding:12px 10px;border-bottom:1px solid var(--line);text-transform:none;letter-spacing:0}
html.aos-ipad .ax-tcard #tbl td{padding:11px 10px;border-bottom:1px solid var(--line);vertical-align:middle}
html.aos-ipad .ax-tcard #tbl tbody tr{cursor:pointer}
html.aos-ipad .ax-tcard #tbl tbody tr:hover td{background:var(--tint-2)}
html.aos-ipad .ax-tcard #tbl .fname{font:600 15px/1.3 var(--bd);color:var(--aos-ink)}
html.aos-ipad .ax-tcard #tbl .isin{font-size:12.5px;color:var(--muted)}
html.aos-ipad .ax-tcard #tbl th.cmpcell,html.aos-ipad .ax-tcard #tbl td.cmpcell{width:48px}
html.aos-ipad .ax-tcard #tbl th.starcell,html.aos-ipad .ax-tcard #tbl td.starcell{width:44px}
html.aos-ipad .ax-tcard #tbl th:nth-child(3){width:300px}
html.aos-ipad .ax-tcard #tbl input.cmp{width:22px;height:22px}
html.aos-ipad .ax-tcard #tbl .starbtn{font-size:20px;padding:6px}
html.aos-ipad .ax-tcard #tbl :is(th,td):nth-child(-n+3){position:sticky;z-index:2;background:var(--card)}
html.aos-ipad .ax-tcard #tbl thead th:nth-child(-n+3){z-index:4;background:var(--tint-2)}
html.aos-ipad .ax-tcard #tbl :is(th,td):nth-child(1){left:0}
html.aos-ipad .ax-tcard #tbl :is(th,td):nth-child(2){left:var(--aos-c1,48px)}
html.aos-ipad .ax-tcard #tbl :is(th,td):nth-child(3){left:var(--aos-c12,92px);box-shadow:inset -1px 0 0 var(--line)}
html.aos-ipad .ax-tcard #tbl tbody tr:hover td:nth-child(-n+3){background:var(--tint-2)}
html.aos-ipad .ax-note{flex:none;margin:0!important;max-height:2.9em;overflow:hidden}
/* the panel: the open filter's choices, or the picked funds */
html.aos-ipad .ax-ex .drwhost{position:static;margin:0;padding:0;background:none;border:0}
html.aos-ipad .ax-ex .drwhost .drw-panel{position:static!important;display:flex;flex-direction:column;align-items:stretch!important;gap:16px;padding:0;margin:0;border:0;box-shadow:none;background:none;width:auto!important;left:auto!important;top:auto!important}
html.aos-ipad .ax-ex .drwhost .drw-panel[hidden]{display:none!important}
html.aos-ipad .ax-ex .drw-panel .fg{width:100%;min-width:0}
html.aos-ipad .ax-ex .drw-panel .msbtn{width:100%;text-align:left}
html.aos-ipad .ax-ex .drw-panel .pbar,html.aos-ipad .ax-ex .drw-panel .ilprow{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;margin:0}
html.aos-ipad .ax-ex .drw-panel .approved-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%}
html.aos-ipad .ax-ex .drw-panel .approved-label{width:100%;font:600 13.5px var(--bd);color:var(--muted)}
html.aos-ipad .ax-hidden-select{display:none!important}
html.aos-ipad .ax-pills{display:flex;flex-wrap:wrap;gap:6px;background:var(--tint);border-radius:12px;padding:3px}
html.aos-ipad .ax-pills button{flex:1 1 auto;border:0;background:transparent;font:600 14px var(--bd);color:var(--blue);padding:8px 10px;border-radius:9px;min-height:40px;cursor:pointer}
html.aos-ipad .ax-pills.many{display:grid;grid-template-columns:1fr 1fr}
html.aos-ipad .ax-pills.many button{text-align:left;padding:8px 12px;line-height:1.25}
html.aos-ipad .ax-pills button[aria-pressed=true]{background:var(--card);color:var(--aos-ink);box-shadow:var(--shadow)}
html.aos-ipad .ax-act{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 0 auto!important}
html.aos-ipad .ax-act > *{margin:0!important}
html.aos-ipad .ax-act #selHint{font:500 13.5px var(--bd);color:var(--muted);max-width:180px;line-height:1.3}
html.aos-ipad .ax-act #count{font:500 13px var(--bd);color:var(--muted);flex-basis:100%;text-align:right}
/* the filter panel slides in over the list's right edge, as Advisory's Scenario sheet does */
html.aos-ipad .ax-ex{position:relative;grid-template-columns:200px minmax(0,1fr)}
html.aos-ipad .ax-ex > .ax-scen{position:absolute;top:0;right:0;bottom:0;width:360px;z-index:30;border-left:1px solid var(--line);
  box-shadow:-14px 0 40px rgba(13,21,29,.16);transform:translateX(105%);transition:transform .22s ease;visibility:hidden}
html.aos-ipad .ax-ex > .ax-scen.drw-open{transform:none;visibility:visible}
html.aos-ipad .ax-done{min-height:40px;border-radius:10px;border:0;background:var(--blue);color:#fff;font:600 14px var(--bd);padding:0 16px;cursor:pointer}
html.aos-ipad .ax-scen-note{margin:-6px 0 0;font:500 13.5px var(--bd);color:var(--muted)}
html.aos-ipad #apiChips{margin:0!important;gap:8px}
html.aos-ipad #apiChips > *{min-height:40px;font-size:14px!important;border-radius:99px!important;padding:8px 12px!important}
html.aos-ipad .ax-keep > .filters,html.aos-ipad .ax-keep > #adv,html.aos-ipad .ax-keep > .pbar{display:none!important}

/* ---------- every pop-up: Advisory's sheet ---------- */
html.aos-ipad .modal-bg{background:rgba(10,22,34,.5);padding:16px;z-index:200}
html.aos-ipad .modal-bg > .sheet{width:min(1040px,calc(100vw - 32px))!important;max-width:none!important;max-height:min(90dvh,900px);border-radius:22px;padding:22px 26px 28px;
  background:var(--card);color:var(--text);box-shadow:0 24px 60px rgba(0,0,0,.3);font-size:15px;position:relative}
html.aos-ipad .modal-bg > .sheet > .x{position:sticky;top:0;float:right;z-index:5;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:var(--tint-2);color:var(--aos-ink);font-size:26px;margin:-6px -8px 0 12px}
html.aos-ipad .modal-bg > .sheet h3{font:700 24px/1.25 var(--hd);color:var(--aos-ink);margin:0 0 4px}
html.aos-ipad .modal-bg > .sheet .isin{font:500 14px var(--bd);color:var(--muted)}
html.aos-ipad .modal-bg > .sheet .stats{gap:12px;margin:16px 0}
html.aos-ipad .modal-bg > .sheet .stat{background:var(--tint-2);border-radius:14px;padding:12px 16px;min-width:130px}
html.aos-ipad .modal-bg > .sheet .chart{min-height:340px}
html.aos-ipad .modal-bg > .sheet .stat .k{font:600 13px var(--bd)!important;color:var(--muted);text-transform:none!important;letter-spacing:0!important}
html.aos-ipad .modal-bg > .sheet .stat .v{font:800 20px/1.25 var(--hd)!important;color:var(--aos-ink);margin-top:2px}
html.aos-ipad .modal-bg > .sheet .keyrow{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
html.aos-ipad .modal-bg > .sheet .seg{flex-wrap:nowrap}
html.aos-ipad #modal #mDetail,html.aos-ipad #modal .mdetail{font-size:15px}
html.aos-ipad .modal-bg > .sheet table{font:500 15px var(--bd);font-variant-numeric:tabular-nums}
html.aos-ipad .modal-bg > .sheet table th{font:600 13.5px var(--bd);color:var(--muted);padding:10px 10px;background:var(--tint-2)}
html.aos-ipad .modal-bg > .sheet table td{padding:10px 10px;border-bottom:1px solid var(--line)}
html.aos-ipad .modal-bg > .sheet details > summary{min-height:44px;display:flex;align-items:center;font:600 15px var(--bd);color:var(--blue);cursor:pointer}
html.aos-ipad .modal-bg > .sheet button{min-height:40px}
/* the look-through ("What it holds") sheet */
html.aos-ipad #pbXrayModal #pbXrayBody{font-size:15px}
html.aos-ipad #pbXrayModal #pbXrayBody .k{padding:12px 16px}
html.aos-ipad #pbXrayModal #pbXrayBody .k .val{font:800 22px var(--hd)}
html.aos-ipad #pbXrayModal #pbXrayBody .k .lab{font:600 13px var(--bd);text-transform:none;letter-spacing:0}
html.aos-ipad #pbXrayModal #pbXrayBody .k .sub{font-size:13px}
html.aos-ipad #pbXrayModal #pbXrayBody .chart{min-height:300px}

/* ---------- Builder ---------- */
html.aos-ipad .ax-pb .ax-card-h #pbTabs{display:none}
html.aos-ipad .ax-out{flex:none}
html.aos-ipad .ax-out > .pbpanel-b{padding:0}
html.aos-ipad .ax-pb .ax-nums .num{padding:12px 14px}
html.aos-ipad .ax-pb .ax-nums .num > span{font-size:14px}
html.aos-ipad .ax-pb .ax-nums .num > b{font-size:clamp(22px,2.3vw,30px)}
html.aos-ipad .ax-out .seg button{padding:8px 10px}
html.aos-ipad .ax-out #pb-chart{height:max(300px,calc(100dvh - var(--hdr) - 430px))!important}
html.aos-ipad .ax-out #frontier{height:min(52vh,480px)!important}
html.aos-ipad .ax-out .pbpane[data-pane="alloc"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
html.aos-ipad .ax-out .pbpane[data-pane="alloc"].on{display:grid}
html.aos-ipad .ax-out .pbpane[data-pane="alloc"] #pb-donut{height:340px!important}
html.aos-ipad .ax-out .pbpane[data-pane="alloc"] #pb-alloc{font-size:15px}
html.aos-ipad .ax-out #brange{margin-bottom:6px}
html.aos-ipad .ax-out #pbOnlyBtn{min-height:40px;border-radius:10px;font:600 14px var(--bd);padding:6px 14px}
/* All statistics: Invest's key-number block, every figure, as Advisory cards */
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin:0}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi > .pbkpi-hdr{grid-column:1 / -1;font:700 15px var(--hd);color:var(--aos-ink)}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi .k{background:var(--tint-2);border:0;border-radius:14px;padding:12px 16px}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi .k .lab{font:600 13px var(--bd);color:var(--muted);text-transform:none;letter-spacing:0}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi .k .val{font:800 24px var(--hd);color:var(--aos-ink)}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi .k .sub{font:500 13px var(--bd);color:var(--muted)}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi .pbkpi-more{grid-column:1 / -1}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi #pbMoreStats{display:none}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi #pbStatsDrawer{display:block!important;margin-top:4px!important}
html.aos-ipad .pbpane[data-pane="stats"] #pbKpi .pbkpi-drawer{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;gap:12px}
/* the portfolio panel */
html.aos-ipad .ax-pb .ax-scen > .pbpanel-b{padding:0;display:flex;flex-direction:column;gap:14px}
html.aos-ipad .ax-pb #pbXrayBtn{font:600 14px var(--bd);color:var(--blue);cursor:pointer;min-height:36px;display:inline-flex;align-items:center}
html.aos-ipad .ax-pb .ax-scen .fg{margin:0!important}
html.aos-ipad .ax-pb .optpanel{background:var(--tint-2);border:0;border-radius:14px;padding:12px;margin:0}
html.aos-ipad .ax-pb #optMode{display:flex;flex-wrap:wrap;width:100%}
html.aos-ipad .ax-pb #optMode button{flex:1 1 40%}
html.aos-ipad .ax-pb #pbModels{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px}
html.aos-ipad .ax-pb #pbModels input,html.aos-ipad .ax-pb #pbModels select{min-height:44px;border-radius:10px;font-size:15px;flex:1 1 140px}
html.aos-ipad .ax-pb #pbModels button{min-height:44px;border-radius:10px;font-size:14px}
html.aos-ipad .ax-pb #pb-list{border:0;display:flex;flex-direction:column;gap:8px}
html.aos-ipad .ax-pb .pb-row{display:grid;grid-template-columns:minmax(0,1fr) 76px 16px 40px;grid-template-areas:'nm nm nm nm' 'sl in pc x';align-items:center;gap:8px;padding:12px;height:auto!important;overflow:visible!important;
  border:1px solid var(--line);border-left:5px solid var(--blue);border-radius:14px;background:var(--card)}
html.aos-ipad .ax-pb .pb-row .pbbar{display:none}
html.aos-ipad .ax-pb .pb-row .nm{grid-area:nm;font:600 15px/1.3 var(--bd);color:var(--aos-ink);white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html.aos-ipad .ax-pb .pb-row input.pbpct{grid-area:in;width:76px;min-height:44px;font:700 17px var(--hd);text-align:right;border-radius:10px;border:1px solid var(--line-strong);padding:6px 8px;background:var(--tint-2);color:var(--aos-ink)}
html.aos-ipad .ax-pb .pb-row > span:not(.nm):not(.pbbar){grid-area:pc;font:600 15px var(--bd);color:var(--muted)}
html.aos-ipad .ax-pb .pb-row > button{grid-area:x;width:40px;height:40px;border-radius:10px;font-size:16px}
html.aos-ipad .ax-pb .pb-row .ax-w{grid-area:sl;width:100%;height:30px;margin:0;-webkit-appearance:none;appearance:none;background:transparent}
html.aos-ipad .ax-pb .pb-row .ax-w::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:linear-gradient(90deg,var(--blue) 0 var(--w,0%),var(--tint) var(--w,0%))}
html.aos-ipad .ax-pb .pb-row .ax-w::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-10px;border-radius:50%;background:var(--card);border:3px solid var(--blue);box-shadow:0 1px 4px rgba(0,0,0,.2)}
html.aos-ipad .ax-pb .pb-row .ax-w::-moz-range-track{height:8px;border-radius:8px;background:var(--tint)}
html.aos-ipad .ax-pb .pb-row .ax-w::-moz-range-progress{height:8px;border-radius:8px;background:var(--blue)}
html.aos-ipad .ax-pb .pb-row .ax-w::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--card);border:3px solid var(--blue)}
html.aos-ipad .ax-pb #wsum{font:800 22px var(--hd);color:var(--aos-ink)}
html.aos-ipad .ax-pb #pbEqual,html.aos-ipad .ax-pb #pbClear{min-height:44px;border-radius:12px;font:600 14px var(--bd);padding:8px 14px}
html.aos-ipad .ax-pb #pbInput{font-size:16px;min-height:50px}

/* ---------- Analysis ---------- */
html.aos-ipad .ax-pf #perfModeSeg{flex:none;align-self:flex-start;margin:0!important}
html.aos-ipad .ax-pf .ax-pchart{flex:none}
html.aos-ipad .ax-pf #pChart{height:min(52vh,480px)!important}
html.aos-ipad .ax-pf .ax-ctl{display:flex!important;flex-direction:column;align-items:stretch!important;gap:14px!important;margin:0!important}
html.aos-ipad .ax-pf .ax-ctl > label:not([style*="display:none"]):not([style*="display: none"]){display:flex!important;flex-direction:column;align-items:stretch!important;gap:6px!important;font:600 14px var(--bd)!important;color:var(--muted)!important}
html.aos-ipad .ax-pf .ax-ctl select{min-height:48px;font-size:16px!important;border-radius:12px!important;padding:10px 12px!important}
html.aos-ipad .ax-pf .ax-ctl .fg{max-width:none!important;min-width:0!important}
html.aos-ipad .ax-pf .ax-ctl .seg{width:100%}
html.aos-ipad .ax-pf .ax-ctl .seg button{flex:1 1 auto}
html.aos-ipad .ax-pf #pClearAll{min-height:44px;border-radius:12px}
html.aos-ipad .ax-pf #pTable table{font-size:14.5px}
html.aos-ipad .ax-pf.pro .ax-pchart,html.aos-ipad .ax-pf.pro .ax-cmp,html.aos-ipad .ax-pf:not(.pro) .ax-ta{display:none}
html.aos-ipad .ax-cmp,html.aos-ipad .ax-ta{display:flex;flex-direction:column;gap:14px}
html.aos-ipad .ax-ta-list{display:flex;flex-direction:column;gap:8px}
html.aos-ipad .ax-ta-f{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:12px 14px;border-radius:14px;border:1px solid var(--line);border-left:5px solid var(--line-strong);background:var(--card);cursor:pointer;min-height:56px}
html.aos-ipad .ax-ta-f b{font:600 15px/1.3 var(--bd);color:var(--aos-ink)}
html.aos-ipad .ax-ta-f small{font:500 13px var(--bd);color:var(--muted)}
html.aos-ipad .ax-ta-f[aria-current=true]{border-color:var(--blue);border-left-color:var(--blue);background:var(--tint)}
html.aos-ipad .ax-ta .combo input{width:100%;min-height:48px;font-size:16px;border-radius:12px;padding:10px 12px;border:1px solid var(--line-strong);background:var(--card)}
html.aos-ipad .pn-note{margin:0;font:500 13.5px/1.45 var(--bd);color:var(--muted);background:var(--tint-2);border-radius:12px;padding:10px 12px}

/* ---------- Heat map, Sectors, Saved ---------- */
html.aos-ipad .view.ax-simple.active{padding:18px 24px 28px;display:flex;flex-direction:column;gap:12px}
html.aos-ipad .ax-simple > .card{border-radius:16px;border:1px solid var(--line);box-shadow:none;padding:16px 20px}
html.aos-ipad .ax-simple h2{font:700 clamp(22px,2.4vw,28px)/1.22 var(--hd)!important;color:var(--aos-ink)}
html.aos-ipad #v-worldmap .ax-simple-k{display:none}
html.aos-ipad #v-worldmap.active{padding:14px 18px}
/* the heat map fills the screen below the header, nothing to scroll (26 Oct 2026, Ethan: "the size of the world map actually
   exceeded the iPad real estate"): the view as tall as the space under the header, the card the rest after the ticker, the
   map whatever the heading row and the note leave, in landscape and portrait */
@media (min-width:1001px){
html.aos-ipad #v-worldmap.active{height:100%;box-sizing:border-box;overflow:hidden}
html.aos-ipad #v-worldmap.active>*{flex:none}
html.aos-ipad #v-worldmap.active>.card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.aos-ipad #v-worldmap.active>.card>*{flex:none}
html.aos-ipad #v-worldmap #worldmap{flex:1 1 0!important;height:auto!important;min-height:240px}
}
/* (an iPad upright: the page scrolls as a whole, so the map is sized from where it starts to the foot of the screen, by
   wmFit() in index.html) */
html.aos-ipad #v-dashboard table,html.aos-ipad #v-saved table{font-size:14.5px}
html.aos-ipad #v-dashboard td,html.aos-ipad #v-dashboard th{padding:9px 10px}

/* ---------- each year: paid out vs total return ---------- */
.aos-yearly{margin-top:16px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.aos-yearly h4 small{font:600 13px "Inter",system-ui,sans-serif;color:var(--mut);margin-left:6px}
.aos-yearly h4{margin:0 0 6px;font:700 17px/1.2 "Montserrat","Inter",system-ui,sans-serif;color:var(--aos-ink,#163E5C)}
.aos-yearly .aos-ych{height:260px}
.aos-yearly .aos-ynote{font:500 13.5px/1.45 "Inter",system-ui,sans-serif;color:var(--mut)}
.aos-yearly details > summary{min-height:44px;display:flex;align-items:center;font:600 15px "Inter",system-ui,sans-serif;color:var(--aos-blue,#1F5F8B);cursor:pointer}
.aos-yearly table{width:100%;border-collapse:collapse;margin-top:6px;font-size:15px}
.aos-yearly td,.aos-yearly th{padding:8px 10px;border-bottom:1px solid var(--line);text-align:right}
.aos-yearly td:first-child,.aos-yearly th:first-child{text-align:left}

/* ---------- Show client ---------- */
.aos-client{position:fixed;inset:0;z-index:9990;background:var(--bg);overflow-y:auto;padding:22px max(18px,4vw) 40px}
.aos-client-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.aos-client-top h2{margin:4px 0 0;font:800 30px/1.15 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.aos-client .ax-kicker{font:700 13px "Inter",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--aos-blue,#1F5F8B)}
.aos-client-top .sp{flex:1}
.aos-client-top button{min-height:46px;padding:0 18px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--ink);font:600 15px "Inter",sans-serif;cursor:pointer}
.aos-client-top button.pri{background:var(--aos-blue,#1F5F8B);border-color:transparent;color:#fff}
.aos-client-kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:16px}
.aos-client-kpi > div{padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.aos-client-kpi span{display:block;font:500 15px "Inter",sans-serif;color:var(--mut)}
.aos-client-kpi b{display:block;font:800 28px/1.2 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C);margin-top:4px}
.aos-client-kpi small{display:block;font:500 13px "Inter",sans-serif;color:var(--mut)}
.aos-client-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}
.aos-client-card{padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.aos-client-card h3{margin:0 0 10px;font:700 18px "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.aos-client-card .ch{height:360px}
.aos-client-card table{width:100%;border-collapse:collapse;font:500 15px "Inter",sans-serif}
.aos-client-card td{padding:9px 4px;border-bottom:1px solid var(--line);text-align:left}
.aos-client-card td.w{text-align:right;font:800 17px "Montserrat",sans-serif;white-space:nowrap}
.aos-client-foot{margin-top:16px;font:500 13px/1.45 "Inter",sans-serif;color:var(--mut)}
@media (max-width:900px){.aos-client-grid{grid-template-columns:minmax(0,1fr)}}
@media print{body > *:not(.aos-client){display:none!important}.aos-client{position:static;padding:0}.aos-client-top button{display:none}}

/* ---------- portrait iPad and phone: the rail becomes a row, the panel comes under the stage ---------- */
@media (max-width:1000px){
  html.aos-ipad body{height:auto;overflow:auto}
  html.aos-ipad .wrap{overflow:visible}
  html.aos-ipad .ax-card-host{height:auto}
  html.aos-ipad .ax-shell,html.aos-ipad .ax-shell.no-rail,html.aos-ipad .ax-pb{grid-template-columns:minmax(0,1fr)}
  html.aos-ipad .ax-rail{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap;padding:10px 12px}
  html.aos-ipad .ax-rail-h{width:100%}
  html.aos-ipad .ax-ex .drwbar{flex-direction:row;flex-wrap:wrap}
  html.aos-ipad .ax-ex .drwbar .drw,html.aos-ipad .ax-rail > button{width:auto;min-height:44px}
  html.aos-ipad .ax-rail > .ax-plan{margin-top:0}
  html.aos-ipad .ax-scen{border-left:0;border-top:1px solid var(--line)}
  html.aos-ipad .ax-scr{height:auto;overflow:visible}
  html.aos-ipad .ax-tcard{min-height:60vh}
  html.aos-ipad .ax-nums{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.aos-ipad .ax-search{grid-template-columns:minmax(0,1fr)}
  html.aos-ipad .ax-card.ax-grow,html.aos-ipad .ax-out{flex:none}
  html.aos-ipad .ax-out #pb-chart{height:420px!important}
  html.aos-ipad .ax-tcard{flex:none;height:70vh}
  /* the header in two rows: AdvisersOS and the products on top, Invest's sections underneath */
  html.aos-ipad body > header.ax-top{height:auto;flex-wrap:wrap!important;padding:8px 14px!important;row-gap:8px!important}
  html.aos-ipad header.ax-top nav:not(.aos-switch){order:10;flex:1 0 100%;overflow-x:auto;justify-content:flex-start}
  html.aos-ipad header.ax-top nav:not(.aos-switch) button{flex:1 0 auto}
  html.aos-ipad .ax-ex > .ax-scen{position:fixed;top:auto;left:0;right:0;bottom:0;width:auto;max-height:78dvh;border-radius:22px 22px 0 0;border-left:0;transform:translateY(105%)}
  html.aos-ipad .ax-ex > .ax-scen.drw-open{transform:none}
}

/* the portfolio panel's folded sections */
html.aos-ipad .ax-fold{border:1px solid var(--line);border-radius:14px;background:var(--card)}
html.aos-ipad .ax-fold > summary{min-height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font:700 15px var(--hd);color:var(--aos-ink);cursor:pointer;list-style:none}
html.aos-ipad .ax-fold > summary::-webkit-details-marker{display:none}
html.aos-ipad .ax-fold > summary::after{content:"+";font:600 20px var(--bd);color:var(--muted)}
html.aos-ipad .ax-fold[open] > summary::after{content:"–"}
html.aos-ipad .ax-fold > :not(summary){margin:0 12px 12px!important}
html.aos-ipad .ax-tot{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;font:600 14px var(--bd);color:var(--muted)}

/* the insurer / platform pop-ups open over the filter panel */
html.aos-ipad .ilppop.ax-pop{z-index:260;box-shadow:0 18px 50px rgba(13,21,29,.25);border-radius:14px}
/* an insurer's products / iGP's sub-shelves: a second level pushed inside the filter panel, ‹ Back at its top (26 Oct 2026) */
html.aos-ipad .ax-scen > .ilppop.ax-push{position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  min-width:0;max-width:none;max-height:none;overflow:visible;box-shadow:none;border:1px solid var(--line);border-radius:14px;padding:6px;margin:0}
html.aos-ipad .ax-scen > .ax-back{display:none;align-self:flex-start;border:0;background:none;padding:6px 2px;font:600 15px var(--bd);color:var(--aos-blue,#1F5F8B);cursor:pointer;min-height:44px}
html.aos-ipad .ax-scen.ax-pushed > .ax-back{display:inline-flex;align-items:center}
html.aos-ipad .ax-scen.ax-pushed > :not(.ax-scen-h):not(.ax-back):not(.ilppop){display:none!important}

/* UT platform and Insurer ILP: one filter, two sections */
html.aos-ipad .ax-ex .drw-panel .ax-sec{margin:4px 0 -6px;font:700 15px var(--hd);color:var(--aos-ink)}
html.aos-ipad .ax-ex .drw-panel .ax-sec ~ .ax-sec{margin-top:10px;padding-top:14px;border-top:1px solid var(--line)}
html.aos-ipad .ax-ex .drw-panel .approved-label,html.aos-ipad .ax-ex .drw-panel .ilp-label{display:none}
html.aos-ipad .ax-ex .drw-panel .ilp-group{display:flex;flex-wrap:wrap;gap:8px}
html.aos-ipad .ax-ex .drwbar .drw.ax-merged{display:none}

/* views, Compare, Add to portfolio and the active filters on one line; chips a size smaller, sideways if many */
html.aos-ipad .ax-viewrow{flex-wrap:nowrap;gap:10px;min-width:0}
html.aos-ipad .ax-viewrow #explTabs{flex:none;flex-wrap:nowrap}
html.aos-ipad .ax-viewrow #explTabs button{padding:8px 11px;font-size:13.5px}
html.aos-ipad .ax-viewrow .ax-act{flex:none;flex-wrap:nowrap;margin:0!important}
html.aos-ipad .ax-viewrow .ax-act #cmpBtn,html.aos-ipad .ax-viewrow .ax-act #pfBtn{min-height:42px;padding:8px 14px;font-size:14px;white-space:nowrap}
html.aos-ipad .ax-viewrow .ax-act #count{display:none}
html.aos-ipad .ax-hint{display:none!important}
html.aos-ipad .ax-viewrow #apiChips{flex:1 1 auto;min-width:0;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:none;margin:0!important}
html.aos-ipad .ax-viewrow #apiChips::-webkit-scrollbar{display:none}
html.aos-ipad .ax-viewrow #apiChips > *{flex:none;min-height:32px!important;font-size:13px!important;padding:5px 10px!important;white-space:nowrap}

/* the Selected tray: always the same height, so the list never moves when a fund is ticked */
html.aos-ipad .ax-tray{flex:none;display:flex;align-items:center;gap:10px;height:52px;padding:0 6px 0 14px;border:1px dashed var(--line-strong);border-radius:14px;background:var(--card)}
html.aos-ipad .ax-tray.has{border-style:solid;border-color:var(--blue);background:var(--tint)}
html.aos-ipad .ax-tray-l{flex:none;font:600 14px var(--bd);color:var(--muted)}
html.aos-ipad .ax-tray-l b{display:inline-grid;place-items:center;min-width:26px;height:26px;border-radius:99px;background:var(--line);color:var(--aos-ink);font:700 13px var(--bd);margin-left:4px;padding:0 7px}
html.aos-ipad .ax-tray.has .ax-tray-l b{background:var(--blue);color:#fff}
html.aos-ipad .ax-tray-c{flex:1 1 auto;min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;align-items:center}
html.aos-ipad .ax-tray-c::-webkit-scrollbar{display:none}
html.aos-ipad .ax-tray-e{font:500 13.5px var(--bd);color:var(--muted);white-space:nowrap}
html.aos-ipad .ax-chip{flex:none;display:inline-flex;align-items:center;gap:4px;max-width:260px;height:36px;padding:0 4px 0 12px;border-radius:99px;background:var(--card);border:1px solid var(--line-strong);font:600 13.5px var(--bd);color:var(--aos-ink)}
html.aos-ipad .ax-chip > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.aos-ipad .ax-chip button{flex:none;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:18px;cursor:pointer}
html.aos-ipad .ax-tray-only{flex:none;min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--line-strong);background:var(--card);color:var(--blue);font:600 14px var(--bd);cursor:pointer}
html.aos-ipad .ax-tray:not(.has) .ax-tray-only{opacity:.4;cursor:default}
html.aos-ipad .ax-tray-only[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
html.aos-ipad .ax-tcard.ax-only #tbody tr:not(:has(input.cmp:checked)){display:none}

html.aos-ipad .ax-ex{overflow:hidden}
html.aos-ipad .ax-viewrow .ax-act #clrSelBtn{display:none!important}
html.aos-ipad .ax-tray-clr{flex:none;min-height:40px;padding:0 12px;border-radius:10px;border:0;background:transparent;color:#C0392B;font:600 14px var(--bd);cursor:pointer}
html.aos-ipad .ax-tray:not(.has) .ax-tray-clr{display:none}

/* fund names on two lines at full size (the middle is cut only past two lines, so the share class always shows) */
html.aos-ipad .ax-tcard #tbody td.fundcell .fname{white-space:normal!important;text-overflow:clip!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:15px!important;line-height:1.3;max-height:2.6em;word-break:normal;overflow-wrap:anywhere}

/* the Account sheet */
html.aos-ipad #epAuthBox > span{cursor:pointer}
html.aos-ipad .ax-acct-open{min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--aos-ink);font:600 14px var(--bd);padding:0 14px;cursor:pointer}
html.aos-ipad #axAccount > .sheet{width:min(560px,calc(100vw - 32px))!important}
.ax-acct-plan{margin:18px 0 14px;padding:16px 18px;border-radius:16px;background:var(--tint-2,#F1F5F9);display:flex;flex-direction:column;gap:2px}
.ax-acct-plan span{font:600 13.5px "Inter",sans-serif;color:var(--mut)}
.ax-acct-plan b{font:800 30px/1.15 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.ax-acct-plan small{font:500 14.5px "Inter",sans-serif;color:var(--mut)}
.ax-acct-plan small.warn{color:#B8691A}
.ax-acct-btns{display:flex;flex-direction:column;gap:10px}
.ax-acct-btns > *{min-height:50px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--aos-ink,#163E5C);font:600 16px "Inter",sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;text-decoration:none}
.ax-acct-btns .ax-acct-pri{background:var(--aos-blue,#1F5F8B);border-color:transparent;color:#fff}
.ax-acct-btns .ax-acct-cancel{color:#C0392B}
.ax-acct-note{margin:12px 0 0;font:500 13.5px/1.5 "Inter",sans-serif;color:var(--mut)}
.ax-acct-foot{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}
.ax-acct-foot button{min-height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--aos-ink,#163E5C);font:600 15px "Inter",sans-serif;padding:0 18px;cursor:pointer}

/* the subscription itself (from Stripe): its items, the total, renews or ends */
.ax-acct-sub{margin-top:14px;padding:14px 16px;border:1px solid var(--line);border-radius:16px}
.ax-acct-sub:empty{display:none}
.ax-acct-sub>span{font:600 13.5px "Inter",sans-serif;color:var(--mut)}
.ax-acct-sub ul{list-style:none;margin:8px 0 0;padding:0}
.ax-acct-sub li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line);font:500 15px "Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.ax-acct-sub li em{font-style:normal;color:var(--mut);white-space:nowrap}
.ax-acct-tot{margin-top:8px;font:700 15px "Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.ax-acct-tot.warn{color:#B8691A}
.ax-acct-sub .ax-acct-btns{margin-top:12px}

/* what you can open, and the plans page */
.ax-acct-mods{margin-top:14px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ax-acct-mods:empty{display:none}
.ax-acct-mods span{width:100%;font:600 13.5px "Inter",sans-serif;color:var(--mut)}
.ax-acct-mods i{font:600 13.5px "Inter",sans-serif;font-style:normal;padding:6px 12px;border-radius:99px;background:var(--tint-2,#F1F5F9);color:var(--aos-ink,#163E5C)}
.ax-acct-mods i.none{color:var(--mut)}
html.aos-ipad #axPlans > .sheet{width:min(1040px,calc(100vw - 32px))!important}
.ax-plans-cyc{margin:14px 0}
.ax-plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.ax-plan{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.ax-plan b{font:700 17px/1.25 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.ax-plan-p{font:800 28px/1.1 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.ax-plan-p small{font:600 14px "Inter",sans-serif;color:var(--mut);margin-left:2px}
.ax-plan-d{font:500 13.5px/1.4 "Inter",sans-serif;color:var(--mut);flex:1}
.ax-picks{display:flex;flex-direction:column;gap:4px;margin:4px 0}
.ax-picks label{display:flex;align-items:center;gap:8px;min-height:36px;font:500 14.5px "Inter",sans-serif;color:var(--ink)}
.ax-picks input{width:20px;height:20px}
.ax-plan-go{min-height:46px;border-radius:12px;border:0;background:var(--aos-blue,#1F5F8B);color:#fff;font:600 15px "Inter",sans-serif;cursor:pointer;margin-top:4px}
.ax-plan-go:disabled{opacity:.5;cursor:default}

/* the adviser's details */
html.aos-ipad #axDetails > .sheet{width:min(520px,calc(100vw - 32px))!important}
.ax-f{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.ax-f span{font:600 13.5px "Inter",sans-serif;color:var(--mut)}
.ax-f input,.ax-f select{min-height:50px;border-radius:12px;border:1px solid var(--line);padding:0 14px;font:500 16px "Inter",sans-serif;background:var(--card);color:var(--ink)}
.ax-f input:disabled{opacity:.6}

/* ---------- Markets: the heat map and the sectors on one page (28 Oct 2026) ----------
   One iPad screen, landscape and upright: the headline and the period; Led · Lagged · World markets; By asset class ·
   What is turning. The ranking, a sector, the map larger and the method open in one pop-up. A phone scrolls the page. */
html.aos-ipad.ax-mk-on header.ax-top nav:not(.aos-switch) button[data-v="worldmap"]{display:none!important}
html.aos-ipad.ax-mk-on #v-dashboard > .card,html.aos-ipad.ax-mk-on #v-dashboard > .ax-simple-k{display:none!important}
html.aos-ipad.ax-mk-on #v-dashboard.active{height:100%;box-sizing:border-box;overflow:hidden;padding:16px 24px 18px;gap:0}
html.aos-ipad .axm{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:14px;font:400 14px/1.4 var(--bd);color:var(--text)}
html.aos-ipad .axm *{box-sizing:border-box}
html.aos-ipad .axm-head{flex:none;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
html.aos-ipad .axm-tt{flex:1;min-width:0}
html.aos-ipad .axm-h{margin:4px 0 0;font:700 clamp(19px,1.85vw,22px)/1.32 var(--hd);color:var(--aos-ink);max-width:none}
html.aos-ipad .axm-h em{font-style:normal;color:var(--blue)}
html.aos-ipad .axm em.pos,html.aos-ipad .axm-panel em.pos{color:var(--pos)}
html.aos-ipad .axm em.neg,html.aos-ipad .axm-panel em.neg{color:var(--neg)}
html.aos-ipad .axm-ctl{flex:none;display:flex;align-items:center;gap:8px}
html.aos-ipad .axm-per{flex-wrap:nowrap}
html.aos-ipad .axm-per button{min-width:44px;padding:8px 10px}
html.aos-ipad .axm-per button:disabled{opacity:.35;cursor:not-allowed}
html.aos-ipad .axm-i{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--line-strong);background:var(--card);color:var(--blue);font:700 16px/1 Georgia,serif;font-style:italic;cursor:pointer}
html.aos-ipad .axm-grid{flex:1 1 0;min-height:0;display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1.05fr) minmax(0,1fr);
  grid-template-areas:"led lag world" "cls cls trend"}
html.aos-ipad .axm-led{grid-area:led}html.aos-ipad .axm-lag{grid-area:lag}html.aos-ipad .axm-world{grid-area:world}html.aos-ipad .axm-cls{grid-area:cls}html.aos-ipad .axm-trend{grid-area:trend}
html.aos-ipad .axm-card{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
html.aos-ipad .axm-ch{flex:none;display:flex;align-items:baseline;gap:10px;padding:12px 16px 8px}
html.aos-ipad .axm-ch h2{margin:0;font:700 16px/1.25 var(--hd)!important;color:var(--aos-ink);white-space:nowrap}
html.aos-ipad .axm-ch small{margin-left:auto;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html.aos-ipad .axm-empty{margin:0;padding:14px 16px;border-top:1px solid var(--line);color:var(--muted)}
/* led and lagged: rank, the name in plain words with its class and number of funds, a bar on one scale, the figure */
html.aos-ipad .axm-rows{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.aos-ipad .axm-row{flex:1 1 0;display:grid;grid-template-columns:22px minmax(0,1fr) 70px;align-items:center;gap:10px;width:100%;min-height:44px;padding:3px 16px;
  border:0;border-top:1px solid var(--line);background:none;text-align:left;cursor:pointer;color:inherit;font:inherit;--fpos:rgba(30,143,89,.13);--fneg:rgba(192,57,43,.12)}
html.aos-ipad[data-theme="dark"] .axm-row{--fpos:rgba(90,219,159,.13);--fneg:rgba(239,124,110,.15)}
html.aos-ipad .axm-row.fill.pos{background:linear-gradient(90deg,var(--fpos) 0 var(--w),transparent var(--w))}
html.aos-ipad .axm-row.fill.neg{background:linear-gradient(90deg,var(--fneg) 0 var(--w),transparent var(--w))}
html.aos-ipad .axm-row:hover{box-shadow:inset 3px 0 0 var(--blue)}
html.aos-ipad .axm-rk{font:700 13px var(--bd);color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
html.aos-ipad .axm-nm{min-width:0}
html.aos-ipad .axm-nm b{display:block;font-size:15px;font-weight:600;line-height:1.25;color:var(--aos-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axm-nm small{display:block;font-size:12.5px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axm-bar{position:relative;height:8px;border-radius:4px;background:var(--tint-2);overflow:hidden}
html.aos-ipad .axm-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:4px}
html.aos-ipad .axm-bar i.pos{background:var(--pos)}html.aos-ipad .axm-bar i.neg{background:var(--neg)}
html.aos-ipad .axm-v{text-align:right;font:700 15px var(--bd);font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}
html.aos-ipad .axm-v.pos{color:var(--pos)}html.aos-ipad .axm-v.neg{color:var(--neg)}
html.aos-ipad .axm-all{margin-left:auto;align-self:center;min-height:36px;border:0;border-radius:18px;background:var(--tint);color:var(--blue);font:600 14px var(--bd);cursor:pointer;padding:0 14px;white-space:nowrap}
html.aos-ipad .axm-led .axm-ch,html.aos-ipad .axm-lag .axm-ch{align-items:center;padding:8px 12px 6px 16px}
/* world markets: Invest's dark map, small; a tap opens it larger */
html.aos-ipad .axm-world{background:linear-gradient(160deg,#0d1b3e,#16255a);border-color:#1d2c5c;color:#dfe7f5}
html.aos-ipad .axm-world .axm-ch{align-items:center;padding:8px 10px 2px 16px}
html.aos-ipad .axm-world .axm-ch h2{color:#fff}
html.aos-ipad .axm-zoom{margin-left:auto;align-self:center;width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;font-size:18px;cursor:pointer}
html.aos-ipad .axm-map{position:relative;flex:1 1 0;min-height:100px;margin:0 6px;overflow:hidden}
html.aos-ipad .axm-map #worldmap,html.aos-ipad .axm-big #worldmap{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0!important}
html.aos-ipad .axm-mapgo{position:absolute;inset:0;z-index:3;border:0;background:transparent;cursor:zoom-in}
html.aos-ipad .axm-wl{flex:none;padding:4px 16px 12px}
html.aos-ipad .axm-wcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html.aos-ipad .axm-wc{min-width:0}
html.aos-ipad .axm-wc > span{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9fb0d6;margin-bottom:1px}
html.aos-ipad .axm-wc b{display:flex;gap:8px;justify-content:space-between;font-size:13.5px;line-height:1.55;font-weight:600;color:#fff}
html.aos-ipad .axm-wc b i{font-style:normal;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axm-wc em{flex:none;font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}
html.aos-ipad .axm-world em.pos{color:#7FE0AE}html.aos-ipad .axm-world em.neg{color:#F6A196}
html.aos-ipad .axm-wn{margin:4px 0 0;font-size:12.5px;color:#9fb0d6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* by asset class: a strip per class on one scale; a dot per sector, zero dashed, the class's average as a bar */
html.aos-ipad .axm-crow-h,html.aos-ipad .axm-crow{display:grid;grid-template-columns:124px minmax(0,1fr) 84px;align-items:center;gap:14px;padding:0 16px}
html.aos-ipad .axm-crow-h{flex:none;height:44px;align-items:end;padding-bottom:4px}
html.aos-ipad h2.axm-ct{margin:0;align-self:center;font:700 16px/1.25 var(--hd)!important;color:var(--aos-ink);white-space:nowrap}
html.aos-ipad .axm-ax{position:relative;height:18px}
html.aos-ipad .axm-tk{position:absolute;top:0;transform:translateX(-50%);font-size:12px;line-height:18px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
html.aos-ipad #axmCls{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.aos-ipad .axm-crow{flex:1 1 0;min-height:36px;border-top:1px solid var(--line)}
html.aos-ipad .axm-crow:first-child{border-top:0}
html.aos-ipad .axm-cn b{display:block;font-size:14.5px;font-weight:600;line-height:1.2;color:var(--aos-ink);white-space:nowrap}
html.aos-ipad .axm-cn small{display:block;font-size:12.5px;color:var(--muted);white-space:nowrap}
html.aos-ipad .axm-strip{position:relative;height:24px;border-radius:12px;background:var(--tint-2)}
html.aos-ipad .axm-zero{position:absolute;top:-4px;bottom:-4px;width:0;border-left:1.5px dashed var(--muted);opacity:.7}
html.aos-ipad .axm-avg{position:absolute;top:1px;bottom:1px;width:4px;margin-left:-2px;border-radius:2px;background:var(--aos-ink);z-index:2}
html.aos-ipad .axm-dot{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;border:2px solid var(--card);padding:0;cursor:pointer;opacity:.82;z-index:1}
html.aos-ipad .axm-dot.pos{background:var(--pos)}html.aos-ipad .axm-dot.neg{background:var(--neg)}
html.aos-ipad .axm-dot.far{box-shadow:0 0 0 2px var(--aos-ink);opacity:1}
html.aos-ipad .axm-dot:hover{transform:scale(1.25);opacity:1;z-index:3}
html.aos-ipad .axm-cv{text-align:right;font:700 15px var(--bd);white-space:nowrap;font-variant-numeric:tabular-nums}
html.aos-ipad .axm-cv.pos{color:var(--pos)}html.aos-ipad .axm-cv.neg{color:var(--neg)}
html.aos-ipad .axm-cv small{display:block;font:500 12px var(--bd);color:var(--muted)}
/* what is turning: four rows, the names fill the line, the rest one tap away */
html.aos-ipad #axmTrend{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.aos-ipad .axm-trow{flex:1 1 0;display:flex;align-items:center;gap:8px;min-height:44px;padding:2px 12px 2px 14px;border-top:1px solid var(--line)}
html.aos-ipad .axm-tl{flex:none;width:178px;display:flex;align-items:center;gap:6px;min-height:40px;border:0;background:none;padding:0;font:600 14px var(--bd);color:var(--aos-ink);cursor:pointer;text-align:left;white-space:nowrap}
html.aos-ipad .axm-tl i{font-style:normal;width:18px;text-align:center;font-size:15px}
html.aos-ipad .axm-trow.up .axm-tl i{color:var(--pos)}html.aos-ipad .axm-trow.down .axm-tl i{color:var(--neg)}
html.aos-ipad .axm-tl b{margin-left:auto;min-width:28px;height:24px;padding:0 7px;border-radius:12px;background:var(--tint);color:var(--blue);display:grid;place-items:center;font:700 13px var(--bd)}
html.aos-ipad .axm-tc{flex:1;min-width:0;display:flex;gap:6px;overflow:hidden;white-space:nowrap;align-items:center}
html.aos-ipad .axm-tc em{font-style:normal;color:var(--muted);font-size:13.5px}
html.aos-ipad .axm-chip{flex:none;height:32px;padding:0 10px;border-radius:16px;border:1px solid var(--line-strong);background:var(--card);font:500 13.5px var(--bd);color:var(--text);cursor:pointer}
html.aos-ipad .axm-chip[hidden],html.aos-ipad .axm-more[hidden]{display:none}
html.aos-ipad .axm-more{flex:none;height:32px;min-width:40px;padding:0 10px;border-radius:16px;border:0;background:var(--tint);color:var(--blue);font:700 13px var(--bd);cursor:pointer}
html.aos-ipad .axm-tsum{flex:none;padding:8px 16px;border-top:1px solid var(--line);background:var(--tint-2);font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the pop-up: one panel; the map larger fills the screen */
/* (under Invest's own fund sheet, .modal-bg at 200: a fund tapped in a sector's list opens over this pop-up) */
.axm-scrim{position:fixed;inset:0;z-index:150;background:rgba(10,20,35,.45);display:flex;align-items:center;justify-content:center;padding:24px}
.axm-scrim[hidden]{display:none}
.axm-scrim *{box-sizing:border-box}
.axm-panel{width:min(780px,100%);height:min(900px,100%);background:var(--card);color:var(--ink);border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;font:400 14px/1.45 "Inter",system-ui,sans-serif}
.axm-panel.axm-k-map,.axm-panel.axm-wide{width:100%;height:100%}
/* the sector map: Invest's tiles filling what the toolbar leaves; nothing to scroll */
html.aos-ipad .axm-smap{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border-radius:12px;border:1px solid var(--line-strong);background:var(--card);color:var(--blue);font:600 14px var(--bd);cursor:pointer;white-space:nowrap}
html.aos-ipad .axm-smap svg,html.aos-ipad .axm-panel .axm-lm svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;vertical-align:-3px;margin-right:5px}
html.aos-ipad .axm-smap:hover{background:var(--tint)}
.axm-panel.axm-k-tree .axm-pb{display:flex;flex-direction:column;gap:10px;overflow:hidden}
.axm-panel.axm-k-tree .axm-lt{margin:0}
.axm-tree{position:relative;flex:1 1 0;min-height:220px}
.axm-panel.axm-k-tree .axm-lt,.axm-tnote{flex:none}
.axm-tg{position:absolute;display:flex;align-items:center;gap:7px;padding:0 10px;border-radius:7px 7px 0 0;background:#33415c;color:#fff;font:700 12.5px/1 "Inter",sans-serif;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2}
.axm-tg small{font-weight:600;opacity:.7;letter-spacing:0}
.axm-tm{position:absolute}
.axm-leg{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--mut)}
.axm-leg i{display:inline-block;width:14px;height:14px;border-radius:3px;margin-left:4px}
.axm-leg b{font-weight:600;color:var(--ink);margin-left:6px}
.axm-tnote{margin:0!important}
.axm-panel.axm-wide.axm-k-sector .axm-pb{padding-left:max(18px,calc((100% - 960px) / 2));padding-right:max(18px,calc((100% - 960px) / 2))}
.axm-panel.axm-k-info{height:auto;max-height:100%}
.axm-ph{flex:none;display:flex;align-items:center;gap:8px;min-height:58px;padding:6px 10px 6px 18px;border-bottom:1px solid var(--line)}
.axm-ph h2{flex:1;min-width:0;margin:0;font:700 18px/1.25 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-back{flex:none;border:0;background:none;color:var(--aos-blue,#1F5F8B);font:600 15px "Inter",sans-serif;min-height:44px;cursor:pointer;padding:0 6px 0 0}
.axm-back[hidden]{display:none}
.axm-x{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--aos-tint2,#F1F5F9);color:var(--aos-ink,#163E5C);font-size:17px;cursor:pointer}
.axm-pb{flex:1;min-height:0;overflow:auto;padding:14px 18px 20px;-webkit-overflow-scrolling:touch}
.axm-panel.axm-k-map .axm-pb{display:flex;flex-direction:column;gap:10px}
.axm-big{position:relative;flex:1 0 auto;min-height:min(62vh,640px);border-radius:14px;background:linear-gradient(160deg,#0d1b3e,#16255a);overflow:hidden}
.axm-lt{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.axm-panel.axm-k-map .axm-lt{margin:0}
.axm-ord{min-height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--aos-blue,#1F5F8B);font:600 14px "Inter",sans-serif;cursor:pointer}
html.aos-ipad .axm-panel .seg{display:inline-flex;flex-wrap:wrap;background:var(--aos-tint,#EAF2F8);border-radius:12px;padding:3px;gap:2px}
html.aos-ipad .axm-panel .seg button{border:0;background:transparent;font:600 14px "Inter",sans-serif;color:var(--aos-blue,#1F5F8B);padding:8px 11px;border-radius:9px;min-height:40px;cursor:pointer;white-space:nowrap}
html.aos-ipad .axm-panel .seg button.on{background:var(--card);color:var(--aos-ink,#163E5C);box-shadow:0 1px 3px rgba(22,62,92,.12)}
html.aos-ipad[data-theme="dark"] .axm-panel .seg button.on{background:#1D4568;color:#fff}
html.aos-ipad .axm-panel .seg button:disabled{opacity:.35;cursor:not-allowed}
html.aos-ipad .axm-panel .axm-rows.axm-full{display:block;border-bottom:1px solid var(--line)}
html.aos-ipad .axm-panel .axm-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(60px,24%) 92px;align-items:center;gap:12px;width:100%;min-height:52px;padding:4px 4px;border:0;border-top:1px solid var(--line);background:none;text-align:left;cursor:pointer;color:inherit;font:inherit}
html.aos-ipad .axm-panel .axm-row:hover{background:var(--aos-tint2,#F1F5F9)}
html.aos-ipad .axm-panel .axm-rk{font:700 13px "Inter",sans-serif;color:var(--mut);text-align:right}
html.aos-ipad .axm-panel .axm-nm b{display:block;font-size:15.5px;font-weight:600;color:var(--aos-ink,#163E5C);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axm-panel .axm-nm small{display:block;font-size:13px;color:var(--mut)}
html.aos-ipad .axm-panel .axm-bar{position:relative;height:8px;border-radius:4px;background:var(--aos-tint2,#F1F5F9);overflow:hidden}
html.aos-ipad .axm-panel .axm-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:4px}
html.aos-ipad .axm-panel .axm-bar i.pos{background:var(--pos)}html.aos-ipad .axm-panel .axm-bar i.neg{background:var(--neg)}
html.aos-ipad .axm-panel .axm-v{text-align:right;font:700 15.5px "Inter",sans-serif;white-space:nowrap;color:var(--mut)}
html.aos-ipad .axm-panel .axm-v.pos{color:var(--pos)}html.aos-ipad .axm-panel .axm-v.neg{color:var(--neg)}
.axm-note{margin:10px 0 0;font-size:13.5px;line-height:1.45;color:var(--mut)}
.axm-meta{margin:0 0 12px;color:var(--mut);font-size:14.5px}
.axm-sbox{border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:12px}
.axm-sbox h3{margin:0 0 8px;font:700 15.5px "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.axm-sh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.axm-sh h3{margin:0;flex:1}
.axm-go{min-height:40px;padding:0 14px;border-radius:10px;border:0;background:var(--aos-blue,#1F5F8B);color:#fff;font:600 14px "Inter",sans-serif;cursor:pointer}
/* a sector's figure for each period: up above zero, down below, each written on its bar */
.axm-pchart{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;height:170px}
.axm-pc{display:flex;flex-direction:column;min-width:0}
.axm-pb2{position:relative;flex:1}
.axm-pb2::after{content:"";position:absolute;left:-5px;right:-5px;top:var(--z);border-top:1px solid var(--line)}
.axm-pb2 i{position:absolute;left:14%;right:14%;border-radius:4px}
.axm-pb2 i.pos{background:var(--pos)}.axm-pb2 i.neg{background:var(--neg)}
.axm-pb2 em{position:absolute;left:-6px;right:-6px;text-align:center;font:700 13px "Inter",sans-serif;font-style:normal;white-space:nowrap}
.axm-pb2 em.pos{color:var(--pos)}.axm-pb2 em.neg{color:var(--neg)}
.axm-pc > b{margin-top:6px;text-align:center;font:600 13px "Inter",sans-serif;color:var(--mut)}
.axm-pc > b small{display:block;font-size:12px;font-weight:500}
.axm-pc.on > b{color:var(--aos-blue,#1F5F8B)}
.axm-pc.on .axm-pb2{background:var(--aos-tint2,#F1F5F9);border-radius:6px}
#axmSecChart.axm-sc{width:100%;height:250px}
/* Invest's own funds table, at Advisory's sizes */
.axm-ft > div{font-size:13.5px!important}
.axm-ft table{font-size:14px!important}
.axm-ft table tr:first-child{font-size:13px!important}
.axm-ft td{padding:7px 6px!important}
.axm-fig > summary{min-height:44px;display:flex;align-items:center;font:600 15px "Inter",sans-serif;color:var(--aos-blue,#1F5F8B);cursor:pointer}
.axm-figs{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0 18px}
.axm-fr{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.axm-fr small{display:block;font-size:12.5px;color:var(--mut)}
.axm-fr b{white-space:nowrap}.axm-fr b.pos{color:var(--pos)}.axm-fr b.neg{color:var(--neg)}
.axm-info h3{margin:16px 0 4px;font:700 15.5px "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.axm-info h3:first-child{margin-top:0}
.axm-info p{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink)}
/* an iPad upright: still one screen: Led · Lagged, the classes across, the map and the trends */
@media (max-width:1000px){
  html.aos-ipad.ax-mk-on:has(#v-dashboard.active):not(.ax-home) body{height:100dvh;overflow:hidden}
  html.aos-ipad.ax-mk-on:has(#v-dashboard.active):not(.ax-home) .wrap{overflow:hidden}
  html.aos-ipad.ax-mk-on #v-dashboard.active{padding:14px 18px 16px}
  html.aos-ipad .axm-head{flex-direction:column;align-items:stretch;gap:8px}
  html.aos-ipad .axm-ctl{order:-1;justify-content:flex-start}
  html.aos-ipad .axm-ctl .axm-i{margin-left:auto}
  html.aos-ipad .axm-map{min-height:84px}
  html.aos-ipad .axm-tt .ax-kicker{display:none}
  html.aos-ipad .axm-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"led lag" "cls cls" "world trend"}
}
/* a phone: one column, the page scrolls */
@media (max-width:699px){
  html.aos-ipad.ax-mk-on:has(#v-dashboard.active):not(.ax-home) body{height:auto;overflow:auto}
  html.aos-ipad.ax-mk-on:has(#v-dashboard.active):not(.ax-home) .wrap{overflow:visible}
  html.aos-ipad.ax-mk-on #v-dashboard.active{height:auto;overflow:visible;padding:14px 16px 28px}
  html.aos-ipad .axm-ctl{flex-wrap:nowrap}
  html.aos-ipad .axm-per{flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  html.aos-ipad .axm-per::-webkit-scrollbar{display:none}
  html.aos-ipad .axm-per button{flex:none}
  html.aos-ipad .axm-ax{visibility:hidden}
  html.aos-ipad .axm-grid{display:flex;flex-direction:column}
  html.aos-ipad .axm-card{flex:none}
  html.aos-ipad .axm-row{flex:none;grid-template-columns:20px minmax(0,1fr) 66px;gap:8px;padding:4px 12px}
  html.aos-ipad .axm-map{flex:none;height:190px}
  html.aos-ipad .axm-crow-h,html.aos-ipad .axm-crow{grid-template-columns:92px minmax(0,1fr) 64px;gap:10px;padding:0 12px}
  html.aos-ipad .axm-crow{min-height:48px}
  .axm-scrim{padding:0}
  .axm-panel{border-radius:0;height:100%}
  html.aos-ipad .axm-panel .axm-row{grid-template-columns:24px minmax(0,1fr) 40px 74px;gap:8px}
}

/* ---------- Invest's own dashboard, /invest/#home (28 Oct 2026) ----------
   A sibling of the AdvisersOS Today home (platform/assets/home.html): the same cards, rows, buttons and Continue card, in
   Invest's tokens (light and dark). It covers Invest's sections without changing them; one iPad screen in landscape and
   upright (the two lists scroll inside their cards, as Today's do); a phone scrolls the page. */
html.aos-ipad.ax-home .view{display:none!important}
html.aos-ipad.ax-home header.ax-top nav:not(.aos-switch) button.active{background:transparent!important;color:var(--blue)!important;box-shadow:none!important}
html.aos-ipad .axh[hidden]{display:none!important}
html.aos-ipad .axh{height:100%;box-sizing:border-box;padding:20px 24px;display:flex;flex-direction:column;gap:16px;overflow:hidden;font:400 14px/1.4 var(--bd);color:var(--text)}
html.aos-ipad .axh *{box-sizing:border-box}
html.aos-ipad .axh-hello{flex:none;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
html.aos-ipad .axh-hello h1{margin:0;font:700 24px/1.2 var(--hd);color:var(--aos-ink)}
html.aos-ipad .axh-hello p{margin:4px 0 0;color:var(--muted);font-size:14px}
html.aos-ipad .axh-qa{display:flex;gap:8px;flex-wrap:wrap}
html.aos-ipad .axh-btn{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--aos-ink);font:600 14px var(--bd);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
html.aos-ipad .axh-btn:hover{background:var(--tint-2)}
html.aos-ipad .axh-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.aos-ipad .axh-btn.pri{background:var(--deep);border-color:var(--deep);color:#fff}
html.aos-ipad[data-theme="dark"] .axh-btn.pri{background:#2E6A99;border-color:#2E6A99}
html.aos-ipad .axh-card{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
html.aos-ipad .axh-ic{width:44px;height:44px;flex:none;border-radius:12px;background:var(--tint);color:var(--blue);display:grid;place-items:center}
html.aos-ipad .axh-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.aos-ipad .axh-tx{flex:1;min-width:0}
/* Continue where you left off */
html.aos-ipad .axh-cont{flex:none;display:flex;align-items:center;gap:16px;padding:16px 20px}
html.aos-ipad .axh-k{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
html.aos-ipad .axh-t{margin-top:2px;font-size:17px;font-weight:600;color:var(--aos-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axh-s{margin-top:2px;font-size:13.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axh-s b{color:#B8691A;font-weight:600}
html.aos-ipad[data-theme="dark"] .axh-s b{color:#E8A04E}
html.aos-ipad .axh-s button{border:0;background:none;padding:0;color:var(--blue);font:600 13.5px var(--bd);cursor:pointer}
html.aos-ipad .axh-cont > .axh-btn{min-height:44px;padding:0 20px}
/* the sections */
html.aos-ipad .axh-tiles{flex:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;padding:0}
html.aos-ipad .axh-tile{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"ic nm" "ds ds";align-items:center;column-gap:12px;row-gap:8px;padding:14px 16px;text-align:left;cursor:pointer;font:inherit;color:inherit}
html.aos-ipad .axh-tile .axh-tx{display:contents}
html.aos-ipad .axh-tile .axh-ic{grid-area:ic;width:40px;height:40px}
html.aos-ipad .axh-tile b{grid-area:nm}
html.aos-ipad .axh-tile small{grid-area:ds;align-self:start}
html.aos-ipad .axh-tile .axh-chev{display:none}
html.aos-ipad .axh-tile:hover{background:var(--tint-2)}
html.aos-ipad .axh-tile:active{transform:scale(.99)}
html.aos-ipad .axh-tile b{display:block;font:700 16px/1.25 var(--hd);color:var(--aos-ink)}
html.aos-ipad .axh-tile small{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px;font-size:13px;line-height:1.35;color:var(--muted)}
html.aos-ipad .axh-chev{flex:none;font-size:22px;line-height:1;color:var(--muted)}
/* the client portfolios and the watchlists */
html.aos-ipad .axh-grid{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html.aos-ipad .axh-list{display:flex;flex-direction:column;min-height:0;overflow:hidden}
html.aos-ipad .axh-ch{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:4px 18px}
html.aos-ipad .axh-ch h2{margin:0;font:700 16px var(--hd);color:var(--aos-ink)}
html.aos-ipad .axh-ch button{min-height:44px;border:0;background:none;padding:0;font:600 13.5px var(--bd);color:var(--blue);cursor:pointer}
html.aos-ipad .axh-cb{flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}
html.aos-ipad .axh-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 18px;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;cursor:pointer;font:inherit;color:inherit}
html.aos-ipad .axh-row:hover{background:var(--tint-2)}
html.aos-ipad .axh-row b{display:block;font-size:15px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axh-row small{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.aos-ipad .axh-go{flex:none;font-size:13.5px;font-weight:600;color:var(--blue)}
html.aos-ipad .axh-star{flex:none;width:22px;text-align:center;font-size:16px;color:#D9822B}
html.aos-ipad .axh-cf{flex:none;padding:10px 18px;border-top:1px solid var(--line);background:var(--tint-2);font-size:13px;color:var(--muted)}
html.aos-ipad .axh-empty{padding:14px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.45}
html.aos-ipad .axh-empty .axh-btn{margin-top:12px}
/* the action sheet (unsaved work in the Builder) */
.axh-scrim{position:fixed;inset:0;z-index:2147482000;background:rgba(10,20,35,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.axh-sheet{width:100%;max-width:420px;background:var(--card);color:var(--text);border-radius:16px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:8px;font:400 14px/1.45 "Inter",system-ui,sans-serif}
.axh-sheet h3{margin:0;font:700 18px/1.3 "Montserrat","Inter",sans-serif;color:var(--aos-ink,#163E5C)}
.axh-sheet p{margin:0 0 8px;color:var(--mut)}
.axh-act{min-height:48px;border-radius:12px;border:1px solid var(--line);background:var(--card);font:600 15px "Inter",sans-serif;color:var(--aos-blue,#1F5F8B);cursor:pointer}
.axh-act.red{color:var(--neg,#C0392B)}
.axh-act.cancel{font-weight:700;color:var(--aos-ink,#163E5C);background:var(--aos-tint2,#F1F5F9)}
/* an iPad upright: still one screen (the page stops scrolling while the dashboard is up); the tiles lose their chevron to
   keep three across */
@media (max-width:1000px){
  html.aos-ipad.ax-home body{height:100dvh;overflow:hidden}
  html.aos-ipad.ax-home .wrap{overflow:hidden}
  html.aos-ipad .axh{padding:18px 20px}
  html.aos-ipad .axh-tile{gap:8px;padding:12px}
  html.aos-ipad .axh-tile .axh-chev{display:none}
  html.aos-ipad .axh-tile .axh-ic{width:40px;height:40px}
}
/* a phone: the page scrolls, one column */
@media (max-width:699px){
  html.aos-ipad.ax-home body{height:auto;overflow:auto}
  html.aos-ipad.ax-home .wrap{overflow:visible}
  html.aos-ipad .axh{height:auto;overflow:visible;padding:16px 16px 32px;gap:14px}
  html.aos-ipad .axh > *{flex:none}
  html.aos-ipad .axh-tile .axh-chev{display:block}
  html.aos-ipad .axh-qa{width:100%}
  html.aos-ipad .axh-qa .axh-btn{flex:1 1 0}
  html.aos-ipad .axh-cont{flex-wrap:wrap;padding:14px 16px}
  html.aos-ipad .axh-cont > .axh-btn{width:100%}
  html.aos-ipad .axh-s,html.aos-ipad .axh-t{white-space:normal}
  html.aos-ipad .axh-tiles{grid-template-columns:minmax(0,1fr);gap:8px}
  html.aos-ipad .axh-tile{display:flex;flex-direction:row;align-items:center;gap:14px;min-height:64px;padding:10px 14px}
  html.aos-ipad .axh-tile .axh-tx{display:block}
  html.aos-ipad .axh-tile .axh-chev{display:block}
  html.aos-ipad .axh-tile small{-webkit-line-clamp:2}
  html.aos-ipad .axh-grid{display:flex;flex-direction:column;gap:14px}
  html.aos-ipad .axh-list{overflow:visible}
  html.aos-ipad .axh-cb{overflow:visible}
}

/* the ticker on Markets (28 Oct 2026, Ethan: "turn it on"): a slim strip above the headline, the page's other rows sharing
   what is left so Markets stays one iPad screen */
html.aos-ipad.ax-mk-on #axMk > #tickerBar{margin:0;border-radius:10px;flex:none}
html.aos-ipad.ax-mk-on #axMk > #tickerBar .tkfixed,html.aos-ipad.ax-mk-on #axMk > #tickerBar .tickertrack{padding-top:6px;padding-bottom:6px;font-size:12.5px}
html.aos-ipad.ax-mk-on #axMk > #tickerBar .tkstamp{font-size:12px}
/* the running strip's sectors (28 Oct 2026): a tap opens the sector's funds */
.tickertrack .tksec{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}
.tickertrack .tksep{color:#7f8fb5;font-weight:800;font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding-left:8px;border-left:1px solid #1e2f5c}

