:root { --blue: #071d79; --blue-light: #0d3299; --ink: #1d2430; --muted: #687282; --line: #d2d8e1; --panel: #fff; --bg: #edf0f4; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 14px/1.45 Arial, "Microsoft YaHei", sans-serif; }
body.has-modal { overflow: hidden; }
.app-shell.is-hidden { display: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.topbar { color: #fff; background: linear-gradient(115deg, #06114e, var(--blue-light)); box-shadow: 0 2px 7px #15234c44; }
.topbar__primary, .main-nav, .page-content { width: min(1120px, calc(100% - 32px)); margin: auto; }
.topbar__primary { height: 56px; display: flex; align-items: center; gap: 16px; }
.menu-button { width: 30px; padding: 6px 4px; border: 0; background: transparent; }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: #fff; }
.brand { color: #fff; font-weight: 700; text-decoration: none; }
.account-link { margin-left: auto; padding: 7px 10px; color: #fff; border: 1px solid #a9b9ef; border-radius: 4px; background: transparent; }
.main-nav { display: flex; gap: 24px; overflow-x: auto; }
.nav-item { flex: 0 0 auto; padding: 13px 2px 11px; color: #eef2ff; border: 0; border-bottom: 4px solid transparent; background: transparent; font-weight: 600; }
.nav-item.is-active { border-bottom-color: #fff; color: #fff; }
.page-content { padding: 32px 0 48px; }
.welcome-message { margin: 0; padding: 14px 16px; border-left: 4px solid #1582d1; background: #f7f9fc; font-size: 15px; }
.welcome-message strong { color: #064a86; }
.welcome-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 0; font-size: 28px; } h2 { margin: 0; font-size: 17px; }
.demo-button, .outline-button, .more-button { padding: 5px 9px; color: var(--blue); border: 1px solid #8190ad; border-radius: 3px; background: #fff; font-size: 12px; }
.account-panel, .content-card { border: 1px solid var(--line); background: var(--panel); box-shadow: 0 2px 8px #1c29400d; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.info-icon { display: grid; width: 17px; height: 17px; place-items: center; color: #fff; border-radius: 50%; background: var(--blue); font-size: 11px; font-weight: 700; }
.account-card { padding: 15px 16px 13px; border-bottom: 1px solid var(--line); } .account-card:last-child { border-bottom: 0; }
.account-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .account-card__head p { margin: 0; color: var(--blue); font-size: 12px; font-weight: 700; } .account-card__head span { color: #475267; } .account-card__head button + button { margin-left: 5px; }
a { color: var(--blue); }
.balance-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; } .balance-grid > div { display: grid; gap: 2px; } .balance-grid strong { font-size: 26px; line-height: 1.1; } .balance-grid b { padding-top: 8px; font-size: 13px; } .balance-grid span { color: var(--muted); font-size: 12px; }
.content-card { padding: 24px; } .content-card h2 { margin-bottom: 8px; } .content-card p { max-width: 600px; margin: 0; color: var(--muted); }
.feature-page { min-height: 250px; } .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; } .feature-tile { display: grid; gap: 5px; padding: 18px; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; background: #fff; text-align: left; } .feature-tile:hover { border-color: #3979c8; } .feature-tile span, .summary-card span { color: var(--muted); font-size: 13px; }
.summary-card { display: grid; gap: 6px; width: min(100%, 300px); margin-top: 24px; padding: 18px; border-radius: 5px; background: #edf4ff; } .summary-card strong { font-size: 25px; } .summary-card b { color: #107348; font-size: 13px; }
.settings-list { margin-top: 24px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; } .settings-list button { display: flex; width: 100%; justify-content: space-between; padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; } .settings-list button:last-child { border-bottom: 0; } .settings-list span { color: var(--blue); font-size: 18px; }
.login-screen { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, #051354, #0c399b); } .login-screen.is-hidden { display: none; }
.login-card { width: min(100%, 390px); padding: 30px; border-radius: 8px; background: #fff; box-shadow: 0 20px 50px #0005; } .login-card h1 { margin-bottom: 8px; } .login-card__intro { color: var(--muted); }
.login-card label { display: grid; gap: 6px; margin-top: 16px; font-weight: 700; } .login-card input { width: 100%; padding: 10px; border: 1px solid #aeb7c4; border-radius: 4px; }
.login-error { min-height: 20px; margin: 14px 0 0; color: #b42318; font-size: 13px; }
.primary-button { width: 100%; margin-top: 22px; padding: 11px; color: #fff; border: 0; border-radius: 4px; background: var(--blue); font-weight: 700; } .form-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: #0a1534a6; }
.modal__dialog { position: relative; width: min(100%, 420px); padding: 28px; border-radius: 8px; background: #fff; box-shadow: 0 20px 50px #0008; }
.modal__dialog h2 { margin: 0 32px 10px 0; font-size: 22px; }
.modal__message { margin: 0; color: var(--muted); }
.modal__message > p { margin: 0; }
.bank-details { display: grid; grid-template-columns: minmax(130px, .8fr) 1.2fr; gap: 9px 14px; margin: 0; }
.bank-details dt { color: #586578; font-weight: 700; }
.bank-details dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; color: #4e596a; border: 0; border-radius: 50%; background: #eef1f5; font-size: 24px; line-height: 1; }
.modal__button { margin-top: 24px; }
@media (max-width: 640px) { .topbar__primary, .main-nav, .page-content { width: min(100% - 24px, 1120px); } .topbar__primary { height: 50px; } .main-nav { gap: 20px; } .nav-item { padding-top: 11px; } .page-content { padding-top: 20px; } h1 { font-size: 23px; } .welcome-message { padding: 12px; font-size: 14px; } .feature-grid { grid-template-columns: 1fr; } .balance-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .balance-grid > div:first-child { grid-column: 1 / -1; } .balance-grid strong { font-size: 25px; } .account-card__head { align-items: flex-start; flex-direction: column; } .account-card__head > div { width: 100%; display: flex; } .account-card__head button { flex: 1; } }
