/* PoUT local Devnet: one shared, asset-free interface theme. */
:root {
  color-scheme: dark;
  --bg: #0b0e0d;
  --panel: #121816;
  --panel2: #18201c;
  --line: #2b3831;
  --text: #f0f5f1;
  --muted: #a4b3aa;
  --accent: #b7f6cf;
  --blue: #b7f6cf;
  --warning: #efd18f;
  --red: #ffb4b4;
  --radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }
body { margin: 0; font-size: 15px; line-height: 1.6; background: radial-gradient(ellipse at 50% 0, #18271e80, transparent 620px), var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; min-width: 0; }
button, .button { cursor: pointer; }
button:disabled, .button[aria-disabled=true] { cursor: not-allowed; opacity: .48; }
input:disabled, textarea:disabled, select:disabled { opacity: .65; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
::selection { background: #b7f6cf; color: #102219; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: #102219; font-weight: 650; }
.skip-link:focus { top: 12px; }

/* Stable shell and route navigation. */
.app-shell { min-height: 100vh; }
.site-header { max-width: 1328px; min-height: 96px; margin: 0 auto; padding: 20px 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; color: var(--text); font-size: 25px; font-weight: 730; letter-spacing: -.8px; line-height: 1.2; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.brand-sub { display: block; margin-top: 5px; font-size: 9px; font-weight: 550; letter-spacing: 3px; color: var(--muted); }
.network-tag { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); border: 1px solid #355141; border-radius: 99px; background: #17251c; padding: 7px 13px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.primary-nav { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 18px; background: #121814; }
.primary-nav a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 18px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 560; text-decoration: none; }
.primary-nav a:hover { color: var(--text); background: #1d2921; }
.primary-nav a.active { background: var(--accent); color: #102219; }
.nav-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.workspace { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 17px 16px; border-top: 1px solid var(--line); }
.breadcrumb { font-size: 12px; color: var(--muted); }
.breadcrumb > span { margin: 0 12px; color: #708479; }
.breadcrumb strong { font-weight: 500; color: var(--text); }
.connection { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.connection.good { color: var(--accent); }
.connection.bad { color: var(--red); }
.context-nav { display: flex; gap: 6px; padding: 0 6px 12px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #42594a transparent; overscroll-behavior-x: contain; }
.context-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; color: var(--muted); white-space: nowrap; font-size: 12px; border-radius: 10px; text-decoration: none; }
.context-nav a:hover, .context-nav a.active { color: var(--accent); background: #1b2820; }
main { max-width: 1280px; margin: 0 auto; padding: 28px 16px 32px; min-width: 0; }
body > main { padding: 32px 24px; }
body[data-page=wallet] .topbar { justify-content: flex-end; padding-top: 9px; padding-bottom: 9px; }
body[data-page=wallet] .topbar .breadcrumb { display: none; }
body[data-page=wallet] .context-nav { padding-bottom: 0; }
body[data-page=wallet] main { padding-top: 8px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.page-head > div { min-width: 0; }
h1, h2, h3, p { overflow-wrap: break-word; }
.page-head h1 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 42px); font-weight: 650; letter-spacing: -1.3px; line-height: 1.18; }
.page-head p { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 1.8px; font-weight: 650; line-height: 1.5; }
.version-pill { max-width: 260px; margin-top: 10px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; font-size: 11px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.subtle { color: var(--muted); font-size: 12px; line-height: 1.6; }
.section-space { margin-top: 24px; }

/* Shared panels, readable data and bounded table scrolling. */
.panel { min-width: 0; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel-head h2 { min-width: 0; margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.25px; overflow-wrap: anywhere; }
.panel-head a, .panel-head .subtle { font-size: 12px; }
.panel-head > a { flex-shrink: 0; }
.panel-body { padding: 24px; min-width: 0; }
.panel-body p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.panel-body p:first-child { margin-top: 0; }
.panel-body p:last-child { margin-bottom: 0; }
.grid-two { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.grid-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.stat-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.stat-label span { color: var(--accent); }
.stat-value { display: block; margin-top: 12px; font-size: 29px; font-weight: 600; letter-spacing: -.8px; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.stat-value.small { font-size: 17px; letter-spacing: -.25px; margin-top: 17px; }
.stat-value.good { color: var(--accent); }
.stat-note { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.mono, code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 12px; }
.hash { overflow-wrap: anywhere; word-break: break-all; }
.truncate { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-list { display: grid; gap: 18px; }
.field-label { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .7px; text-transform: uppercase; }
.field-value { min-width: 0; color: var(--text); font-size: 13px; overflow-wrap: anywhere; }
.info-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; color: var(--muted); font-size: 13px; }
.info-row strong { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #42594a var(--panel); }
.table-wrap:focus-visible { outline-offset: -3px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
th { padding: 13px 20px; color: var(--muted); background: #101612; font-size: 11px; font-weight: 500; white-space: nowrap; }
td { padding: 17px 20px; border-top: 1px solid #26332b; white-space: nowrap; }
tbody tr:hover { background: #19231d; }
th.amount, td.amount { text-align: right; }
td.amount { color: var(--text); font-weight: 500; }
td a.mono { font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; color: var(--accent); background: #1b2c21; border: 1px solid #385542; border-radius: 99px; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.pill.pending, .pill.uncertain { color: var(--warning); background: #2b2518; border-color: #625236; }
.pill.rejected { color: var(--red); background: #2b1d20; border-color: #694146; }
.empty { padding: 38px 24px; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.8; }
.empty strong { display: block; margin-bottom: 5px; color: var(--text); font-size: 14px; font-weight: 550; }
.loading { padding: 56px 24px; text-align: center; color: var(--muted); font-size: 13px; }

/* Inputs and actions share the same touch and keyboard affordances. */
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; max-width: 100%; padding: 11px 17px; border: 1px solid #3a4c40; border-radius: 12px; background: #202e25; color: var(--text); font-size: 14px; font-weight: 550; line-height: 1.5; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
button:hover:not(:disabled), .button:hover:not([aria-disabled=true]) { background: #2a3b30; border-color: #728b7b; text-decoration: none; }
button.primary, .button.primary { background: var(--accent); border-color: var(--accent); color: #102219; font-weight: 650; }
button.primary:hover:not(:disabled), .button.primary:hover:not([aria-disabled=true]) { background: #d0fcdf; border-color: #d0fcdf; }
button.ghost, .button.ghost { background: transparent; }
button.ghost:hover:not(:disabled), .button.ghost:hover:not([aria-disabled=true]) { background: #1b2820; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.form-stack { display: grid; gap: 20px; }
label { display: block; color: var(--text); font-size: 13px; font-weight: 500; }
label input, label textarea, label select { margin-top: 8px; }
input, textarea, select { display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #3a4b40; border-radius: 12px; color: var(--text); background: #0d1410; font-size: 16px; font-weight: 400; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #91a299; opacity: 1; }
textarea { min-height: 96px; resize: vertical; }
input[type=file] { padding: 9px; font-size: 13px; }
input::file-selector-button { max-width: 100%; margin-right: 8px; padding: 8px 12px; border: 1px solid #405647; border-radius: 7px; color: var(--text); background: #223429; font: inherit; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.checkbox-label input { width: 18px; height: 18px; min-height: 0; flex: 0 0 auto; margin: 4px 0 0; accent-color: var(--accent); }
.form-note { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.8; }
.form-intro { margin-top: 0; }
.operation-progress { display: none; margin: 0; color: var(--warning) !important; font-size: 13px !important; }
form[data-busy=true] > .operation-progress { display: block; }
.search-form { display: flex; align-items: flex-end; gap: 12px; }
.search-form label { flex: 1; min-width: 0; }
.search-form button { flex: 0 0 auto; min-height: 48px; }
.error-box, .success-box { padding: 16px 18px; border: 1px solid; border-radius: 12px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.error-box { color: var(--red); background: #291a1e; border-color: #694146; }
.success-box { color: var(--accent); background: #182a1e; border-color: #3b5d47; }
.banner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 16px 20px; border: 1px solid #38533f; border-radius: 14px; color: #c5dccd; background: #17251c; font-size: 13px; line-height: 1.8; }
.banner p { margin: 0; }
.banner strong { color: var(--text); font-weight: 600; }
.banner .symbol { color: var(--accent); font-size: 17px; }
.banner.warn { color: #e1d6b9; border-color: #61523a; background: #262217; }
.banner.warn strong, .banner.warn .symbol { color: var(--warning); }
.availability-notice { margin: 0 0 22px; padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: 12px; color: #c4d1c9; background: var(--panel); font-size: 13px; line-height: 1.8; }
.availability-notice strong { color: var(--text); }
.availability-notice.verified { border-left-color: var(--accent); }
.availability-notice.verified strong { color: var(--accent); }
.availability-notice.caution { border-left-color: var(--warning); }
.availability-notice.caution strong { color: var(--warning); }
.availability-notice.unavailable { border-left-color: var(--red); }
.availability-notice.unavailable strong { color: var(--red); }

/* Wallet: the balance and its two main actions lead the page. */
.wallet-shell { width: 100%; max-width: 680px; margin: 0 auto; }
.wallet-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.wallet-picker { display: grid; flex: 1 1 220px; gap: 5px; min-width: 0; max-width: 100%; }
.wallet-picker .field-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wallet-picker select { width: 100%; max-width: 330px; min-height: 44px; padding: 8px 34px 8px 13px; background: var(--panel); font-size: 14px; }
.wallet-toolbar-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.wallet-toolbar-actions > button { flex: 0 0 auto; }
.wallet-session-chip { color: var(--muted); font-size: 11px; line-height: 1.4; }
.wallet-session-chip[data-state=unlocked] { color: var(--accent); }
.wallet-page-title h1, h1.wallet-page-title { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; }
.wallet-hero { padding: 20px 24px; border: 1px solid #3a5042; border-radius: 28px; background: radial-gradient(ellipse at 50% 0, #284b3459, transparent 75%), #151e18; box-shadow: 0 16px 48px #0003; text-align: center; }
.wallet-hero > .eyebrow { color: #b1c4b7; font-size: 10px; }
.balance { margin: 20px 0; font-size: 44px; font-weight: 550; letter-spacing: -1.6px; line-height: 1.2; overflow-wrap: anywhere; }
.balance span:not(#wallet-balance) { color: var(--muted); font-size: 16px; font-weight: 450; letter-spacing: 0; }
.wallet-balance-main { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; margin: 10px 0 4px; font-size: clamp(42px, 6vw, 56px); letter-spacing: -2px; line-height: 1.1; }
#wallet-balance { max-width: 100%; font: inherit; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.balance-caption { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.wallet-address { min-width: 0; padding: 14px 16px; border: 1px solid #35503e; border-radius: 12px; color: var(--accent); background: #102017; font-size: 12px; line-height: 1.8; user-select: all; overflow-wrap: anywhere; }
.wallet-address-compact { max-width: 470px; margin: 0 auto; padding: 7px 12px; color: #bccfc2; background: #0b140e70; border-color: #32473a; font-size: 11px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.wallet-action-tile { min-height: 68px; flex-direction: column; gap: 3px; border-radius: 18px; border-color: #48624f; background: #22352a; font-size: 15px; }
.wallet-action-icon { font-size: 24px; font-weight: 450; line-height: 1.1; }
.wallet-action-icon svg { display: block; width: 26px; height: 26px; }
.wallet-action-label { font-size: 14px; font-weight: 600; }
.wallet-hero .wallet-snapshot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 14px; margin: 10px 0 0; }
.wallet-hero .wallet-snapshot > span { font-size: 11px; color: #afc1b5; }
.wallet-snapshot { margin: 14px 0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.wallet-snapshot[data-available=false] { color: var(--muted); }
.wallet-hero .technical-panel { max-width: 100%; margin: 0; padding: 0; border: 0; text-align: left; }
.wallet-hero .technical-panel > summary { min-height: 44px; margin: 0; padding: 12px 0; font-size: 11px; line-height: 1.6; }
.wallet-hero .technical-panel[open] { flex-basis: 100%; }
.wallet-hero #wallet-transfer-status { margin: 4px 0 0; font-size: 11px; line-height: 1.6; }
.wallet-hero #wallet-snapshot[data-available=true] + #wallet-transfer-status[data-state=none] { display: none; }
#wallet-session-status, #wallet-transfer-status { overflow-wrap: anywhere; }
.wallet-readiness { margin: 10px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 13px; color: #bfcdc4; background: #121b15; font-size: 11px; line-height: 1.65; }
.wallet-readiness.error-box { color: var(--red); background: #291a1e; border-color: #694146; font-size: 12px; line-height: 1.8; }
.wallet-readiness button { display: flex; margin-top: 10px; }
.wallet-pane { margin-top: 16px; min-width: 0; }
.wallet-subview-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.wallet-subview-heading h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.4px; }
.wallet-subview-heading button { min-height: 44px; padding: 9px 14px; }
.wallet-asset-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid #46644f; border-radius: 15px; background: #233d2b; color: var(--accent); font-size: 25px; font-weight: 700; }
.token-list { margin-bottom: 22px; }
.token-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 16px; padding: 24px; }
.token-row-name, .token-row-balance { display: grid; gap: 4px; min-width: 0; }
.token-row-name strong, .token-row-balance strong { color: var(--text); font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.token-row-name span, .token-row-balance span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.token-row-balance { text-align: right; font-variant-numeric: tabular-nums; }
.wallet-receive-card { display: grid; justify-items: center; gap: 18px; text-align: center; }
.wallet-receive-card .wallet-asset-icon { width: 66px; height: 66px; border-radius: 21px; font-size: 34px; }
.wallet-receive-card p { margin: 0; }
.wallet-receive-card .wallet-address { width: 100%; padding: 20px; font-size: 14px; }
.wallet-receive-card > button { width: 100%; }
.wallet-empty-state { padding: 15px 4px 22px; text-align: center; }
.wallet-empty-state h1 { margin: 0 0 12px; font-size: 34px; font-weight: 650; letter-spacing: -1.2px; line-height: 1.2; }
.wallet-empty-state p { margin: 0; color: var(--muted); font-size: 15px; }
.wallet-secondary { margin-top: 26px; }
.wallet-secondary > .form-note { font-size: 11px; }
.wallet-activity-list { margin: 0; padding: 0; list-style: none; }
.wallet-activity-list > li + li { border-top: 1px solid var(--line); }
.wallet-activity-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 14px; padding: 19px 24px; color: var(--text); text-decoration: none; }
.wallet-activity-row:hover { background: #1a271f; text-decoration: none; }
.wallet-activity-row:focus-visible { outline-offset: -4px; }
.wallet-activity-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3b5143; border-radius: 14px; color: #c7e6d2; background: #1d2a22; font-size: 24px; }
.wallet-activity-main, .wallet-activity-amount { display: grid; gap: 5px; min-width: 0; }
.wallet-activity-main > strong, .wallet-activity-amount > strong { color: var(--text); font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.wallet-activity-main > span { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.wallet-activity-amount { text-align: right; font-variant-numeric: tabular-nums; }
.wallet-activity-amount > strong > span { color: var(--muted); font-size: 10px; font-weight: 400; }
.wallet-activity-status { color: var(--muted); font-size: 11px; }
.wallet-activity-status[data-status=included] { color: var(--accent); }
.wallet-activity-status[data-status=pending] { color: var(--warning); }
.wallet-activity-status[data-status=rejected] { color: var(--red); }
.wallet-activity-empty { text-align: center; }
.wallet-activity-empty strong { color: var(--text); font-size: 15px; }
.wallet-activity-empty p { font-size: 13px; }
.wallet-activity-empty a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.wallet-workspace { min-width: 0; align-items: start; }
.wallet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wallet-manager { display: grid; gap: 18px; min-width: 0; }
.wallet-manager label, .wallet-name-form label { display: grid; gap: 6px; min-width: 0; }
.wallet-manager select, #send-own-wallet { width: 100%; max-width: 100%; min-width: 0; }
.wallet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 20rem; padding: 4px; margin: -4px; list-style: none; overflow: auto; }
.wallet-list li { min-width: 0; }
.wallet-list button { display: grid; justify-items: start; gap: 6px; width: 100%; padding: 16px; white-space: normal; text-align: left; font-weight: 400; }
.wallet-list button strong { overflow-wrap: anywhere; }
.wallet-list button span { min-width: 0; overflow-wrap: anywhere; font-size: 11px; }
.wallet-list .selected button { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.wallet-name-form { display: flex; align-items: flex-end; gap: 12px; }
.wallet-name-form label { flex: 1; }
.wallet-name-form input { width: 100%; min-width: 0; margin-top: 0; }
.wallet-manager .button-row { flex-wrap: wrap; }
.backup-status { display: grid; gap: 8px; margin: 18px 0; padding: 17px; border: 1px solid #62563b; border-radius: 13px; background: #252117; }
.backup-status strong { color: var(--warning); font-size: 13px; }
.backup-status span { color: #cbcbbd; font-size: 12px; line-height: 1.8; }
.backup-status.requested { border-color: #3b5743; background: #18271d; }
.backup-status.requested strong { color: var(--accent); }
.mnemonic-words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; padding: 20px 18px 20px 42px; border: 1px solid var(--line); border-radius: 16px; background: #0b120e; font-family: ui-monospace, monospace; font-size: 16px; line-height: 1.8; }
.mnemonic-words li::marker { color: var(--muted); font-size: 12px; }
#recover-phrase { min-height: 112px; resize: vertical; font: inherit; line-height: 1.8; }
.legacy-recovery { margin-top: 18px; }
#genesis-trust-status { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Explorer: a search-led overview, followed by real ledger records. */
.explorer-hero { margin-bottom: 28px; padding: 32px; border: 1px solid #364e3f; border-radius: 26px; background: radial-gradient(ellipse at 85% 0, #2d4c3566, transparent 65%), var(--panel); }
.explorer-hero h1 { margin: 10px 0 12px; font-size: clamp(32px, 5vw, 48px); font-weight: 650; letter-spacing: -1.6px; line-height: 1.15; }
.explorer-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
#explorer-search-form { display: grid; gap: 9px; width: 100%; max-width: 820px; margin-top: 24px; }
#explorer-search-form label { color: #c3d3c8; font-size: 12px; }
.explorer-search-control { display: flex; align-items: center; gap: 8px; padding: 5px; border: 1px solid #48604f; border-radius: 16px; background: #0b120e; }
.explorer-search-control:focus-within { border-color: var(--accent); }
.explorer-search-control > span { flex: 0 0 auto; padding-left: 11px; color: var(--muted); font-size: 25px; }
#explorer-search { width: 100%; min-width: 0; min-height: 48px; padding-right: 6px; padding-left: 4px; border-color: transparent; background: transparent; }
#explorer-search:focus-visible { outline-offset: -3px; }
#explorer-search-form button { min-height: 48px; padding-right: 24px; padding-left: 24px; flex: 0 0 auto; }
#explorer-search-error { color: var(--red); font-size: 12px; }
#explorer-search-error:empty { display: none; }
.explorer-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.explorer-tabs a, .explorer-tabs button { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--panel); font-size: 13px; text-decoration: none; }
.explorer-tabs a:hover, .explorer-tabs a.active, .explorer-tabs [aria-current=page] { color: var(--accent); border-color: #48634f; background: #1d2d22; }
.explorer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.explorer-grid .panel-head { padding: 20px; }
.explorer-grid td, .explorer-grid th { padding-left: 16px; padding-right: 16px; }
.network-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; }
.explorer-status { display: flex; align-items: baseline; gap: 9px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.explorer-status .dot { color: var(--accent); }
.explorer-status.caution, .explorer-status.caution .dot { color: var(--warning); }
.explorer-subhead { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.explorer-hero .explorer-subhead h1 { margin: 10px 0 12px; font-size: clamp(32px, 5vw, 48px); font-weight: 650; letter-spacing: -1.6px; }
.explorer-subhead p { color: var(--muted); font-size: 13px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.address-pair > span { display: block; }
.address-pair > span + span { margin-top: 4px; }
.address-pair i { font-style: normal; color: var(--muted); }
.table-type-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 10px; border: 1px solid #304338; border-radius: 9px; color: #b8d6c3; background: #1d2b22; font-size: 16px; vertical-align: middle; }
.explorer-network { margin-top: 8px; padding: 8px 4px 18px; }
.explorer-network .field-list { padding: 6px 0 12px; }

/* Faucet, receipts and unchanged research widgets. */
.callout-number { color: var(--accent); font-size: 48px; line-height: 1.2; letter-spacing: -2px; }
.callout-number span { font-size: 18px; letter-spacing: 0; }
.faucet-wallet-state { display: grid; gap: 10px; min-width: 0; margin-bottom: 22px; padding: 19px; border: 1px solid #3a4e40; border-radius: 14px; background: #0f1912; }
.faucet-wallet-state strong { color: var(--accent); font-size: 27px; font-weight: 550; overflow-wrap: anywhere; }
.faucet-wallet-state .mono { font-size: 12px; line-height: 1.8; }
.faucet-eligibility { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: #0f1912; font-size: 13px; line-height: 1.8; }
.faucet-eligibility strong { display: block; color: var(--accent); font-size: 13px; }
.faucet-eligibility .subtle { display: block; }
.transfer-status-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.saved-intent { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #101a13; }
.saved-intent > div { display: grid; gap: 13px; align-content: start; min-width: 0; }
#transfer-recovery .panel { border-color: #776640; }
#retry-transfer-form .pill { font-size: 11px; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: steps; }
.steps li { display: flex; gap: 13px; margin: 17px 0; counter-increment: steps; color: var(--muted); font-size: 13px; }
.steps li::before { content: counter(steps, decimal-leading-zero); flex: 0 0 auto; color: var(--accent); font: 12px ui-monospace, monospace; padding-top: 4px; }
details > summary { min-height: 44px; padding: 11px 0; color: #bfd2c4; font-size: 13px; line-height: 1.7; cursor: pointer; }
details > summary:hover { color: var(--accent); }
details[open] > summary { margin-bottom: 10px; }
.technical-panel { border-top: 1px solid var(--line); padding-top: 4px; }
.technical-panel p { margin-bottom: 0; font-size: 12px; color: var(--muted); }
.learn-panel { padding: 7px 22px; margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.learn-panel > summary { color: var(--accent); font-weight: 550; }
.learn-panel dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 8px 0 19px; margin: 0; }
.learn-panel dt { margin-bottom: 7px; color: var(--text); font-size: 14px; font-weight: 550; }
.learn-panel dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.research-article h3 { margin-top: 0; font-size: 18px; font-weight: 550; }
.research-article p { font-size: 14px; line-height: 1.9; }
.research-article ul { padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.research-article .eyebrow { margin-bottom: 10px; }
.research-status { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--warning); font-size: 12px; line-height: 1.8; }
.research-link { display: block; margin-top: 12px; font-size: 12px; }
.welcome-panel { display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 30px; padding: 30px; margin-bottom: 22px; border: 1px solid #3b5543; border-radius: 22px; background: #17271c; }
.welcome-panel h2 { margin: 10px 0 14px; font-size: 30px; font-weight: 600; letter-spacing: -.8px; line-height: 1.3; }
.welcome-panel p { max-width: 680px; color: #bfd0c3; font-size: 14px; line-height: 1.8; }
.welcome-mark { display: grid; justify-items: center; gap: 10px; text-align: center; }
.welcome-mark img { max-width: 100%; object-fit: contain; }
.welcome-mark span { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
.welcome-mark small { max-width: 150px; color: var(--muted); font-size: 11px; }
.journey { margin-bottom: 26px; border: 1px solid #3b5342; border-radius: 18px; background: var(--panel); overflow: hidden; }
.journey-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 22px 0; }
.journey-heading h2 { margin: 8px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.3px; line-height: 1.5; }
.journey ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 22px; margin: 0; list-style: none; }
.journey li { min-width: 0; }
.journey li a { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; height: 100%; min-height: 158px; padding: 15px; border: 1px solid #324a3a; border-radius: 12px; color: var(--text); background: #0e1811; text-decoration: none; }
.journey li a:hover, .journey li.is-next a { border-color: #83b894; background: #1b2f21; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #4e705a; border-radius: 8px; color: var(--accent); font-size: 12px; }
.journey li.done .step-number { background: var(--accent); border-color: var(--accent); color: #102219; }
.journey li strong { font-size: 13px; font-weight: 550; }
.journey li a > span:not(.step-number) { color: #b0c3b6; font-size: 11px; line-height: 1.8; }
.journey .step-state { margin-top: auto; padding-top: 5px; color: var(--accent) !important; font-size: 11px !important; }
.journey-disclosure { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.experience-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.experience-links a { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--panel); }
.experience-links a:hover { border-color: #698c72; text-decoration: none; }
.experience-links strong { font-size: 16px; font-weight: 550; }
.experience-links span:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.lifecycle { padding: 23px; margin-bottom: 24px; border: 1px solid #3b5342; border-radius: 18px; background: #142219; }
.lifecycle ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0 0 18px; }
.lifecycle li { display: grid; gap: 10px; align-content: start; min-width: 0; padding-top: 15px; border-top: 2px solid #415a49; }
.lifecycle strong { color: #bacbbf; font-size: 12px; letter-spacing: .3px; }
.lifecycle li > span:last-child { color: var(--muted); font-size: 12px; line-height: 1.8; }
.lifecycle-dot { display: block; width: 9px; height: 9px; border: 1px solid #81998a; border-radius: 50%; background: #142219; }
.lifecycle li[data-state=complete], .lifecycle li[data-state=current] { border-top-color: var(--accent); }
.lifecycle li[data-state=complete] strong, .lifecycle li[data-state=current] strong { color: var(--accent); }
.lifecycle li[data-state=complete] .lifecycle-dot, .lifecycle li[data-state=current] .lifecycle-dot { background: var(--accent); border-color: var(--accent); }
.lifecycle li[data-state=unavailable] { opacity: .85; }
.lifecycle p { margin: 12px 0 0; color: #c5d4c9; font-size: 13px; line-height: 1.8; }
.lifecycle p.subtle { font-size: 11px; color: var(--muted); }
.native-evidence .availability-notice { margin-top: 0; }
.native-evidence .field-list { gap: 18px; }
.native-waves { display: grid; gap: 14px; padding-left: 24px; }
.native-waves li { overflow-wrap: anywhere; }
.native-waves strong { display: block; margin-bottom: 6px; color: var(--accent); }
.native-waves span { color: var(--muted); font: 12px/1.8 ui-monospace, monospace; }

/* Exact-field transfer review remains a native modal with visible actions. */
dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #4b6553; border-radius: 22px; color: var(--text); background: var(--panel); box-shadow: 0 24px 100px #000b; overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #030806d9; backdrop-filter: blur(5px); }
.dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 18px; font-weight: 550; }
.icon-button { width: 44px; padding: 8px; border-color: transparent; background: transparent; font-size: 25px; line-height: 1; }
#detail-content { padding: 24px; }
pre { padding: 17px; border-radius: 12px; background: #0b120e; color: #c8dbcf; font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
dialog#transfer-review { width: min(600px, calc(100% - 24px)); max-width: 600px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 26px; border-color: #58765f; background: #141e17; }
.review-heading h2 { margin: 10px 0; font-size: 27px; font-weight: 600; letter-spacing: -.7px; line-height: 1.3; }
.review-heading p { margin: 0 0 22px; color: #bdcfc2; font-size: 14px; line-height: 1.8; }
.review-heading, .review-heading p, #transfer-review [data-review=sender] { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.review-amount { display: grid; gap: 7px; min-width: 0; margin-bottom: 22px; padding: 22px; border: 1px solid #405e49; border-radius: 16px; background: #1b3022; }
.review-amount strong { color: var(--accent); font-size: clamp(27px, 7vw, 42px); line-height: 1.3; overflow-wrap: anywhere; }
.review-amount .mono { color: #c4d5c9; font-size: 11px; }
.review-fields { display: grid; gap: 20px; min-width: 0; margin-bottom: 20px; overflow-wrap: anywhere; }
.review-fields .mono { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #0c150f; font-size: 13px; line-height: 1.8; user-select: all; }
.review-memo { white-space: pre-wrap; font-size: 14px; line-height: 1.8; }
.review-technical { display: grid; gap: 16px; margin: 14px 0; font-size: 13px; }
.review-technical > div { display: grid; gap: 6px; }
.review-technical dt { color: var(--muted); font-size: 12px; }
.review-technical dd { margin: 0; overflow-wrap: anywhere; }
.review-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 14px; background: #141e17; }
.review-actions button { min-height: 50px; padding: 12px; font-size: 14px; }
.review-actions .ghost { border-color: #758d7d; }

/* Persistent context stays visible; longer disclosures are user-controlled. */
footer { color: var(--muted); font-size: 11px; line-height: 1.8; }
.site-footer { padding: 26px 16px 34px; border-top: 1px solid var(--line); }
footer p { margin: 5px 0; }
.devnet-disclosure { display: flex; align-items: center; gap: 9px; color: #c4d3c9; font-size: 12px; }
.devnet-disclosure .dot { color: var(--accent); }
.footer-disclosure { margin-top: 8px; max-width: 840px; }
.footer-disclosure > summary { width: fit-content; font-size: 11px; color: var(--muted); }
.footer-disclosure > div { padding: 0 0 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
#notice { position: fixed; right: 24px; bottom: 24px; z-index: 30; max-width: 450px; max-height: 40dvh; padding: 0; border-radius: 14px; font-size: 13px; line-height: 1.8; overflow: auto; overflow-wrap: anywhere; }
#notice.visible { padding: 16px 20px; border: 1px solid #5d8167; color: var(--accent); background: #1a3022; box-shadow: 0 12px 40px #0008; }
#notice.error { color: var(--red); border-color: #88515a; background: #321e24; }

@media (max-width: 1100px) {
  .site-header { padding-right: 28px; padding-left: 28px; }
  .grid-two, .explorer-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .learn-panel dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { min-height: 82px; grid-template-columns: 1fr auto; padding: 18px 24px; gap: 14px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 38px; height: 38px; }
  .primary-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 20px 20px 0 0; background: #111a15f7; box-shadow: 0 -12px 36px #0003; }
  .primary-nav a { min-height: 53px; padding: 7px 8px; flex-direction: column; gap: 4px; font-size: 11px; line-height: 1.3; border-radius: 12px; }
  .primary-nav a.active { background: #22382a; color: var(--accent); }
  .nav-icon { width: 21px; height: 21px; }
  .workspace { padding: 0 16px; }
  .topbar { flex-wrap: wrap; padding: 13px 4px; gap: 9px 14px; }
  .connection { max-width: 100%; font-size: 11px; }
  .breadcrumb { font-size: 11px; }
  .context-nav { padding: 0 0 10px; gap: 0; }
  .context-nav a { padding: 8px 10px; font-size: 11px; }
  main { padding: 20px 0 28px; }
  .page-head { flex-wrap: wrap; gap: 14px; }
  .page-head h1 { font-size: 31px; }
  .page-head p { font-size: 14px; }
  .version-pill { max-width: 100%; margin-top: 0; }
  .grid-even { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .panel-head { padding: 18px 20px; gap: 12px; }
  .panel-head h2 { font-size: 15px; }
  .panel-head a, .panel-head .subtle { font-size: 11px; }
  .panel-body { padding: 20px; }
  .table-wrap table { min-width: 520px; }
  th, td { padding-left: 17px; padding-right: 17px; }
  .stats { gap: 12px; }
  .stat { padding: 17px; }
  .stat-value { font-size: 27px; }
  .stat-value.small { font-size: 15px; }
  .stat-label, .stat-note { font-size: 11px; }
  .search-form { flex-wrap: wrap; }
  .search-form label { flex-basis: 100%; }
  .search-form button { width: 100%; }
  .wallet-hero { padding: 20px 19px; border-radius: 25px; }
  .wallet-toolbar { gap: 12px; }
  .wallet-picker select { font-size: 13px; max-width: 280px; }
  .wallet-hero-actions { gap: 12px; }
  .token-row { padding: 22px 20px; gap: 13px; }
  .token-row-name strong, .token-row-balance strong { font-size: 14px; }
  .wallet-secondary { margin-top: 22px; }
  .wallet-activity-row { padding: 18px 20px; gap: 12px; }
  .wallet-manager .button-row > * { flex: 1 1 9rem; }
  .wallet-list { grid-template-columns: minmax(0, 1fr); }
  .wallet-name-form { align-items: stretch; flex-direction: column; }
  .wallet-actions > * { flex: 1 1 8rem; }
  .wallet-actions #wallet-backup { flex-basis: 100%; }
  .saved-intent { grid-template-columns: minmax(0, 1fr); }
  .saved-intent > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explorer-hero { padding: 26px 22px; border-radius: 22px; }
  .explorer-hero h1 { font-size: 36px; }
  #explorer-search-form { margin-top: 20px; gap: 10px; }
  .explorer-search-control { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 6px; }
  .explorer-search-control > span { padding-left: 7px; }
  #explorer-search-form button { grid-column: 1 / -1; width: 100%; min-height: 46px; }
  .network-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .network-summary .stat { padding: 15px; }
  .explorer-tabs { gap: 7px; }
  .explorer-tabs a, .explorer-tabs button { padding: 9px 13px; font-size: 12px; }
  .explorer-hero .explorer-subhead h1 { font-size: 36px; }
  .welcome-panel { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 24px; }
  .welcome-mark { display: none; }
  .welcome-panel h2 { font-size: 27px; }
  .welcome-panel .button-row .button { flex: 1 1 100%; }
  .journey-heading { display: block; padding: 20px 18px 0; }
  .journey-heading > .subtle { display: block; margin-top: 10px; }
  .journey-heading h2 { font-size: 18px; }
  .journey ol { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; gap: 10px; }
  .journey li a { min-height: 146px; padding: 13px; }
  .journey li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .journey-disclosure { padding: 0 18px 18px; }
  .experience-links { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .learn-panel { padding: 7px 18px; }
  .learn-panel dl { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lifecycle { padding: 20px; }
  .lifecycle ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 15px; }
  .site-footer { padding: 24px 4px calc(102px + env(safe-area-inset-bottom)); }
  #notice { right: 16px; left: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); max-width: none; }
  dialog#transfer-review { padding: 21px; }
  .review-heading h2 { font-size: 25px; }
  .review-actions { gap: 10px; }
}
@media (max-width: 400px) {
  .site-header { padding-right: 18px; padding-left: 18px; }
  .workspace { padding: 0 14px; }
  .network-tag { padding: 7px 10px; font-size: 11px; }
  .brand { gap: 9px; font-size: 22px; }
  .brand-mark { width: 35px; height: 35px; }
  .wallet-toolbar { gap: 8px; }
  .wallet-toolbar-actions > button { padding: 10px 12px; font-size: 12px; }
  .wallet-picker select { padding-right: 23px; font-size: 12px; }
  .wallet-hero { padding: 18px 17px; border-radius: 22px; }
  .wallet-balance-main { font-size: 42px; letter-spacing: -1.8px; }
  .wallet-hero-actions { margin-top: 14px; gap: 10px; }
  .wallet-action-tile { min-height: 64px; }
  .wallet-address-compact { font-size: 10px; padding: 7px 10px; }
  .wallet-session-chip { font-size: 10px; }
  .wallet-empty-state h1 { font-size: 30px; }
  .token-row { grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 20px 16px; }
  .token-row .wallet-asset-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 22px; }
  .token-row-name span, .token-row-balance span { font-size: 10px; }
  .wallet-activity-row { grid-template-columns: 35px minmax(0, 1fr) minmax(0, 1fr); gap: 9px; padding: 17px 16px; }
  .wallet-activity-icon { width: 35px; height: 35px; border-radius: 11px; font-size: 22px; }
  .wallet-activity-main > strong, .wallet-activity-amount > strong { font-size: 12px; }
  .wallet-activity-main > span, .wallet-activity-status { font-size: 10px; }
  .panel-head, .panel-body { padding-right: 17px; padding-left: 17px; }
  .panel-head h2 { font-size: 14px; }
  .panel-head a { font-size: 10px; }
  .stats { gap: 10px; }
  .stat { padding: 15px; }
  .stat-value { font-size: 25px; }
  .explorer-hero { padding: 24px 19px; }
  .explorer-hero .explorer-subhead h1 { font-size: 32px; }
  .network-summary { grid-template-columns: minmax(0, 1fr); }
  .review-amount { padding: 18px; }
  .review-actions button { font-size: 12px; }
}
@media (max-width: 500px) {
  .mnemonic-words { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 23px; padding-left: 36px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The opt-in report never overlaps the primary wallet controls. */
.bug-report-button { position: fixed; left: 18px; bottom: 18px; z-index: 15; font-size: 12px; background: var(--panel); }
#bug-report-dialog { max-width: 560px; width: calc(100% - 32px); }
#bug-report-dialog p { font-size: 13px; line-height: 1.7; }
#bug-report-dialog textarea { resize: vertical; min-height: 120px; }
@media (max-width: 760px) { .bug-report-button { left: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); padding: 8px 12px; } }
