:root {
  --bg: #001c12;
  --paper: #fffdf4;
  --lime: #b8ff00;
  --lime-dark: #79cc25;
  --green: #31b45a;
  --blue: #2870f5;
  --muted: #9fa6b6;
  --ink: #080d0b;
  --line: #ecebe4;
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #101713; }
body { font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { display: grid; place-items: center; min-height: 100vh; }
button { border: 0; font: inherit; color: inherit; cursor: pointer; }
.device { position: relative; width: 375px; height: 812px; overflow: hidden; background: var(--bg); box-shadow: 0 25px 80px #0008; }
.prototype-controls { position: fixed; z-index: 100; top: 50%; left: max(12px, calc(50% - 370px)); width: 160px; max-height: calc(100vh - 28px); overflow-y: auto; transform: translateY(-50%); padding: 14px; border: 1px solid #315347; border-radius: 18px; color: white; background: #09241b; box-shadow: 0 18px 50px #0008; scrollbar-width: none; }
.prototype-controls::-webkit-scrollbar { display: none; }
.prototype-controls > strong { display: block; margin-bottom: 12px; font-size: 15px; }
.prototype-controls > small { display: block; margin: 12px 2px 6px; color: #789188; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.prototype-controls button { width: 100%; min-height: 38px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; color: #c8d5d0; background: #183c30; font-size: 11px; text-align: left; }
.prototype-controls button:hover { background: #214a3d; }
.prototype-controls button.active { color: #102419; background: var(--lime); font-weight: 700; }
.prototype-version-controls { position: fixed; z-index: 100; top: calc(50% + 265px); left: max(12px, calc(50% - 370px)); width: 160px; padding: 14px; border: 1px solid #315347; border-radius: 18px; color: white; background: #09241b; box-shadow: 0 18px 50px #0008; }
.prototype-version-controls > strong { display: block; margin-bottom: 10px; font-size: 15px; }
.prototype-version-controls button { width: 100%; min-height: 38px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; color: #c8d5d0; background: #183c30; font-size: 11px; text-align: left; }
.prototype-version-controls button:hover { background: #214a3d; }
.prototype-version-controls button.active { color: #102419; background: var(--lime); font-weight: 700; }
@media (max-width: 640px) { .prototype-controls, .prototype-version-controls { display: none; } }
.app-shell, .page { width: 100%; height: 100%; overflow: hidden; }
.page { position: relative; background: var(--bg); }
.scroll-content { height: calc(100% - 142px); overflow-y: auto; scrollbar-width: none; padding: 0 16px 20px; }
.scroll-content::-webkit-scrollbar { display: none; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.status-bar { height: 36px; display: flex; align-items: center; justify-content: space-between; color: #fff; padding: 8px 17px 0; }
.status-bar strong { font-size: 15px; letter-spacing: -.25px; }
.status-icons { display: flex; align-items: center; gap: 7px; }
.signal { display: block; width: 18px; height: 12px; background: linear-gradient(to right, #fff 0 15%, transparent 15% 25%, #fff 25% 43%, transparent 43% 53%, #fff 53% 71%, transparent 71% 81%, #fff 81%); clip-path: polygon(0 100%,0 68%,15% 68%,15% 50%,43% 50%,43% 30%,71% 30%,71% 0,100% 0,100% 100%); }
.wifi { display: block; width: 15px; height: 12px; border-top: 3px solid white; border-radius: 50%; position: relative; }
.wifi::before { content: ''; position: absolute; top: 2px; left: 3px; width: 8px; height: 6px; border-top: 2px solid white; border-radius: 50%; }
.wifi::after { content: ''; position: absolute; left: 6px; top: 7px; width: 3px; height: 3px; background: white; border-radius: 50%; }
.battery { display: block; width: 22px; height: 11px; border: 1.5px solid #fff9; border-radius: 3px; position: relative; padding: 2px; }
.battery::before { content: ''; display: block; width: 16px; height: 5px; border-radius: 1px; background: white; }
.battery::after { content: ''; position: absolute; right: -3px; top: 3px; height: 5px; border-left: 2px solid #fff6; }
.top-header { position: relative; z-index: 3; height: 90px; background: var(--bg); }
.profile-row { height: 54px; padding: 5px 16px 7px; display: flex; align-items: center; justify-content: space-between; color: white; }
.profile { display: flex; align-items: center; gap: 9px; }
.profile-name { font-size: 18px; font-weight: 600; line-height: 21px; }
.profile-id { color: #98a09c; font-size: 12px; margin-top: 2px; }
.drop { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #18372d; font-size: 13px; vertical-align: 2px; margin-left: 4px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .icon { width: 25px; height: 25px; stroke-width: 1.8; }
.header-action-btn { display: grid; place-items: center; padding: 5px; color: white; background: transparent; }
.avatar { position: relative; display: inline-block; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; overflow: visible; background: var(--a); }
.avatar i { position: absolute; width: 18px; height: 22px; left: 10px; top: 7px; border-radius: 50% 55% 45% 45%; background: var(--c); transform: rotate(-5deg); }
.avatar b { position: absolute; width: 18px; height: 20px; left: 2px; top: 5px; border-radius: 60% 35% 45% 30%; background: var(--b); transform: rotate(-18deg); }
.avatar em { position: absolute; width: 24px; height: 13px; left: 9px; bottom: 0; border-radius: 50% 50% 0 0; background: #7752be; }
.mid-badge, .tiny-mid { display: grid; place-items: center; position: absolute; color: #06120c; background: var(--lime); border: 1.5px solid #071a10; font-size: 7px; font-style: normal; font-weight: 900; border-radius: 6px; }
.mid-badge { right: -2px; bottom: -1px; width: 15px; height: 15px; }

.bottom-nav { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; height: 72px; display: grid; grid-template-columns: repeat(5,1fr); background: var(--bg); border-top: 1px solid #17523d; padding: 6px 8px 5px; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: transparent; color: white; padding: 0; min-width: 0; }
.nav-item span { display: grid; place-items: center; width: 45px; height: 29px; border-radius: 22px; }
.nav-item.active span { color: #001c12; background: var(--lime); }
.nav-item .icon { width: 23px; height: 23px; stroke-width: 2.2; }
.nav-item small { font-size: 12px; white-space: nowrap; }

.card { background: var(--paper); border-radius: 14px; }
.home-page .scroll-content { padding: 0 14px 22px; }
.progress-card { padding: 14px 16px 12px; }
.progress-card h2, .quick-card h2, .section-head h2, .stored-title h2 { margin: 0; font-size: 18px; font-weight: 500; }
.meridian-mark { display: inline-grid; place-items: center; width: 21px; height: 21px; border: 1px solid #7bc72b; color: #75c72a; margin-right: 7px; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); margin: 19px 0 15px; position: relative; }
.steps::before { content: ''; position: absolute; height: 1px; background: #dfe2e4; left: 13%; right: 13%; top: 10px; }
.step { z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.step b { display: grid; place-items: center; width: 21px; height: 21px; background: #f0f1f4; color: #d5d8df; border-radius: 50%; font-size: 13px; }
.step.on b { background: #7dcc2b; color: white; }
.submit-row { border-top: 1px solid #ebeef0; padding-top: 17px; display: flex; justify-content: space-between; align-items: center; }
.submit-row h3 { font-size: 16px; margin: 0 0 5px; }
.submit-row p { margin: 0; font-size: 13px; line-height: 1.35; }
.lime-btn, .mini-btn { background: var(--lime); border-radius: 9px; font-weight: 650; }
.lime-btn { padding: 10px 14px; }
.asset-strip { height: 60px; margin: 8px 0; border: 1px solid #39564b; border-radius: 13px; color: white; display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; align-items: center; padding: 9px 11px; }
.asset-strip > div { min-width: 0; height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 7px; border-right: 1px solid #184434; }
.asset-strip > div:last-child { border: 0; }
.asset-strip span:not(.tile-icon):not(.coin) { font-size: 11px; white-space: nowrap; }
.asset-strip strong { display: block; font-size: 13px; font-weight: 500; margin-top: 3px; }
.tile-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: white; flex: 0 0 auto; }
.tile-icon .icon { width: 25px; height: 25px; }
.tile-icon.lime { background: #aef000; color: #082015; }
.tile-icon.blue { background: #2871f7; }
.tile-icon.dark { background: #00241a; }
.tile-icon.green { background: #3bae5b; }
.tile-icon.orange { background: #ff8215; }
.tile-icon.gold { background: #ffc646; color: #152016; }
.tile-icon.red { background: #ff4743; }
.tile-icon.soft { background: #e8f5ca; color: #82ca2c; }
.tile-icon.teal { background: #175243; }
.quick-card { padding: 11px 16px 13px; }
.quick-card h2 { font-size: 20px; margin-bottom: 9px; }
.quick-grid { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); gap: 6px; }
.quick-grid button { height: 60px; padding: 8px; border: 1px solid #e7e4da; border-radius: 10px; background: transparent; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; font-size: 13px; }
.quick-grid button .icon { width: 23px; height: 23px; color: #0c1711; }
.quick-grid button:nth-child(2) .icon { color: #78cc27; }
.quick-grid button:nth-child(3) .icon { color: #2870f5; }
.quick-grid button.primary { background: var(--lime); border-color: var(--lime); }
.list-card { padding: 11px 16px 8px; margin-top: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: center; }
.section-head h2 { font-size: 20px; }
.section-head h2 em { font-style: normal; font-size: 12px; padding: 4px 7px; background: #f24f54; color: white; border-radius: 14px; vertical-align: 3px; }
.section-head > span { color: var(--muted); font-size: 13px; }
.mini-row { min-height: 47px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border: 0; }
.mini-row .tile-icon { width: 40px; height: 40px; }
.mini-row > div { flex: 1; min-width: 0; }
.mini-row strong { display: block; font-size: 14px; font-weight: 500; }
.mini-row small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.todo { margin-bottom: 4px; }
.mini-btn { font-size: 11px; padding: 7px 10px; }

.contacts-page .top-header { height: 90px; }
.contacts-page .bottom-nav { height: 72px; }
.contacts-sheet { position: absolute; top: 90px; bottom: 72px; left: 16px; right: 16px; background: var(--paper); border-radius: 14px 14px 0 0; overflow: hidden; padding: 12px 20px 0 16px; }
.contact-hint { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.add-contact { height: 52px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.add-contact .tile-icon { width: 40px; height: 40px; border-radius: 50%; }
.add-contact > div { flex: 1; }
.add-contact strong { display: block; font-size: 16px; font-weight: 500; }
.add-contact span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.add-contact > .icon { width: 18px; color: #636b63; }
.contact-list { height: calc(100% - 78px); overflow: hidden; }
.letter { color: var(--muted); font-size: 12px; height: 25px; padding-top: 11px; }
.contact-row { position: relative; height: 56px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.contact-row .avatar { width: 40px; height: 40px; }
.contact-row strong { max-width: 236px; overflow: hidden; font-size: 14px; font-weight: 400; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.tiny-mid { left: 29px; bottom: 6px; width: 14px; height: 14px; }
.alphabet { position: absolute; right: 6px; top: 186px; color: #92958e; font-style: normal; font-size: 10px; line-height: 18px; text-align: center; }

.wallet-page .scroll-content { height: calc(100% - 162px); padding-top: 0; }
.wallet-page .top-header { height: 90px; }
.balance-card { position: relative; height: 138px; border-radius: 14px; background: var(--paper); padding: 17px 16px; overflow: hidden; }
.balance-card { border-top: 5px solid var(--lime); }
.balance-card::after, .identity-card::after { content: 'M'; position: absolute; color: #d8d8cd40; font-size: 110px; right: 8px; bottom: -26px; font-weight: 700; }
.address { font-size: 15px; }
.address span { color: var(--muted); }
.balance-tools { position: absolute; top: 12px; right: 16px; padding: 5px 8px; border: 1px solid #e3e1d9; background: #f5f3eb; border-radius: 24px; display: flex; gap: 14px; }
.balance-tools .icon { width: 19px; height: 19px; }
.balance { position: relative; z-index: 1; margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.balance strong { font-size: 34px; line-height: 1; letter-spacing: .5px; }
.balance span { color: #62675d; font-size: 16px; }
.balance-card p { margin: 10px 0 0; color: #2bb05a; font-size: 16px; }
.wallet-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 8px; }
.wallet-actions button { height: 66px; border-radius: 10px; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 11px 16px 8px; font-size: 14px; }
.wallet-actions button.primary { background: var(--lime); }
.wallet-actions .icon { width: 26px; height: 26px; }
.wallet-actions button:nth-child(2) .icon { color: #74c62a; }
.wallet-actions button:nth-child(3) .icon { color: #36ae60; }
.split-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.split-actions button { height: 48px; border-radius: 9px; background: var(--paper); display: flex; align-items: center; gap: 9px; padding: 0 16px; font-size: 15px; }
.assets-card { margin-top: 8px; padding: 10px 13px 0; }
.assets-head { height: 31px; display: flex; justify-content: space-between; align-items: center; padding: 0 3px; }
.assets-head h2 { margin: 0; font-size: 15px; font-weight: 500; }
.assets-head > span { display: flex; align-items: center; gap: 6px; color: #649425; font-size: 10px; white-space: nowrap; }
.assets-head i { display: block; width: 35px; height: 20px; padding: 2px; border-radius: 12px; background: #9da3b2; }
.assets-head i::after { content: ''; display: block; width: 16px; height: 16px; background: white; border-radius: 50%; }
.asset-row { height: 50px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.asset-row:last-child { border: 0; }
.coin { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; font-size: 18px; }
.coin.usdm { background: radial-gradient(#fff8d4 25%, #e9a54f 26% 38%, #fff 39% 43%, #9b431f 44% 48%, #f1b04c 49%); color: #9b431f; border: 1px solid #9b431f; }
.coin.mrd { color: #e6b55d; background: #00244f; border: 2px solid #c6913d; }
.coin.eth { color: white; background: #667fe5; }
.coin.trx { color: white; background: #ef002f; }
.coin.btc { color: white; background: #ff8c16; }
.asset-info { flex: 1; min-width: 0; }
.asset-info strong, .asset-value strong { display: block; font-size: 16px; font-weight: 500; }
.asset-info small, .asset-value small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.asset-info em { color: #2caf58; font-style: normal; }
.asset-info em.down { color: #ff4545; }
.asset-value { text-align: right; }
.asset-row > .icon { width: 16px; color: var(--muted); }

.credentials-page .scroll-content { padding-top: 0; }
.identity-card { position: relative; height: 178px; background: var(--paper); border-radius: 17px; overflow: hidden; padding: 8px 16px; }
.id-title { font-size: 13px; }
.id-brands { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.id-brands > b { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; line-height: 1.2; }
.id-brands > b:first-child { min-width: 140px; }
.id-brands > i { width: 1px; height: 32px; background: #d8d9dc; }
.id-brands small { display: block; font-size: 10px; margin-top: 3px; }
.meridian-solid { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: #7e9615; color: #e4df9b; font-size: 22px; }
.seal { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c9c5b8; color: #a09b8c; border-radius: 50%; }
.identity-card h1 { position: relative; z-index: 1; margin: 14px 0 5px; font-size: 29px; line-height: 1; }
.verified { color: #78cb27; display: flex; align-items: center; gap: 5px; font-weight: 650; font-size: 13px; }
.verified .icon { width: 18px; height: 18px; }
.mid-number { margin-top: 17px; font-size: 13px; }
.qr { position: absolute; right: 16px; bottom: 11px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #aeb2bd; border-radius: 7px; font-size: 24px; }
.credential-actions { margin-top: 0; padding: 6px 12px; }
.menu-row { min-height: 56px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.menu-row:last-child { border: 0; }
.menu-row > div { flex: 1; min-width: 0; }
.menu-row strong { display: block; font-size: 15px; font-weight: 500; }
.menu-row small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.menu-row > .icon { color: var(--muted); width: 16px; }
.stored-title { display: flex; justify-content: space-between; align-items: center; color: white; padding: 10px 0 8px; }
.stored-title h2 { font-size: 19px; }
.stored-title span { color: #8b9892; font-size: 12px; }
.stored-title b { color: var(--lime); font-size: 13px; font-weight: 500; }
.stored-card { padding: 3px 12px; }
.stored-card .menu-row { min-height: 66px; }
.stored-card .menu-row > div small:first-child { margin-top: 0; }
.stored-card .menu-row strong { font-size: 14px; font-weight: 400; line-height: 1.3; margin: 1px 0; }
.stored-card .tile-icon { width: 40px; height: 40px; border-radius: 12px; }

.account-page .scroll-content { padding-top: 0; }
.account-profile { position: relative; height: 94px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; overflow: hidden; }
.account-profile::after { content: 'M'; position: absolute; z-index: 0; right: 5px; bottom: -33px; font-size: 88px; font-weight: 700; color: #dad9d240; }
.account-profile .avatar { width: 48px; height: 48px; }
.account-profile > div { flex: 1; z-index: 1; }
.account-profile strong { font-size: 16px; }
.account-profile strong span { color: #9bdc00; }
.account-profile small { display: block; font-size: 11px; margin-top: 5px; }
.account-profile .account-edit { position: absolute; z-index: 2; top: 12px; right: 12px; background: #f3f2ed; border-radius: 12px; padding: 4px 8px; font-size: 11px; }
.account-profile .account-qr { position: absolute; z-index: 2; right: 14px; bottom: 12px; width: 34px; height: 34px; padding: 7px; display: grid; place-items: center; color: #345b4e; border: 1px solid #dce3dd; border-radius: 10px; background: #f7f7f1; }
.account-profile .account-qr .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.account-dashboard .scroll-content { padding: 0 16px 24px; }
.account-dashboard .account-profile { margin-bottom: 8px; }
.credentials-dashboard .scroll-content { padding-top: 10px; }
.credential-launch-grid { display: grid; gap: 10px; }
.credential-console { min-height: 440px; padding: 12px 12px 0; overflow: hidden; border-radius: 22px; background: var(--paper); box-shadow: 0 12px 34px #00150e2b; }
.credential-console .mid-auth-entry { position: relative; min-height: 190px; padding: 24px 20px; border-radius: 17px; color: #102b21; background: linear-gradient(135deg, #eaf6df 0%, #f4f7ef 62%, #e8eee8 100%); box-shadow: inset 0 0 0 1px #dbe7dc; }
.credential-console .mid-auth-entry::before { content: ''; position: absolute; right: -46px; top: -68px; width: 170px; height: 170px; border: 1px solid #20574014; border-radius: 50%; }
.credential-console .mid-auth-copy, .credential-console .mid-auth-scenes, .credential-console .mid-auth-entry > .icon { position: relative; z-index: 1; }
.credential-console .mid-auth-copy small { color: #1e6047; }
.credential-console .mid-auth-copy strong { font-size: 23px; }
.credential-console .mid-auth-copy em { color: #66766f; font-size: 11px; }
.credential-console .mid-auth-entry > .icon { color: #74847d; }
.credential-console .credential-entry { position: relative; min-height: 174px; margin-top: 10px; padding: 22px 20px; border: 0; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #0b392c 0%, #174f3a 68%, #1d6147 100%); box-shadow: inset 0 0 0 1px #2d6855; }
.credential-console .credential-entry::before, .credential-console .credential-entry::after { content: ''; position: absolute; border: 1px solid #dfff9a18; border-radius: 50%; }
.credential-console .credential-entry::before { width: 154px; height: 154px; right: -62px; bottom: -92px; }
.credential-console .credential-entry::after { width: 96px; height: 96px; right: -5px; bottom: -58px; }
.credential-console .credential-entry-copy, .credential-console .credential-entry-stack, .credential-console .credential-entry > .icon { position: relative; z-index: 1; }
.credential-console .credential-entry-copy strong { font-size: 22px; }
.credential-console .credential-entry-copy small { margin-top: 8px; color: #b8cbc3; font-size: 11px; }
.credential-console .credential-entry > .icon { color: #c0d2ca; }
.credential-console .credential-entry-stack { width: 94px; height: 72px; }
.credential-console .credential-entry-stack i { width: 82px; height: 52px; border: 1px solid #ffffff20; }
.credential-console .credential-entry-stack i:nth-child(1) { background: #8ca99d; }
.credential-console .credential-entry-stack i:nth-child(2) { background: #4b7b68; }
.credential-console .credential-entry-stack i:nth-child(3) { background: #baff35; box-shadow: 0 8px 20px #001b1152; }
.credential-console footer { height: 52px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #71827b; background: transparent; font-size: 9px; }
.credential-console footer .icon { width: 15px; height: 15px; color: #658578; }
.mid-auth-entry { width: 100%; min-height: 136px; padding: 18px; display: grid; grid-template-columns: minmax(0,1fr) 104px 18px; align-items: center; gap: 10px; overflow: hidden; text-align: left; border-radius: 18px; color: #102b21; background: var(--lime); }
.mid-auth-copy small, .mid-auth-copy strong, .mid-auth-copy em { display: block; }
.mid-auth-copy small { margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.mid-auth-copy strong { font-size: 21px; line-height: 1.15; }
.mid-auth-copy em { margin-top: 8px; color: #31561e; font-size: 10px; font-style: normal; }
.mid-auth-entry > .icon { width: 18px; color: #426527; }
.mid-auth-scenes { position: relative; width: 100px; height: 74px; display: block; }
.mid-auth-scenes i { position: absolute; width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #d7ddd6; border-radius: 15px; color: #174f3a; background: #fffdf7; box-shadow: 0 7px 16px #173c2b1c; font-style: normal; font-weight: 750; }
.mid-auth-scenes .scene-airport { left: 0; top: 0; font-size: 21px; transform: rotate(-5deg); }
.mid-auth-scenes .scene-bank { right: 0; top: 5px; transform: rotate(4deg); }
.mid-auth-scenes .scene-age { left: 27px; bottom: 0; color: #143b2d; background: #dfff9a; font-size: 14px; }
.mid-auth-scenes .icon { width: 22px; height: 22px; }
.credential-entry { width: 100%; min-height: 112px; padding: 18px; display: grid; grid-template-columns: minmax(0,1fr) 92px 18px; align-items: center; gap: 10px; overflow: hidden; text-align: left; border-radius: 18px; background: var(--paper); }
.credential-entry-copy strong, .credential-entry-copy small { display: block; }
.credential-entry-copy strong { font-size: 19px; letter-spacing: -.2px; }
.credential-entry-copy small { margin-top: 7px; color: #7e8984; font-size: 10px; }
.credential-entry > .icon { width: 18px; color: #94a09b; }
.credential-entry-stack { position: relative; width: 86px; height: 64px; }
.credential-entry-stack i { position: absolute; right: 0; width: 76px; height: 48px; border-radius: 9px; box-shadow: 0 4px 10px #183d2e1d; }
.credential-entry-stack i:nth-child(1) { top: 0; right: 10px; background: #346cc1; transform: rotate(-5deg); }
.credential-entry-stack i:nth-child(2) { top: 7px; right: 4px; background: #6653a4; transform: rotate(2deg); }
.credential-entry-stack i:nth-child(3) { top: 14px; background: #174f36; }
.payment-card-entry { color: white; background: #124b39; box-shadow: inset 0 0 0 1px #2d6855; }
.payment-card-entry .credential-entry-copy small { color: #acc0b8; }
.payment-card-entry > .icon { color: #a9c0b7; }
.payment-card-visual { position: relative; width: 88px; height: 58px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 10px; color: #133323; background: var(--lime); box-shadow: 0 7px 15px #00180f4d; }
.payment-card-visual::after { content: ''; position: absolute; right: -22px; bottom: -28px; width: 70px; height: 70px; border: 1px solid #143a2666; border-radius: 50%; }
.payment-card-visual i { font-size: 14px; font-style: normal; font-weight: 800; }
.payment-card-visual b { position: relative; z-index: 1; font-size: 9px; }
.authorization-select-page, .authorization-qr-page { color: white; }
.authorization-content, .authorization-qr-content { height: calc(100% - 76px); padding: 8px 16px 18px; overflow-y: auto; scrollbar-width: none; }
.authorization-content::-webkit-scrollbar, .authorization-qr-content::-webkit-scrollbar { display: none; }
.authorization-intro { position: relative; min-height: 174px; padding: 22px 20px 17px; overflow: hidden; border-radius: 22px; color: #08251a; background: linear-gradient(135deg, #c9ff64 0%, #b8ff00 56%, #97eb20 100%); }
.authorization-intro::before, .authorization-intro::after { content: ''; position: absolute; border: 1px solid #15483020; border-radius: 50%; }
.authorization-intro::before { width: 150px; height: 150px; right: -55px; top: -66px; }
.authorization-intro::after { width: 92px; height: 92px; right: -16px; top: -17px; }
.authorization-intro-icon { position: absolute; z-index: 1; right: 21px; top: 23px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; color: #d9ff84; background: #15503f; box-shadow: 0 9px 20px #315a2840; }
.authorization-intro-icon .icon { width: 27px; height: 27px; }
.authorization-intro > small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .8px; }
.authorization-intro h1 { max-width: 235px; margin: 9px 0 7px; font-size: 25px; line-height: 1.1; letter-spacing: -.7px; }
.authorization-intro p { max-width: 235px; margin: 0; color: #31573f; font-size: 11px; line-height: 1.55; }
.authorization-principles { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; gap: 13px; color: #31573f; font-size: 9px; font-weight: 650; }
.authorization-scenes { margin-top: 14px; }
.authorization-section-title { height: 30px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 3px; }
.authorization-section-title strong { font-size: 15px; }
.authorization-section-title small { color: #83928c; font-size: 10px; }
.authorization-list { overflow: hidden; padding: 0 14px; border-radius: 20px; color: #10231c; background: var(--paper); box-shadow: 0 10px 32px #00130c38; }
.authorization-list > button { width: 100%; min-height: 86px; display: grid; grid-template-columns: 46px minmax(0,1fr) 16px; align-items: center; gap: 12px; padding: 12px 0; text-align: left; background: transparent; }
.authorization-list > button + button { border-top: 1px solid #e9ebe4; }
.authorization-scene-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #14392d; background: #e7eee8; }
.authorization-scene-icon .icon { width: 23px; height: 23px; }
.authorization-scene-icon b { font-size: 18px; line-height: 1; font-weight: 800; font-family: "Segoe UI", Arial, sans-serif; }
.authorization-scene-icon.airport b { font-size: 23px; transform: rotate(-8deg); }
.authorization-scene-icon.age b { font-size: 15px; letter-spacing: -.5px; }
.authorization-scene-icon.airport { background: #e5edf2; }
.authorization-scene-icon.bank { background: #eef0e7; }
.authorization-scene-icon.age { background: #dfff9a; }
.authorization-scene-copy { min-width: 0; }
.authorization-scene-copy strong, .authorization-scene-copy small { display: block; }
.authorization-scene-copy strong { font-size: 15px; line-height: 1.2; }
.authorization-scene-copy small { margin-top: 5px; color: #85918c; font-size: 10px; }
.authorization-list > button > .icon { width: 16px; color: #9aa49f; }
.authorization-footnote { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #7f918a; font-size: 9px; }
.authorization-footnote .icon { width: 14px; height: 14px; }
.authorization-qr-content { display: flex; flex-direction: column; }
.authorization-qr-summary { min-height: 80px; padding: 13px 14px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 11px; border: 1px solid #315246; border-radius: 18px; background: #0b3428; }
.authorization-qr-summary > div { min-width: 0; }
.authorization-qr-summary small, .authorization-qr-summary strong, .authorization-qr-summary p { display: block; margin: 0; }
.authorization-qr-summary small { color: #8da49b; font-size: 8px; letter-spacing: .6px; }
.authorization-qr-summary strong { margin-top: 4px; font-size: 15px; }
.authorization-qr-summary p { margin-top: 4px; color: #aac0b7; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.authorization-live { align-self: start; margin-top: 2px; padding: 4px 7px; border-radius: 10px; color: #173612; background: #c9ff75; font-size: 8px; font-weight: 700; }
.authorization-live i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #34870f; }
.authorization-qr-card { margin-top: 14px; padding: 18px 20px 17px; border-radius: 22px; text-align: center; color: #10231c; background: var(--paper); box-shadow: 0 15px 36px #00130c55; }
.authorization-qr-code { position: relative; width: 232px; height: 232px; margin: 0 auto 14px; padding: 7px; }
.authorization-qr-code .identity-qr-mark { width: 44px; height: 44px; font-size: 22px; }
.authorization-qr-card > strong { display: block; font-size: 15px; }
.authorization-qr-card > small { display: block; max-width: 245px; margin: 7px auto 0; color: #87938e; font-size: 9px; line-height: 1.5; }
.authorization-qr-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.authorization-qr-actions button { height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; color: #153c2f; background: var(--lime); font-size: 12px; font-weight: 650; }
.authorization-qr-actions button:first-child { color: white; background: #15503f; }
.authorization-qr-actions .icon { width: 18px; height: 18px; }
.authorization-qr-content > .authorization-footnote { margin-top: auto; padding-top: 10px; }

/* Unified MID card, address and logistics flows */
.flow-primary, .flow-secondary, .flow-danger { width: 100%; min-height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; }
.flow-primary { color: #0a2419; background: var(--lime); }
.flow-primary:disabled { color: #89948f; background: #dfe5e1; cursor: default; }
.flow-secondary { color: #174c3a; background: #edf2ee; }
.flow-danger { color: #fff; background: #e4514f; }
.flow-primary .icon, .flow-danger .icon { width: 18px; height: 18px; }
.mid-manage-content, .replacement-content, .address-book-content, .address-editor-content, .logistics-content, .logistics-detail-content { height: calc(100% - 76px); padding: 10px 16px 22px; overflow-y: auto; scrollbar-width: none; }
.mid-manage-content::-webkit-scrollbar, .replacement-content::-webkit-scrollbar, .address-book-content::-webkit-scrollbar, .address-editor-content::-webkit-scrollbar, .logistics-content::-webkit-scrollbar, .logistics-detail-content::-webkit-scrollbar { display: none; }
.mid-physical-card { position: relative; height: 194px; padding: 17px; overflow: hidden; border: 1px solid #ffffff3d; border-radius: 20px; color: white; background: linear-gradient(145deg,#285d31,#0d3828 58%,#05251b); box-shadow: 0 15px 36px #00130d66; }
.mid-physical-card::after { content: 'M'; position: absolute; right: -8px; bottom: -47px; color: #ffffff0b; font-size: 154px; font-weight: 800; }
.mid-physical-card.disabled { filter: saturate(.45); background: linear-gradient(145deg,#506159,#23372f 58%,#14271f); }
.mid-physical-card header { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.mid-physical-card header > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ffffff30; border-radius: 12px; background: #ffffff10; }
.mid-physical-card header .icon { width: 21px; height: 21px; }
.mid-physical-card header small, .mid-physical-card header strong { display: block; }
.mid-physical-card header small { color: #b8cfc6; font-size: 8px; letter-spacing: 1.2px; }
.mid-physical-card header strong { margin-top: 3px; font-size: 13px; }
.mid-physical-card header em { padding: 4px 8px; border-radius: 10px; color: #143914; background: #caff78; font-size: 9px; font-style: normal; font-weight: 700; }
.mid-physical-card.disabled header em { color: #542d0d; background: #ffc47b; }
.mid-physical-card h2 { position: relative; z-index: 1; margin: 29px 0 5px; font-size: 29px; }
.mid-physical-card > p { position: relative; z-index: 1; margin: 0; color: #d7e5df; font-size: 12px; letter-spacing: 1px; }
.mid-physical-card footer { position: absolute; z-index: 1; left: 17px; right: 17px; bottom: 16px; display: flex; justify-content: space-between; font-size: 10px; }
.mid-physical-card footer small { color: #a9beb5; }
.mid-manage-status { min-height: 78px; margin-top: 12px; padding: 13px 14px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 11px; border-radius: 18px; color: #10231c; background: var(--paper); }
.mid-manage-status > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; }
.mid-manage-status > span.safe { color: #20460c; background: #d8ff9b; }
.mid-manage-status > span.warning { color: #61370d; background: #ffe0b4; }
.mid-manage-status .icon { width: 23px; height: 23px; }
.mid-manage-status strong, .mid-manage-status small { display: block; }
.mid-manage-status em { display: block; margin-bottom: 4px; color: #678078; font-size: 8px; font-style: normal; }
.mid-manage-status.compact { min-height: 96px; margin-top: 8px; padding: 16px; }
.normal-loss-mode { overflow: hidden; }
.inline-lost-guidance { height: 100%; display: flex; flex-direction: column; text-align: center; }
.inline-lost-guidance h2 { margin: 10px 0 8px; color: white; font-size: 19px; text-align: left; }
.inline-lost-guidance .lost-reminders { padding: 0; border-radius: 0; color: white; background: transparent; box-shadow: none; }
.inline-lost-guidance .lost-reminders div { min-height: 76px; grid-template-columns: 18px 1fr; gap: 12px; border-color: #294b3e; }
.inline-lost-guidance .lost-reminders i { width: 9px; height: 9px; margin-left: 3px; background: var(--lime); box-shadow: 0 0 0 6px #b8ff0012; }
.inline-lost-guidance .lost-reminders span { font-size: 11px; line-height: 1.6; }
.inline-lost-guidance .hold-lost-button { margin-top: auto; color: #0c281d; background: #aeea16; }
.inline-lost-guidance .hold-lost-button::before { background: #c9ff4d; }
.inline-lost-guidance .hold-hint { margin-bottom: 2px; }
.mid-manage-status strong { font-size: 15px; }
.mid-manage-status small { margin-top: 5px; color: #7f8b86; font-size: 10px; line-height: 1.4; }
.mid-manage-content > .flow-danger, .mid-manage-content > .flow-primary, .mid-manage-actions { margin-top: 12px; }
.mid-manage-actions { display: grid; gap: 9px; }
.mid-manage-note { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #789087; font-size: 9px; }
.mid-manage-note .icon { width: 14px; height: 14px; }
.lost-state-view { min-height: 100%; display: flex; flex-direction: column; color: white; }
.lost-manage-symbol-wrap { min-height: 166px; display: grid; place-items: center; }
.lost-state-view > h1 { margin: -2px 0 15px; font-size: 22px; text-align: center; }
.lost-card-visual { min-height: 254px; display: grid; place-items: center; }
.lost-card-image-shell { position: relative; width: 310px; aspect-ratio: 688 / 435; overflow: hidden; border: 1px solid #d6c49c66; border-radius: 20px; background: #f2eee4; box-shadow: 0 22px 45px #0008; transform: rotate(-2deg); }
.lost-card-image-shell > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lost-card-image-shell > span { position: absolute; inset: 0; background: #07120fbd; }
.lost-card-image-shell > em { position: absolute; top: 14px; right: 14px; width: 64px; height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #f4827866; border-radius: 999px; color: white; background: #b74740; box-shadow: 0 8px 18px #0005; font-size: 9px; font-style: normal; font-weight: 750; }
.lost-card-image-shell > em i { width: 5px; height: 5px; border-radius: 50%; background: #ffd1cc; }
.lost-card-shape { position: relative; width: 284px; height: 174px; padding: 18px; overflow: hidden; border: 1px solid #ffffff24; border-radius: 22px; color: #d8e2de; background: linear-gradient(145deg,#34473f,#152b23 62%,#0c211a); box-shadow: 0 22px 45px #0008; transform: rotate(-3deg); filter: saturate(.6); }
.lost-card-shape::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg,transparent 0 24px,#ffffff08 25px 26px); }
.lost-card-shape::after { content: 'DISABLED'; position: absolute; right: -17px; bottom: 16px; color: #ffffff0c; font-size: 38px; font-weight: 800; letter-spacing: 2px; transform: rotate(-8deg); }
.lost-card-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.lost-card-brand .icon { width: 22px; height: 22px; }
.lost-card-brand small { color: #a8bbb3; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.lost-card-lock { position: absolute; z-index: 2; top: 43px; left: 50%; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 19px; color: white; background: #ec5454; box-shadow: 0 12px 28px #ec545444; transform: translateX(-50%); }
.lost-card-lock .icon { width: 29px; height: 29px; }
.lost-card-shape > strong, .lost-card-shape > small { position: absolute; z-index: 1; left: 18px; display: block; }
.lost-card-shape > strong { bottom: 32px; font-size: 15px; }
.lost-card-shape > small { bottom: 18px; color: #93a69e; font-size: 8px; letter-spacing: .7px; }
.lost-card-shape > em { position: absolute; z-index: 2; right: 17px; top: 17px; padding: 5px 9px; border-radius: 11px; color: #7b2525; background: #ffd1d1; font-size: 9px; font-style: normal; font-weight: 750; }
.lost-state-reminder { padding: 16px 17px; border: 1px solid #365449; border-radius: 19px; background: #0a291f; }
.lost-state-reminder h2 { margin: 0 0 11px; font-size: 17px; }
.lost-state-reminder p { margin: 0; color: #d0ddd7; font-size: 12px; line-height: 1.65; }
.lost-state-reminder p + p { margin-top: 9px; }
.lost-state-actions { margin-top: auto; padding-top: 18px; display: grid; gap: 9px; text-align: center; }
.lost-replace-link { margin-top: 17px; padding: 4px 0; border-bottom: 1px solid #c9d6d0; color: #dfe9e4; background: transparent; font-size: 12px; }
.lost-complete-content { height: calc(100% - 76px); padding: 8px 16px 22px; display: flex; flex-direction: column; overflow-y: auto; color: white; scrollbar-width: none; }
.lost-complete-content::-webkit-scrollbar { display: none; }
.lost-complete-symbol-wrap { min-height: 172px; display: grid; place-items: center; }
.lost-complete-symbol { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 30px; color: white; background: #ec5454; box-shadow: 0 18px 42px #ec54543d; }
.lost-complete-symbol .icon { width: 45px; height: 45px; stroke-width: 2; }
.lost-complete-content > h1 { margin: 0 0 12px; font-size: 22px; text-align: center; }
.lost-complete-content .lost-state-reminder { flex: 0 0 auto; }
.lost-complete-actions { margin-top: auto; padding-top: 16px; display: grid; gap: 9px; }
.cancel-lost-modal { position: absolute; z-index: 80; inset: 0; padding: 0 28px 88px; display: flex; align-items: center; justify-content: center; background: #000b; backdrop-filter: blur(1.5px); }
.cancel-lost-modal[hidden] { display: none; }
.cancel-lost-dialog { width: 100%; padding: 22px 18px 18px; border: 1px solid #567166; border-radius: 24px; color: white; background: #17372d; box-shadow: 0 24px 60px #000a; }
.cancel-lost-dialog h2 { margin: 0; font-size: 21px; }
.cancel-lost-dialog p { margin: 15px 0 19px; color: #b9c9c2; font-size: 12px; line-height: 1.65; }
.cancel-lost-dialog > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cancel-lost-dialog button { height: 50px; border: 1px solid #6f8b80; border-radius: 14px; color: white; background: transparent; font-size: 14px; font-weight: 700; }
.cancel-lost-dialog button:last-child { border-color: var(--lime); color: #0b271b; background: var(--lime); }
.replacement-progress-view { min-height: 100%; display: flex; flex-direction: column; }
.replacement-progress-title { margin: 9px 1px 4px; color: white; font-size: 21px; line-height: 1.25; text-align: left; }
.replacement-record-card { margin-top: 12px; padding: 14px 15px; border: 1px solid #315246; border-radius: 17px; color: white; background: #07261d; }
.replacement-record-card > p { margin: 8px 0 0; color: #aebfb8; font-size: 9px; line-height: 1.5; }
.replacement-record-card header { display: flex; align-items: center; justify-content: space-between; }
.replacement-record-card header small, .replacement-record-card header strong { display: block; }
.replacement-record-card header small { color: #8ca098; font-size: 8px; }
.replacement-record-card header strong { margin-top: 4px; font-size: 14px; }
.replacement-record-card header > em { display: flex; align-items: center; gap: 6px; color: #f1bc4f; font-size: 10px; font-style: normal; font-weight: 750; }
.replacement-record-card > button { width: 100%; height: 43px; margin-top: 12px; border: 1px solid #506c61; border-radius: 13px; color: white; background: transparent; font-size: 11px; font-weight: 700; }
.replacement-record-card > button.record-primary { border-color: var(--lime); color: #10251b; background: var(--lime); }
.replacement-record-card > button:disabled { opacity: .45; }
.replacement-old-card { min-height: 78px; margin-top: 12px; padding: 10px 12px; display: grid; grid-template-columns: 105px minmax(0,1fr); align-items: center; gap: 12px; border: 1px solid #29493e; border-radius: 16px; color: white; background: #062119; }
.replacement-old-card > div { position: relative; overflow: hidden; border: 1px solid #7f7654; border-radius: 10px; }
.replacement-old-card img { width: 100%; display: block; filter: grayscale(1) brightness(.52); }
.replacement-old-card > div > span { position: absolute; inset: 0; background: #00150c4f; }
.replacement-old-card > div > em { position: absolute; top: 5px; right: 5px; padding: 3px 5px; border-radius: 7px; color: white; background: #c84f4a; font-size: 6px; font-style: normal; font-weight: 750; }
.replacement-old-card strong, .replacement-old-card small { display: block; }
.replacement-old-card strong { font-size: 11px; }
.replacement-old-card small { margin-top: 5px; color: #9eb1a9; font-size: 8px; line-height: 1.45; }
.replacement-activation-zone { margin-top: auto; padding-top: 18px; }
.replacement-activation-zone > small { display: block; margin-bottom: 8px; color: #8da198; font-size: 8.5px; text-align: center; }
.replacement-activate-action { margin-top: 0 !important; }
.replacement-activate-action.flow-secondary .icon { width: 18px; height: 18px; }
.verification-content { height: calc(100% - 76px); padding: 28px 28px 20px; text-align: center; color: white; }
.verification-symbol { width: 58px; height: 58px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 19px; color: #173e30; background: var(--lime); }
.verification-symbol .icon { width: 28px; height: 28px; }
.verification-content h1 { margin: 0; font-size: 23px; }
.verification-content > p { margin: 8px 0 0; color: #91a39b; font-size: 11px; }
.verification-dots { height: 82px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.verification-dots i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #0b271b; background: #29453b; font-size: 10px; font-style: normal; font-weight: 750; }
.verification-dots i.filled { background: var(--lime); box-shadow: 0 0 0 4px #b8ff0018; }

/* Cancel lost card: L3 verification overview */
.cancel-verification-page { color: white; background: var(--bg); }
.cancel-verification-content { height: calc(100% - 76px); padding: 16px 20px 24px; overflow-y: auto; }
.cancel-verification-intro { margin-bottom: 22px; }
.cancel-verification-intro > span { color: var(--lime); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.cancel-verification-intro h1 { margin: 7px 0 6px; font-size: 22px; line-height: 1.2; }
.cancel-verification-intro p { margin: 0; color: #91a39b; font-size: 11px; line-height: 1.65; }
.cancel-verification-group { margin-top: 18px; }
.cancel-verification-group.first { margin-top: 0; }
.cancel-verification-title { min-height: 39px; display: flex; align-items: flex-start; justify-content: space-between; }
.cancel-verification-title > div { display: flex; flex-direction: column; gap: 2px; }
.cancel-verification-title strong { font-size: 15px; font-weight: 650; }
.cancel-verification-title small { color: #7e9289; font-size: 9px; }
.cancel-verification-title b { color: var(--lime); font-size: 17px; font-weight: 500; }
.cancel-verification-title b i { color: #9aa9a3; font-style: normal; }
.cancel-verification-group.additional .cancel-verification-title b { color: white; }
.cancel-verify-method { width: 100%; min-height: 68px; margin-bottom: 8px; padding: 11px 14px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 28px; align-items: center; gap: 12px; text-align: left; border: 1px solid #284a3e; border-radius: 16px; color: white; background: #06271d; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.cancel-verify-method:active { transform: scale(.985); }
.cancel-verify-method.completed { border-color: #8dca20; background: #0b3023; }
.cancel-verify-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #eff8f4; background: #17392f; }
.cancel-verify-icon .icon { width: 22px; height: 22px; }
.cancel-verify-method > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cancel-verify-method > span:nth-child(2) strong { font-size: 14px; font-weight: 600; }
.cancel-verify-method > span:nth-child(2) small { color: #8da097; font-size: 9px; }
.cancel-verify-method > em { width: 27px; height: 27px; display: grid; place-items: center; justify-self: end; color: #9eb0a9; font-style: normal; }
.cancel-verify-method > em .icon { width: 19px; height: 19px; }
.cancel-verify-method.completed > em { border: 2px solid var(--lime); border-radius: 50%; color: var(--lime); font-size: 15px; font-weight: 800; }
.cancel-verification-submit { width: 100%; height: 48px; margin-top: 16px; border-radius: 14px; color: #0a2218; background: var(--lime); font-size: 14px; font-weight: 750; }
.cancel-verification-submit:disabled { color: #789087; background: #24453a; cursor: default; }
.cancel-verification-submit.danger:not(:disabled) { color: white; background: #ef5256; }
.cancel-verification-footnote { margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: #80968d; font-size: 9px; }
.cancel-verification-footnote .icon { width: 13px; height: 13px; }
.verification-switch { color: #8cdaa7; background: transparent; font-size: 11px; }
.verification-keypad { width: 286px; margin: 25px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 9px 15px; }
.verification-keypad button { height: 55px; border-radius: 16px; color: white; background: #103328; font-size: 21px; font-weight: 600; }
.verification-keypad span { height: 55px; }
.lost-confirm-content { height: calc(100% - 76px); padding: 18px 20px 22px; overflow-y: auto; text-align: center; color: white; }
.lost-warning-icon { width: 58px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 19px; color: #fff; background: #e45451; }
.lost-warning-icon .icon { width: 28px; height: 28px; }
.lost-confirm-content h1 { margin: 0; font-size: 22px; }
.lost-confirm-content > p { margin: 6px 0 16px; color: #96a89f; font-size: 11px; }
.lost-reminders { padding: 5px 15px; border-radius: 20px; text-align: left; color: #10231c; background: var(--paper); }
.lost-reminders div { min-height: 61px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid #e9ebe4; }
.lost-reminders div:last-child { border: 0; }
.lost-reminders i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #234738; background: #e7efe9; font-size: 10px; font-style: normal; font-weight: 700; }
.lost-reminders span { font-size: 10px; line-height: 1.45; }
.lost-confirm-action { margin-top: 15px; }
.lost-confirm-action + .flow-secondary { margin-top: 8px; }
.hold-lost-button { position: relative; width: 100%; height: 52px; margin-top: 15px; overflow: hidden; border-radius: 15px; color: white; background: #8f3434; }
.hold-lost-button::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--hold); background: #e45451; transition: width .05s linear; }
.hold-lost-button span { position: relative; z-index: 1; font-size: 13px; font-weight: 700; }
.hold-hint { display: block; margin-top: 8px; color: #7f928a; font-size: 9px; }
.replacement-hero { position: relative; min-height: 180px; padding: 20px; overflow: hidden; border-radius: 22px; color: #0c2a1f; background: linear-gradient(135deg,#d4ff81,#b8ff00); }
.replacement-hero > span { position: absolute; right: 20px; top: 20px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; color: #dfff9e; background: #15503f; }
.replacement-hero .icon { width: 28px; height: 28px; }
.replacement-hero small { font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.replacement-hero h1 { max-width: 220px; margin: 16px 0 8px; font-size: 24px; }
.replacement-hero p { max-width: 245px; margin: 0; color: #31573f; font-size: 10px; line-height: 1.55; }
.replacement-includes { margin-top: 12px; padding: 14px; border-radius: 18px; color: #10231c; background: var(--paper); }
.replacement-includes h2 { margin: 0 0 4px; font-size: 14px; }
.replacement-includes > div { min-height: 57px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid #e9ebe4; }
.replacement-includes > div:last-child { border: 0; }
.replacement-includes > div > .icon { width: 22px; color: #1b4d3b; }
.replacement-includes strong, .replacement-includes small { display: block; }
.replacement-includes strong { font-size: 12px; }
.replacement-includes small { margin-top: 3px; color: #85918c; font-size: 9px; }
.replacement-risk { margin: 12px 0; padding: 12px; display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 9px; border: 1px solid #69473a; border-radius: 14px; color: #c8b7af; font-size: 9px; line-height: 1.5; }
.replacement-risk input { position: absolute; opacity: 0; }
.replacement-risk i { width: 20px; height: 20px; border: 1px solid #80948b; border-radius: 6px; }
.replacement-risk input:checked + i { border-color: var(--lime); background: var(--lime); box-shadow: inset 0 0 0 5px #173d30; }
.replacement-intro-content { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.replacement-intro-heading > small { display: block; color: var(--lime); font-size: 9px; font-weight: 750; letter-spacing: .8px; }
.replacement-intro-heading h1 { margin: 7px 0 6px; color: white; font-size: 24px; line-height: 1.25; }
.replacement-intro-heading p { margin: 0 0 16px; color: #9bada5; font-size: 11px; }
.replacement-card-summary { padding: 15px; border: 1px solid #eceee9; border-radius: 18px; color: #10231c; background: var(--paper); box-shadow: 0 8px 22px #00130d0d; }
.replacement-card-summary > small { color: #6f7e77; font-size: 8.5px; font-weight: 650; letter-spacing: .2px; }
.replacement-card-identity { min-height: 66px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.replacement-card-identity > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #204d3c; background: #e4eee9; }
.replacement-card-identity > span .icon { width: 23px; height: 23px; }
.replacement-card-identity strong, .replacement-card-identity em { display: block; }
.replacement-card-identity strong { font-size: 15px; }
.replacement-card-identity em { margin-top: 5px; color: #74817b; font-size: 9px; font-style: normal; }
.replacement-card-summary dl { margin: 0; padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e4e7e1; }
.replacement-card-summary dl > div { min-height: 40px; padding: 2px 10px 0; background: transparent; }
.replacement-card-summary dl > div:first-child { padding-left: 0; border-right: 1px solid #e4e7e1; }
.replacement-card-summary dl > div:last-child { padding-right: 0; }
.replacement-card-summary dt, .replacement-card-summary dd { display: block; }
.replacement-card-summary dt { color: #74817b; font-size: 8px; }
.replacement-card-summary dd { margin: 6px 0 0; font-size: 9.5px; font-weight: 700; }
.replacement-fee-summary { margin-top: 0; padding: 13px 15px 10px; border: 1px solid #eceee9; border-radius: 18px; color: #10231c; background: var(--paper); box-shadow: 0 8px 22px #00130d0d; }
.replacement-fee-summary header { min-height: 34px; display: flex; align-items: flex-start; justify-content: space-between; }
.replacement-fee-summary header span { color: #74817b; font-size: 9px; }
.replacement-fee-summary header strong { font-size: 20px; line-height: 1; }
.replacement-fee-summary dl { margin: 0; padding-top: 4px; border-top: 1px solid #e4e7e1; }
.replacement-fee-summary dl > div { min-height: 31px; display: flex; align-items: center; justify-content: space-between; }
.replacement-fee-summary dt, .replacement-fee-summary dd { font-size: 9.5px; }
.replacement-fee-summary dd { margin: 0; font-weight: 650; }
.replacement-address-summary { width: 100%; min-height: 76px; margin-top: 0; padding: 11px 14px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 1px solid #e2e6e0; border-radius: 18px; color: #10231c; text-align: left; background: var(--paper); box-shadow: 0 8px 22px #00130d0d; }
.replacement-address-summary.empty { border-color: #c9d0ca; }
.replacement-address-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #21503e; background: #e5eee9; }
.replacement-address-icon .icon { width: 20px; height: 20px; }
.replacement-address-summary > div { min-width: 0; }
.replacement-address-summary small { display: flex; align-items: center; gap: 5px; color: #75827c; font-size: 8px; }
.replacement-address-summary small em { padding: 2px 5px; border-radius: 7px; color: #2a4c17; background: #dcffa7; font-size: 7px; font-style: normal; font-weight: 700; }
.replacement-address-summary strong { margin-top: 5px; display: block; overflow: hidden; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.replacement-address-summary strong i { margin-left: 6px; color: #79857f; font-size: 8px; font-style: normal; font-weight: 500; }
.replacement-address-summary p { margin: 4px 0 0; overflow: hidden; color: #68756f; font-size: 8px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.replacement-address-summary > b { display: flex; align-items: center; gap: 3px; color: #2a6650; font-size: 9px; white-space: nowrap; }
.replacement-address-summary > b .icon { width: 13px; height: 13px; }
.replacement-payment-content { height: calc(100% - 76px); padding: 16px; display: flex; flex-direction: column; overflow-y: auto; color: white; scrollbar-width: none; }
.replacement-payment-content::-webkit-scrollbar { display: none; }
.replacement-payment-lead { margin: 2px 0 16px; color: #9eafa8; font-size: 11px; line-height: 1.6; }
.replacement-payment-lead strong { color: white; }
.replacement-payment-choice { margin-bottom: 11px; overflow: hidden; border: 1px solid #315246; border-radius: 18px; background: #09281f; }
.replacement-payment-choice.selected { border-color: #93d33c; box-shadow: inset 0 0 0 1px #93d33c33; }
.replacement-payment-choice-head { width: 100%; min-height: 66px; padding: 12px 14px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 10px; text-align: left; background: transparent; }
.replacement-payment-choice-head > i { width: 20px; height: 20px; border: 2px solid #7e9289; border-radius: 50%; }
.replacement-payment-choice.selected .replacement-payment-choice-head > i { border-color: #b8ff00; box-shadow: inset 0 0 0 4px #09281f; background: #b8ff00; }
.replacement-payment-choice-head strong, .replacement-payment-choice-head small { display: block; }
.replacement-payment-choice-head strong { font-size: 14px; }
.replacement-payment-choice-head small { margin-top: 4px; color: #8fa49b; font-size: 8.5px; }
.replacement-bank-form { padding: 0 14px 15px 46px; }
.replacement-bank-form label > span { display: block; margin-bottom: 6px; color: #a8bbb3; font-size: 9px; }
.replacement-bank-form input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #38574c; border-radius: 12px; outline: 0; color: white; background: #133329; font: 500 13px "Segoe UI", sans-serif; }
.replacement-bank-form > div { margin-top: 11px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.replacement-crypto-payment { margin: 0 14px 14px 46px; padding: 12px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 9px; border-radius: 13px; color: #10231c; background: var(--paper); }
.replacement-crypto-payment .coin { width: 36px; height: 36px; }
.replacement-crypto-payment strong, .replacement-crypto-payment small { display: block; }
.replacement-crypto-payment strong { font-size: 11px; }
.replacement-crypto-payment small { margin-top: 3px; color: #77847e; font-size: 8px; }
.replacement-crypto-payment em { color: #4f8e1a; font-size: 8px; font-style: normal; font-weight: 700; }
.replacement-final-pay { margin-top: auto; }
.replacement-critical { margin-top: 12px; padding: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 11px; border: 1px solid #744b3d; border-radius: 17px; color: white; background: #211f18; }
.replacement-critical > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #ffd2a4; background: #523426; }
.replacement-critical > span .icon { width: 19px; height: 19px; }
.replacement-critical h2 { margin: 1px 0 7px; font-size: 13px; }
.replacement-critical p { margin: 0; color: #cfbeb4; font-size: 9.5px; line-height: 1.65; }
.replacement-confirmation { margin: 12px 0; padding: 14px; border-color: #d9ded8; color: #183027; background: var(--paper); font-size: 9.5px; }
.replacement-confirmation i { border-color: #72837b; }
.replacement-confirm-card { margin: 0; padding: 13px 14px; display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: start; gap: 11px; border: 1px solid #5f493f; border-radius: 16px; color: white; background: #2a211d; box-shadow: inset 0 1px #ffffff0a; cursor: pointer; }
.replacement-confirm-card > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.replacement-confirm-card > i { position: relative; width: 23px; height: 23px; margin-top: 1px; display: grid; place-items: center; border: 1.5px solid #91a29a; border-radius: 6px; background: #ffffff05; pointer-events: none; }
.replacement-confirm-card > i::after { content: '✓'; opacity: 0; color: #10251b; font-size: 14px; font-style: normal; font-weight: 900; transform: scale(.7); transition: opacity .15s ease, transform .15s ease; }
.replacement-confirm-card > input:checked + i { border-color: var(--lime); background: var(--lime); }
.replacement-confirm-card > input:checked + i::after { opacity: 1; transform: scale(1); }
.replacement-confirm-card strong { display: block; font-size: 14px; line-height: 1.35; }
.replacement-confirm-card p { max-width: 265px; margin: 5px 0 0; color: #dccbc3; font-size: 9.5px; line-height: 1.5; }
.replacement-intro-content > [data-replacement-next] { min-height: 50px; margin-top: auto; flex: 0 0 auto; box-shadow: 0 -10px 28px #0021171a; }
.replacement-intro-content > [data-replacement-next]:disabled { box-shadow: none; }
.payment-result-header .secondary-row { grid-template-columns: 40px 1fr 40px; }
.replacement-success-content { height: calc(100% - 76px); padding: 22px 20px 22px; display: flex; flex-direction: column; color: white; }
.replacement-success-hero { padding-top: 32px; text-align: center; }
.replacement-success-hero > span { width: 66px; height: 66px; margin: 0 auto 20px; display: grid; place-items: center; border: 2px solid var(--lime); border-radius: 50%; color: var(--lime); font-size: 38px; font-weight: 400; line-height: 1; }
.replacement-success-hero h1 { margin: 0 0 10px; font-size: 24px; }
.replacement-success-hero p { max-width: 310px; margin: 0 auto; color: #b2c4bd; font-size: 11px; line-height: 1.65; }
.replacement-success-details { margin-top: 26px; padding: 10px 15px; border: 1px solid #315246; border-radius: 18px; background: #07261d; }
.replacement-success-details > div { min-height: 58px; padding: 13px 0; display: grid; grid-template-columns: 90px minmax(0,1fr); align-items: start; gap: 10px; }
.replacement-success-details > div + div { border-top: 1px solid #29473d; }
.replacement-success-details small { color: #9aada5; font-size: 10px; }
.replacement-success-details strong { display: block; color: white; font-size: 12px; text-align: right; }
.replacement-success-details p { grid-column: 2; margin: 5px 0 0; color: #a8bbb3; font-size: 9px; line-height: 1.5; text-align: right; }
.replacement-success-actions { margin-top: auto; }
.address-manage-card { padding: 15px; border-radius: 18px; color: #10231c; background: var(--paper); }
.address-manage-card header { display: flex; align-items: center; gap: 7px; }
.address-manage-card header strong { font-size: 14px; }
.address-manage-card header em, .address-select-card header em { padding: 3px 6px; border-radius: 8px; color: #274b12; background: #d7ff96; font-size: 8px; font-style: normal; }
.address-manage-card header span { margin-left: auto; color: #7d8984; font-size: 9px; }
.address-manage-card p { margin: 12px 0 0; color: #66756f; font-size: 10px; line-height: 1.55; }
.address-page-heading, .logistics-heading { min-height: 68px; display: flex; align-items: center; justify-content: space-between; color: white; }
.address-page-heading small, .logistics-heading small { color: #7f948b; font-size: 8px; letter-spacing: 1px; }
.address-page-heading h1, .logistics-heading h1 { margin: 5px 0 0; font-size: 22px; }
.address-page-heading > span, .logistics-heading > span { color: #93a49d; font-size: 10px; }
.address-list { display: grid; gap: 10px; }
.address-manage-card footer { min-height: 39px; margin-top: 12px; padding-top: 10px; display: flex; justify-content: flex-end; gap: 16px; border-top: 1px solid #e9ebe4; }
.address-manage-card footer button { color: #28654e; background: transparent; font-size: 10px; font-weight: 650; }
.address-create-button { margin-top: 12px; }
.address-empty-state { min-height: 240px; padding: 35px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #37574b; border-radius: 20px; text-align: center; color: white; }
.address-empty-state > .icon { width: 38px; height: 38px; color: #92a69e; }
.address-empty-state strong { margin-top: 15px; font-size: 16px; }
.address-empty-state small { max-width: 230px; margin-top: 8px; color: #83968e; font-size: 10px; line-height: 1.5; }
.address-select-card { width: 100%; min-height: 112px; padding: 14px; display: grid; grid-template-columns: 40px 1fr 22px; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 18px; text-align: left; color: #10231c; background: var(--paper); }
.address-select-card.selected { border-color: var(--lime); box-shadow: 0 0 0 2px #b8ff0020; }
.address-select-card > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: #214c3c; background: #e8eee9; }
.address-select-card > span .icon { width: 21px; }
.address-select-card header { display: flex; align-items: center; gap: 6px; }
.address-select-card header strong { font-size: 13px; }
.address-select-card small { display: block; margin-top: 3px; color: #84908b; font-size: 9px; }
.address-select-card p { margin: 7px 0 0; color: #65736e; font-size: 9px; line-height: 1.45; }
.address-select-card > i { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #c5cec9; border-radius: 50%; color: transparent; font-size: 10px; font-style: normal; }
.address-select-card.selected > i { color: #173913; border-color: var(--lime); background: var(--lime); }
.address-delete { color: #ff7471 !important; font-size: 10px; }
.address-editor-content h1 { margin: 5px 0; color: white; font-size: 21px; }
.address-editor-content > p { margin: 0 0 14px; color: #8ea198; font-size: 10px; }
.address-form { padding: 5px 14px; border-radius: 19px; color: #1b2d26; background: var(--paper); }
.address-form label { min-height: 65px; display: flex; flex-direction: column; justify-content: center; gap: 7px; border-bottom: 1px solid #e9ebe4; font-size: 9px; font-weight: 650; }
.address-form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-bottom: 1px solid #e9ebe4; }
.address-form > div label { border-bottom: 0; }
.address-form label:last-child { border-bottom: 0; }
.address-form input, .address-form select, .address-form textarea { width: 100%; padding: 0; border: 0; outline: 0; color: #10231c; background: transparent; font: inherit; font-size: 11px; font-weight: 400; }
.address-form select:disabled { color: #a4ada9; }
.address-form textarea { padding: 2px 0 9px; resize: none; line-height: 1.45; }
.address-editor-content > .flow-primary { margin-top: 12px; }
.address-manage-mode .address-book-content { position: relative; height: calc(100% - 76px); padding: 14px 14px 84px; overflow-y: auto; }
.address-manage-mode .address-list { gap: 12px; }
.address-manage-mode .address-manage-card { min-height: 112px; padding: 16px; border-radius: 17px; }
.address-manage-mode .address-manage-card header strong { font-size: 15px; }
.address-manage-mode .address-manage-card header em { padding: 3px 6px; color: #4e741c; background: #e7ffd1; }
.address-manage-mode .address-manage-card header span { font-size: 10px; }
.address-manage-mode .address-manage-card p { margin: 11px 0 0; padding-bottom: 12px; border-bottom: 1px solid #e5e6df; font-size: 11px; line-height: 1.5; }
.address-manage-mode .address-manage-card footer { min-height: 28px; margin: 0; padding-top: 10px; border: 0; }
.address-manage-mode .address-manage-card footer button { font-size: 10px; font-weight: 500; }
.address-manage-mode .address-manage-card footer [data-default-address] { margin-right: auto; color: #426b5b; }
.address-manage-mode .address-create-button { position: absolute; left: 12px; right: 12px; bottom: 12px; width: auto; margin: 0; }
.address-editor-page .address-editor-content { position: relative; height: calc(100% - 76px); padding: 14px 14px 82px; overflow-y: auto; }
.address-editor-page .address-editor-content h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.address-editor-page .address-editor-content > p { margin: 6px 0 52px; font-size: 11px; }
.address-editor-page .address-form { padding: 9px 14px 10px; border-radius: 18px; }
.address-editor-page .address-form label { min-height: 69px; gap: 7px; border: 0; font-size: 10px; }
.address-editor-page .address-form > div { gap: 10px; border: 0; }
.address-editor-page .address-form input,
.address-editor-page .address-form select,
.address-editor-page .address-form textarea { min-height: 38px; padding: 9px 10px; border: 1px solid #dfe2dc; border-radius: 10px; background: #f2f3ee; font-size: 11px; }
.address-editor-page .address-form textarea { height: 78px; line-height: 1.5; }
.address-editor-page .address-editor-content > .flow-primary { position: absolute; left: 12px; right: 12px; bottom: 12px; width: auto; margin: 0; }
.logistics-orders { display: grid; gap: 10px; padding: 0; overflow: visible; border-radius: 0; background: transparent; }
.logistics-orders > button { width: 100%; min-height: 91px; padding: 13px 14px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto 16px; align-items: center; gap: 10px; border: 1px solid #345046; border-radius: 17px; color: white; text-align: left; background: #1a2c25; }
.logistics-orders > button + button { border-top: 1px solid #345046; }
.logistics-order-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: white; background: #374b43; }
.logistics-order-icon .icon { width: 23px; height: 23px; }
.logistics-orders button > div { min-width: 0; }
.logistics-orders small, .logistics-orders strong, .logistics-orders p { display: block; margin: 0; }
.logistics-orders small { color: #9dafaa; font-size: 8px; }
.logistics-orders strong { margin-top: 4px; color: white; font-size: 13px; }
.logistics-orders p { margin-top: 5px; color: #81978f; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logistics-orders em, .logistics-info-card header em { padding: 4px 7px; border-radius: 10px; font-size: 8px; font-style: normal; white-space: nowrap; }
.logistics-orders em i, .logistics-info-card header em i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; }
.logistics-orders em.confirming, .logistics-orders em.pending, .logistics-info-card em.confirming, .logistics-info-card em.pending { color: #f0b641; background: #513f1f; }
.logistics-orders em.confirming i, .logistics-orders em.pending i, .logistics-info-card em.confirming i, .logistics-info-card em.pending i { background: #ef942a; }
.logistics-orders em.shipped, .logistics-info-card em.shipped { color: #b7ff43; background: #29491e; }
.logistics-orders em.shipped i, .logistics-info-card em.shipped i { background: #50a820; }
.logistics-orders > button > .icon { width: 15px; color: #9dafaa; }
.logistics-footnote { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #7f9289; font-size: 9px; }
.logistics-footnote .icon { width: 14px; }
.logistics-reference-layout { padding-top: 14px; }
.logistics-dark-card { padding: 15px 16px; border: 1px solid #345046; border-radius: 19px; color: white; background: #1a2c25; }
.logistics-dark-card + .logistics-dark-card { margin-top: 12px; }
.logistics-dark-card.order-information > header { min-height: 70px; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px; }
.logistics-dark-card.order-information > header > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: white; background: #374b43; }
.logistics-dark-card.order-information > header > span .icon { width: 25px; height: 25px; }
.logistics-dark-card h1 { margin: 0; font-size: 18px; }
.logistics-dark-card header em { margin-top: 5px; display: flex; align-items: center; gap: 6px; color: #f1b94a; font-size: 11px; font-style: normal; font-weight: 700; }
.logistics-dark-card header em i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.logistics-dark-card dl { margin: 8px 0 0; }
.logistics-dark-card dl > div { min-height: 52px; display: grid; grid-template-columns: 92px minmax(0,1fr); align-items: center; gap: 10px; border-top: 1px solid #31463e; }
.logistics-dark-card dt { color: #9dafaa; font-size: 11px; }
.logistics-dark-card dd { margin: 0; color: white; font-size: 11px; font-weight: 650; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.receiver-information h1 { min-height: 45px; display: flex; align-items: center; }
.receiver-information dl { margin-top: 0; }
.account-domain { margin-bottom: 8px; padding: 12px; overflow: hidden; border-radius: 16px; color: #071a13; background: var(--paper); }
.domain-head { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.domain-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.domain-icon .icon { width: 20px; height: 20px; }
.domain-icon.lime { background: var(--lime); }
.domain-icon.blue { color: white; background: #3174ed; }
.domain-icon.orange { color: white; background: #ff7b23; }
.domain-head h2 { margin: 0; font-size: 15px; line-height: 1.2; }
.domain-head small { display: block; margin-top: 3px; color: #7b8581; font-size: 10px; }
.domain-state { padding: 4px 7px; border-radius: 99px; font-size: 9px; font-weight: 650; white-space: nowrap; }
.domain-state.verified, .domain-state.normal { color: #234900; background: #c9ff7c; }
.domain-state.shipping { color: #7d3a00; background: #ffe3b5; }
.identity-metrics { height: 48px; margin: 10px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e8e6dc; border-radius: 11px; background: #faf9f3; }
.identity-metrics div { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #e8e6dc; }
.identity-metrics div:last-child { border: 0; }
.identity-metrics strong { color: #164334; font-size: 16px; line-height: 1; }
.identity-metrics small { margin-top: 4px; color: #7b8581; font-size: 9px; }
.credential-preview { width: 100%; min-height: 48px; padding: 7px 8px; display: flex; align-items: center; text-align: left; border-radius: 11px; background: #eef3ed; }
.mini-pass { width: 24px; height: 34px; margin-right: -9px; border: 1px solid #ffffff7a; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 2px 5px #0c322221; }
.mini-pass + .mini-pass { transform: rotate(2deg); }
.mini-pass.pass-blue { background: #286ab8; }
.mini-pass.pass-violet { background: #6950a6; }
.mini-pass.pass-green { margin-right: 10px; background: #174f36; }
.credential-preview > span:nth-of-type(4) { min-width: 0; flex: 1; }
.credential-preview strong, .credential-preview small { display: block; }
.credential-preview strong { font-size: 11px; }
.credential-preview small { margin-top: 3px; color: #77817d; font-size: 9px; }
.credential-preview > b { color: #427b69; font-size: 10px; }
.domain-activity { min-height: 38px; margin-top: 6px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 7px; }
.domain-activity > span { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; color: #285949; background: #e2eee9; }
.domain-activity .icon { width: 16px; height: 16px; }
.domain-activity strong, .domain-activity small { display: block; }
.domain-activity strong { font-size: 10px; }
.domain-activity small { margin-top: 2px; color: #7b8581; font-size: 9px; }
.domain-activity button, .shipment-row button, .order-footer button { color: #315f50; font-size: 9px; background: transparent; }
.payment-summary { min-height: 52px; margin: 8px 0; padding: 6px 8px; display: flex; align-items: center; gap: 12px; border-radius: 11px; background: #f3f5f1; }
.bank-card-stack { position: relative; width: 65px; height: 38px; flex: 0 0 65px; }
.bank-card-stack i { position: absolute; width: 55px; height: 33px; border-radius: 7px; background: linear-gradient(135deg, #234d98, #367bf0); box-shadow: 0 3px 8px #1739632c; }
.bank-card-stack i:nth-child(1) { left: 9px; top: 0; background: #d9b54a; transform: rotate(5deg); }
.bank-card-stack i:nth-child(2) { left: 5px; top: 2px; background: #244238; transform: rotate(-3deg); }
.bank-card-stack i:nth-child(3) { left: 0; top: 5px; }
.payment-summary strong, .payment-summary small { display: block; }
.payment-summary strong { font-size: 12px; }
.payment-summary small { margin-top: 4px; color: #76817d; font-size: 9px; }
.domain-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.domain-actions button { height: 31px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; color: #183c30; background: #e8eee9; font-size: 10px; font-weight: 600; }
.domain-actions button:last-child { color: #193d00; background: var(--lime); }
.domain-actions .icon { width: 14px; height: 14px; }
.shipment-row { min-height: 54px; margin-top: 8px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; }
.parcel { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #a6500d; background: #ffe5c7; }
.parcel .icon { width: 20px; height: 20px; }
.shipment-row strong, .shipment-row small { display: block; }
.shipment-row strong { font-size: 11px; }
.shipment-row small { margin-top: 3px; color: #7a8581; font-size: 9px; }
.shipment-row div > i { width: 100%; height: 3px; margin-top: 6px; border-radius: 3px; display: block; background: #e2e5df; }
.shipment-row div > i b { width: 68%; height: 100%; border-radius: inherit; display: block; background: #ff8a2a; }
.order-footer { min-height: 28px; padding-top: 7px; border-top: 1px solid #efede5; display: flex; align-items: center; justify-content: space-between; }
.order-footer span { display: flex; align-items: center; gap: 5px; color: #68746f; font-size: 9px; }
.order-footer .icon { width: 13px; height: 13px; }
.settings-card { margin-top: 8px; padding: 9px 16px 5px; }
.settings-card h2 { margin: 0; font-size: 16px; font-weight: 500; }
.settings-card h2:not(:first-child) { margin-top: 6px; }
.setting-row { height: 55px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row .tile-icon { width: 40px; height: 40px; border-radius: 7px; }
.setting-row > div { flex: 1; }
.setting-row strong { display: block; font-size: 13px; font-weight: 500; }
.setting-row small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.setting-row > .icon { color: var(--muted); width: 16px; }
.logout-card { margin-top: 8px; padding: 0 16px; }
.logout-card .setting-row { height: 56px; }

/* Account identity hub and secondary screens */
.secondary-header { height: 76px; color: white; background: var(--bg); }
.secondary-row { height: 40px; padding: 0 16px 4px; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; }
.secondary-row button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; color: white; background: transparent; }
.secondary-row button .icon { width: 22px; height: 22px; }
.secondary-row strong { text-align: center; font-size: 17px; font-weight: 600; }
.credential-wallet-header .credential-manage-button { border: 1px solid #55756a; border-radius: 10px; color: #dffff3; background: #123c2f; }
.credential-wallet-header .credential-manage-button .icon { width: 19px; height: 19px; }
.credential-detail-header .credential-history-button { border: 1px solid #55756a; border-radius: 10px; color: #dffff3; background: #123c2f; }
.credential-detail-header .credential-history-button .icon { width: 19px; height: 19px; }
.secondary-page .scroll-content { height: calc(100% - 76px); padding-top: 8px; }
.secondary-page .bottom-nav { display: none; }
.credential-summary { height: 70px; margin-bottom: 8px; border: 1px solid #315246; border-radius: 13px; display: grid; grid-template-columns: repeat(3,1fr); color: white; }
.credential-summary > div { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #214438; }
.credential-summary > div:last-child { border: 0; }
.credential-summary strong { color: var(--lime); font-size: 20px; }
.credential-summary span { color: #9ba8a2; font-size: 11px; margin-top: 3px; }
.credentials-page .scroll-content { padding: 0 16px 12px; overflow-y: auto; }
.credential-wallet-groups { padding: 12px 0 8px; }
.credential-order-content { height: calc(100% - 76px); padding: 16px 16px 24px; overflow-y: auto; }
.credential-order-content::-webkit-scrollbar { display: none; }
.credential-order-list { padding: 4px 14px; border-radius: 22px; background: var(--paper); box-shadow: 0 14px 30px #0003; }
.credential-order-list article { min-height: 65px; display: grid; grid-template-columns: 22px 40px 1fr 38px; align-items: center; gap: 9px; border-bottom: 1px solid #e5e8e1; transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease; }
.credential-order-list article.dragging { z-index: 3; opacity: .82; border: 0; border-radius: 15px; background: #fffef7; box-shadow: 0 10px 24px #12382c33; transform: scale(1.02); }
.credential-order-list article:last-child { border: 0; }
.credential-order-position { color: #98a39e; font-size: 10px; font-weight: 700; text-align: center; }
.credential-order-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: #1c513e; }
.credential-order-icon.driving { background: #3d73ce; }
.credential-order-icon.residence { background: #9b783f; }
.credential-order-icon.health { background: #a74c61; }
.credential-order-icon.payment { background: #173f33; }
.credential-order-icon.mid { background: #20654a; }
.credential-order-icon .icon { width: 20px; height: 20px; }
.credential-order-list article > div > strong { display: block; }
.credential-order-list article > div > strong { font-size: 12px; }
.credential-order-handle { width: 38px; height: 42px; display: grid; place-items: center; padding: 0; touch-action: none; cursor: grab; color: #819089; background: transparent; }
.credential-order-handle:active { cursor: grabbing; color: #174b38; }
.credential-order-handle .icon { width: 23px; height: 23px; }
.credential-order-note { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #789187; font-size: 8px; }
.credential-order-note .icon { width: 14px; height: 14px; }
.credential-stack { position: relative; height: calc(206px + (var(--count) - 1) * 52px); }
.credential-card { position: absolute; top: calc(var(--stack) * 52px); left: 0; z-index: calc(2 + var(--stack)); width: 100%; height: 206px; padding: 0; overflow: hidden; border: 1px solid #ffffff35; border-radius: 18px; color: white; background: #143c31; box-shadow: 0 -3px 12px #00130d66, inset 0 1px #ffffff36; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; outline: 0; }
.credential-card::before { content: ''; position: absolute; inset: 0; opacity: .36; background: radial-gradient(circle at 12% 84%, transparent 0 25px, #ffffff0c 26px 27px, transparent 28px 38px, #ffffff09 39px 40px, transparent 41px), radial-gradient(circle at 86% 16%, #fff4 0 1px, transparent 1.5px), linear-gradient(118deg, transparent 0 54%, #ffffff09 54.2% 54.6%, transparent 54.8%); background-size: auto, 17px 17px, auto; pointer-events: none; }
.credential-card::after { content: 'MSD'; position: absolute; right: -14px; bottom: -27px; color: #ffffff0a; font-size: 78px; font-weight: 800; line-height: 1; letter-spacing: -6px; pointer-events: none; }
.credential-card.front { top: calc((var(--count) - 1) * 52px); z-index: calc(2 + var(--stack)); box-shadow: 0 10px 24px #0008, inset 0 1px #ffffff4d; }
.credential-card.front { border-color: #bce2cf66; box-shadow: 0 18px 38px #0008, inset 0 1px #ffffff55, inset 0 0 0 1px #ffffff0b; }
.credential-card.front::before { opacity: .58; background: radial-gradient(circle at 82% 68%, transparent 0 34px, #b8ff000d 35px 36px, transparent 37px 49px, #ffffff0b 50px 51px, transparent 52px), repeating-radial-gradient(ellipse at 15% 120%, transparent 0 8px, #ffffff09 9px 10px), linear-gradient(122deg, transparent 0 59%, #ffffff0a 59.2% 59.7%, transparent 60%); }
.credential-card:focus-visible { box-shadow: 0 0 0 2px var(--lime), 0 10px 24px #0008; }
.credential-card.mid { background: linear-gradient(140deg, #214f3b 0%, #0b3428 56%, #06241b 100%); }
.credential-card.payment { background: linear-gradient(140deg, #245343, #123d31 58%, #092a21); }
.credential-card.residence { background: linear-gradient(140deg, #755629, #59411f 58%, #352b1c); }
.credential-card.driving { background: linear-gradient(140deg, #37628a, #254a70 58%, #1a304c); }
.credential-card.health { background: linear-gradient(140deg, #8d4c57, #6d3644 58%, #402431); }
.credential-card.education { background: linear-gradient(145deg, #6950a5, #382c6b 56%, #1b1839); }
.credential-card-head { position: relative; z-index: 2; height: 52px; padding: 9px 14px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.credential-brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff45; border-radius: 10px; color: white; background: #ffffff12; }
.credential-brand-mark .icon { width: 19px; height: 19px; }
.credential-brand { min-width: 0; text-align: left; }
.credential-brand small, .credential-brand strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credential-brand small { color: #d6e3dd; font-size: 7px; font-weight: 700; letter-spacing: 1.4px; }
.credential-brand strong { margin-top: 3px; font-size: 12px; font-weight: 600; }
.credential-status { padding: 3px 7px; border-radius: 10px; font-size: 8px; font-weight: 600; white-space: nowrap; }
.credential-status.active { color: #173612; background: #c9ff75; }
.credential-status.warning { color: #502800; background: #ffbd66; }
.credential-card-body { position: relative; z-index: 2; height: 154px; padding: 8px 15px 10px; opacity: 0; text-align: left; }
.credential-card.front .credential-card-body, .credential-detail-card .credential-card-body { opacity: 1; }
.credential-holder { position: absolute; top: 4px; right: 14px; display: flex; align-items: center; gap: 7px; }
.credential-holder .avatar { width: 34px; height: 34px; transform: scale(.88); }
.credential-holder small, .credential-holder strong { display: block; text-align: right; }
.credential-holder small { color: #ffffff91; font-size: 8px; }
.credential-holder strong { margin-top: 2px; font-size: 10px; letter-spacing: .8px; }
.credential-holder.identity-photo { right: 16px; }
.credential-holder.identity-photo > i { position: absolute; right: -4px; bottom: -2px; width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #17392d; border-radius: 50%; color: #17392d; background: var(--lime); }
.credential-holder.identity-photo > i .icon { width: 10px; height: 10px; stroke-width: 2.3; }
.credential-secondary-mark { position: absolute; top: 5px; right: 13px; display: flex; align-items: center; gap: 7px; text-align: right; }
.credential-secondary-mark > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff4d; border-radius: 11px; background: #ffffff12; }
.credential-secondary-mark .icon { width: 19px; height: 19px; }
.credential-secondary-mark small { color: #ffffffa3; font-size: 7px; line-height: 1.35; letter-spacing: .7px; }
.credential-seal { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff55; border-radius: 50%; color: #ffffffb8; }
.credential-seal .icon { width: 18px; height: 18px; }
.credential-card-body h2 { max-width: 210px; margin: 3px 0 13px; font-size: 24px; line-height: 1.1; font-weight: 650; letter-spacing: -.45px; }
.credential-number small, .credential-number strong { display: block; }
.credential-number small { color: #b8cbc2; font-size: 7px; letter-spacing: .5px; }
.credential-number strong { margin-top: 3px; font: 650 12px/1.2 "Segoe UI", sans-serif; letter-spacing: 1.3px; }
.credential-card-foot { position: absolute; left: 15px; right: 15px; bottom: 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.credential-card-foot div span, .credential-card-foot div small, .credential-card-foot div em { display: block; }
.credential-card-foot div > small { margin: 0 0 3px; color: #8fa99e; font-size: 6px; letter-spacing: 1px; }
.credential-card-foot div span { font-size: 9px; font-weight: 600; }
.credential-card-foot div em { margin-top: 3px; color: #b2c4bc; font-size: 7px; font-style: normal; }
.credential-card-foot .credential-validity { margin-left: auto; text-align: right; }
.credential-card-foot .credential-validity small { margin-bottom: 4px; color: #8fa99e; font-size: 6px; letter-spacing: .5px; }
.credential-card-foot .credential-validity span { font-size: 9px; font-weight: 650; letter-spacing: .5px; }
.credential-secure-chip { width: 39px; height: 30px; padding: 5px 6px; display: flex; align-items: center; gap: 4px; border: 1px solid #ffffff49; border-radius: 9px; background: linear-gradient(135deg,#ffffff18,#ffffff08); }
.credential-secure-chip i { width: 14px; height: 18px; display: block; border: 1px solid #e0eadf; border-radius: 4px; background: linear-gradient(90deg,transparent 45%,#ffffff45 46% 54%,transparent 55%), linear-gradient(transparent 45%,#ffffff45 46% 54%,transparent 55%); }
.credential-secure-chip b { color: #d8e7df; font-size: 9px; font-weight: 500; letter-spacing: -2px; transform: rotate(90deg); }
.credential-hint { margin: 7px 0 0; color: #698178; font-size: 9px; text-align: center; }
.credential-detail-page .scroll-content { height: calc(100% - 76px); padding: 12px 16px 24px; }
.credential-detail-card { position: relative; top: 0 !important; height: 190px; cursor: default; }
.credential-detail-card .credential-card-body { height: 140px; }
.credential-detail-card .credential-card-foot { bottom: 12px; }
.credential-detail-panel { margin-top: 12px; padding: 12px; border-radius: 18px; background: var(--paper); }
.credential-detail-state { min-width: 0; min-height: 112px; padding: 12px 5px 9px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 1px solid #d7e7cd; border-radius: 15px; text-align: center; background: #f0f9e9; }
.detail-state-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; }
.detail-state-icon .icon { width: 22px; height: 22px; }
.detail-state-icon.active { color: #173612; background: #d8ff9b; }
.detail-state-icon.warning { color: #5e3200; background: #ffd7a0; }
.credential-detail-state strong, .credential-detail-state small { display: block; }
.credential-detail-state strong { margin-top: 8px; font-size: 12px; }
.credential-detail-state small { margin-top: 4px; color: var(--muted); font-size: 7.5px; line-height: 1.35; white-space: nowrap; }
.credential-management-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.credential-management-list button { position: relative; min-width: 0; min-height: 104px; padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 1px solid #dce8e2; border-radius: 15px; text-align: center; background: #f3f8f5; }
.credential-management-list button + button { border: 1px solid #f0dfc8; background: #fff7eb; }
.credential-management-list button.needs-attention { border-color: #e6aaa2; background: #fff0ed; box-shadow: inset 0 0 0 1px #f2c1ba; }
.management-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #214c3d; background: #e4eee9; }
.management-icon.replacement { color: #6b3c06; background: #fff0d9; }
.management-icon .icon { width: 20px; height: 20px; }
.credential-management-list button > span:nth-child(2) { min-width: 0; }
.credential-management-list strong, .credential-management-list small { display: block; }
.credential-management-list strong { margin-top: 8px; font-size: 12px; white-space: nowrap; }
.credential-management-list small { height: 22px; margin-top: 4px; overflow: hidden; color: #8c9692; font-size: 7.5px; line-height: 1.45; }
.credential-management-list button > .icon { display: none; }
.management-attention { position: absolute; top: 7px; right: 7px; min-height: 20px; padding: 0 7px; display: flex; align-items: center; gap: 4px; border-radius: 10px; color: white; background: #b94841; font-size: 7px; font-style: normal; font-weight: 750; }
.management-attention i { width: 4px; height: 4px; border-radius: 50%; background: #ffd5d0; }
.credential-field-list .lost-field-value { color: #b63f38; }
.credential-information { margin-top: 12px; padding: 15px; border-radius: 18px; color: #10231c; background: var(--paper); }
.credential-information > header { min-height: 45px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #e7e9e3; }
.credential-information > header small, .credential-information > header strong { display: block; }
.credential-information > header small { color: #8b9791; font-size: 7px; letter-spacing: 1px; }
.credential-information > header strong { margin-top: 4px; font-size: 15px; }
.credential-information > header > span { display: flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 10px; color: #31571e; background: #dcffa0; font-size: 8px; font-weight: 700; }
.credential-information > header > span .icon { width: 13px; height: 13px; }
.credential-field-list > div { min-height: 43px; display: grid; grid-template-columns: minmax(0,1fr) auto 14px; align-items: center; gap: 8px; border-bottom: 1px solid #ecece6; }
.credential-field-list > div:last-child { border-bottom: 0; }
.credential-field-list > div > i { width: 17px; height: 17px; display: grid; place-items: center; border: 1.5px solid #8dcf34; border-radius: 50%; color: #4b8c13; }
.credential-field-list > div > i .icon { width: 10px; height: 10px; stroke-width: 2.4; }
.credential-field-list span { color: #66736d; font-size: 10px; }
.credential-field-list strong { font-size: 10px; font-weight: 600; text-align: right; }
.credential-field-list > div:not(.has-copy) strong { grid-column: 2 / 4; }
.credential-field-list > div.has-copy strong { grid-column: 2; }
.credential-field-list > div > .icon { width: 14px; height: 14px; color: #85938d; }
.credential-overview > header > span { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: #183d30; background: #d8ff99; }
.credential-overview > header > span .icon { width: 20px; height: 20px; }
.credential-overview > p { margin: 14px 0; color: #66736e; font-size: 10px; line-height: 1.65; }
.credential-overview h3 { margin: 0 0 6px; font-size: 13px; }
.credential-overview ul { margin: 0; padding: 0; list-style: none; }
.credential-overview li { min-height: 44px; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 8px; border-top: 1px solid #e9ebe4; }
.credential-overview li .icon { width: 15px; height: 15px; color: #64a81f; }
.credential-overview li span { font-size: 9px; line-height: 1.45; }

/* Wallet-style credential passes */
.credential-wallet-groups { padding-top: 14px; }
.credential-stack { height: calc(220px + (var(--count) - 1) * 54px); }
.credential-card {
  top: calc(var(--stack) * 54px);
  height: 220px;
  border: 1px solid #ffffff40;
  border-radius: 22px;
  box-shadow: 0 -5px 14px #00110c59, 0 12px 30px #00000035, inset 0 1px #ffffff4a;
}
.credential-card::before {
  opacity: 1;
  background:
    radial-gradient(circle at 92% 122%, transparent 0 78px, #ffffff0b 79px 80px, transparent 81px 105px, #ffffff08 106px 107px, transparent 108px),
    linear-gradient(125deg, #ffffff12 0%, transparent 28%, transparent 72%, #00000012 100%);
}
.credential-card::after { content: ''; right: 18px; bottom: 18px; width: 88px; height: 88px; border: 1px solid #ffffff0c; border-radius: 50%; }
.credential-card.front { top: calc((var(--count) - 1) * 54px); border-color: #ffffff55; box-shadow: 0 20px 44px #00000073, inset 0 1px #ffffff61; }
.credential-card.front::before {
  opacity: 1;
  background:
    radial-gradient(circle at 88% 115%, transparent 0 72px, #ffffff14 73px 74px, transparent 75px 98px, #ffffff0b 99px 100px, transparent 101px),
    radial-gradient(circle at 7% 0%, #ffffff18 0%, transparent 36%),
    linear-gradient(135deg, #ffffff0f, transparent 42%, #00000012);
}
.credential-card.mid { background: linear-gradient(145deg, #196447 0%, #0b4332 48%, #073126 100%); }
.credential-card.payment { background: linear-gradient(145deg, #18211e 0%, #22332c 52%, #0d1814 100%); }
.credential-card.residence { background: linear-gradient(145deg, #826535 0%, #5d472b 100%); }
.credential-card.driving { background: linear-gradient(145deg, #3d6790 0%, #294b6d 100%); }
.credential-card.health { background: linear-gradient(145deg, #8a4e59 0%, #633843 100%); }
.credential-card.reference-card { border-color: #d6c49c88; background: #f2eee4; }
.credential-card.reference-card::before, .credential-card.reference-card::after { display: none; }
.credential-card-reference-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.credential-detail-card.reference-card { height: 217px; }
.credential-lost-overlay { position: absolute; z-index: 4; inset: 0; background: #07120fc2; pointer-events: none; }
.credential-lost-badge { position: absolute; z-index: 5; top: 14px; right: 14px; width: 64px; height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #f4827866; border-radius: 999px; color: #fff; background: #b74740; box-shadow: 0 8px 18px #0005; font-size: 9px; font-style: normal; font-weight: 750; }
.credential-lost-badge i { width: 5px; height: 5px; border-radius: 50%; background: #ffd1cc; }
.credential-active-badge { position: absolute; z-index: 5; top: 14px; right: 14px; width: 64px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: #19330f; background: #c8ff74; box-shadow: 0 8px 18px #0003; font-size: 9px; font-style: normal; font-weight: 750; }
.credential-card.preview-card::before { background: linear-gradient(120deg, #ffffff14, transparent 42%), radial-gradient(circle at 89% 30%, #ffffff10 0 42px, transparent 43px); }
.credential-card-head { height: 54px; padding: 10px 16px; grid-template-columns: 36px 1fr auto; gap: 11px; }
.credential-brand-mark { width: 36px; height: 36px; border-color: #ffffff4d; border-radius: 11px; background: #ffffff13; backdrop-filter: blur(10px); }
.credential-brand-mark .icon { width: 20px; height: 20px; }
.credential-brand small { color: #ffffffb8; font-size: 7.5px; letter-spacing: 1.5px; }
.credential-brand strong { margin-top: 2px; font-size: 12px; font-weight: 650; }
.credential-status { width: 64px; height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 9px; font-weight: 700; }
.credential-status.active { color: #19330f; background: #c8ff74; }
.credential-status.preview { color: #f4f5ef; border: 1px solid #ffffff3d; background: #ffffff18; }
.credential-card-body { height: 166px; padding: 13px 18px 15px; }
.credential-card-body h2 { margin: 2px 0 15px; font-size: 26px; font-weight: 680; letter-spacing: -.8px; }
.credential-holder.identity-photo { top: 6px; right: 18px; }
.credential-holder .avatar { width: 38px; height: 38px; }
.credential-secondary-mark { top: 2px; right: 17px; }
.credential-secondary-mark > span { width: 38px; height: 38px; border-radius: 13px; }
.credential-secondary-mark small { color: #ffffffad; font-size: 7px; letter-spacing: 1.1px; }
.credential-number small { color: #ffffff94; font-size: 7px; letter-spacing: .7px; }
.credential-number strong { margin-top: 4px; font-size: 13px; letter-spacing: 1.7px; }
.credential-card-foot { left: 18px; right: 18px; bottom: 14px; }
.credential-card-foot div > small { color: #ffffff78; font-size: 6px; letter-spacing: 1.2px; }
.credential-card-foot div span { font-size: 9px; }
.credential-card-foot div em { color: #ffffff8f; font-size: 7px; letter-spacing: .25px; }
.credential-preview-art { position: absolute; top: 22px; right: 20px; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid #ffffff34; border-radius: 24px; color: white; background: #ffffff13; transform: rotate(-4deg); }
.credential-preview-art .icon { width: 34px; height: 34px; }
.credential-preview-label { display: block; margin-top: 8px; color: #ffffff9f; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
.credential-card-body .credential-preview-label + h2 { margin: 7px 0 7px; font-size: 25px; }
.credential-card-body > p { max-width: 210px; margin: 0; color: #ffffffad; font-size: 10px; }
.credential-detail-card { height: 210px; }
.credential-detail-card .credential-card-body { height: 156px; }
.credential-detail-card .credential-card-foot { bottom: 14px; }

.credential-history-content { height: calc(100% - 76px); padding: 13px 16px 28px; overflow-y: auto; scrollbar-width: none; }
.credential-history-content::-webkit-scrollbar { display: none; }
.credential-history-entry + .credential-history-entry { margin-top: 24px; }
.credential-history-entry > h1 { margin: 0 0 10px; color: white; font-size: 17px; font-weight: 700; }
.credential-history-entry > h1 strong { margin-left: 5px; font: inherit; }
.historical-card { position: relative; width: 100%; aspect-ratio: 688 / 433; border: 1px solid #c3a95a; border-radius: 17px; overflow: hidden; background: #10261f; perspective: 900px; }
.historical-card-front,
.historical-card-back { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; transition: transform .42s ease; }
.historical-card-front { transform: rotateY(0); }
.historical-card-front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.historical-card-front > span { position: absolute; inset: 0; background: #07120fb8; }
.historical-card-front > em { position: absolute; z-index: 2; top: 13px; right: 13px; min-width: 70px; height: 30px; padding: 0 13px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; color: white; background: #b74740; font-size: 11px; font-style: normal; font-weight: 750; }
.historical-card-front > em i { width: 5px; height: 5px; border-radius: 50%; background: #ffd1cc; }
.historical-card-back { padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: radial-gradient(circle at 75% 30%, #44715d55, transparent 34%), linear-gradient(145deg, #152c24, #081b15); transform: rotateY(180deg); }
.historical-card-back::before { content: ''; position: absolute; inset: 13px; border: 1px solid #ffffff24; border-radius: 13px; }
.historical-card-back small { position: absolute; top: 27px; left: 25px; color: #bed0c8; font-size: 8px; letter-spacing: 1.8px; }
.historical-card-back strong { position: relative; font-size: 22px; }
.historical-card-back p { position: relative; margin: 4px 0 0; color: #a7bab2; font-size: 11px; letter-spacing: 1px; }
.historical-card-back > span { position: absolute; top: 59px; right: 35px; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #ffffff38; border-radius: 50%; color: #c8ff74; }
.historical-card-back > span .icon { width: 29px; height: 29px; }
.historical-card-back > em { position: absolute; right: 25px; bottom: 25px; color: #df8b84; font-size: 9px; font-style: normal; }
.historical-card.is-flipped .historical-card-front { transform: rotateY(-180deg); }
.historical-card.is-flipped .historical-card-back { transform: rotateY(0); }
.history-card-flip { height: 31px; margin: 3px auto 0; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #9db8ae; background: transparent; font-size: 11px; }
.history-card-flip .icon { width: 13px; height: 13px; }

.identity-payment-note { margin: 10px 4px 0; display: flex; align-items: center; justify-content: center; gap: 7px; color: #86a096; font-size: 9px; line-height: 1.45; }
.identity-payment-note .icon { width: 15px; height: 15px; flex: 0 0 auto; }
.payment-usage > p { margin: 13px 0 10px; color: #617069; font-size: 10px; line-height: 1.6; }
.payment-method-list > div { min-height: 58px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 11px; border-top: 1px solid #e8eae4; }
.payment-method-list > div > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: #174534; background: #e5f1eb; }
.payment-method-list > div > i .icon { width: 18px; height: 18px; }
.payment-method-list strong, .payment-method-list small { display: block; }
.payment-method-list strong { font-size: 11px; }
.payment-method-list small { margin-top: 3px; color: #89948f; font-size: 8.5px; line-height: 1.4; }

.preview-detail-page .scroll-content { padding-top: 14px; }
.preview-credential-hero { position: relative; min-height: 250px; padding: 24px 22px; overflow: hidden; border: 1px solid #ffffff38; border-radius: 24px; color: white; box-shadow: 0 18px 38px #0006; }
.preview-credential-hero.driving { background: linear-gradient(145deg,#426e98,#294966); }
.preview-credential-hero.residence { background: linear-gradient(145deg,#876b3c,#5b452b); }
.preview-credential-hero.health { background: linear-gradient(145deg,#915664,#623945); }
.preview-credential-hero::after { content: ''; position: absolute; right: -36px; bottom: -56px; width: 190px; height: 190px; border: 36px solid #ffffff0d; border-radius: 50%; }
.preview-credential-hero > span { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #ffffff45; border-radius: 19px; background: #ffffff16; }
.preview-credential-hero > span .icon { width: 30px; height: 30px; }
.preview-credential-hero > small { display: block; margin-top: 25px; color: #ffffffa6; font-size: 8px; font-weight: 700; letter-spacing: 1.7px; }
.preview-credential-hero h1 { margin: 7px 0 12px; font-size: 28px; }
.preview-credential-hero p { position: relative; z-index: 1; max-width: 300px; margin: 0; color: #ffffffe0; font-size: 11px; line-height: 1.65; }
.preview-description { margin-top: 14px; padding: 18px; border: 1px solid #ffffff17; border-radius: 20px; color: #d6e1dc; background: #0d2b22; }
.preview-description > small { color: #91a79e; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.preview-description > p { margin: 10px 0 0; color: #bdccc6; font-size: 10px; line-height: 1.7; }
.preview-capabilities { margin-top: 14px; padding: 18px; border-radius: 20px; color: #10231c; background: var(--paper); }
.preview-capabilities > small { color: #7b8a83; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.preview-capabilities h2 { margin: 5px 0 12px; font-size: 17px; }
.preview-capabilities ul { margin: 0; padding: 0; list-style: none; }
.preview-capabilities li { min-height: 53px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; border-top: 1px solid #e8eae4; }
.preview-capabilities li .icon { width: 18px; height: 18px; padding: 7px; box-sizing: content-box; border-radius: 11px; color: #295747; background: #e4eee9; }
.preview-capabilities li span { font-size: 10px; line-height: 1.5; }

/* Account security and NFC activation */
.account-security-content, .nfc-security-content, .nfc-activation-content, .nfc-success-content { height: calc(100% - 76px); overflow-y: auto; padding: 14px 16px 24px; scrollbar-width: none; }
.account-security-content::-webkit-scrollbar, .nfc-security-content::-webkit-scrollbar, .nfc-activation-content::-webkit-scrollbar, .nfc-success-content::-webkit-scrollbar { display: none; }
.security-score-card { min-height: 126px; padding: 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #315347; border-radius: 22px; color: white; background: linear-gradient(145deg,#153b2f,#08271e); }
.security-score-card small, .security-score-card strong, .security-score-card span { display: block; }
.security-score-card small { color: #7f9d91; font-size: 8px; font-weight: 700; letter-spacing: 1.3px; }
.security-score-card strong { margin-top: 4px; font-size: 34px; line-height: 1; }
.security-score-card strong em { font-size: 14px; font-style: normal; }
.security-score-card span { margin-top: 8px; color: #b8c9c2; font-size: 11px; }
.security-score-card > i { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid #567265; border-radius: 20px; color: #9eb1a9; background: #ffffff08; }
.security-score-card > i.strong { color: #173612; border-color: #c8ff74; background: #c8ff74; }
.security-score-card > i .icon { width: 31px; height: 31px; }
.security-section-title { margin: 17px 2px 8px; }
.security-section-title strong, .security-section-title small { display: block; }
.security-section-title strong { color: white; font-size: 15px; }
.security-section-title small { margin-top: 3px; color: #789188; font-size: 9px; }
.security-methods-card { padding: 0 14px; overflow: hidden; border-radius: 20px; background: var(--paper); }
.security-methods-card button { width: 100%; min-height: 68px; padding: 0; display: grid; grid-template-columns: 42px minmax(0,1fr) auto 16px; align-items: center; gap: 10px; text-align: left; background: transparent; border-bottom: 1px solid #e7e9e2; }
.security-methods-card button:last-child { border-bottom: 0; }
.security-method-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: #355247; background: #e5ece8; }
.security-method-icon.nfc { color: #173c2f; background: #d9ff9b; }
.security-method-icon .icon { width: 20px; height: 20px; }
.security-methods-card strong, .security-methods-card small { display: block; }
.security-methods-card strong { font-size: 12px; }
.security-methods-card small { margin-top: 4px; color: #8c9692; font-size: 8.5px; }
.security-methods-card em { color: #8b9691; font-size: 8px; font-style: normal; white-space: nowrap; }
.security-methods-card em.enabled { color: #508817; }
.security-methods-card button > .icon { width: 15px; color: #9fa8a4; }
.nfc-card-visual { position: relative; min-height: 176px; padding: 21px; overflow: hidden; border: 1px solid #ffffff25; border-radius: 23px; color: white; background: linear-gradient(145deg,#3e4b46,#1c2c26); }
.nfc-card-visual.enabled { background: linear-gradient(145deg,#196347,#08382a); }
.nfc-card-visual::after { content: ''; position: absolute; right: -45px; bottom: -82px; width: 190px; height: 190px; border: 32px solid #ffffff0c; border-radius: 50%; }
.nfc-card-visual > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #ffffff44; border-radius: 15px; background: #ffffff12; }
.nfc-card-visual > span .icon { width: 24px; height: 24px; }
.nfc-card-visual > small { display: block; margin-top: 18px; color: #ffffff94; font-size: 7px; font-weight: 700; letter-spacing: 1.4px; }
.nfc-card-visual h1 { margin: 5px 0; font-size: 24px; }
.nfc-card-visual p { margin: 0; color: #ffffffb8; font-size: 9px; }
.nfc-card-visual > em { position: absolute; top: 20px; right: 20px; padding: 5px 9px; border-radius: 999px; color: #dce5e1; background: #ffffff16; font-size: 8px; font-style: normal; }
.nfc-card-visual.enabled > em { color: #18350f; background: #c8ff74; }
.nfc-security-explain { margin-top: 13px; padding: 17px; border-radius: 20px; color: #10231c; background: var(--paper); }
.nfc-security-explain h2 { margin: 0; font-size: 16px; }
.nfc-security-explain > p { margin: 8px 0 10px; color: #6c7772; font-size: 9.5px; line-height: 1.55; }
.nfc-security-explain > div { min-height: 53px; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; border-top: 1px solid #e7e9e2; }
.nfc-security-explain > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #24513f; background: #e3eee9; }
.nfc-security-explain > div > span .icon { width: 18px; height: 18px; }
.nfc-security-explain div p { margin: 0; }
.nfc-security-explain div strong, .nfc-security-explain div small { display: block; }
.nfc-security-explain div strong { font-size: 10px; }
.nfc-security-explain div small { margin-top: 3px; color: #8b9590; font-size: 8px; }
.nfc-enabled-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 15px 0 0; color: #8da59b; font-size: 9px; }
.nfc-enabled-note .icon { width: 16px; height: 16px; }
.nfc-activation-content { text-align: center; }
.nfc-scan-visual { height: 330px; display: grid; place-items: center; }
.nfc-scan-rings { position: relative; width: 250px; height: 250px; display: grid; place-items: center; border: 1px solid #b8ff0030; border-radius: 50%; box-shadow: inset 0 0 0 36px #b8ff0008, inset 0 0 0 72px #b8ff0007; }
.nfc-phone { width: 108px; height: 190px; display: grid; place-items: center; border: 5px solid #75817c; border-radius: 23px; color: #8c9993; background: #07140f; box-shadow: 0 15px 35px #0008; }
.nfc-phone .icon { width: 40px; height: 40px; opacity: .35; }
.nfc-tap-card { position: absolute; left: 24px; top: 68px; width: 112px; height: 68px; padding: 11px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border-radius: 12px; color: white; background: linear-gradient(145deg,#1d6449,#0b392b); box-shadow: 0 10px 25px #0009; transform: rotate(-11deg); }
.nfc-tap-card .icon { width: 21px; height: 21px; }
.nfc-tap-card small { font-size: 7px; letter-spacing: 1px; }
.nfc-activation-content h1 { margin: 0; color: white; font-size: 21px; }
.nfc-activation-content > p { margin: 9px auto 12px; max-width: 310px; color: #90a39b; font-size: 10px; line-height: 1.55; }
.nfc-scan-status { margin: 15px 0; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #2e5044; border-radius: 15px; text-align: left; background: #09291f; }
.nfc-scan-status > i { width: 10px; height: 10px; border: 2px solid #b8ff00; border-radius: 50%; box-shadow: 0 0 0 5px #b8ff0015; }
.nfc-scan-status strong, .nfc-scan-status small { display: block; }
.nfc-scan-status strong { color: white; font-size: 11px; }
.nfc-scan-status small { margin-top: 3px; color: #7f978d; font-size: 8px; }
.nfc-success-content { padding-top: 56px; text-align: center; }
.nfc-success-icon { width: 74px; height: 74px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 25px; color: #173612; background: #c8ff74; box-shadow: 0 15px 35px #b8ff0022; }
.nfc-success-icon.lost { color: white; background: #ec5454; box-shadow: 0 15px 35px #ec545433; }
.nfc-success-icon .icon { width: 37px; height: 37px; }
.nfc-success-content > small { color: #7f988e; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.nfc-success-content h1 { margin: 6px 0 8px; color: white; font-size: 25px; }
.nfc-success-content > p { margin: 0 auto 22px; max-width: 310px; color: #93a79e; font-size: 10px; line-height: 1.65; }
.nfc-success-content > section { padding: 0 15px; border-radius: 18px; text-align: left; background: var(--paper); }
.nfc-success-content > section > div { min-height: 59px; display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid #e7e9e2; }
.nfc-success-content > section > div:last-child { border: 0; }
.nfc-success-content > section > div > .icon { width: 19px; height: 19px; padding: 7px; box-sizing: content-box; border-radius: 11px; color: #28533f; background: #e5eee9; }
.nfc-success-content section strong, .nfc-success-content section small { display: block; }
.nfc-success-content section strong { font-size: 11px; }
.nfc-success-content section small { margin-top: 3px; color: #77847e; font-size: 8px; }
.nfc-success-content > .flow-primary { margin-top: 14px; }
.nfc-success-content > .flow-secondary { margin-top: 8px; }
.credential-transition-card { position: absolute; z-index: 60 !important; margin: 0; pointer-events: none; will-change: top, left, width, height, box-shadow; transition: top 440ms cubic-bezier(.22,.8,.2,1), left 440ms cubic-bezier(.22,.8,.2,1), width 440ms cubic-bezier(.22,.8,.2,1), height 440ms cubic-bezier(.22,.8,.2,1), box-shadow 440ms ease; }
.credential-transition-card.reference-card .credential-card-reference-image { height: 220px; }
.credential-transition-card .credential-card-body { opacity: 0; transform: translateY(8px); transition: opacity 210ms ease 110ms, transform 300ms cubic-bezier(.22,.8,.2,1) 90ms; }
.credential-transition-card.is-expanded { box-shadow: 0 18px 42px #000b, inset 0 1px #ffffff4d; }
.credential-transition-card.is-expanded .credential-card-body { opacity: 1; transform: translateY(0); }
.credentials-page .bottom-nav, .credentials-page .credential-card { transition: opacity 250ms ease, transform 380ms cubic-bezier(.22,.8,.2,1); }
.credentials-page.transitioning .bottom-nav { opacity: 0; transform: translateY(14px); }
.credentials-page.transitioning .credential-card:not(.transition-source) { transform: translateY(22px); }
.credentials-page.transitioning .transition-source { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .credential-transition-card, .credentials-page .bottom-nav, .credentials-page .credential-card { transition: none; }
}
.identity-hub .scroll-content { padding-top: 0; }
.identity-hub .account-profile { width: 100%; margin: 0 0 8px; }
.hub-title { color: white; padding: 0 3px 10px; }
.hub-title h1 { margin: 0; font-size: 24px; font-weight: 600; }
.hub-title p { margin: 4px 0 0; color: #8e9d96; font-size: 12px; }
.hub-grid { display: grid; gap: 8px; }
.hub-card { width: 100%; min-height: 76px; padding: 13px; display: grid; grid-template-columns: 48px 1fr 18px; align-items: center; gap: 10px; text-align: left; }
.hub-card > .icon { width: 17px; color: var(--muted); }
.hub-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; }
.hub-icon .icon { width: 27px; height: 27px; }
.hub-icon.lime { color: #0a1e12; background: var(--lime); }
.hub-icon.dark { color: white; background: #00281d; }
.hub-icon.orange { color: white; background: #ff8215; }
.hub-icon.gold { color: #152016; background: #ffc646; }
.hub-icon.blue { color: white; background: #2871f7; }
.hub-icon.teal { color: white; background: #175243; }
.hub-icon.red { color: white; background: #f05252; }
.hub-icon.purple { color: white; background: #8f5bd7; }
.hub-icon.green { color: white; background: #3bae5b; }
.hub-card > div { min-width: 0; }
.hub-card strong { display: block; font-size: 17px; font-weight: 600; }
.hub-card small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-card p { margin: 8px 0 0; color: #68736e; font-size: 11px; }
.hub-card p span { display: inline-block; padding: 3px 6px; margin-right: 3px; border-radius: 8px; background: #f2f2eb; }
.hub-card p i { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 50%; background: #ff9a18; }
.hub-list { overflow: hidden; padding: 0 13px; }
.hub-list > h2 { margin: 0; padding: 12px 0 3px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.hub-list-single { margin-top: 8px; }
.hub-list-row { width: 100%; min-height: 50px; padding: 6px 0; display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 12px; text-align: left; background: transparent; }
.hub-list-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.account-page .hub-list-row:not(:last-child) { border-bottom-color: #f1f0ea; }
.hub-list-row > strong { font-size: 15px; font-weight: 400; line-height: 1.2; }
.hub-list-row > .icon { width: 17px; color: var(--muted); }
.hub-list-row .hub-icon { width: 34px; height: 34px; border-radius: 10px; }
.hub-list-row .hub-icon .icon { width: 19px; height: 19px; }
.identity-note { margin-top: 10px; min-height: 60px; padding: 10px 13px; border: 1px solid #315246; border-radius: 13px; color: white; display: flex; align-items: center; gap: 10px; }
.identity-note > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--lime); background: #12392c; }
.identity-note strong, .identity-note small { display: block; }
.identity-note strong { font-size: 13px; }
.identity-note small { color: #8e9d96; font-size: 10px; margin-top: 3px; }
.settings-page .settings-card { margin-top: 0; }
.settings-primary .scroll-content { padding-top: 0; }
.settings-primary .settings-profile { margin-bottom: 8px; }
.settings-primary .hub-list > h2 { color: #45504b; font-size: 12px; letter-spacing: .1px; }

/* New settings concept */
.settings-v2-account-page { color: white; }
.settings-v2-account-header { height: 91px; }
.settings-v2-user { height: 55px; padding: 4px 17px 5px; display: flex; align-items: center; justify-content: space-between; }
.settings-v2-user > div { display: flex; align-items: center; gap: 10px; }
.settings-v2-user .avatar { width: 42px; height: 42px; }
.settings-v2-user span strong,
.settings-v2-user span small { display: block; }
.settings-v2-user span strong { font-size: 18px; }
.settings-v2-user span small { margin-top: 2px; color: #9bb0a8; font-size: 11px; }
.settings-v2-user > button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; color: white; background: transparent; }
.settings-v2-user > button .icon { width: 27px; height: 27px; }
.settings-v2-account-content { height: calc(100% - 163px); padding: 0 16px 18px; overflow-y: auto; scrollbar-width: none; }
.settings-v2-account-content::-webkit-scrollbar { display: none; }
.settings-v2-profile-card { position: relative; height: 94px; padding: 14px 14px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 10px; border-radius: 17px; overflow: hidden; color: #0a2119; background: var(--paper); }
.settings-v2-profile-card::after { content: 'M'; position: absolute; right: -2px; bottom: -29px; color: #eeeae0; font: 86px/1 Georgia, serif; }
.settings-v2-profile-card > .avatar { z-index: 1; width: 48px; height: 48px; }
.settings-v2-profile-card > div { z-index: 1; }
.settings-v2-profile-card > div strong,
.settings-v2-profile-card > div span { display: block; }
.settings-v2-profile-card > div strong { font-size: 17px; }
.settings-v2-profile-card > div strong i { color: #8dda25; font-style: normal; }
.settings-v2-profile-card > div span { margin-top: 5px; font-size: 11px; }
.settings-v2-profile-card > button { z-index: 1; background: transparent; }
.settings-v2-profile-card > button:nth-of-type(1) { position: absolute; top: 11px; right: 12px; padding: 5px 9px; border-radius: 15px; background: #f4f2eb; font-size: 10px; }
.settings-v2-profile-card > button:nth-of-type(2) { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #d5dfd9; border-radius: 10px; color: #315d4e; background: #f6f7f2; }
.settings-v2-profile-card > button:nth-of-type(2) .icon { width: 19px; height: 19px; }
.settings-v2-menu-card { margin-top: 9px; padding: 0 13px; overflow: hidden; border-radius: 17px; color: #0a2119; background: var(--paper); }
.settings-v2-menu-card > button { width: 100%; min-height: 50px; padding: 6px 0; display: grid; grid-template-columns: 34px 1fr 17px; align-items: center; gap: 11px; text-align: left; background: transparent; }
.settings-v2-menu-card > button:not(:last-child) { border-bottom: 1px solid #eceae3; }
.settings-v2-menu-card > button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.settings-v2-menu-card > button > span .icon { width: 19px; height: 19px; }
.settings-v2-menu-card > button > strong { font-size: 15px; font-weight: 500; }
.settings-v2-menu-card > button > .icon { width: 16px; color: #9da8ad; }
.settings-v2-menu-short > button { min-height: 50px; }
.settings-v2-menu-card .lime,
.settings-v2-content .lime { color: #17320f; background: #afff35; }
.settings-v2-menu-card .dark,
.settings-v2-content .dark { color: white; background: #043428; }
.settings-v2-menu-card .blue,
.settings-v2-content .blue { color: white; background: #2f72ee; }
.settings-v2-menu-card .red { color: white; background: #f35159; }
.settings-v2-menu-card .orange { color: white; background: #ff8234; }
.settings-v2-menu-card .gold { color: #233018; background: #ffc85b; }
.settings-v2-bottom-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; padding: 6px 22px 5px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #17523d; background: var(--bg); }
.settings-v2-bottom-nav button { padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: white; background: transparent; font-size: 11px; }
.settings-v2-bottom-nav button .icon { width: 23px; height: 23px; }
.settings-v2-bottom-nav button.active .icon { width: 37px; height: 29px; padding: 4px 7px; border-radius: 18px; color: #11271b; background: var(--lime); }
.settings-v2-content { height: calc(100% - 76px); padding: 12px 10px 24px; overflow-y: auto; }
.settings-v2-content > section { margin-bottom: 9px; padding: 0 13px; overflow: hidden; border-radius: 15px; background: var(--paper); }
.settings-v2-content > section button { width: 100%; min-height: 52px; padding: 6px 0; display: grid; grid-template-columns: 34px 1fr 17px; align-items: center; gap: 12px; text-align: left; color: #071e16; background: transparent; }
.settings-v2-content > section button:not(:last-child) { border-bottom: 1px solid #e9e7df; }
.settings-v2-content > section button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.settings-v2-content > section button > span .icon { width: 19px; height: 19px; }
.settings-v2-content > section button > strong { font-size: 15px; font-weight: 500; }
.settings-v2-content > section button > .icon { width: 16px; color: #9ca8ad; }
.settings-v2-content .purple { color: white; background: #985bd9; }
.settings-v2-content .green { color: white; background: #35b468; }
.settings-v2-content .teal { color: white; background: #276252; }

/* Account redesign: editorial grouping inspired by modern wallet home screens */
.account-redesign .scroll-content { height: calc(100% - 162px); }
.account-content { padding: 0 16px 24px; color: #092219; background: #edf6f4; }
.account-hero { min-height: 126px; margin: 0 -16px; padding: 20px 20px 18px; display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #dff1ec, #f3faf7); }
.account-hero > .avatar { width: 62px; height: 62px; box-shadow: 0 8px 20px #174d3a22; }
.account-hero > .avatar i { left: 17px; top: 12px; transform: scale(1.35) rotate(-5deg); }
.account-hero > .avatar b { left: 9px; top: 12px; transform: scale(1.35) rotate(-18deg); }
.account-hero > .avatar em { left: 19px; width: 30px; height: 18px; }
.account-hero > .avatar .mid-badge { width: 17px; height: 17px; right: -1px; bottom: 1px; }
.account-hero > div { flex: 1; min-width: 0; }
.account-hero > div > span, .account-section-head span { color: #5b8979; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.account-hero h1 { margin: 4px 0 3px; font-size: 25px; line-height: 1.1; }
.account-hero h1 b { color: #8fd800; font-size: 14px; }
.account-hero p { margin: 0; color: #5e746d; font-size: 12px; }
.account-hero > button { align-self: flex-start; margin-top: 3px; padding: 7px 12px; border: 1px solid #d9e8e2; border-radius: 18px; background: white; font-size: 11px; }
.account-section { margin-top: 12px; padding: 15px; border-radius: 18px; background: #fffdf7; box-shadow: 0 5px 18px #174d3a0d; }
.account-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.account-section-head h2 { margin: 3px 0 0; font-size: 20px; font-weight: 650; }
.account-section-head > button { padding: 0; color: #91a29c; background: transparent; font-size: 11px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.service-grid button { min-width: 0; padding: 0; display: flex; flex-direction: column; align-items: center; background: transparent; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; box-shadow: inset 0 0 0 1px #ffffff66; }
.service-icon .icon { width: 27px; height: 27px; }
.service-icon.lime { color: #0b271b; background: #b9ff39; }
.service-icon.dark { color: white; background: #043126; }
.service-icon.orange { color: white; background: #ff8b32; }
.service-grid strong { max-width: 100%; margin-top: 8px; font-size: 11px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-grid small { color: #99a6a1; font-size: 9px; margin-top: 2px; }
.status-section { padding-bottom: 5px; }
.status-section .account-section-head { margin-bottom: 3px; }
.status-row { min-height: 65px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e9ece7; cursor: pointer; }
.status-row:last-child { border: 0; }
.status-dot { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; }
.status-dot .icon { width: 21px; height: 21px; }
.status-dot.lime { color: #15311f; background: #d9ff8c; }
.status-dot.dark { color: white; background: #0c4033; }
.status-dot.orange { color: white; background: #ff9a50; }
.status-row > div { flex: 1; min-width: 0; }
.status-row strong, .status-row small { display: block; }
.status-row strong { font-size: 13px; font-weight: 600; }
.status-row small { max-width: 180px; margin-top: 3px; color: #99a4a0; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-row > b { color: #5b6f68; font-size: 13px; }
.status-row > em { padding: 4px 6px; border-radius: 8px; color: #e88316; background: #fff3df; font-size: 9px; font-style: normal; white-space: nowrap; }
.status-row > .icon { width: 15px; color: #a8b3af; }
.account-safety { min-height: 58px; margin-top: 12px; padding: 10px 13px; border: 1px solid #cfe2dc; border-radius: 16px; display: flex; align-items: center; gap: 10px; background: #e5f3ef; }
.account-safety > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #65a800; background: #d5f2c7; }
.account-safety > span .icon { width: 20px; height: 20px; }
.account-safety > div { flex: 1; }
.account-safety strong, .account-safety small { display: block; }
.account-safety strong { font-size: 12px; }
.account-safety small { margin-top: 3px; color: #779087; font-size: 9px; }
.account-safety > .icon { width: 15px; color: #9badA6; }

/* Simplified account layout */
.account-clean { background: #edf4f2; }
.account-clean-header { height: 164px; color: white; background: var(--bg); }
.account-tools { height: 35px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; }
.account-tools button { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; color: white; background: transparent; }
.account-tools .icon { width: 25px; height: 25px; }
.clean-profile { height: 93px; padding: 7px 20px 18px; display: flex; align-items: center; gap: 13px; }
.clean-profile > .avatar { width: 58px; height: 58px; box-shadow: 0 7px 20px #0002; }
.clean-profile > .avatar i { left: 16px; top: 11px; transform: scale(1.3) rotate(-5deg); }
.clean-profile > .avatar b { left: 8px; top: 11px; transform: scale(1.3) rotate(-18deg); }
.clean-profile > .avatar em { left: 17px; width: 29px; height: 17px; }
.clean-profile > .avatar .mid-badge { width: 17px; height: 17px; }
.clean-profile > div { flex: 1; min-width: 0; }
.clean-profile h1 { margin: 0; font-size: 24px; line-height: 1.15; }
.clean-profile h1 b { color: var(--lime); font-size: 13px; }
.clean-profile p { margin: 7px 0 0; color: #b3c0bb; font-size: 12px; }
.clean-profile p span { padding: 3px 7px; margin-right: 4px; border-radius: 9px; color: #d8ff82; background: #174132; font-size: 9px; font-weight: 700; }
.clean-profile > button { width: 34px; height: 40px; padding: 0; display: grid; place-items: center; color: #b8c5c0; background: transparent; }
.clean-profile > button .icon { width: 20px; height: 20px; }
.account-clean .scroll-content { height: calc(100% - 236px); }
.account-clean .clean-account-content { padding: 18px 16px 24px; background: #edf4f2; }
.clean-account-content > h2 { margin: 0 0 10px 3px; color: #173028; font-size: 15px; font-weight: 650; }
.clean-menu-card { overflow: hidden; border-radius: 18px; background: #fffdf8; box-shadow: 0 5px 18px #174d3a0d; }
.clean-menu-row { width: 100%; min-height: 80px; padding: 10px 13px; display: grid; grid-template-columns: 44px 1fr auto 16px; align-items: center; gap: 10px; text-align: left; background: transparent; }
.clean-menu-row:not(:last-child) { border-bottom: 1px solid #e7ebe7; }
.clean-menu-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; }
.clean-menu-icon .icon { width: 23px; height: 23px; }
.clean-menu-icon.lime { color: #10271b; background: #bdff48; }
.clean-menu-icon.dark { color: white; background: #07372b; }
.clean-menu-icon.orange { color: white; background: #ff8a35; }
.clean-menu-row > div { min-width: 0; }
.clean-menu-row strong, .clean-menu-row small { display: block; }
.clean-menu-row strong { color: #10271f; font-size: 15px; font-weight: 600; }
.clean-menu-row small { max-width: 185px; margin-top: 5px; color: #98a4a0; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clean-menu-row > em { color: #8a9a94; font-size: 10px; font-style: normal; white-space: nowrap; }
.clean-menu-row > em.progress-label { padding: 4px 6px; border-radius: 9px; color: #d77811; background: #fff2df; }
.progress-label i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #ff9418; }
.clean-menu-row > .icon { width: 15px; color: #a7b2ae; }

/* Updated home */
.issued-id-strip { min-height: 68px; padding: 11px 13px; border-radius: 15px; background: var(--paper); display: grid; grid-template-columns: 46px minmax(0, 1fr) 38px; align-items: center; gap: 11px; overflow: hidden; }
.issued-authority-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #0b3427; background: var(--lime); }
.issued-authority-icon .icon { width: 25px; height: 25px; stroke-width: 1.8; }
.issued-id-copy { min-width: 0; align-self: center; }
.issued-id-copy strong { display: block; font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.issued-id-copy small { display: block; margin-top: 5px; color: #68736f; font-size: 11px; line-height: 1; letter-spacing: .2px; }
.issued-id-qr { width: 38px; height: 38px; padding: 8px; border: 1px solid #dce3dd; border-radius: 11px; display: grid; place-items: center; color: #345b4e; background: #f7f7f1; }
.issued-id-qr .icon { width: 21px; height: 21px; stroke-width: 1.8; }
.identity-qr-page { color: white; }
.identity-qr-content { height: calc(100% - 76px); padding: 14px 24px 22px; display: flex; flex-direction: column; align-items: center; overflow-y: auto; }
.identity-qr-user { display: flex; flex-direction: column; align-items: center; }
.identity-qr-user .avatar { width: 70px; height: 70px; margin-bottom: 9px; }
.identity-qr-user strong { font-size: 20px; line-height: 1.25; }
.identity-qr-user small { margin-top: 4px; color: #8fa098; font-size: 13px; }
.identity-qr-card { position: relative; width: min(100%, 272px); aspect-ratio: 1; margin-top: 24px; padding: 16px; border-radius: 20px; background: var(--paper); box-shadow: 0 20px 50px #00160e55; }
.identity-qr-pattern { width: 100%; height: 100%; display: block; fill: #06110d; shape-rendering: crispEdges; }
.identity-qr-mark { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; transform: translate(-50%, -50%); border: 4px solid #d8ff5a; border-radius: 13px; display: grid; place-items: center; color: #eaff9b; background: linear-gradient(145deg, #789f35, #31550f); box-shadow: 0 2px 9px #051d0ccc; font-size: 25px; font-weight: 700; }
.identity-qr-actions { width: 100%; margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.identity-qr-actions button { min-height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--lime); background: #214c0a; font-size: 17px; font-weight: 650; }
.identity-qr-actions .icon { width: 23px; height: 23px; }
.new-id-card { position: relative; height: 192px; border-radius: 17px; overflow: hidden; background: var(--paper); display: flex; }
.id-ribbon { position: relative; width: 44px; flex: 0 0 44px; background: var(--lime); border-right: 1px dashed #ff7b19; display: flex; align-items: center; justify-content: center; gap: 6px; writing-mode: vertical-rl; transform: rotate(180deg); }
.id-ribbon::after { content: ''; position: absolute; left: -10px; bottom: -8px; width: 25px; height: 25px; background: var(--bg); transform: rotate(45deg); }
.id-ribbon b { font-size: 11px; font-weight: 600; letter-spacing: .2px; }
.id-ribbon span { color: #60940e; font-size: 9px; }
.id-ribbon i { position: absolute; right: 10px; bottom: 14px; width: 15px; height: 2px; background: #8bcc25; box-shadow: 0 5px #8bcc25, 0 10px #8bcc25; }
.new-id-main { position: relative; flex: 1; padding: 19px 11px 12px; overflow: hidden; }
.new-id-main::before { content: ''; position: absolute; z-index: 0; right: -5px; top: 4px; width: 124px; height: 124px; border: 2px solid #dbd9cc55; border-radius: 26px; transform: rotate(45deg); }
.new-id-main::after { content: ''; position: absolute; left: 8px; right: -10px; bottom: -23px; height: 82px; opacity: .22; background: repeating-radial-gradient(ellipse at 45% 100%, transparent 0 5px, #b9b8aa 6px 6.8px); }
.new-id-brand { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.new-id-brand > b { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; line-height: 1.3; }
.new-id-brand > b:first-child { min-width: 112px; }
.new-id-brand .meridian-solid { width: 31px; height: 31px; border-radius: 8px; font-size: 20px; }
.new-id-brand .seal { width: 31px; height: 31px; }
.new-id-brand small { display: block; color: #707789; font-size: 10px; margin-top: 3px; }
.new-id-main h1 { position: relative; z-index: 2; margin: 31px 0 6px; font-size: 22px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.ready { position: relative; z-index: 2; display: flex; align-items: center; gap: 5px; font-size: 12px; }
.ready i { width: 8px; height: 8px; border: 1.5px solid #93e000; border-radius: 50%; }
.new-mid { position: absolute; z-index: 2; left: 11px; bottom: 16px; font-size: 12px; }
.new-mid span { color: var(--muted); }
.id-eye { position: absolute; z-index: 2; right: 61px; top: 80px; width: 29px; height: 22px; border-radius: 50%; background: #f0f0e7; color: #717882; display: grid; place-items: center; }
.id-eye .icon { width: 17px; height: 17px; }
.new-qr { z-index: 2; right: 16px; bottom: 14px; }
.finance-card { margin: 8px 3px 0; border: 1px solid #d5ded8; border-radius: 13px; overflow: hidden; background: var(--paper); }
.finance-dark { height: 57px; background: var(--bg); color: white; display: grid; grid-template-columns: 1.25fr 1px 1.45fr; align-items: center; padding: 8px 13px; }
.finance-dark > i { height: 37px; background: #214638; }
.finance-dark > div { min-width: 0; }
.finance-dark > div:first-child > span { color: #96a29d; font-size: 11px; display: flex; align-items: center; gap: 4px; }
.finance-dark > div:first-child .icon { width: 13px; height: 13px; }
.finance-dark strong { display: block; font-size: 18px; line-height: 1.3; white-space: nowrap; }
.finance-dark strong small { font-size: 11px; font-weight: 400; }
.usdm-total { display: flex; align-items: center; gap: 7px; justify-content: flex-end; }
.usdm-total .coin { width: 23px; height: 23px; font-size: 11px; }
.usdm-total strong { font-size: 18px; }
.finance-light { height: 199px; padding: 8px 12px 11px; }
.daily-limit { height: 62px; border: 1px solid #e8e3c7; background: #fffdee; border-radius: 9px; display: grid; grid-template-columns: 1.15fr .85fr .9fr; align-items: center; gap: 7px; padding: 7px 11px; }
.daily-limit > div:first-child span { font-size: 11px; }
.daily-limit > div:first-child strong { display: block; font-size: 19px; margin-top: 5px; }
.daily-limit > div:first-child small { font-size: 11px; font-weight: 400; }
.limit-progress { display: flex; align-items: center; gap: 5px; }
.limit-progress i { width: 44px; height: 6px; border-radius: 6px; background: #e6e9dd; overflow: hidden; }
.limit-progress i b { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--lime); }
.limit-progress strong { font-size: 13px; }
.limit-copy { text-align: right; font-size: 12px; }
.limit-copy > strong, .limit-copy > span { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
.limit-copy > span { color: var(--muted); }
.money-actions { height: 73px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.money-actions button { background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; }
.money-actions .icon { width: 25px; height: 25px; color: #38b568; }
.pay-glyph { color: #07160f; font-size: 21px; line-height: 25px; }
.money-actions button:nth-child(2) .pay-glyph, .money-actions button:nth-child(3) .pay-glyph { text-decoration-color: #38b568; }
.money-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.money-tabs button { height: 40px; border-radius: 8px; background: #f2f1eb; font-size: 12px; }
.money-tabs button.active { background: var(--lime); }
.action-center { margin: 8px 3px 0; padding: 13px 13px 10px; overflow: hidden; }
.action-center h2 { margin: 0 0 7px; font-size: 19px; font-weight: 500; }
.action-subtitle, .todo-title { font-size: 12px; margin-bottom: 6px; }
.action-subtitle em, .todo-title em, .request-track em { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 10px; background: #f45157; color: white; font-style: normal; font-size: 10px; }
.pay-scroll { display: flex; gap: 6px; width: calc(100% + 13px); overflow: hidden; margin-bottom: 7px; }
.pay-scroll article { position: relative; flex: 0 0 137px; height: 116px; border: 1px solid #e6e2c5; background: #fffdec; border-radius: 9px; padding: 8px 7px 6px; display: grid; grid-template-columns: 40px 1fr; column-gap: 7px; }
.pay-scroll article > .avatar { width: 40px; height: 40px; }
.pay-scroll article > div span, .pay-scroll article > div strong, .pay-scroll article > div small { display: block; }
.pay-scroll article > div span { max-width: 76px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-scroll article > div strong { font-size: 17px; margin-top: 2px; }
.pay-scroll article > div small { font-size: 11px; margin-top: 2px; }
.pay-scroll time { grid-column: 1 / -1; color: #ff9a16; font-size: 11px; margin-top: 3px; }
.pay-scroll button { position: absolute; left: 7px; right: 7px; bottom: 6px; height: 25px; border-radius: 6px; background: var(--lime); font-size: 10px; font-weight: 650; }
.pay-scroll .pay-peek { flex-basis: 70px; }
.request-track { min-height: 64px; display: grid; grid-template-columns: 125px 1fr 10px; align-items: center; border-bottom: 1px solid var(--line); }
.request-track > div > span { font-size: 12px; }
.avatar-stack { display: flex; margin-top: 5px; }
.avatar-stack .avatar { width: 31px; height: 31px; margin-right: -9px; border: 1px solid var(--paper); }
.request-track > strong { font-size: 12px; font-weight: 400; }
.request-track > b { color: var(--muted); font-weight: 400; }
.todo-title { margin: 7px 0 2px; }
.action-task { min-height: 52px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.action-task:last-child { border: 0; }
.action-task .tile-icon { width: 40px; height: 40px; }
.action-task > div { flex: 1; min-width: 0; }
.action-task strong, .action-task small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-task strong { font-size: 14px; font-weight: 500; }
.action-task small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.action-task button { background: var(--lime); border-radius: 8px; height: 28px; padding: 0 10px; font-size: 10px; font-weight: 650; }
.recent-card { margin: 8px 3px 0; padding: 12px 13px 7px; }
.recent-card .section-head h2 { font-size: 19px; }
.recent-row { min-height: 53px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.recent-row:last-child { border: 0; }
.recent-row > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; background: #f5f5ef; color: #39b55f; border-radius: 50%; }
.recent-row:nth-child(3) > span { color: #2870f5; }
.recent-row > span .icon { width: 19px; height: 19px; }
.recent-row > div { flex: 1; min-width: 0; }
.recent-row strong, .recent-row small { display: block; }
.recent-row strong { font-size: 14px; font-weight: 500; }
.recent-row small { color: var(--muted); font-size: 11px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-row time { align-self: flex-start; margin-top: 10px; color: var(--muted); font-size: 11px; }

@media (max-width: 374px), (max-height: 811px) {
  body { display: block; background: var(--bg); }
  .device { width: 100vw; height: 100dvh; box-shadow: none; }
}
