/* Approved account layout. Load after wallet and Pacman; changes presentation only. */
 body.lio-account-surface .lio-ae-auth{--circle-size:min(calc(100vw - 24px),430px);max-width:430px;margin:30px auto 110px}
 body.lio-account-surface .lio-ae-auth .lio-ae-brand-shell{margin-bottom:28px}
 body.lio-account-surface .lio-ae-face{padding:40px 36px;justify-content:center}
 body.lio-account-surface .lio-ae-face--otp{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:36px 24px auto;justify-content:stretch;align-content:center;gap:4px;overflow:visible}
 body.lio-account-surface .lio-ae-otp-heading{display:block;position:relative;width:100%;min-height:36px;margin:0}
 body.lio-account-surface .lio-ae-otp-heading .lio-ae-pacman__title-stack{display:grid;min-height:32px;align-items:center}
 body.lio-account-surface [data-lio-account] .lio-ae-pacman__title-stack>h2{position:static!important;font-size:22px;line-height:32px;letter-spacing:0}
 body.lio-account-surface .lio-ae-back{position:absolute;inset:28px 4px auto auto;width:44px;height:44px;min-height:44px;box-shadow:none;background:transparent;font-size:24px}
 body.lio-account-surface .lio-ae-lead{position:static!important;transform:none!important;margin:0;line-height:24px;font-size:13px;font-weight:500;letter-spacing:0}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-form{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:12px;width:100%}
 body.lio-account-surface .lio-ae-otp{width:100%;height:52px;min-height:52px;margin:0;flex:none}
 body.lio-account-surface .lio-ae-otp__cells{gap:10px;height:52px}
 body.lio-account-surface .lio-ae-otp__cell{height:52px;min-height:52px;border-radius:13px;font-size:26px}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-pacman__support{position:absolute;inset:calc(50% + 40px) 0 auto;min-height:22px;margin:0;pointer-events:none}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-primary{order:1;width:84%;min-height:46px;height:46px;margin:2px 0 0;border-radius:14px;font-size:15px;background:#650d27;color:#fff;box-shadow:4px 5px 10px #bdbdbd,-4px -4px 10px #fff}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend{order:2;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 14px;width:100%;min-height:40px;margin:0}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-resend],body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-voice]{display:inline-flex;min-width:0;min-height:44px;height:auto;padding:0 2px;background:none;box-shadow:none;border:0;border-radius:5px;font-size:12px;font-weight:600;line-height:1.5;align-items:center;justify-content:center;white-space:nowrap;color:#650d27}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend [data-lio-timer]{font-size:12px;padding:0;min-height:32px}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend [hidden]{display:none!important}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-voice]:disabled{cursor:wait}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button:disabled{color:#767676;opacity:.8}
 body.lio-account-surface .lio-ae-face--identifier{display:flex;justify-content:center;padding:44px 40px}
 body.lio-account-surface .lio-ae-face--identifier h1{font-size:24px;margin:0 0 25px;line-height:1.5;letter-spacing:0}
 body.lio-account-surface .lio-ae-face--identifier .lio-ae-form{gap:14px}
 body.lio-account-surface .lio-ae-face--identifier .lio-ae-primary{width:84%;min-height:46px;background:#650d27;color:white;border-radius:14px}
 body.lio-account-surface .lio-ae-face--identifier [data-lio-initial-voice]{font-size:12px;min-height:36px;border:0;background:none;color:#650d27;box-shadow:none;margin:0;padding:0}
 body.lio-account-surface .lio-ae-status{max-width:calc(100vw - 60px);margin-top:22px;font-size:12px;line-height:1.9}
 body.lio-account-dashboard .lio-ae-profile{display:block;padding:26px 20px 108px;border-radius:32px;margin:12px;background:#ededed;min-width:0;width:calc(100% - 24px);box-sizing:border-box}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__hero{display:flex;gap:14px;align-items:center;margin:24px 0 28px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__avatar{width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:#ededed;box-shadow:5px 5px 12px #d0d0d0,-5px -5px 12px white;display:grid;place-items:center;color:#650d27}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__avatar svg{width:26px;height:26px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__hero h1{font-size:20px;line-height:1.7;margin:0;letter-spacing:0}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__hero p{font-size:12px;line-height:1.8;color:#656565;margin:0;text-align:right}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__feature-tiles{display:grid;grid-template-columns:1fr;gap:14px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card,body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px;min-height:0;height:auto;aspect-ratio:auto;border-radius:19px;background:#ededed;box-shadow:4px 4px 11px #d8d8d8,-4px -4px 11px #fff;text-align:right;overflow:visible}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div,body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order>div{width:100%;min-width:0;flex:0 0 auto}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card h2{margin:0 0 6px;font-size:13px;font-weight:500;color:#666}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-total{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;font-size:27px;line-height:1.45;font-weight:750;margin:0 0 5px;letter-spacing:0;font-variant-numeric:tabular-nums}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-total small{font-size:12px;font-weight:400;color:#666}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card__interest{font-size:12px;font-weight:500;line-height:1.8;color:#650d27;margin:0}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card__interest+p{font-size:12px;line-height:1.8;color:#666;margin:2px 0 0}
 body.lio-account-dashboard .lio-ae-profile .lio-wallet-card-help{position:static;font-size:12px;margin:8px 0 0}
 body.lio-account-dashboard .lio-ae-profile .lio-wallet-card-help summary{font-size:12px;color:#666;min-height:44px;width:auto;height:auto;border-radius:0;background:none;box-shadow:none;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
 body.lio-account-dashboard .lio-ae-profile .lio-wallet-card-help p{position:static;font-size:12px;line-height:1.9;background:none;box-shadow:none;margin:8px 0 0;padding:0;width:auto;color:#555}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-link,body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order__action{display:flex;justify-content:center;align-items:center;width:100%;min-height:44px;padding:8px 12px;box-sizing:border-box;font-size:13px;line-height:1.6;border-radius:12px;margin:0;background:#650d27;color:white;box-shadow:3px 4px 8px #d0b9c0;text-decoration:none}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order .lio-ae-eyebrow{display:block;color:#666;font-weight:500;font-size:13px;letter-spacing:0;margin:0 0 8px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order .lio-ae-eyebrow:before{display:none}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order h2{font-size:20px;line-height:1.6;margin:0 0 7px;font-weight:650;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order h2+p{display:inline-block;padding:3px 9px;font-size:11px;line-height:1.6;color:#666;background:#e3e3e3;border-radius:7px;margin:0}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order>a.lio-ae-latest-order__action{background:transparent;color:#650d27;border:1px solid #d6c3ca;box-shadow:none}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__nav{margin:24px 0 0}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__nav ul{padding:0;list-style:none;margin:0;display:grid;gap:0}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__nav a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:8px 4px;text-decoration:none;color:#393939;box-shadow:none;border-radius:0;border-bottom:1px solid #dcdcdc;background:none;font-size:14px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__nav small{display:block;font-size:11px;color:#707070;line-height:1.8;font-weight:400}
 body.lio-account-surface button:focus-visible,body.lio-account-dashboard .lio-ae-profile a:focus-visible,body.lio-account-dashboard .lio-ae-profile summary:focus-visible{outline:2px solid #650d27;outline-offset:3px}
@media(max-width:350px){
 body.lio-account-surface .lio-ae-face--otp{padding:28px 28px;gap:2px}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-form{gap:8px;margin-top:8px}
 body.lio-account-surface .lio-ae-otp__cells{gap:7px}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend{gap:0 9px}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-voice],body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-resend]{font-size:11px}
 body.lio-account-dashboard .lio-ae-profile{padding-inline:16px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card,body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order{padding:15px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-total{font-size:25px}
}

/* Normalize the older wallet grid and disclosure rules inside this dashboard only. */
body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__feature-tiles{grid-auto-rows:auto;align-items:start}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>h2{margin:0 0 5px;font-size:13px;line-height:1.6}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-total{font-size:27px;line-height:1.45;margin:0 0 5px}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-card__interest,
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>p:not(.lio-ae-wallet-total):not(.lio-ae-wallet-card__interest){font-size:12px;line-height:1.8;margin:0}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card,
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order{margin:0;grid-template-columns:minmax(0,1fr);justify-content:flex-start;align-self:start}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div{display:block}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-total{white-space:normal;overflow-wrap:anywhere}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card .lio-wallet-card-help{position:static;inset:auto;margin:0;grid-area:auto}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card .lio-wallet-card-help summary{display:flex;justify-content:flex-start;width:100%;height:auto;min-height:44px;border:0;line-height:1.5}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card .lio-wallet-card-help summary::before{content:'+';display:inline-block;width:16px;text-decoration:none}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card .lio-wallet-card-help[open] summary::before{content:'−'}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>.lio-ae-wallet-link,
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order>a{align-self:stretch;justify-self:stretch;width:100%;font-size:13px}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>.lio-ae-wallet-link{color:#fff!important}
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px}
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order .lio-ae-eyebrow{grid-column:1/-1;margin:0;font-size:12px}
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order h2{font-size:18px;margin:0;line-height:1.6}
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order h2+p{max-width:100%;font-size:11px}
body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order [role="status"]{grid-column:1/-1}
/* A distinct, accessible secondary action; eligibility still belongs to the existing JS/server policy. */
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-voice]{gap:6px;padding:0 11px;min-height:44px;border:1px solid #b98796;border-radius:11px;background:#f5eaee;color:#650d27;font-size:13px;font-weight:700;text-decoration:none}
body.lio-account-surface .lio-ae-voice-icon{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-voice]:hover{background:#efdee4}
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend [hidden],
body.lio-account-surface .lio-ae-face--otp .lio-ae-form[hidden]{display:none!important}
@media(min-width:601px){
 body.lio-account-surface .lio-ae-auth{margin:36px auto 80px}
 body.lio-account-surface .lio-ae-face--otp{padding:46px}
 body.lio-account-surface .lio-ae-face--identifier{padding:54px}
 body.lio-account-surface .lio-ae-status{max-width:430px}
 body.lio-account-dashboard .lio-ae-profile{max-width:880px;width:calc(100% - 48px);margin:24px auto;padding:32px 32px 48px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__hero{margin:24px 0}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__feature-tiles{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-profile__nav ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
}
@media(max-width:350px){
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend{gap:0 8px}
 body.lio-account-surface .lio-ae-face--otp .lio-ae-resend button[data-lio-voice]{font-size:12px;padding:0 8px;gap:4px}
 body.lio-account-dashboard .lio-ae-profile .lio-ae-latest-order>div{gap:3px 6px}
}

/* Post-send layout: retain the approved circular form and all OTP behavior. */
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend{
  display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;
  align-content:start;gap:2px;width:84%;min-height:72px;
}
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend [data-lio-voice]{
  grid-row:1;width:100%;max-width:210px;min-height:44px;
}
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend [data-lio-timer],
body.lio-account-surface .lio-ae-face--otp .lio-ae-resend [data-lio-resend]{
  grid-row:2;min-height:28px;line-height:28px;white-space:nowrap;
  font-size:11px;font-variant-numeric:tabular-nums;text-align:center;
}
body.lio-account-surface .lio-ae-status{
  width:calc(100% - 40px);max-width:350px;margin:14px auto 0;
  min-height:0;padding:10px 14px;border-radius:12px;
  background:#f7f7f7;border:1px solid #ececec;
  font-size:12px;line-height:1.9;text-align:center;overflow-wrap:break-word;
}
body.lio-account-surface .lio-ae-status:empty{display:none}
body.lio-account-surface .lio-ae-status[data-state="error"]{
  background:#fbf5f5;border-color:#ead9d9;color:#8e2929;
}

/* LIO latest-order layout 20261022; existing owner, presentation only. */
/* Keep text across both columns, including narrow desktop dashboard tiles. */
body.lio-account-dashboard .lio-ae-profile__feature-tiles > .lio-ae-latest-order > div {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}
@media (max-width: 600px) {
  body.lio-account-dashboard .lio-ae-profile__feature-tiles > .lio-ae-latest-order {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  body.lio-account-dashboard .lio-ae-latest-order > * {
    min-width: 0;
    max-width: 100%;
  }

  body.lio-account-dashboard .lio-ae-latest-order > div {
    width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.lio-account-dashboard .lio-ae-latest-order h2,
  body.lio-account-dashboard .lio-ae-latest-order p {
    overflow-wrap: normal;
    word-break: normal;
  }

  body.lio-account-dashboard .lio-ae-profile__feature-tiles > .lio-ae-latest-order > a {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
  }
}

/* Approved minimal UI 1. */
/* The dashboard is an overview; terms and fund explanations are on Wallet. */
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card{
  display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:18px;
  min-height:0;height:auto;aspect-ratio:auto;border-radius:18px;
  background:#ededed;border:1px solid #fff;box-shadow:4px 4px 11px #d8d8d8,-4px -4px 11px #fff;
}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;flex:none;min-width:0}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>h2{font-size:14px;font-weight:500;line-height:1.7;margin:0;color:#6d666a}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-total{font-size:28px;font-weight:650;line-height:1.5;margin:4px 0 0;white-space:normal;overflow-wrap:anywhere}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>p:not(.lio-ae-wallet-total):not(.lio-ae-wallet-card__interest):not(.lio-ae-wallet-card__credited-interest):not([role=status]),
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card .lio-wallet-card-help{display:none}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-card__interest,
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-card__credited-interest{display:block;margin:4px 0 0!important;margin-block:4px 0!important;font-size:12px;font-weight:400;line-height:1.8;color:#6d666a}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-card__interest{color:#650d27}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card .lio-ae-wallet-card__interest-rate{display:inline-block;font-size:26px;font-weight:700;line-height:1.5;vertical-align:baseline;margin-inline:3px;color:#650d27}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>h2{grid-column:1;grid-row:1}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-total{grid-column:1;grid-row:2;align-self:start;margin:0!important}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-card__interest{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-items:center;gap:0;margin:0!important;font-size:11px}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-card__credited-interest{grid-column:1/-1;margin-top:10px!important}
@media(max-width:360px){body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div{column-gap:10px}body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>.lio-ae-wallet-total{font-size:23px}}
body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>.lio-ae-wallet-link{
  display:inline-flex;align-self:flex-end;align-items:center;justify-content:flex-start;
  width:auto;min-height:44px;margin:0;padding:0 3px;gap:8px;border:0;border-radius:8px;
  background:transparent;box-shadow:none;color:#650d27!important;font-size:12px;font-weight:500;
}


body.lio-account-dashboard .lio-ae-profile .lio-ae-wallet-card>div>[role=status]{grid-column:1/-1}
