

.hero-input { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--r-pill); padding: 8px 8px 8px 16px; cursor: text; overflow: hidden; }
.hero-input:focus-within, .hero-input:hover { border-color: var(--color-navy); }

.hero-input { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hero-input:focus-within { background: linear-gradient(135deg, #101851, #1E2A78 55%, #35479E); border-color: transparent; }
.hero-input:focus-within input { color: #fff; }
.hero-input:focus-within input::placeholder { color: rgba(255,255,255,.55); }
.hero-input:focus-within .voice-btn { color: #fff; }
.hero-input:focus-within .voice-btn:hover { background: rgba(255,255,255,.15); }
.hero-input:focus-within .voice-btn.listening { color: #ffb4b4; background: rgba(255,255,255,.12); }
.hero-input img, .hero-input svg { width: 20px; height: 20px; flex: none; }
.hero-input input { border: none; outline: none; flex: 1; min-width: 0; font-size: var(--fs-16); font-family: inherit; background: transparent; }

.hero-input .hero-send { width: 0; margin-left: -10px; opacity: 0; visibility: hidden; overflow: hidden; pointer-events: none; transition: width .3s cubic-bezier(.4, 0, .2, 1), margin-left .3s cubic-bezier(.4, 0, .2, 1), opacity .18s ease, visibility 0s linear .3s; }
.hero-input .hero-send .ic { opacity: 0; transform: translateX(12px) scale(.55); transition: opacity .18s ease, transform .26s cubic-bezier(.4, 0, .2, 1); }
.hero-input .voice-btn.listening + .hero-send { width: 32px; margin-left: 0; opacity: 1; visibility: visible; pointer-events: auto; transition: width .3s cubic-bezier(.4, 0, .2, 1), margin-left .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease .08s, visibility 0s; }
.hero-input .voice-btn.listening + .hero-send .ic { opacity: 1; transform: none; transition: opacity .2s ease .1s, transform .34s cubic-bezier(.34, 1.35, .5, 1) .1s; }
@media (prefers-reduced-motion: reduce) { .hero-input .hero-send, .hero-input .hero-send .ic, .hero-input .voice-btn.listening + .hero-send, .hero-input .voice-btn.listening + .hero-send .ic { transition: none; } }
.assets-block .total { font-family: var(--font-mono); font-size: 32px; font-weight: 700; letter-spacing: -0.5px; }
.assets-block .cur { font-size: var(--fs-14); color: var(--color-ink-2); margin-left: 6px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
@media (max-width: 767px) { .quick-grid { gap: 6px; } }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--sp-4) 4px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--color-line); color: var(--color-ink); font-size: var(--fs-12); text-align: center; }
.quick-item:hover { border-color: var(--color-navy); text-decoration: none; }
.quick-item.disabled { opacity: .45; cursor: not-allowed; }

.svc-card { padding-top: 16px; padding-bottom: 6px; } 
.svc-h { font-size: var(--fs-16); margin: 0 0 6px; }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 6px; padding: 6px 0 10px; } 
@media (max-width: 767px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 380px) { .svc-grid .svc-label, .pay-svc-grid .svc-label { font-size: 11px; } }
.svc-item { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--color-ink); }
.svc-item:active { opacity: .65; }
.svc-label { font-size: var(--fs-12); text-align: center; line-height: 1.3; }

.quick-item .qi-wrap { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.quick-item .qi-wrap svg { display: block; }
.brand-banner { border-radius: var(--r-card-lg); overflow: hidden; position: relative; min-height: 190px; display: flex; align-items: center; background: linear-gradient(135deg, #101851, #1E2A78 55%, #35479E); color: #fff; padding: var(--sp-8); animation: rise-in .3s cubic-bezier(.25,.6,.3,1) both; }
.brand-banner::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122,143,255,.35), transparent); pointer-events: none; }
.brand-banner .bb-art { position: absolute; right: 12px; bottom: -8px; width: 128px; height: 128px; z-index: 0; opacity: .95; pointer-events: none; }
.brand-banner .bb-text { max-width: 520px; }
.brand-banner p { color: rgba(255,255,255,.82); margin: var(--sp-2) 0 var(--sp-4); font-size: var(--fs-14); }


.pay-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.pay-action { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: var(--sp-6) var(--sp-4); background: #fff; border: 1px solid var(--color-line); border-radius: var(--r-card); color: var(--color-ink); font-weight: 600; }
.pay-action:hover { border-color: var(--color-navy); text-decoration: none; }
.pay-action.disabled { color: var(--color-ink-2); opacity: .55; }
.pay-action .pi { width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary-tint); display: flex; align-items: center; justify-content: center; }
.pay-action .pi svg { width: 26px; height: 26px; color: var(--color-navy); }
.mini-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.mini-action { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-line); border-radius: var(--r-btn); padding: 10px 16px; background: #fff; cursor: pointer; font-size: var(--fs-14); color: var(--color-ink); text-decoration: none; }
.mini-action svg { width: 16px; height: 16px; color: var(--color-navy); }
.mini-action:hover { border-color: var(--color-navy); text-decoration: none; }


.cardwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: var(--sp-4); }
.bank-card { border: 1px solid var(--color-line); border-radius: var(--r-card); padding: var(--sp-4); background: #fff; box-shadow: var(--shadow); position: relative; }
.bank-card .bc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--sp-3); gap: 6px; }
.bank-card .bc-num { font-family: var(--font-mono); font-weight: 600; }
.bank-card .bc-main { display: flex; gap: var(--sp-4); align-items: center; }
.bank-card .bc-art { width: 120px; height: 75px; object-fit: cover; border-radius: 8px; flex: none; background: var(--color-surface); }
.bank-card.frozen { opacity: .6; }
.bank-card .frozen-tag { position: absolute; top: 12px; right: 12px; }
.bank-card .bc-btns { display: flex; gap: 6px; margin-top: var(--sp-3); flex-wrap: wrap; }
.bc-btn { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-12); border: 1px solid var(--color-line); background: none; border-radius: 6px; padding: 6px 10px; cursor: pointer; color: var(--color-ink); text-decoration: none; }
.bc-btn svg { width: 13px; height: 13px; }
.bc-btn:hover { border-color: var(--color-navy); color: var(--color-navy); text-decoration: none; }


.hscroll { display: flex; gap: var(--sp-4); overflow-x: auto; padding-bottom: var(--sp-2); scroll-snap-type: x mandatory; }
.fund-card { min-width: 240px; scroll-snap-align: start; border: 1px solid var(--color-line); border-radius: var(--r-card); padding: var(--sp-4); background: #fff; }
.fund-card .fname { font-weight: 600; font-size: var(--fs-14); min-height: 40px; }
.fund-card .fret { font-family: var(--font-mono); font-size: var(--fs-20); font-weight: 700; color: var(--color-green); }


.fx-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; vertical-align: -3px; margin-right: 8px; }

.fx-cell .fx-name { white-space: nowrap; }
.fx-cell .fx-unit { display: inline-block; white-space: nowrap; margin-left: 2px; }

.fx-table th { white-space: nowrap; }
.fx-table .hh-s { display: none; }
@media (max-width: 767px) {
  .fx-table th, .fx-table td { padding: 10px 6px; }
  .fx-table .mono { font-size: 13px; }
  .fx-cell .fx-name { font-size: 14px; }
  .fx-table .hh-l { display: none; }
  .fx-table .hh-s { display: inline; }
}


.chart-box { width: 100%; overflow: hidden; }
.chart-box svg { width: 100%; height: auto; display: block; }


.auth-wrap { max-width: 420px; margin: var(--sp-8) auto; }
.auth-wrap .logo { display: block; margin: 0 auto var(--sp-6); height: 36px; }
.steps { display: flex; gap: 6px; margin-bottom: var(--sp-6); }
.steps i { flex: 1; height: 4px; border-radius: 999px; background: var(--color-line); }
.steps i.on { background: var(--color-primary); }
.upload-box { border: 1px dashed var(--color-line); border-radius: var(--r-card); padding: var(--sp-6); text-align: center; color: var(--color-ink-2); cursor: pointer; font-size: var(--fs-14); background: var(--color-surface); }
.upload-box.done { border-color: var(--color-green); color: var(--color-green); }


.mcard { border-radius: 12px; padding: 16px; color: #fff; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-mono); background-size: cover; background-position: center; }


.reg-card { display: flex; flex-direction: column; gap: 8px; }
.reg-card-img { aspect-ratio: 1.586; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(15, 23, 42, .12); }
.reg-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 0 2px; }


.task-step { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: var(--fs-12); padding: 4px 0; }
.task-step .st { width: 18px; text-align: center; }


.legal-body { max-width: 760px; margin: 0 auto; font-size: var(--fs-14); }
.legal-body h2 { margin: var(--sp-8) 0 var(--sp-3); font-size: var(--fs-16); }
.legal-body p, .legal-body li { color: var(--color-ink-2); margin-bottom: var(--sp-2); }
.legal-toc { border: 1px solid var(--color-line); border-radius: var(--r-card); padding: var(--sp-4); position: sticky; top: 80px; }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-8); align-items: start; }
@media (max-width: 767px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; } }


.ab-hero { position: relative; overflow: hidden; border-radius: var(--r-card-lg); color: #fff; padding: 22px 20px; margin-bottom: 16px; animation: rise-in .28s cubic-bezier(.25,.6,.3,1) both; }
.ab-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122,143,255,.35), transparent); pointer-events: none; }
.ab-hero h1 { font-size: 22px; font-weight: 700; }
.ab-hero p { color: rgba(255,255,255,.82); margin: 10px 0 0; font-size: var(--fs-14); max-width: 640px; }
.ab-hero-art { position: absolute; right: 10px; bottom: -6px; width: 118px; height: 118px; opacity: .95; pointer-events: none; }
.ab-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; max-width: 660px; }
.ab-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-size: 12px; font-weight: 600; }
.ab-pill .ic { color: #fff; }
@media (max-width: 1023px) { .ab-hero-txt { padding-right: 128px; } }
@media (max-width: 767px) { .ab-hero { padding: 18px 16px; } .ab-hero-art { display: none; } .ab-hero-txt { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .ab-hero { animation: none; } }

.ab-toc { border: 1px solid var(--color-line); border-radius: var(--r-card); padding: var(--sp-4); position: sticky; top: 80px; background: #fff; }
.ab-toc h3 { font-size: 13px; margin: 0 0 2px; }
.ab-toc-links { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.ab-toc-links a { font-size: 13px; color: var(--color-ink-2); text-decoration: none; padding: 6px 10px; border-radius: 8px; transition: background-color .12s ease, color .12s ease; }
.ab-toc-links a:hover { background: var(--color-surface); color: var(--color-ink); }
.ab-toc-links a.on { background: var(--c-sky-tint); color: var(--color-navy); font-weight: 700; }
.ab-toc-m { display: none; }
@media (max-width: 767px) { .ab-toc { display: none; } .ab-toc-m { display: block; margin-bottom: 12px; } }

.ab-grid { margin-top: 0; }
.ab-sec { display: flex; align-items: center; gap: 10px; margin: var(--sp-8) 0 var(--sp-3); font-size: var(--fs-16); }
.ab-sec-bar { flex: none; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, #1E2A78, #35479E); }
.ab-sec-ic { flex: none; display: inline-flex; }
.ab-sec-t { min-width: 0; }
.ab-sec, .ab-dis { scroll-margin-top: 76px; }
.ab-body > p { line-height: 1.75; max-width: 68ch; }

.ab-dis { margin: var(--sp-6) 0; padding: 14px 16px; border-radius: var(--r-card); background: var(--c-gold-tint); border: 1px solid rgba(245,179,1,.28); }
.ab-dis-h { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); margin-bottom: 8px; color: #4A3200; }
.ab-dis-h .ic { color: #B8860B; }
.ab-dis p { margin-bottom: 8px; }
.ab-dis p:last-child { margin-bottom: 0; }

.ab-anns { margin-top: 8px; }
.ab-ann .acc-head { align-items: center; }
.ab-ann-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ab-ann-l b { min-width: 0; overflow-wrap: anywhere; }
.ab-bell { flex: none; display: inline-flex; }

.ab-ann .ab-bell svg { transition: none !important; transform: none !important; }
.ab-ann-r { display: inline-flex; align-items: center; gap: 8px; color: var(--color-ink-2); flex: none; }
.ab-new { font-style: normal; flex: none; font-size: 10px; font-weight: 700; line-height: 1; padding: 3px 7px; border-radius: 999px; background: #F5B301; color: #4A3200; white-space: nowrap; }

.ab-rates thead th { background: var(--color-navy); color: #fff; font-size: 12px; }
.ab-rate { font-size: 16px; font-weight: 700; color: #0D9488; }

.table-wrap table.ab-rates { min-width: 0; } 
@media (max-width: 767px) {
  .ab-rates th, .ab-rates td { padding: 8px 6px; font-size: var(--fs-13, 13px); }
  .ab-rates thead th { padding: 7px 6px; }
  .ab-rate { font-size: 14px; white-space: nowrap; }
}
.ab-rh { margin: 16px 0 10px; }
.ab-tl { position: relative; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.ab-tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: var(--color-line); }
.ab-tl-it { position: relative; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ab-tl-it > i { position: absolute; left: -18px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid #0D9488; }
.ab-tl-d { flex: none; }

.ab-contact { display: flex; gap: 10px; margin-top: 8px; }
.ab-ct-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--color-line); border-radius: var(--r-card); background: #fff; text-decoration: none; transition: border-color .12s ease, transform .12s ease; }
.ab-ct-row:hover { border-color: var(--color-navy); }
.ab-ct-row:active { transform: scale(.98); }
.ab-ct-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ab-ct-txt .mono { color: var(--color-ink-2); overflow: hidden; text-overflow: ellipsis; }
.ab-updated { margin-top: 14px; }
@media (max-width: 767px) { .ab-contact { flex-direction: column; } }


.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-form-card { padding: 18px 16px 16px; }
.ct-req { color: var(--color-red); font-style: normal; font-weight: 700; }
.ct-count { float: right; color: var(--color-ink-2); font-weight: 400; font-size: 12px; }
.ct-prefilled { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 12px; color: #0D9488; }
.ct-prefilled .ic { width: 12px; height: 12px; }
.ct-err { display: block; margin-top: 5px; font-size: 12px; color: var(--color-red); }
.ct-err[hidden] { display: none; }
.input.ct-bad { border-color: var(--color-red); background: var(--color-red-bg); }
.ct-done { text-align: center; padding: 26px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }

.ct-done[hidden] { display: none; }
.ct-done-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--c-teal-tint); color: #0D9488; display: inline-flex; align-items: center; justify-content: center; }
.ct-done b { font-size: 16px; }
.ct-faq { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 14px; font-size: 13px; color: var(--color-ink-2); text-decoration: none; }
.ct-faq:hover { color: var(--color-navy); }
.ct-faq .ic { color: var(--color-navy); flex: none; }


.cookie-modal p { color: var(--color-ink-2); margin-bottom: var(--sp-4); }


.rec-steps { display: flex; align-items: flex-start; gap: 4px; margin: 4px 0 var(--sp-6); }
.rec-step { flex: 1; text-align: center; position: relative; }
.rec-step::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--color-line); }
.rec-step:first-child::before { display: none; }
.rec-step .rs-dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--color-line); color: var(--color-ink-2); font-size: var(--fs-12); font-weight: 600; position: relative; z-index: 1; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.rec-step .rs-label { display: block; margin-top: 4px; font-size: var(--fs-12); color: var(--color-ink-2); }
.rec-step.on::before { background: var(--color-primary); }
.rec-step.on .rs-dot { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.rec-step.on .rs-label { color: var(--color-ink); }
.rec-step.now .rs-dot { box-shadow: 0 0 0 3px var(--color-primary-tint); }


.grid .card .row.between { flex-wrap: wrap; row-gap: 6px; }


.dl-note { padding: 10px 14px; }
.dl-note .row { flex-wrap: wrap; }


.card .row.between { flex-wrap: wrap; row-gap: 6px; }
.card .row.between .btn { white-space: nowrap; }


@media (max-width: 767px) {
  #grid.grid-2 { grid-template-columns: 1fr; }
}


#f-tabs { border-bottom: none; gap: 8px; flex-wrap: wrap; }
#f-tabs .tab { border-bottom: none; background: var(--color-surface); border-radius: 999px; padding: 7px 16px; color: var(--color-ink-2); }
#f-tabs .tab.active { background: var(--color-primary-tint); color: var(--color-navy); border-bottom: none; font-weight: 600; }


.fund-card2 { display: flex; flex-direction: column; }
.fund-card2 .fc-top { align-items: flex-start; }
.fc-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; flex: 1; min-width: 0; padding-right: 8px; }
.fc-cat { flex: none; }
.fc-hero { position: relative; border-radius: 14px; padding: 14px 16px; overflow: hidden; }
.fc-hero .num-xl { position: relative; z-index: 1; }
.fc-hero .n { font-size: 34px; }
.fc-hero-sub { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: var(--fs-12); color: var(--color-ink-2); }
.fc-hero-sub b { color: var(--color-ink); font-weight: 600; }
.fc-art { position: absolute; right: -8px; bottom: -12px; width: 92px; height: 92px; z-index: 0; opacity: .9; pointer-events: none; }
.fc-mini { position: relative; border-radius: 12px; padding: 10px 12px; overflow: hidden; }
.fc-art-sm { position: absolute; right: -6px; bottom: -8px; width: 56px; height: 56px; z-index: 0; opacity: .9; pointer-events: none; }
.fc-mini .num-xl { position: relative; z-index: 1; }

.fund-live { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--color-green); vertical-align: middle; }
.fund-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-green); animation: fund-live-pulse 2s infinite; }
.fund-live.closed { color: var(--color-ink-2); }
.fund-live.closed::before { background: var(--color-ink-2); animation: none; }
.fund-live-when { font-size: 11px; color: var(--color-ink-2); margin-left: 6px; vertical-align: middle; }
@keyframes fund-live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .fund-live::before { animation: none; } }


.voice-btn { flex: none; box-sizing: border-box; padding: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: none; border-radius: 50%; background: transparent; color: var(--color-ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.voice-btn:hover { background: var(--color-primary-tint); color: var(--color-navy); }
.voice-btn.listening { background: var(--color-red-bg); color: var(--color-red); animation: voice-pulse 1.2s ease-in-out infinite; }
.voice-btn.voice-off { opacity: .55; }
@keyframes voice-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, .25); } 50% { box-shadow: 0 0 0 6px rgba(192, 57, 43, 0); } }
@media (prefers-reduced-motion: reduce) { .voice-btn.listening { animation: none; } }


.assets-head { align-items: flex-end; }
.assets-side { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; padding-bottom: 2px; }
@media (max-width: 767px) { .assets-side { align-items: flex-start; text-align: left; padding-bottom: 0; } }

@media (max-width: 550px) { .assets-side { flex-basis: 100%; } }

.acf-head .h-txt { font-size: var(--fs-16); }

.acf-head { display: flex; gap: 10px; align-items: center; }
.acf-head img { width: 34px; height: 34px; flex: none; }
.acf-head .h-txt { display: inline-block; transform: translateY(0px); }
.acf-head .h-txt.h-up { transform: translateY(-0.5px); }
.acf-head .eye-toggle { margin-left: 2px; vertical-align: middle; }
.cf-sep { border: none; border-top: 1px solid var(--color-line); margin: 7px 0 11px; }
@media (max-width: 767px) {
  
  .card .row.between.assets-head { row-gap: 0; }
  .cf-sep { margin-top: 12px; margin-bottom: 8px; }
}



.dash-rhead { display: flex; align-items: center; gap: 10px; }

.dash-rhead b { min-width: 0; }
.dash-rgo { flex: none; display: inline-flex; align-items: center; gap: 5px; font-family: inherit; font-size: 12px; font-weight: 600; color: var(--color-navy); background: var(--c-sky-tint); border: none; border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: transform .12s ease, opacity .12s ease; }
.dash-rgo:active { transform: scale(.94); }
.dash-rgo .ic { width: 13px; height: 13px; }

.rows-live .insight-li { display: block; cursor: pointer; transition: color .12s ease; }
.rows-live .insight-li:hover { color: var(--color-navy); }
.rows-live .insight-li .ic { width: 14px; height: 14px; margin-left: 5px; vertical-align: -2px; color: var(--color-ink-2); transition: color .12s ease; }
.rows-live .insight-li:hover .ic { color: var(--color-navy); }


.cf-row { gap: 28px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 767px) { .cf-row { gap: 10px 24px; } }
.cf-cell { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 8px; }

.cf-cell .num-xl .n { font-size: 26px; }
.cf-cell .trend-pill { margin-bottom: 2px; white-space: nowrap; }
.cf-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin-top: 10px; background: var(--color-surface); }
.cf-bar .in { background: linear-gradient(90deg, #1F7A4D, #2FA06A); }
.cf-bar .out { background: linear-gradient(90deg, #35479E, #8B97D6); }
.cf-row .dot, .dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.dot-in { background: #1F7A4D; }
.dot-out { background: #35479E; }


.pc-perks { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.pc-perk { display: flex; gap: 10px; align-items: flex-start; }
.pp-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }

.pc-ico { position: absolute; right: 12px; top: 12px; z-index: 0; display: inline-flex; align-items: center; justify-content: center; filter: drop-shadow(0 4px 10px rgba(16, 24, 81, .25)); }


.ai-insights { margin: 4px 0 8px; }
.ai-ins-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ai-ins-head b { font-size: 15px; }

.ai-ins-head img { transform: translateY(-1.5px); }
.ai-insights.ready > .ai-ins-head { animation: rise-in .28s cubic-bezier(.25, .6, .3, 1) both; }

.ai-insights.ready .ai-ins-card { animation: rise-in .34s cubic-bezier(.25, .6, .3, 1) both; }
.ai-ins-loading { display: flex; align-items: center; gap: 10px; padding: 12px 2px; color: var(--color-ink-2); font-size: 13px; }
.ail-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary-tint); display: inline-flex; align-items: center; justify-content: center; animation: ail-pulse 1.6s ease-in-out infinite; }
.ail-badge img { width: 22px; height: 22px; }
.ai-ins-loading .dots { display: inline-flex; gap: 4px; }
.ai-ins-loading .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-navy); opacity: .35; animation: think-bounce 1.2s infinite; }
.ai-ins-loading .dots i:nth-child(2) { animation-delay: .15s; }
.ai-ins-loading .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ail-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 42, 120, .12); } 50% { box-shadow: 0 0 0 6px rgba(30, 42, 120, 0); } }
@media (prefers-reduced-motion: reduce) { .ail-badge, .ai-ins-loading .dots i { animation: none; } .ai-insights.ready > .ai-ins-head, .ai-insights.ready .ai-ins-card { animation: none; } }
.ai-ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ai-ins-card { position: relative; border-radius: 14px; padding: 14px 14px 12px; overflow: hidden; display: flex; gap: 10px; min-height: 118px; }
.aic-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; }
.aic-art { position: absolute; right: -10px; bottom: -12px; width: 86px; height: 86px; opacity: .85; pointer-events: none; }

@media (max-width: 767px) {
  .ai-ins-card.has-art .aic-desc { max-width: calc(100% - 74px); }
}
.aic-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.aic-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; }
.aic-title { font-size: 14.5px; line-height: 1.35; }
.aic-desc { font-size: 12px; color: var(--color-ink-2); line-height: 1.5; margin: 0; }
.aic-cta { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; }
@media (max-width: 767px) {
  .ai-ins-grid { grid-template-columns: 1fr; gap: 8px; }
  .ai-ins-card { min-height: 0; }
}



.tx-sum-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 10px; }

.tx-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; } 
.tx-cell-h { display: flex; align-items: center; gap: 6px; }
.tx-cell-h .lb2 { font-size: var(--fs-12); color: var(--color-ink-2); white-space: nowrap; }
.tx-cell .n { font-size: 26px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.tx-cat-title { margin: 16px 0 2px; font-size: 14px; font-weight: 700; } 
@media (max-width: 600px) {
  
  .tx-sum-row { flex-wrap: wrap; gap: 10px 16px; }
  .tx-cell { min-width: 0; }
  .tx-cell .n { font-size: 15px; letter-spacing: 0; overflow-wrap: break-word; word-break: break-all; }
  .tx-cell-h { gap: 4px; }
  .tx-cell-h .lb2 { font-size: 11px; }
  .tx-cell-h .trend-pill { font-size: 10px; padding: 1px 6px; }
  .tx-cat-title { margin: 14px 0 0; }
}


@media (max-width: 767px) {
  .acct-ov-side { flex-basis: 100%; }
}
.acct-grid-card { box-shadow: var(--shadow-lg); padding: 16px 12px; } 
.acct-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 8px; }
@media (max-width: 767px) { .acct-grid { grid-template-columns: repeat(3, 1fr); } }


.pay-hero { border-radius: var(--r-card-lg); padding: 14px 16px 16px; color: #fff; margin-bottom: 16px; animation: rise-in .28s cubic-bezier(.25,.6,.3,1) both; }
.ph-ai { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.18); padding: 2px 0 12px; cursor: pointer; color: rgba(255,255,255,.85); font-size: 13px; }
.ph-ai img { width: 22px; height: 22px; flex: none; }
.ph-ai:hover { color: #fff; }
.ph-go { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.ph-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 14px; }
.ph-main-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ph-main-txt b { font-size: 18px; }
.ph-main-txt span { font-size: 12px; color: rgba(255,255,255,.72); }
.ph-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--color-navy); font-weight: 700; font-size: var(--fs-14); border-radius: var(--r-pill); padding: 10px 18px; text-decoration: none; box-shadow: 0 6px 18px rgba(9,16,54,.28); transition: transform .15s ease; }
.ph-cta:active { transform: scale(.96); }
.ph-glass-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-glass { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 4px 9px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.ph-glass:hover { background: rgba(255,255,255,.2); }
.ph-glass:active { transform: scale(.96); }
.ph-glass .ic { color: #fff; }
.ph-soon { position: absolute; top: -7px; right: -4px; font-style: normal; font-size: 9px; line-height: 1; padding: 3px 6px; border-radius: 999px; background: var(--color-gold, #F5B301); color: #4A3200; font-weight: 700; white-space: nowrap; }

.pay-svc-card { padding: 14px 12px; box-shadow: var(--shadow-lg); margin-bottom: 0; }
.pay-svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 8px;  }

.pay-sec { margin: 16px 0 8px; }

.payees { padding-bottom: var(--sp-2); }
.payee-card { position: relative; flex: none; min-width: 176px; max-width: 200px; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; scroll-snap-align: start; }
.payee-badge { flex: none; margin-left: auto; align-self: center; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.75); color: var(--color-ink-2); white-space: nowrap; }
.payee-card .row b.pye-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payee-ava { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--color-navy); }
.payee-card .btn { margin-top: 10px; align-self: flex-start; }
.payee-add { align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--color-navy); background: var(--color-primary-tint); color: var(--color-navy); font-weight: 600; font-size: var(--fs-13, 13px); text-decoration: none; }
.payee-add .pc-plus { width: 34px; height: 34px; border-radius: 50%; background: var(--color-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

.pay-recent { box-shadow: var(--shadow-lg); }
.pay-day { font-weight: 600; padding: 10px 0 2px; }
.pay-tx { border-bottom: 1px dashed var(--color-line); }
.pay-tx:last-child { border-bottom: none; }
@media (prefers-reduced-motion: reduce) { .pay-hero { animation: none; } }


.pye-group { margin: 14px 0 2px; }
.pye-gh { display: inline-block; font-size: var(--fs-12); font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.pye-row { padding: 10px 0; border-bottom: 1px dashed var(--color-line); }
.pye-row:last-child { border-bottom: none; }


.pye-ava { background: var(--color-primary-tint, #eef1fb); color: var(--color-navy, #1E2A78); }
.bg-tint-teal.pye-ava { background: var(--c-teal-tint); } .bg-tint-orange.pye-ava { background: var(--c-orange-tint); }
.bg-tint-violet.pye-ava { background: var(--c-violet-tint); } .bg-tint-gold.pye-ava { background: var(--c-gold-tint); }
.bg-tint-rose.pye-ava { background: var(--c-rose-tint); } .bg-tint-sky.pye-ava { background: var(--c-sky-tint); }

.pye-ops { display: flex; align-items: center; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.pye-pinned { background: linear-gradient(0deg, rgba(30, 42, 120, .04), rgba(30, 42, 120, .04)), #fff; }

.pye-view-row { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px dashed var(--color-line, #e2e8f0); }
.pye-view-row:last-of-type { border-bottom: none; }
.pye-cp { padding: 3px 6px; margin-left: 6px; vertical-align: middle; border-radius: 6px; }
.pye-cp svg { width: 12px; height: 12px; }
@media (max-width: 767px) {
  
  .pye-row { flex-wrap: wrap; row-gap: 8px; }
  .pye-ops { flex-basis: 100%; justify-content: flex-start; padding-left: 44px; }
}



.bl-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary-tint); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bl-right { text-align: right; }

.bl-ops { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.bl-ap { display: flex; gap: 5px; margin: 0; cursor: pointer; align-items: center; }
.bl-cr { cursor: help; }
@media (max-width: 767px) {
  
  .bl-row { flex-wrap: wrap; row-gap: 0; }
  .bl-right { order: 5; flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; text-align: left; border-top: 1px dashed rgba(0, 0, 0, .055);  margin-top: 10px; padding-top: 10px; }
  .bl-right .amt { font-size: var(--fs-16); }
  .bl-ops { margin-top: 0; margin-left: auto; }
}


.cl-card { display: flex; align-items: center; gap: 14px; }
.cl-card .bc-art { width: 128px; flex: none; border-radius: 10px; box-shadow: var(--shadow); display: block; }
.cl-num { font-size: var(--fs-16); letter-spacing: .04em; }
.cl-banner { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 10px 12px; border-radius: var(--r-btn); background: rgba(225, 29, 72, .06); border: 1px solid rgba(225, 29, 72, .18); color: #9F1239; font-weight: 600; font-size: var(--fs-13); flex-wrap: wrap; }
.cl-banner .muted { font-weight: 400; }
.cl-warn { background: var(--color-primary-tint); border-color: rgba(30, 42, 120, .18); color: var(--color-navy); }
.cl-replace { margin: 14px 0 0; padding: 12px; border: 1px dashed var(--color-line); border-radius: var(--r-btn); cursor: pointer; }
.cl-mail { margin-top: 10px; display: block; }
.cl-mail .input { width: 100%; font-family: inherit; resize: vertical; }
.cl-total b { font-size: var(--fs-16); }
.loss-m.on { color: #9F1239; border-color: rgba(225, 29, 72, .35); }

.cl-paylb { display: flex; flex-direction: column; gap: 2px; margin: 14px 0 6px; }
.cl-paylb .lb { font-size: var(--fs-13); font-weight: 600; }
.cl-sel { position: relative; }
.cl-sel-btn { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--r-btn); font-size: var(--fs-14); cursor: pointer; transition: border-color .12s ease; }
.cl-sel-btn:hover { border-color: var(--color-navy); }
.cl-sel-btn .ic { color: var(--color-ink-2); flex: none; }
.cl-sel-cur { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-sel-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid var(--color-line); border-radius: var(--r-btn); box-shadow: var(--shadow-lg); overflow: hidden; animation: fade-in .12s ease-out both; max-height: 264px; overflow-y: auto; }
.cl-sel-opt { width: 100%; display: flex; align-items: center; gap: 8px; padding: 11px 12px; background: none; border: none; border-bottom: 1px solid var(--color-line); font-size: var(--fs-13); cursor: pointer; text-align: left; }
.cl-sel-opt:last-child { border-bottom: none; }
.cl-sel-opt:hover { background: #FAFBFC; }
.cl-sel-opt.on { background: var(--color-primary-tint); }
.cl-sel-opt.on::after { content: "✓"; color: var(--color-navy); font-weight: 700; flex: none; }
.cl-sel-kind { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--color-navy); }
.cl-sel-kind.credit { background: #D97706; }
.cl-sel-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-sel-bal { flex: none; color: var(--color-ink-2); font-size: var(--fs-12); }


.acct-hero { border-radius: var(--r-card-lg); padding: 20px; color: #fff; margin-bottom: 16px; animation: rise-in .28s cubic-bezier(.25,.6,.3,1) both; }
.ah-top { display: flex; align-items: center; gap: 14px; }
.ah-ava { flex: none; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.65); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.ah-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ah-name { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ah-pr { font-size: 10px; font-weight: 700; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); padding: 2px 8px; border-radius: 999px; }
.ah-sub { font-size: 12px; color: rgba(255,255,255,.72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-sec { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ah-sec:active { transform: scale(.94); }
.acct-sec { margin: 16px 0 8px; }
.acct-recent { box-shadow: var(--shadow-lg); }
.acct-prefs { box-shadow: var(--shadow-lg); }
.acct-pav { background: var(--color-primary-tint); color: var(--color-navy); }
.ah-langcur { font-size: var(--fs-12); font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--color-primary-tint); color: var(--color-navy); }
.acct-logout { width: 100%; margin-top: 14px; background: var(--color-red-bg); color: var(--color-red); border: 1px solid rgba(192,57,43,.25); font-weight: 600; }
.acct-logout:active { filter: brightness(.95); }
.acct-pnl { font-size: 13px; color: var(--color-ink-2); margin-top: 4px; }
.acct-ovrow { background: var(--color-surface); border-radius: 10px; padding: 8px 12px; margin: 4px 0; border-bottom: none !important; }
@media (prefers-reduced-motion: reduce) { .acct-hero { animation: none; } }


.ins-logo { flex: none; width: 44px; height: 44px; }
.insight-card { align-items: flex-start; }
@media (prefers-reduced-motion: reduce) { .brand-banner { animation: none; } }


.wmy-hero { padding: 14px 16px 18px; margin-top: 5px; }
.wmy-hero .ph-ai { margin-bottom: 2px; }
.wmy-hero .num-xl { margin-top: 12px; }
.wmy-hero .num-xl .n { color: #fff; }
.wmy-hero .num-xl .lb { color: rgba(255,255,255,.7); }
.wmy-hero .num-xl .u { color: rgba(255,255,255,.6); }
.wmy-day { margin-top: 4px; font-size: 13px; font-weight: 600; }
.wmy-day.up { color: #7FE0AC; }
.wmy-day.down { color: #FFB3AB; }
.wmy-item { border-bottom: 1px dashed var(--color-line); padding: 14px 0; }
.wmy-item:last-child { border-bottom: none; }
.wmy-name { font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wmy-redeem { background: var(--color-red-bg); color: var(--color-red); border: 1px solid rgba(192,57,43,.25); font-weight: 600; }
.wmy-redeem:disabled { opacity: .5; }
.wmy-fxname { min-width: 64px; }
@media (prefers-reduced-motion: reduce) { .wmy-hero { animation: none; } }


.pp-hero { position: relative; border-radius: var(--r-card-lg); overflow: hidden; padding: 26px 26px 22px; color: #fff; animation: pp-in .5s ease both; }
.pp-art { position: absolute; right: -18px; bottom: -22px; width: 168px; height: 168px; opacity: .92; pointer-events: none; }
.pp-hero-txt { position: relative; z-index: 1; }
.pp-hero-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 3px 12px; }
.pp-hero-tag .ic { opacity: .9; }
.pp-hero h1 { font-size: 22px; margin: 12px 0 6px; color: #fff; }
.pp-month { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); margin-left: 10px; }
.pp-hero-sub { font-size: 12.5px; color: rgba(255,255,255,.82); max-width: 62ch; margin: 0 0 16px; line-height: 1.6; }
.pp-nums { display: flex; gap: 30px; flex-wrap: wrap; }
.pp-nums .num-xl .n { color: #fff; }
.pp-nums .num-xl .lb { color: rgba(255,255,255,.65); }
.pp-nums .num-xl .u { color: rgba(255,255,255,.55); }
.pp-engine { margin: 14px 0 0; font-size: 11px; color: rgba(255,255,255,.5); }
.pp-card { border-radius: var(--r-card-lg); padding: 16px; display: flex; gap: 14px; margin-top: 12px; align-items: flex-start; }
.pp-ico { flex: none; line-height: 0; }
.pp-body { min-width: 0; flex: 1; }
.pp-khead { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.pp-kind { font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.pp-title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.pp-desc { font-size: 12.5px; color: var(--color-ink-2); line-height: 1.65; margin: 6px 0 12px; }
.pp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-card.done { opacity: .92; }
.pp-card.done .pp-acts { display: none; }
.pp-card.done .pp-desc { margin-bottom: 0; }
.pp-check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--color-green-bg); color: var(--color-green); flex: none; }
@keyframes pp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .pp-hero { padding: 20px 18px 18px; }
  .pp-art { width: 110px; height: 110px; right: -12px; bottom: -14px; }
  .pp-nums { gap: 18px; }
  .pp-nums .num-xl .n { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .pp-hero { animation: none; } }



.gl-new { display: block; width: fit-content; max-width: 100%; overflow: hidden; text-align: left; margin-top: 7px;
  border: 1px solid transparent; border-radius: 999px; background: var(--color-navy); color: #fff;
  transition: width .42s cubic-bezier(.22, 1.18, .36, 1), background-color .3s ease, border-radius .3s ease, padding .3s ease, box-shadow .3s ease; }
.gl-new:hover { box-shadow: 0 6px 18px rgba(16, 24, 81, .22); }

.gl-new-t { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; color: #fff; font-size: 14px; font-weight: 600; padding: 11px 20px; cursor: pointer; font-family: inherit; }
.gl-new-t .ic { color: #fff; }
.gl-new-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .42s cubic-bezier(.25,.6,.3,1) .12s, opacity .3s ease .18s; }
.gl-new-inner { min-height: 0; overflow: hidden; }
.gl-new.open { background: #fff; border-color: var(--color-line); border-radius: var(--r-card); padding: 14px 16px; box-shadow: var(--shadow); color: var(--color-ink); } 
.gl-new.open .gl-new-t { display: none; } 
.gl-new.open .gl-new-body { grid-template-rows: 1fr; opacity: 1; }
.gl-new .field { flex: 1 1 160px; margin: 0; }
.gl-new .gl-new-inner { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.gl-new .input { font-size: 16px; } 
.gl-new-head { display: flex; align-items: center; justify-content: space-between; flex: 1 1 100%; margin-bottom: 2px; }
.gl-new-head b { font-size: 15px; color: var(--color-ink); }
.gl-collapse { border: none; background: none; font-family: inherit; font-size: 13px; color: var(--color-ink-2); cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: background-color .12s ease, color .12s ease; }
.gl-collapse:hover { background: var(--color-surface); color: var(--color-ink); }
.gl-new .gl-date { font-family: inherit; display: inline-flex; align-items: center; }
.gl-auto { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 9px 0; cursor: pointer; white-space: nowrap; }
.gl-auto input { width: 17px; height: 17px; accent-color: var(--color-navy); }
.gl-date { text-align: left; }
.gl-date.has { color: var(--color-ink); }


.gl-card { padding: 18px 16px; margin-top: 14px; display: grid; grid-template-columns: minmax(0,1fr) 1px 224px; gap: 0 18px; }
.gl-card.ended { opacity: .72; }
.gl-side { border-left: 1px solid var(--color-line); padding-left: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.gl-side .muted.small { white-space: nowrap; }
.gl-badge-d { white-space: nowrap; }
.gl-badge-d { margin-bottom: 2px; }
.gl-badge-m { display: none; }
.gl-head { display: flex; gap: 14px; align-items: center; }
.gl-info { min-width: 0; flex: 1; }
.gl-namerow { gap: 8px; flex-wrap: wrap; align-items: center; }
.gl-name { font-size: 16px; }
.gl-nums { margin: 2px 0 6px; }
.gl-saved { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.gl-saved + .muted { font-size: 13px; margin-left: 6px; }
.gl-bar { height: 5px; border-radius: 5px; background: var(--color-primary-tint); overflow: hidden; }
.gl-bar i { display: block; height: 100%; background: var(--color-primary); border-radius: 5px; transition: width .8s ease; }
.gl-card .gl-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.gl-task-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 24px; background: var(--c-teal-tint); color: var(--c-teal-deep); font-size: 12px; white-space: nowrap; }
.gl-ring { width: 92px; height: 92px; flex: none; transform: rotate(-90deg); }
.gl-ring .tr { fill: none; stroke: var(--color-primary-tint); stroke-width: 10; }
.gl-ring .pr { fill: none; stroke: var(--color-primary); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.gl-ring.done .pr { stroke: var(--color-green); }

.gl-ring text { transform: rotate(90deg); transform-origin: 50px 50px; text-anchor: middle; dominant-baseline: central; }
.gl-ring text .n { font-size: 30px; font-weight: 700; fill: var(--color-ink); font-variant-numeric: tabular-nums; }
.gl-ring .utxt { dominant-baseline: central; }
.gl-ring text .u { font-size: 11px; font-weight: 400; fill: #999; }

.gl-inline { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .32s cubic-bezier(.25,.6,.3,1), opacity .24s ease, margin-top .32s ease; margin-top: 0; grid-column: 1 / -1; }
.gl-inline > .gl-inline-in { min-height: 0; overflow: hidden; }
.gl-inline.open { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
.gl-inline-in { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--color-surface); border-radius: 12px; padding: 0 14px; transition: padding .32s ease; }
.gl-inline.open .gl-inline-in { padding: 14px; }
.gl-inline .field { flex: 1 1 150px; margin: 0; }
.gl-inline .input, .gl-inline .gl-date { font-size: 16px; }

.gl-ask-m { display: none; }
.gl-ask-m { display: inline-flex; margin-left: auto; } .gl-side .ask { display: none; }
.gl-note { margin-top: 14px; }
.gl-empty-tip { text-align: center; }
@media (prefers-reduced-motion: reduce) { .gl-ring .pr, .gl-bar i { transition: none; } .gl-new { transition: none; } .gl-new.open { width: 100% !important; } }
@media (max-width: 860px) {
  .gl-card { grid-template-columns: 1fr; }
  .gl-side { border-left: none; padding-left: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; border-top: 1px dashed var(--color-line); padding-top: 10px; }
  .gl-badge-d { display: none; }
  .gl-badge-m { display: inline-flex; }
  .gl-head { gap: 12px; }
  .gl-ring { width: 80px; height: 80px; }
  .gl-ring text .n { font-size: 22px; }
  .gl-saved { font-size: 19px; }
  .gl-meta-m, .gl-meta-p { display: none; } 
}
.gl-mini-bar { height: 6px; border-radius: 6px; background: var(--color-primary-tint); margin-top: 6px; overflow: hidden; }
.gl-mini-bar i { display: block; height: 100%; background: var(--color-primary); border-radius: 6px; }

.gl-mini { padding: 12px 0; border-bottom: 1px dashed var(--color-line); }
.gl-mini:last-child { border-bottom: none; }
.gl-mini-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gl-mini-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-mini-pct { margin-left: auto; font-size: 16px; font-weight: 700; color: var(--color-navy); font-variant-numeric: tabular-nums; flex: none; }
.gl-mini-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.gl-mini-auto { display: inline-flex; align-items: center; gap: 4px; color: var(--c-teal-deep); background: var(--c-teal-tint); padding: 2px 8px; border-radius: 999px; font-size: 11px; }
.gl-mini-auto svg { width: 11px; height: 11px; }



.tf-form { max-width: 720px; }
.tf-group { padding: 18px 0 8px; border-top: 1px solid var(--color-line); }
.tf-group:first-child { border-top: none; padding-top: 4px; }
.tf-lb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--fs-14); font-weight: 600; color: var(--color-ink); margin-bottom: 10px; }
.tf-fee { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--color-green); background: var(--color-green-bg); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tf-namerow { display: flex; gap: 8px; align-items: stretch; }
.tf-namerow .input { flex: 1; min-width: 0; }
.tf-namerow .ai-chip { flex: none; border-radius: var(--r-btn); white-space: nowrap; }
.tf-quick { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tf-qchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-line); background: #fff; border-radius: var(--r-btn); padding: 7px 14px 7px 8px; font-size: 13px; font-weight: 500; color: var(--color-ink); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease; }
.tf-qchip:hover { border-color: var(--color-navy); box-shadow: var(--shadow); }
.tf-qchip:active { transform: translateY(1px); }
.tf-qchip svg { flex: none; }
.tf-st { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--color-ink-2); min-height: 17px; }
.tf-st.ok { color: var(--color-green); }
.tf-st.bad { color: var(--color-red); }
.tf-st svg { flex: none; }
.tf-warn { display: flex; gap: 8px; align-items: flex-start; background: var(--color-red-bg); color: var(--color-red); font-size: 12.5px; border-radius: var(--r-btn); padding: 9px 12px; margin-top: 10px; }
.tf-warn svg { flex: none; margin-top: 1px; }
.tf-warn[hidden] { display: none; }
.tf-amtrow { display: flex; gap: 8px; align-items: stretch; }
.tf-amtwrap { position: relative; flex: 1; min-width: 0; }
.tf-amtwrap .cur { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 19px; color: var(--color-ink-2); pointer-events: none; }
.tf-amtwrap .input-lg { width: 100%; padding-left: 36px; }
.tf-amtrow .btn-ghost { flex: none; white-space: nowrap; }
.tf-amthint { margin-top: 7px; font-size: 12px; color: var(--color-ink-2); }
.tf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)); gap: 10px; }
.tf-card { position: relative; display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--color-line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.tf-card:hover { border-color: #b9c3e8; }
.tf-card.on { border-color: var(--color-navy); background: linear-gradient(0deg, rgba(30, 42, 120, .055), rgba(30, 42, 120, .055)), #fff; box-shadow: 0 0 0 3px var(--color-primary-tint); }
.tf-card.off { opacity: .55; cursor: not-allowed; }
.tf-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.tf-card .bc-art { width: 54px; height: 35px; border-radius: 6px; flex: none; background: var(--color-surface); object-fit: cover; }
.tf-cinfo { flex: 1; min-width: 0; }
.tf-cnum { font-family: var(--font-mono); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tf-cmeta { font-size: 12px; color: var(--color-ink-2); margin-top: 3px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-cright { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 46%; }
.tf-cbal { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.tf-cbal.held, .tf-cbal .held { font-family: var(--font-sans); font-size: 11px; color: var(--color-ink-2); white-space: nowrap; }

.tf-cright { max-width: none; flex: 0 1 auto; }
.tf-cinfo { flex: 1 1 auto; }
.tf-cmeta { white-space: normal; overflow: visible; text-overflow: clip; }
.tf-cright .tf-cbal { max-width: 100%; }

.tf-def { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; line-height: 16px; padding: 0 7px; border-radius: 999px; background: rgba(30, 42, 120, .08); color: var(--color-navy); vertical-align: middle; }
.tf-check { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-navy); color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(30, 42, 120, .35); }
.tf-card.on .tf-check { display: inline-flex; }
.tf-whenrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.tf-when { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; font-family: var(--font-mono); font-size: 14px; border: 1px solid var(--color-line); border-radius: var(--r-btn); background: #fff; padding: 11px 14px; cursor: pointer; color: var(--color-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.tf-when:hover { border-color: var(--color-navy); }
.tf-when .ph { color: var(--color-ink-2); font-family: var(--font-sans); }
.tf-when svg { margin-left: auto; flex: none; color: var(--color-ink-2); }
.tf-submit { display: flex; gap: 10px; margin-top: 20px; }
.tf-submit .btn-primary { flex: 1; }
@media (max-width: 767px) {
  .tf-cards { grid-template-columns: 1fr; }
  .tf-whenrow { grid-template-columns: 1fr; }
  .tf-card { padding: 10px 12px; gap: 10px; max-width: 100%; }
  .tf-card .bc-art { width: 46px; height: 30px; }
  .tf-cnum { font-size: 13.5px; row-gap: 1px; column-gap: 6px; }
  .tf-cnum .badge { padding: 1px 8px; font-size: 11px; }
  .tf-def { font-size: 10px; line-height: 15px; padding: 0 6px; }
  .tf-cmeta { margin-top: 1px; }
  .tf-cbal { font-size: 12.5px; }
  .tf-namerow .ai-chip { padding: 6px 10px; }
}


.nt-head h1 { margin: 0; }
.nt-sub { margin: 4px 0 0; }
.nt-ops { display: flex; gap: 10px; margin: 8px 0 14px; }

.chip-n { display: inline-block; min-width: 18px; text-align: center; padding: 0 5px; border-radius: 999px; background: rgba(30, 42, 120, .08); color: var(--color-navy); font-size: 11px; font-weight: 600; line-height: 16px; }
.hpill[data-v="unread"] .chip-n { background: rgba(220, 38, 38, .12); color: #dc2626; }
.hpill.on .chip-n { background: rgba(255, 255, 255, .24); color: #fff; }
.nt-list { margin-top: 6px; }
.nt-group { margin: 18px 2px 6px; font-size: 12px; font-weight: 600; color: var(--color-ink-2); letter-spacing: .02em; }
.nt-group:first-child { margin-top: 8px; }
.nt-row { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; cursor: pointer; transition: background-color .15s ease; }

.nt-row + .nt-row { margin-top: 3px; }
.nt-row:hover { background: var(--color-surface); }
.nt-row.is-unread { background: var(--color-primary-tint); }
.nt-row.is-unread:hover { background: #e3e9fb; }
.nt-row.is-sec { box-shadow: inset 3px 0 0 #dc2626; }
.nt-row.open { background: #f6f8fe; }
.nt-row:not(.is-unread) .nt-dot { display: none; }
.nt-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--color-navy); margin-top: 14px; }

.nt-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-top: 4px; }
.nt-ico.t-transfer { background: rgba(5, 122, 85, .1); color: #059669; }
.nt-ico.t-security { background: rgba(220, 38, 38, .1); color: #dc2626; }
.nt-ico.t-wealth { background: rgba(180, 131, 8, .12); color: #a16207; }
.nt-ico.t-task { background: rgba(109, 40, 217, .1); color: #7c3aed; }
.nt-ico.t-system { background: rgba(100, 116, 139, .12); color: #64748b; }
.nt-main { flex: 1; min-width: 0; }

.nt-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.nt-title { font-size: 14px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-time { flex: none; font-size: 12px; line-height: 20px; color: var(--color-ink-2); margin-bottom: -1px; } 
.nt-body { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--color-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.nt-row.open .nt-body { display: block; -webkit-line-clamp: unset; color: var(--color-ink); animation: nt-fade .16s ease-out; }

.nt-acts { display: flex; gap: 8px; margin-top: 10px; animation: nt-rise .18s ease-out; }
@keyframes nt-rise { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes nt-fade { from { opacity: .4; } to { opacity: 1; } }
.mini-btn { font: inherit; font-size: 12px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--color-line); background: #fff; color: var(--color-ink); cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.mini-btn:hover { border-color: var(--color-navy); color: var(--color-navy); }
.mini-btn.danger { color: #dc2626; }
.mini-btn.danger:hover { border-color: #dc2626; background: rgba(220, 38, 38, .05); }
.nt-chev { flex: none; margin-top: 11px; color: var(--color-ink-2); transform: rotate(90deg); transition: transform .18s ease; }
.nt-row.open .nt-chev { transform: rotate(270deg); }
.nt-more { display: block; width: 100%; margin-top: 14px; }
.nt-nomore { text-align: center; margin: 16px 0 4px; color: var(--color-ink-2); }

@media (max-width: 768px) {
  .nt-row { padding: 10px 12px; gap: 10px; }
  .nt-ico { width: 32px; height: 32px; border-radius: 9px; margin-top: 3px; }
  .nt-dot { margin-top: 12px; }
  .nt-chev { display: none; }
  .nt-h { flex-wrap: wrap; }
}


.cs-hero { display: flex; align-items: center; gap: 20px; margin: 14px 0 4px; }
.cs-hero .bc-art { width: 200px; aspect-ratio: 1.586; height: auto; border-radius: 12px; flex: none; background: var(--color-surface); object-fit: cover; box-shadow: var(--shadow); }
.cs-hero-info { flex: 1; min-width: 0; }
.cs-numrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cs-numrow .mono { font-size: 16px; }
.cs-sec { margin-top: 26px; }
.cs-sec h3 { margin: 0; }
@media (max-width: 768px) {
  .cs-hero { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 10px; }
  
  .cs-hero .bc-art { width: 100%; border-radius: 12px; }
  .cs-numrow .mono { font-size: 15px; }
  .cs-sec { margin-top: 22px; }
}


.cs-copy { font-size: 12px; padding: 3px 10px; gap: 4px; }
.cs-copy .ic { flex: none; }
.cs-netline { margin-top: 6px; }
.cs-tag { display: inline-flex; margin-top: 3px; }
.acct-ovrow { align-items: center; text-decoration: none; color: inherit; }
.acct-ovrow:hover .v { color: var(--color-navy); }
.acct-ovrow .ov-l { display: inline-flex; align-items: center; gap: 6px; }
.acct-ovrow .ov-l .ic { flex: none; }
.acct-ovrow .v { display: inline-flex; align-items: center; gap: 5px; }
.acct-ovrow .v .ic { flex: none; color: var(--color-ink-2); }
@media (max-width: 768px) {
  .cs-netline { margin-top: 3px; }
  .cs-tag { margin-top: 2px; }
}


.dl-list { padding-top: 9px; padding-bottom: 9px; }
.dl-safe { margin-top: 20px; }
.dl-safe-row { display: flex; align-items: center; gap: 11px; font-size: 12.5px; line-height: 1.55; color: var(--color-ink-2); }
.ds-ico { flex: none; display: inline-flex; }
.ds-ico .ic { display: block; }
.ds-red .ic { color: #C0392B; }
.ds-amber .ic { color: #B45309; }
.ds-navy .ic { color: var(--color-navy); }
.ds-slate .ic { color: #64748B; }
.ds-sep { border: none; border-top: 1px solid var(--color-line); margin: 11px 0; }
@media (max-width: 768px) {
  .dl-safe { margin-top: 16px; }
  .dl-safe-row { font-size: 12px; gap: 10px; }
  .ds-sep { margin: 10px 0; }
}


@media (max-width: 768px) {
  
  .donut-wrap { justify-content: center; }
  
  .dc-tbl table, .dc-tbl tbody, .dc-tbl tr, .dc-tbl td { display: block; width: 100%; }
  .dc-tbl thead { display: none; }
  .dc-tbl tr { border: 1px solid var(--color-line); border-radius: 10px; padding: 10px 12px 8px; margin-bottom: 8px; }
  .dc-tbl td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border: none; }
  .dc-tbl td.dc-name { flex-wrap: wrap; align-items: center; } 
  .dc-tbl td[data-lb]::before { content: attr(data-lb); color: var(--color-ink-2); font-size: 12px; flex: none; }
  .dc-tbl .dc-name { align-items: center; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px dashed var(--color-line); column-gap: 6px; row-gap: 3px; }
  .dc-tbl .dc-name b { font-size: 12.5px; } 
  .dc-tbl .dc-name .badge { font-size: 11px; padding: 1px 8px; max-width: 5em; white-space: normal; text-align: center; line-height: 1.35; } 
  
  
  .tk-reco { display: grid; grid-template-columns: 1fr 42%; column-gap: 6px; row-gap: 2px; align-items: baseline; }
  .tk-reco .muted { font-size: 12px; }
  .tk-reco .v { font-size: 14px !important; white-space: normal; justify-self: end; text-align: right; }
}


@media (max-width: 768px) {
  .dp-cmp, .dp-cmp tbody, .dp-cmp tr, .dp-cmp td { display: block; width: 100%; }
  .dp-cmp thead { display: none; }
  .dp-cmp tr { border: 1px solid var(--color-line); border-radius: 10px; padding: 10px 12px 8px; margin-bottom: 8px; }
  .dp-cmp td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border: none; }
  .dp-cmp td.mono::before, .dp-cmp td.total::before { color: var(--color-ink-2); font-size: 12px; font-family: var(--font-sans); flex: none; }
  .dp-cmp td.mono::before { content: attr(data-lb-r) "："; }
  .dp-cmp td.total::before { content: attr(data-lb-m) "："; }
  .dp-cmp .dp-name { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; column-gap: 6px; row-gap: 3px; font-size: 12.5px; font-weight: 600; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px dashed var(--color-line); } 
  
  .dp-cmp td.dp-fit { display: none; }
  .dp-cmp .dp-badge-m .badge { font-size: 11px; padding: 1px 8px; white-space: nowrap; flex: none; margin-left: 2px; }
  .dp-cmp td.mono { padding-bottom: 1px; } 
  .dp-cmp td.total { padding-top: 1px; } 
}


@media (min-width: 769px) { .dp-name .dp-badge-m { display: none; } }


.ph-hint { margin-top: 1px; }
@media (max-width: 767px) { .ph-hint { line-height: 1.3; } }


.input.ph-locked { background: var(--color-surface, #f1f5f9); color: var(--color-ink-2, #64748b); cursor: not-allowed; box-shadow: none; }
.input.ph-locked:focus { border-color: var(--color-line, #e2e8f0); }
