:root {
  --ink: #101820;
  --muted: #65717c;
  --line: #d9dfe4;
  --paper: #f4f6f7;
  --white: #fff;
  --accent: #f2b84b;
  --accent-dark: #c98612;
  --success: #1b7a4a;
  --danger: #a93636;
  --warning: #9a6b12;
  --blue: #2f67b2;
  --green: #287b55;
  --orange: #bd6a1f;
  --red: #a33d43;
  --purple: #6e4ca3;
  --gray: #59646f;
  --shadow: 0 18px 50px rgba(16, 24, 32, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.global-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 58px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.brand-mini { text-decoration: none; font-weight: 900; letter-spacing: .18em; }
.language-switch { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.language-switch button { border: 0; background: transparent; padding: 6px; color: inherit; cursor: pointer; font-weight: 700; }
.language-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline 3px var(--accent); text-underline-offset: 5px; }

.landing { min-height: 100vh; padding: 120px 7vw 70px; display: grid; place-items: center; }
.hero { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: .76rem; text-transform: uppercase; letter-spacing: .19em; font-weight: 850; color: var(--muted); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.hero-description { max-width: 720px; margin: 28px 0 0; font-size: clamp(1.05rem, 1.8vw, 1.4rem); line-height: 1.6; color: #34424d; }
.product-by { margin: 20px 0 0; color: var(--muted); font-weight: 650; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-links { margin-top: 24px; display: flex; gap: 24px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.hero-links a:hover { color: var(--ink); }
.network-card { background: var(--ink); color: white; padding: 32px; border-radius: 22px; box-shadow: var(--shadow); }
.status-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.status-row span { color: #b9c2ca; }
.status-row strong { text-align: right; }
.notice-box { margin-top: 28px; }
.notice-box h2 { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.notice-box p { color: #cfd6db; line-height: 1.5; font-size: .92rem; }

.button { border: 1px solid var(--ink); border-radius: 10px; padding: 12px 18px; background: var(--white); color: var(--ink); font-weight: 750; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: #26323b; }
.button.secondary { border-color: var(--line); }
.button.compact { padding: 9px 12px; font-size: .86rem; }
.button.danger { color: var(--danger); border-color: #e8c1c1; }
.icon-button { border: 0; background: transparent; font-size: 1.7rem; cursor: pointer; }

.app-shell { padding-top: 58px; min-height: 100vh; display: grid; grid-template-columns: 264px 1fr; }
.sidebar { position: sticky; top: 58px; height: calc(100vh - 58px); padding: 24px 18px; background: var(--ink); color: white; display: flex; flex-direction: column; overflow-y: auto; }
.wallet-badge { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.08); border-left: 5px solid var(--gray); }
.wallet-badge.color-blue { border-left-color: var(--blue); }.wallet-badge.color-green { border-left-color: var(--green); }.wallet-badge.color-orange { border-left-color: var(--orange); }.wallet-badge.color-red { border-left-color: var(--red); }.wallet-badge.color-purple { border-left-color: var(--purple); }.wallet-badge.color-gray { border-left-color: #9aa3aa; }
.wallet-badge .wallet-state { display: block; font-size: .72rem; color: #aeb8c0; text-transform: uppercase; letter-spacing: .09em; }
.wallet-badge strong { display: block; margin-top: 8px; font-size: 1.15rem; overflow-wrap: anywhere; }
.wallet-badge small { display: block; margin-top: 6px; color: #aeb8c0; overflow-wrap: anywhere; }
.main-nav { margin: 22px -4px; display: grid; gap: 3px; }
.main-nav a { text-decoration: none; color: #c8d0d6; padding: 10px 12px; border-radius: 8px; font-size: .91rem; }
.main-nav a:hover, .main-nav a.active { color: white; background: rgba(255,255,255,.10); }
.main-nav a.active { box-shadow: inset 3px 0 var(--accent); }
.sidebar-actions { margin-top: auto; display: grid; gap: 8px; }
.sidebar-actions .button { background: transparent; color: white; border-color: rgba(255,255,255,.25); }
.sidebar-actions .danger { color: #ffb2b2; }
.workspace { min-width: 0; padding: 36px clamp(20px, 4vw, 58px) 70px; }
.workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.workspace-header h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.03em; }
.view { min-height: 450px; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 21px; box-shadow: 0 5px 18px rgba(16,24,32,.035); min-width: 0; }
.card h2, .card h3 { margin: 0 0 14px; }
.card h2 { font-size: 1.1rem; }.card h3 { font-size: .98rem; }
.card p { line-height: 1.55; }
.metric { font-size: 1.7rem; font-weight: 850; letter-spacing: -.03em; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border-radius: 999px; background: #eef1f3; font-size: .76rem; font-weight: 800; letter-spacing: .03em; }
.badge.success { background: #e4f4eb; color: var(--success); }.badge.warning { background: #fff2d6; color: var(--warning); }.badge.danger { background: #fae5e5; color: var(--danger); }.badge.dark { background: var(--ink); color: white; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e8ecef; vertical-align: top; }
th { background: #f8f9fa; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .055em; position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
.row-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.form-stack { display: grid; gap: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.asset-amount-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.2fr); gap:12px; align-items:end; }
.asset-amount-grid label { min-width:0; }
.asset-amount-grid [hidden] { display:none; }
.exchange-leg .asset-amount-grid { grid-template-columns:1fr; }
label { display: grid; gap: 7px; font-size: .84rem; font-weight: 720; color: #3d4b55; }
input, select, textarea { width: 100%; border: 1px solid #cbd3d9; border-radius: 9px; padding: 11px 12px; background: white; color: var(--ink); }
textarea { min-height: 112px; resize: vertical; font-family: inherit; }
textarea.code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,103,178,.18); border-color: var(--blue); }
.form-note { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; background: white; cursor: pointer; }
.tabs button.active { background: var(--ink); color: white; border-color: var(--ink); }
.list { display: grid; gap: 10px; }
.list-item { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.list-item header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.list-item h3 { margin: 0; font-size: .98rem; }
.list-item p { margin: 8px 0 0; }

.timeline { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 9px; bottom: 9px; width: 2px; background: var(--line); }
.timeline-item { position: relative; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); }

.tree { display: grid; gap: 10px; }
.tree-node { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; margin-left: calc(var(--depth, 0) * 22px); }
.tree-node .node-mark { width: 14px; height: 14px; border-radius: 4px; background: #dce2e6; }
.tree-node[data-state="COMMITTED"] .node-mark, .tree-node[data-state="COMPLETED"] .node-mark { background: var(--success); }
.tree-node[data-state*="FAILED"] .node-mark { background: var(--danger); }
.tree-node[data-state="ACTIVE"] .node-mark, .tree-node[data-state="WAITING"] .node-mark { background: var(--accent); }

.proof-chain { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.proof-layer { background: white; border: 1px solid var(--line); border-top: 4px solid #aab4bc; border-radius: 10px; padding: 14px; min-height: 115px; }
.proof-layer.pass { border-top-color: var(--success); }.proof-layer.missing { border-top-color: var(--danger); }.proof-layer.pending { border-top-color: var(--warning); }
.proof-layer strong { display: block; margin-bottom: 8px; }

.raw-panel { margin-top: 12px; }
.raw-panel summary { cursor: pointer; color: var(--blue); font-weight: 700; }
pre { max-height: 520px; overflow: auto; margin: 10px 0 0; padding: 16px; border-radius: 10px; background: #111a21; color: #d8e1e7; font-size: .78rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty { padding: 34px; text-align: center; color: var(--muted); background: white; border: 1px dashed #c7cfd5; border-radius: 12px; }
.warning-box { background: #fff7e7; border: 1px solid #ecd49e; border-radius: 10px; padding: 13px 15px; color: #755419; }
.info-box { background: #eaf2fa; border: 1px solid #bdd3ea; border-radius: 10px; padding: 13px 15px; color: #24517d; }

.wallet-dialog { width: min(560px, calc(100vw - 30px)); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.wallet-dialog::backdrop { background: rgba(8,14,18,.62); backdrop-filter: blur(4px); }
.dialog-header { padding: 20px 22px 10px; display: flex; justify-content: space-between; align-items: center; }
.dialog-header h2 { margin: 0; }
.dialog-tabs { display: flex; padding: 0 22px; border-bottom: 1px solid var(--line); }
.dialog-tabs button { border: 0; background: transparent; padding: 12px 15px; cursor: pointer; color: var(--muted); }
.dialog-tabs button.active { color: var(--ink); border-bottom: 3px solid var(--accent); }
.wallet-dialog > .form-stack { padding: 22px; }
.dialog-help { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: min(430px, calc(100vw - 44px)); padding: 14px 18px; background: var(--ink); color: white; border-radius: 10px; box-shadow: var(--shadow); }
.toast.error { background: var(--danger); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 38px; }
  .network-card { max-width: 620px; }
  .app-shell { grid-template-columns: 215px 1fr; }
  .grid.four, .grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .proof-chain { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .global-header { padding: 0 16px; }
  .landing { padding: 100px 20px 45px; }
  .app-shell { display: block; }
  .sidebar { position: static; height: auto; padding: 16px; }
  .main-nav { display: flex; overflow-x: auto; margin: 14px -4px; }
  .main-nav a { flex: 0 0 auto; }
  .sidebar-actions { display: flex; }
  .workspace { padding: 24px 16px 50px; }
  .workspace-header { align-items: center; }
  .grid.two, .grid.three, .grid.four, .form-grid, .proof-chain { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.7rem; }
  .tree-node { margin-left: 0; }
}

.wallet-switcher { padding: 0 14px 12px; }
.wallet-switcher label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.wallet-switcher select { width: 100%; min-width: 0; }
.alpha-message { border-inline-start: 4px solid transparent; }
.alpha-message.action { border-inline-start-color: #b26a00; }
.alpha-message.terminal { border-inline-start-color: #2f7d4a; }
.alpha-message.waiting { border-inline-start-color: #59758c; }
.compact-grid { gap: 10px; margin: 10px 0; }
.compact-grid p { margin: 3px 0 0; }
.journey-grid { display: grid; gap: 12px; }
.journey-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface-soft); }
.journey-card h3 { margin-top: 0; }
.journey-card ol { padding-inline-start: 22px; font-size: 13px; color: var(--muted); }
.success-box { border-color: #6fae7f; }
.button.warning { border-color: #b26a00; color: #7a4900; }
@media (max-width: 760px) { .compact-grid { grid-template-columns: 1fr; } }

/* IMP-024A — common-user default surface and progressive disclosure */
.nav-label { margin: 14px 12px 5px; color: #8e9aa3; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.advanced-nav { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.advanced-nav > summary { cursor: pointer; list-style: none; padding: 10px 12px; border-radius: 8px; color: #aeb8c0; font-size: .84rem; font-weight: 760; }
.advanced-nav > summary::-webkit-details-marker { display: none; }
.advanced-nav > summary::after { content: '＋'; float: right; }
.advanced-nav[open] > summary::after { content: '−'; }
.advanced-nav-links { display: grid; gap: 3px; padding-top: 4px; }
.advanced-nav-links a { padding-inline-start: 20px; font-size: .84rem; }

.welcome-panel, .operation-intro { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding: 26px; border-radius: 18px; background: linear-gradient(135deg, #fff 0%, #fffaf0 100%); border: 1px solid #eadbbd; box-shadow: 0 10px 32px rgba(16,24,32,.055); }
.welcome-panel h2, .operation-intro h2 { margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.45rem); letter-spacing: -.035em; }
.welcome-panel p:last-child, .operation-intro p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.task-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.task-card { min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 5px 18px rgba(16,24,32,.035); }
.task-card:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(16,24,32,.08); border-color: #bcc7ce; }
.task-card.primary-task { background: var(--ink); color: white; border-color: var(--ink); }
.task-card strong { font-size: 1rem; }
.task-card small { color: inherit; opacity: .72; line-height: 1.45; }
.task-icon { display: grid; place-items: center; min-width: 37px; height: 37px; padding-inline: 9px; border-radius: 11px; background: rgba(242,184,75,.22); color: inherit; font-weight: 900; }
.section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.friendly-table th { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.friendly-table td { font-size: .94rem; }
.technical-drawer { border: 1px solid var(--line); border-radius: 14px; background: #eef2f4; overflow: hidden; }
.technical-drawer > summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 16px 18px; font-weight: 800; }
.technical-drawer > summary small { color: var(--muted); font-weight: 500; }
.technical-drawer-body { padding: 0 18px 18px; }
.technical-drawer .card { box-shadow: none; }

.operation-intro { align-items: center; }
.privacy-promise { display: grid; gap: 4px; min-width: min(320px, 100%); padding: 14px 16px; border-radius: 12px; background: #e8f5ed; color: #225b3d; }
.privacy-promise span { font-size: .8rem; line-height: 1.4; }
.guided-form { display: grid; gap: 16px; margin-top: 18px; }
.step-card { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 5px 18px rgba(16,24,32,.035); }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: white; font-weight: 900; }
.step-content > h2 { margin: 2px 0 5px; font-size: 1.2rem; }
.step-content > p { margin: 0 0 18px; color: var(--muted); }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.choice-card { display: flex; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink); }
.choice-card:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,103,178,.12); background: #f5f9ff; }
.choice-card input { width: auto; margin-top: 4px; }
.choice-card span { display: grid; gap: 4px; }
.choice-card small { color: var(--muted); font-weight: 500; line-height: 1.4; }
.party-builders { display: grid; gap: 13px; }
.party-builder { border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: #fafbfb; }
.party-builder-heading { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.party-builder-heading h3 { margin: 0 0 3px; }
.party-builder-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.party-list { display: grid; gap: 8px; margin: 13px 0; }
.party-empty { padding: 12px; border: 1px dashed #c8d0d5; border-radius: 9px; color: var(--muted); font-size: .84rem; background: white; }
.party-item { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 11px 12px; border: 1px solid #dce2e6; border-radius: 10px; background: white; }
.party-item div:first-child { display: grid; gap: 3px; min-width: 0; }
.party-item small { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.party-add-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 9px; align-items: end; }
.selection-summary { margin: 14px 0 0; color: var(--muted); font-size: .86rem; }
.exchange-legs { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 13px; align-items: center; }
.exchange-leg { padding: 15px; border-radius: 13px; border: 1px solid var(--line); }
.exchange-leg > span { display: block; margin-bottom: 12px; font-weight: 850; }
.exchange-leg.offered { background: #fff9ed; }
.exchange-leg.requested { background: #eef7f2; }
.exchange-arrow { font-size: 1.7rem; font-weight: 900; color: var(--muted); }
.review-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px; border-radius: 16px; background: var(--ink); color: white; }
.review-card h2 { margin: 0 0 5px; }
.review-card p { margin: 0; color: #cbd4da; }
.button.large { padding: 13px 19px; min-width: 220px; }
.developer-tools { border: 1px dashed #aab6be; border-radius: 14px; background: #f0f3f5; }
.developer-tools > summary { cursor: pointer; padding: 15px 18px; color: var(--muted); font-weight: 780; }
.developer-tools-body { padding: 0 18px 18px; }
.operation-success { margin-top: 18px; }

@media (max-width: 1080px) {
  .task-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .nav-label { display: none; }
  .advanced-nav { min-width: max-content; border: 0; padding: 0; margin: 0; }
  .advanced-nav-links { display: flex; }
  .welcome-panel, .operation-intro, .review-card { flex-direction: column; }
  .task-grid, .choice-cards { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 34px minmax(0,1fr); padding: 17px; }
  .step-number { width: 32px; height: 32px; }
  .party-add-row { grid-template-columns: 1fr; }
  .party-item { align-items: flex-start; flex-direction: column; }
  .exchange-legs { grid-template-columns: 1fr; }
  .exchange-arrow { transform: rotate(90deg); justify-self: center; }
  .button.large { width: 100%; min-width: 0; }
}

/* IMP-024A2 — confirmation-first signing and human-readable activity */
.operation-review-panel { display: grid; gap: 18px; margin-top: 18px; padding: 26px; border: 1px solid #d6dee3; border-radius: 18px; background: white; box-shadow: 0 12px 34px rgba(16,24,32,.07); }
.review-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.review-heading h2 { margin: 0 0 5px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.review-heading p:last-child { margin: 0; color: var(--muted); }
.review-exchange { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: linear-gradient(90deg, #fff9ed, #f5f9ff 50%, #eef7f2); }
.review-exchange > div:not(.review-arrow) { display: grid; gap: 5px; }
.review-exchange span { color: var(--muted); font-size: .8rem; }
.review-exchange strong { font-size: 1.25rem; }
.review-arrow { font-size: 1.7rem; font-weight: 900; color: var(--muted); }
.review-section { display: grid; gap: 10px; }
.review-section h3 { margin: 0; }
.review-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 10px; }
.review-person { display: grid; gap: 3px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fafbfb; }
.review-person span { color: var(--muted); font-size: .75rem; }
.review-note-state { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #edf5ff; color: #244d78; }
.review-note-state span { font-size: .82rem; line-height: 1.45; }
.signing-warning { padding: 15px 17px; border: 1px solid #ead3a2; border-radius: 12px; background: #fff8e8; }
.signing-warning p { margin: 5px 0 0; color: #6f5727; }
.review-actions { display: flex; justify-content: flex-end; gap: 10px; }
.activity-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 26px; border: 1px solid #d7e0e5; border-radius: 17px; background: linear-gradient(135deg, #fff, #f4f8fb); }
.activity-intro h2 { margin: 0 0 5px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.activity-intro p:last-child { max-width: 720px; margin: 0; color: var(--muted); }
.activity-list { display: grid; gap: 11px; }
.activity-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 4px 15px rgba(16,24,32,.03); }
.activity-card-main { display: flex; align-items: center; gap: 13px; min-width: 0; }
.activity-card-main h3 { margin: 0 0 3px; }
.activity-card-main p { margin: 0; color: var(--muted); font-size: .86rem; }
.activity-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: #edf2f5; font-weight: 900; }
.activity-card[data-activity-status="COMPLETED"] .activity-icon { background: #e8f5ed; color: #225b3d; }
.activity-card[data-activity-status="ATTENTION"] .activity-icon { background: #fff0ef; color: #9b2e29; }
.activity-card-actions { display: flex; gap: 9px; align-items: center; }
.activity-technical { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 9px; }
.activity-technical > summary { cursor: pointer; color: var(--muted); font-size: .8rem; }
.activity-technical p { margin: 8px 0 0; }
@media (max-width: 720px) {
  .review-heading, .activity-intro { flex-direction: column; }
  .review-exchange { grid-template-columns: 1fr; }
  .review-arrow { transform: rotate(90deg); justify-self: center; }
  .review-actions { flex-direction: column-reverse; }
  .review-actions .button { width: 100%; }
  .activity-card { grid-template-columns: 1fr; }
  .activity-card-actions { justify-content: space-between; }
}

/* IMP-024A3 — human-readable requests and safe review */
.inbox-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 26px; margin-bottom: 18px; border: 1px solid #d7e0e5; border-radius: 17px; background: linear-gradient(135deg, #fff, #f7f9fb); }
.inbox-intro h2 { margin: 0 0 5px; font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
.inbox-intro p:last-child { max-width: 740px; margin: 0; color: var(--muted); }
.inbox-category-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.inbox-category-tabs .badge { min-height: 21px; padding: 2px 7px; font-size: .7rem; }
.inbox-list { display: grid; gap: 11px; }
.inbox-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 4px 15px rgba(16,24,32,.03); }
.inbox-card[data-inbox-category="ACTION_REQUIRED"] { border-color: #e2c786; box-shadow: 0 6px 20px rgba(133,91,0,.07); }
.inbox-card-main { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
.inbox-status-mark { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: #edf2f5; color: var(--muted); font-weight: 900; }
.inbox-card[data-inbox-category="ACTION_REQUIRED"] .inbox-status-mark { background: #fff2d6; color: #7a4900; }
.inbox-card[data-inbox-category="HISTORY"] .inbox-status-mark { background: #e8f5ed; color: #225b3d; }
.inbox-card-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.inbox-card-heading h3 { margin: 0; }
.inbox-card p { margin: 5px 0 0; }
.inbox-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 9px; font-size: .82rem; color: var(--muted); }
.inbox-review-panel { margin-bottom: 18px; padding: 23px; border: 1px solid #bccbd5; border-radius: 17px; background: #fff; box-shadow: 0 12px 30px rgba(16,24,32,.07); }
.inbox-review-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.inbox-review-heading h2 { margin: 0 0 5px; }
.inbox-review-heading p:last-child { margin: 0; max-width: 730px; color: var(--muted); }
.inbox-review-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.inbox-review-grid article { display: grid; gap: 5px; align-content: start; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.inbox-review-grid article small, .inbox-review-grid article span { color: var(--muted); overflow-wrap: anywhere; }
.safety-box { margin: 15px 0; padding: 15px 17px; border-left: 4px solid #2f67b2; border-radius: 10px; background: #f4f8ff; }
.safety-box p { margin: 5px 0 0; }
.inbox-technical { margin-top: 15px; }
@media (max-width: 900px) {
  .inbox-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .inbox-intro, .inbox-review-heading { flex-direction: column; }
  .inbox-card { grid-template-columns: 1fr; }
  .inbox-card > .button { width: 100%; }
  .inbox-review-grid { grid-template-columns: 1fr; }
}

/* IMP-024A4 — intent-centered Wallet, protocol mailbox, and explicit complete mode */
.experience-switcher { margin: 14px 0 2px; padding: 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.05); }
.experience-switcher > span { display: block; margin-bottom: 8px; color: #aeb8c0; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.experience-switcher small { display: block; margin-top: 8px; color: #aeb8c0; line-height: 1.4; }
.segmented-control { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 3px; border-radius: 9px; background: rgba(0,0,0,.24); }
.segmented-control button { min-width: 0; padding: 8px 3px; border: 0; border-radius: 7px; background: transparent; color: #cbd3d8; font-size: .7rem; font-weight: 800; letter-spacing: -.01em; cursor: pointer; }
.segmented-control button.active { background: white; color: var(--ink); }
.mailbox-nav-link { display: flex !important; align-items: center; justify-content: space-between; gap: 9px; }
.nav-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .7rem; font-weight: 900; }
body[data-experience-mode="COMPLETE"] .workspace { background-image: linear-gradient(rgba(47,103,178,.025), rgba(47,103,178,0) 280px); }

/* IMP-024C1 — graduated disclosure, dual-density Inbox and state-aware flow maps */
.mailbox-intro-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.inbox-layout-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #f3f6f8; }
.inbox-layout-switch .button { border-color: transparent; box-shadow: none; }
.inbox-layout-switch .button.active { background: #fff; border-color: #c6d0d7; color: var(--ink); box-shadow: 0 2px 7px rgba(16,24,32,.08); }
.inbox-table td { vertical-align: middle; }
.inbox-table td > strong, .inbox-table td > small { display: block; }
.inbox-table td > small { margin-top: 3px; color: var(--muted); }
.inbox-list-state { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #edf2f5; font-weight: 900; }
.inbox-table tr[data-inbox-category="ACTION_REQUIRED"] .inbox-list-state { background: #fff2d6; color: #7a4900; }
.inbox-table tr[data-inbox-category="HISTORY"] .inbox-list-state { background: #e8f5ed; color: #225b3d; }
.flow-map { margin: 18px 0; padding: 18px 20px; border: 1px solid #d5dfe5; border-radius: 16px; background: linear-gradient(135deg,#fff,#f7fafb); overflow: hidden; }
.flow-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.flow-heading h3 { margin: 0; }
.flow-map ol { display: grid; grid-template-columns: repeat(var(--flow-columns,5),minmax(0,1fr)); gap: 0; margin: 17px 0 0; padding: 0; list-style: none; }
.flow-map[data-flow-family="PAYMENT_REQUEST"] ol, .flow-map[data-flow-family="GTX"] ol { --flow-columns: 4; }
.flow-step { position: relative; display: grid; justify-items: center; gap: 8px; min-width: 0; padding: 0 8px; text-align: center; }
.flow-step::before { content: ''; position: absolute; z-index: 0; top: 16px; left: -50%; width: 100%; height: 3px; background: #dbe2e6; }
.flow-step:first-child::before { display: none; }
.flow-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #dbe2e6; border-radius: 50%; background: #fff; color: var(--muted); font-weight: 900; }
.flow-step div { display: grid; gap: 3px; min-width: 0; }
.flow-step strong { font-size: .8rem; overflow-wrap: anywhere; }
.flow-step small { color: var(--muted); font-size: .69rem; }
.flow-step[data-flow-state="COMPLETE"]::before, .flow-step[data-flow-state="CURRENT"]::before, .flow-step[data-flow-state="TERMINAL"]::before { background: #73a38a; }
.flow-step[data-flow-state="COMPLETE"] .flow-marker, .flow-step[data-flow-state="TERMINAL"] .flow-marker { border-color: #3f8060; background: #e8f5ed; color: #225b3d; }
.flow-step[data-flow-state="CURRENT"] .flow-marker { border-color: #2f67b2; background: #edf5ff; color: #244d78; box-shadow: 0 0 0 5px rgba(47,103,178,.10); }
.flow-step[data-flow-state="REACHABLE"] .flow-marker { border-style: dashed; border-color: #8da4b2; }
.flow-step[data-flow-state="BLOCKED"] .flow-marker { border-color: #c08b27; background: #fff2d6; color: #7a4900; }
.flow-source { display: none; margin: 15px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
body[data-experience-mode="DETAILS"] .flow-source, body[data-experience-mode="COMPLETE"] .flow-source { display: block; }
body[data-experience-mode="GUIDED"] .flow-step small { display: none; }
@media (max-width: 760px) {
  .flow-map ol { display: grid; grid-template-columns: 1fr; gap: 0; }
  .flow-step { grid-template-columns: 34px 1fr; justify-items: start; align-items: center; padding: 8px 0; text-align: left; }
  .flow-step::before { top: -50%; left: 16px; width: 3px; height: 100%; }
  .mailbox-intro-actions { justify-content: flex-start; }
}

.intent-welcome { align-items: center; }
.intent-section { display: grid; gap: 13px; }
.intent-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.intent-card { display: flex; align-items: flex-start; gap: 13px; min-height: 145px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 5px 18px rgba(16,24,32,.035); }
.intent-card:hover { transform: translateY(-2px); border-color: #b7c3ca; box-shadow: 0 12px 26px rgba(16,24,32,.08); }
.intent-card > span:last-child { display: grid; gap: 7px; }
.intent-card strong { font-size: 1rem; line-height: 1.25; }
.intent-card small { color: var(--muted); line-height: 1.45; }
.intent-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: #edf2f5; font-weight: 900; }
.intent-card.primary-intent { background: var(--ink); border-color: var(--ink); color: white; }
.intent-card.primary-intent small { color: #cbd4da; }
.intent-card.primary-intent .intent-icon { background: rgba(242,184,75,.2); color: var(--accent); }
.intent-card.complete-intent { border-style: dashed; background: #f7f9fa; }
.mailbox-alert { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #e0be6a; border-radius: 14px; background: #fff8e7; color: var(--ink); text-align: left; cursor: pointer; }
.mailbox-alert:hover { border-color: #be8a18; }
.mailbox-alert span:nth-child(2) { display: grid; gap: 3px; }
.mailbox-alert small, .mailbox-clear small { color: var(--muted); line-height: 1.4; }
.mailbox-alert-count { display: grid; place-items: center; min-width: 38px; height: 38px; padding-inline: 9px; border-radius: 12px; background: var(--ink); color: white; font-weight: 900; }
.mailbox-clear { display: flex; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid #bcd8c8; border-radius: 14px; background: #f1faf5; }
.mailbox-clear > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #dff2e7; color: var(--success); font-weight: 900; }
.mailbox-clear > div { display: grid; gap: 3px; }
.wallet-summary > summary { background: #eef2f4; }

.mailbox-intro-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mailbox-footnote { margin: 16px 2px 0; color: var(--muted); font-size: .8rem; }
.protocol-action-panel { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 16px 0; padding: 17px; border: 1px solid #bad0df; border-radius: 13px; background: #f5faff; }
.protocol-action-panel h3 { margin: 0 0 4px; }
.protocol-action-panel p { margin: 0; color: var(--muted); }
.protocol-action-form { align-items: flex-start; }
.protocol-action-form > div:first-child { flex: 1 1 320px; }
.protocol-action-form .protocol-work-form, .protocol-action-form .guided-resource-key-action { flex: 1 1 300px; margin: 0; padding: 14px; border-radius: 11px; background: white; border: 1px solid #d7e2e9; }
.guided-resource-key-action { display: grid; gap: 10px; }

.document-intro .privacy-promise { min-width: min(320px,100%); }
.file-drop { display: grid; gap: 9px; padding: 18px; border: 2px dashed #b9c5cc; border-radius: 13px; background: #fafcfd; cursor: pointer; }
.file-drop:hover { border-color: var(--blue); background: #f5f9ff; }
.file-drop input { width: 100%; }
.document-ready { display: flex; align-items: flex-start; gap: 13px; margin-top: 12px; padding: 14px; border: 1px solid #bcd8c8; border-radius: 12px; background: #f2faf5; }
.document-ready > div, .document-review-file > div { display: grid; gap: 4px; min-width: 0; }
.document-ready small, .document-review-file small { color: var(--muted); }
.document-file-icon { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 11px; background: #dff2e7; color: var(--success); font-weight: 900; }
.checkbox-row { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fafbfb; }
.checkbox-row input { width: auto; margin-top: 3px; }
.checkbox-row > span { display: grid; gap: 4px; }
.checkbox-row small { color: var(--muted); line-height: 1.4; }
.document-review-file { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfb; }
.hash-panel { display: grid; gap: 7px; padding: 16px; border-radius: 12px; background: var(--ink); color: white; }
.hash-panel small { color: #bfc9d0; }
.hash-panel strong { overflow-wrap: anywhere; }
.plain-check-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.plain-check-list li { padding: 9px 11px; border-radius: 9px; background: #f1f7f3; color: #225b3d; }
.document-success { margin-top: 18px; }

@media (max-width: 1050px) {
  .intent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .experience-switcher { min-width: 245px; }
  .intent-grid { grid-template-columns: 1fr; }
  .intent-card { min-height: 0; }
  .protocol-action-panel { flex-direction: column; align-items: stretch; }
  .mailbox-intro-actions { width: 100%; }
  .mailbox-intro-actions .button { flex: 1; }
}

.history-controls { display:grid; gap:16px; }
.transaction-history-card, .role-work-card { border-left:4px solid var(--accent, #425466); }
.history-identities { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.identity-chip { display:inline-flex; flex-direction:column; gap:2px; border:1px solid #d6dce2; border-radius:999px; padding:6px 10px; background:#fff; font-size:.82rem; }
.identity-chip small { font-family:ui-monospace, SFMono-Regular, Menlo, monospace; opacity:.7; max-width:260px; overflow:hidden; text-overflow:ellipsis; }
.capability-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.capability-indicator { border:1px solid #d6dce2; border-radius:10px; padding:12px; display:flex; justify-content:space-between; gap:10px; }
.capability-indicator.available { border-color:#76a985; background:#f2fbf4; }
.capability-indicator.unavailable { background:#f5f6f7; color:#59636e; }
.resource-management { border:2px solid #c7d2dc; }
.resource-management .timeline { max-height:420px; overflow:auto; }
.success-box { margin-top:14px; padding:14px; border:1px solid #76a985; border-radius:10px; background:#f2fbf4; }
@media (max-width: 760px) { .history-controls .form-grid { grid-template-columns:1fr; } .transaction-history-card { align-items:stretch; } }

/* IMP-024C2 — canonical Transfer/Managed maps, humane details and resilient interaction */
:where(button, a, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #2f67b2;
  outline-offset: 3px;
}
.transaction-inspection:focus, .operation-review-panel:focus, .flow-map:focus, .success-box:focus { outline: none; }
.flow-details, .recovery-details { margin-top: 16px; border: 1px solid #d7e0e5; border-radius: 12px; background: rgba(255,255,255,.78); }
.flow-details > summary, .recovery-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 15px; cursor: pointer; font-weight: 800; }
.flow-details > summary small, .recovery-details > summary small { color: var(--muted); font-weight: 500; }
.flow-context-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; padding: 0 14px 14px; }
.flow-context-grid > div { display: grid; gap: 5px; min-width: 0; padding: 12px; border-radius: 10px; background: #f3f6f8; }
.flow-context-grid small { color: var(--muted); }
.flow-context-grid strong { font-size: .82rem; overflow-wrap: anywhere; }
.flow-map[data-flow-family="MANAGED"] ol { --flow-columns: 6; }
.managed-action-panel > .flow-map { background: #f8fafb; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.recovery-details { margin: 18px 0 0; background: #fff; }
.recovery-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0 15px 15px; list-style: none; }
.recovery-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border-radius: 11px; background: var(--surface-soft); }
.recovery-steps li > span { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 900; }
.recovery-steps li > div { display: grid; gap: 5px; }
.recovery-steps small { color: var(--muted); line-height: 1.4; }
.recovery-readiness { padding: 10px 12px; border: 1px solid #d4dde2; border-radius: 9px; background: #f5f7f8; color: var(--muted); font-size: .82rem; }
.recovery-readiness[data-state="READY"] { border-color: #76a985; background: #f2fbf4; color: #225b3d; font-weight: 800; }
.recovery-readiness[data-state="MISMATCH"], .recovery-readiness[data-state="SHORT"] { border-color: #dfba71; background: #fff8e7; color: #7a4900; }
@media (max-width: 900px) {
  .flow-context-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .recovery-steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .flow-map[data-flow-family="MANAGED"] ol { grid-template-columns: 1fr; }
  .flow-details > summary, .recovery-details > summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .inbox-table { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .inbox-table table { min-width: 680px; }
}
@media (max-width: 720px) {
  .experience-switcher { width: 100%; min-width: 0; }
  :where(.button, .segmented-control button, nav a, summary) { min-height: 44px; }
  .mailbox-intro-actions .inbox-layout-switch { width: 100%; }
  .inbox-layout-switch .button { flex: 1; }
}
@media (max-width: 480px) {
  .flow-map { padding: 15px; border-radius: 13px; }
  .flow-heading { flex-direction: column; }
  .flow-context-grid { grid-template-columns: 1fr; }
  .workspace-header { align-items: flex-start; flex-direction: column; }
  .workspace-header > div:last-child { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* IMP-024C3 — persistent identity and safe Receive/activation surface */
.identity-card .section-heading { align-items: flex-start; }
.receive-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 20px; align-items: start; }
.receive-card { display: grid; justify-items: center; gap: 18px; text-align: center; }
.receive-card > div:first-child { justify-self: stretch; text-align: left; }
.receive-qr { width: min(100%, 320px); aspect-ratio: 1; padding: 12px; border: 1px solid #d5dde2; border-radius: 18px; background: #fff; }
.receive-address { width: 100%; display: grid; gap: 7px; padding: 15px; border-radius: 12px; background: #f1f7f3; color: #225b3d; }
.receive-address.pending { background: #fff8e7; color: #7a4900; }
.receive-address strong { overflow-wrap: anywhere; }
@media (max-width: 820px) { .receive-layout { grid-template-columns: 1fr; } }
