/* The new product uses the same card, heading, metric and risk slots as Mari Invest. */
.product-fund.global-equity{background:linear-gradient(#e9e9ff,white 48%)}
.product-fund.global-equity h3>b{color:#7769bc}
.product-fund .return.coming-soon{font-size:19px;color:#7769bc;line-height:1.4}
.etf-entry{display:flex;align-items:center;width:100%;gap:10px;background:#fff;border-radius:10px;padding:13px;margin-bottom:12px;text-align:left;color:#303030}
.etf-entry-icon{display:grid;place-items:center;color:#f56600;background:#fff2e5;width:36px;height:36px;border-radius:9px;flex:none}
.etf-entry>span:nth-child(2){flex:1}
.etf-entry b{display:block;font-size:13px;font-weight:600}
.etf-entry small{display:block;font-size:10px;color:#888;margin-top:4px}
.etf-entry>span:last-child{font-size:11px;color:#bd5009;white-space:nowrap}
.etf-invest-page{padding:3px 14px 4px}
.etf-invest-intro>span{font-size:9px;letter-spacing:1.6px;color:#b4541a;font-weight:600}
.etf-invest-intro h2{font-size:25px;line-height:1.15;letter-spacing:-.8px;margin:6px 0;color:#352b23}
.etf-invest-intro p{font-size:11px;color:#817469;line-height:1.5;margin:0 0 12px;max-width:320px}
.etf-account-strip{background:white;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;padding:12px 14px;margin-bottom:12px}
.etf-account-strip>div+div{border-left:1px solid #eee4dc;padding-left:14px}
.etf-account-strip span{display:block;font-size:10px;color:#8a7e73;margin-bottom:5px}
.etf-account-strip b{font-size:17px;font-weight:600;color:#382f28;letter-spacing:-.3px}
.etf-invest-options{position:relative;border-radius:12px}
.etf-invest-page .etf-trade-card{padding:12px 13px 11px;margin-bottom:10px;border-radius:11px}
.etf-trade-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}
.etf-trade-heading img{width:43px;height:43px;object-fit:contain;flex:none}
.etf-trade-card .etf-trade-heading h3{font-size:15px;font-weight:600;letter-spacing:-.2px;margin:0 0 5px}
.etf-trade-heading p{font-size:10px;color:#897f7c;line-height:1.35;margin:0}
.etf-trade-card .fund-metrics{padding-top:9px;margin-top:8px;gap:8px}
.etf-trade-card .fund-metrics small{font-size:9px;color:#8a7f78}
.etf-position-value{display:block;font-size:21px;letter-spacing:-.45px;margin-top:3px;font-weight:600;color:#302b26}
.etf-position-return{text-align:right}
.etf-position-return strong{display:block;font-size:14px;font-weight:500;margin-top:7px}
.etf-funding-line{font-size:9px;color:#968779;line-height:1.4;margin:6px 0 10px}
.etf-trade-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.etf-trade-actions .primary,.etf-trade-actions .secondary{margin:0;min-height:36px;padding:8px;border-radius:7px;font-size:12px;font-weight:500}
.etf-trade-actions .secondary{border:1px solid #ffc18f;background:transparent}
.etf-trade-actions button:disabled{opacity:.45;cursor:default;border-color:#ddd5d0;color:#93887d}
.etf-invest-links{display:flex;align-items:center;justify-content:space-between;margin:3px 2px 7px}
.etf-text-action{font-size:10px;color:#b65010;padding:4px 0}
.etf-invest-note{font-size:9px;line-height:1.4;color:#8e8277;text-align:center;margin:0}
.etf-holding-next{background:linear-gradient(115deg,#ffe6c7,#fff7ed);border:1px solid #ffc18c;border-radius:12px;padding:15px;margin:12px 0}
.etf-holding-next h3{font-size:18px!important;color:#633519;margin:0 0 6px!important;letter-spacing:-.4px}
.etf-holding-next p{font-size:11px!important;color:#8c6448;margin:0 0 12px!important;line-height:1.5}
.etf-holding-next .primary{margin:0;padding:11px;font-size:12px}
.etf-launch-preview{text-align:center;border-radius:12px;background:linear-gradient(#ecebff,#fff);padding:12px}
.etf-launch-preview img{display:block;width:90px;height:90px;object-fit:contain;margin:0 auto 12px}
.etf-launch-preview>span{font-size:9px;letter-spacing:1.5px;color:#7863a8;font-weight:650}
.etf-launch-preview h3{font-size:22px;margin:9px 0 4px;color:#463c59}
.etf-launch-preview p{margin:5px 0 7px}
.sheet p.etf-launch-note{font-size:11px;text-align:center;color:#8b8193}
.etf-trade-info>p{font-size:12px}
.etf-info-product{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #eee9e4;align-items:center}
.etf-info-product img{width:43px;height:43px;object-fit:contain}
.etf-info-product b{display:block;font-size:13px;margin-bottom:4px}
.etf-info-product span{display:block;color:#84796f;font-size:11px;line-height:1.5}
.sheet p.etf-detail-footnote{font-size:10px;color:#9a8a7d}
.etf-order-product{display:flex;align-items:center;gap:12px;background:#fff7ee;border-radius:10px;padding:12px;margin:0 0 14px}
.etf-order-product img{width:42px;height:42px;object-fit:contain}
.etf-order-product b{display:block;font-size:14px;font-weight:600;color:#3c3128}
.etf-order-product small{display:block;font-size:10px;margin-top:5px;color:#957d6b}
.etf-order-available{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#8b7c6f;margin:3px 0 22px}
.etf-order-available b{color:#483a30;font-weight:500}
.etf-amount-label{display:block;font-size:12px;color:#70665d;margin-bottom:8px}
.etf-amount-input{display:flex;align-items:center;gap:8px;border-bottom:1px solid #d6c9bd;padding-bottom:10px}
.etf-amount-input>span{font-size:27px;color:#73604e}
.etf-amount-input input{background:transparent;min-width:0;width:100%;border:0;border-radius:0;padding:0;font-size:38px;font-weight:600;letter-spacing:-1px;color:#332c26;outline:none}
.etf-amount-input:focus-within{border-color:#ff6500;box-shadow:0 1px #ff6500}
.etf-amount-presets{display:flex;gap:8px;margin:16px 0 12px}
.etf-amount-chip{flex:1;background:#fff7ef;border:1px solid #f7d7b9;border-radius:6px;color:#b15a1d;font-size:12px;padding:9px 2px}
.sheet p.etf-order-hint{font-size:11px;line-height:1.5;color:#948474;margin:9px 0}
.sheet p.etf-form-error{font-size:11px;line-height:1.5;color:#bf3931;margin:8px 0}
.etf-form-error:empty{display:none}
.sheet p.etf-demo-caption{font-size:10px;text-align:center;color:#9b8f84;margin:12px 0 0}
.etf-review-amount{font-size:34px;font-weight:600;letter-spacing:-1px;color:#362c25;margin:15px 0}
.etf-review-rows>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #eee6de;padding:11px 0;font-size:11px;line-height:1.4}
.etf-review-rows span{color:#938578}
.etf-review-rows b{font-weight:500;text-align:right;color:#41372f}
.sheet p.etf-review-note{font-size:11px;line-height:1.5;background:#fff4e8;border-radius:8px;padding:11px 12px;color:#946039;margin:13px 0}
.etf-order-consent{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.5;color:#73665a;margin:15px 0 12px}
.etf-order-consent input{accent-color:#f56600;width:17px;height:17px;flex:none;margin:0}
#etf-confirm:disabled{opacity:.45;cursor:default}
.etf-edit-order{display:block;width:100%;font-size:12px;text-align:center;color:#b85614;padding:12px 0 0}
.etf-order-complete{text-align:center;padding:12px 0}
.etf-order-complete>span{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:#e7f7ef;color:#2b9f71;margin:0 auto 14px}
.etf-order-complete h3{font-size:34px;letter-spacing:-1px;margin:0}
.etf-order-complete p{margin:7px 0!important;color:#44362b!important}
.etf-order-complete small{font-size:11px;color:#8b8076}
.etf-order-history>div{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #eee6de}
.etf-order-history>div>span:nth-child(2){flex:1}
.etf-order-history b{font-size:11px;display:block;font-weight:500}
.etf-order-history small{font-size:9px;display:block;margin-top:4px;color:#998777}
.etf-order-history strong{font-size:12px;white-space:nowrap}
.etf-order-side{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:17px;background:#fff1e1;color:#eb741b;flex:none}
.etf-order-side.sell{background:#eaf6ef;color:#388466}
@media(max-height:800px){
 .etf-invest-intro h2{font-size:23px;margin:4px 0}
 .etf-invest-intro p{margin-bottom:9px;font-size:10px}
 .etf-account-strip{padding:10px 12px;margin-bottom:9px}
 .etf-invest-page .etf-trade-card{padding:10px 12px 9px;margin-bottom:8px}
 .etf-trade-heading img{width:35px;height:35px}
 .etf-trade-card .fund-metrics{padding-top:7px;margin-top:6px}
 .etf-position-value{font-size:19px;margin-top:2px}
 .etf-funding-line{margin:5px 0 7px}
 .etf-trade-actions .primary,.etf-trade-actions .secondary{min-height:33px;padding:7px}
 .etf-invest-links{margin-bottom:4px}
}
@media(max-width:370px){
 .etf-invest-page{padding-inline:11px}
 .etf-trade-card .etf-trade-heading h3{font-size:14px}
 .etf-trade-heading p{font-size:9px}
 .etf-invest-intro p{font-size:10px}
}

.etf-trade-charts>p{font-size:10px;color:#978573;line-height:1.4}
.etf-trade-charts>section{padding:12px;background:#fff9f1;border:1px solid #f3d8be;border-radius:10px;margin:12px 0}
.etf-trade-charts h3{font-size:13px;margin:0 0 9px;font-weight:600}
.etf-trade-charts .etf-chart{height:80px}
#phone[data-screen="etfinvest"] #app{padding-bottom:4px}
@media(max-height:760px){
 .etf-trade-card .fund-metrics{margin-top:5px;padding-top:5px}
 .etf-funding-line{margin:3px 0 5px}
 .etf-account-strip{padding-block:9px;margin-bottom:8px}
 .etf-invest-intro p{margin-bottom:7px}
}

@media(max-height:700px){
 #phone[data-screen="etfinvest"] .header{padding-bottom:3px}
 #phone[data-screen="etfinvest"] .title{height:42px}
 .etf-invest-intro>span{display:none}
 .etf-invest-intro h2{margin:7px 0 5px;font-size:22px}
 .etf-invest-page .etf-trade-card{padding:8px 10px;margin-bottom:7px}
 .etf-trade-card .etf-trade-heading h3{margin-bottom:3px}
 .etf-trade-heading img{width:32px;height:32px}
 .etf-trade-card .fund-metrics{margin-top:4px;padding-top:4px}
}
