:root {
    color-scheme: dark;
    --sa-bg: #07101c;
    --sa-panel: rgba(13, 25, 41, 0.92);
    --sa-panel-soft: rgba(18, 35, 55, 0.72);
    --sa-line: rgba(151, 177, 207, 0.18);
    --sa-text: #f2f7fd;
    --sa-muted: #9eb0c4;
    --sa-blue: #5b8cff;
    --sa-green: #43d19e;
    --sa-amber: #f4bd62;
    --sa-red: #ff7373;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body.shadows-automation-page {
    margin: 0;
    min-height: 100vh;
    color: var(--sa-text);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    background:
        radial-gradient(circle at 18% -4%, rgba(64, 106, 190, 0.23), transparent 32rem),
        radial-gradient(circle at 90% 20%, rgba(62, 194, 151, 0.08), transparent 28rem),
        var(--sa-bg);
}

.sa-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--sa-line);
    background: rgba(7, 16, 28, 0.9);
    backdrop-filter: blur(18px);
}

.sa-header__inner,
.sa-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.sa-header__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sa-brand,
.sa-back {
    color: var(--sa-text);
    text-decoration: none;
}

.sa-brand { display: flex; align-items: center; gap: 11px; }
.sa-brand img { width: 36px; height: 36px; border-radius: 10px; }
.sa-brand strong { display: block; font-size: 14px; }
.sa-brand small { display: block; color: var(--sa-muted); font-size: 11px; margin-top: 2px; }
.sa-back { color: #c9d7e8; font-weight: 750; font-size: 13px; }

.sa-main { padding: 42px 0 72px; }

.sa-main--flow {
    width: min(760px, calc(100% - 32px));
    padding-top: 34px;
}

#member-tool-content:not([hidden]) { display: contents; }

.sa-membership-gate {
    display: grid;
    max-width: 620px;
    margin: 18px auto 0;
    padding: clamp(28px, 7vw, 48px);
    place-items: center;
    border: 1px solid var(--sa-line);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(17, 34, 54, .96), rgba(9, 21, 36, .96));
    box-shadow: 0 28px 72px rgba(0, 0, 0, .25);
    text-align: center;
}
.sa-membership-gate__eyebrow {
    color: #8facff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .11em;
}
.sa-membership-gate__icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-top: 18px;
    place-items: center;
    border: 1px solid rgba(244, 189, 98, .42);
    border-radius: 18px;
    color: #2a1b05;
    background: linear-gradient(145deg, #f7d58d, #dca94d);
    box-shadow: 0 16px 38px rgba(220, 169, 77, .16);
    font-size: 13px;
    font-weight: 900;
}
.sa-membership-gate h1 {
    margin: 18px 0 8px;
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -.04em;
}
.sa-membership-gate > p {
    max-width: 460px;
    margin: 0;
    color: var(--sa-muted);
    font-size: 13px;
    line-height: 1.7;
}
.sa-membership-gate__identity {
    display: grid;
    width: min(100%, 380px);
    margin-top: 22px;
    padding: 12px 14px;
    gap: 4px;
    border: 1px solid var(--sa-line);
    border-radius: 12px;
    background: rgba(0, 0, 0, .14);
}
.sa-membership-gate__identity span { color: var(--sa-muted); font-size: 10px; }
.sa-membership-gate__identity strong { color: var(--sa-text); font-size: 14px; }
.sa-membership-gate[data-state="allowed"] .sa-membership-gate__identity strong { color: var(--sa-green); }
.sa-membership-gate[data-state="denied"] .sa-membership-gate__identity strong { color: var(--sa-amber); }
.sa-membership-gate[data-state="error"] .sa-membership-gate__identity strong { color: var(--sa-red); }
.sa-membership-gate__actions {
    display: flex;
    width: min(100%, 460px);
    margin-top: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}
.sa-membership-gate__actions .sa-button,
.sa-membership-gate__actions .sa-session-button {
    min-height: 44px;
    padding: 0 16px;
    text-decoration: none;
}
.sa-membership-gate__actions .sa-button { display: inline-flex; min-width: 180px; align-items: center; justify-content: center; }
.sa-session-button.is-membership { border-color: rgba(244,189,98,.35); color: #f7d58d; background: rgba(244,189,98,.08); }
.sa-membership-gate__note { max-width: 480px; margin-top: 16px; color: #71859d; font-size: 10px; line-height: 1.6; }

.sa-flow-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 2px 16px;
}
.sa-flow-header p,
.sa-focus-copy p { margin: 0; color: #8facff; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.sa-flow-header h1 { margin: 7px 0 0; font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1.1; letter-spacing: -.035em; }
.sa-stage-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(91,140,255,.28);
    border-radius: 999px;
    color: #cfe0ff;
    background: rgba(91,140,255,.1);
    font-size: 11px;
    font-weight: 800;
}

.sa-wallet-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
    padding: 9px 12px;
    border: 1px solid var(--sa-line);
    border-radius: 12px;
    background: rgba(14, 28, 46, .82);
}
.sa-wallet-session span { display: block; color: var(--sa-muted); font-size: 10px; }
.sa-wallet-session strong { display: block; color: #dbe9f9; font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.sa-wallet-session__identity { min-width: 0; flex: 1 1 auto; }
.sa-wallet-session__control { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex: 0 1 auto; }
.sa-wallet-session small { color: var(--sa-green); font-size: 11px; font-weight: 800; line-height: 1.5; text-align: right; }
.sa-wallet-session__actions { display: flex; gap: 7px; flex: 0 0 auto; }
.sa-address-line { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.sa-session-button {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(91,140,255,.28);
    border-radius: 9px;
    color: #c9daed;
    background: rgba(91,140,255,.07);
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.sa-session-button.is-exit { border-color: rgba(255,115,115,.27); color: #ffcaca; background: rgba(255,115,115,.07); }
.sa-session-button:disabled { opacity: .42; cursor: not-allowed; }
.sa-copy-button {
    min-height: 24px;
    padding: 0 7px;
    border: 1px solid rgba(151,177,207,.22);
    border-radius: 7px;
    color: #aecaeb;
    background: rgba(255,255,255,.035);
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}
.sa-copy-button:disabled { opacity: .35; cursor: not-allowed; }

.sa-flow-notice { margin: 12px 0 0; }
.sa-flow-feedback {
    margin: 12px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 12px;
}
.sa-failure-diagnostic {
    margin: 10px 0 0;
    padding: 12px 13px;
    border: 1px solid rgba(255, 115, 115, .24);
    border-radius: 12px;
    background: rgba(255, 115, 115, .055);
}
.sa-failure-diagnostic__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sa-failure-diagnostic__head > div { min-width: 0; }
.sa-failure-diagnostic__head strong,
.sa-failure-diagnostic__head span { display: block; }
.sa-failure-diagnostic__head strong { color: #ffd1d1; font-size: 12px; }
.sa-failure-diagnostic__head span { margin-top: 3px; color: var(--sa-muted); font-size: 10px; line-height: 1.5; }
.sa-failure-diagnostic__head .sa-session-button { flex: 0 0 auto; }
.sa-failure-diagnostic__status { display: block; min-height: 1.4em; margin-top: 7px; color: var(--sa-muted); font-size: 10px; }
.sa-failure-diagnostic__status[data-state="allowed"] { color: var(--sa-green); }
.sa-failure-diagnostic__status[data-state="denied"] { color: #ffb1b1; }
.sa-failure-diagnostic__details { margin-top: 8px; background: rgba(0, 0, 0, .12); }
.sa-failure-diagnostic__details textarea {
    display: block;
    width: calc(100% - 30px);
    min-height: 188px;
    margin-top: 0;
    padding: 11px;
    resize: vertical;
    border: 1px solid var(--sa-line);
    border-radius: 9px;
    color: #c8d8e9;
    background: rgba(3, 10, 18, .72);
    font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sa-focus-panel { padding: clamp(24px, 5vw, 38px); }
.sa-focus-copy { text-align: center; }
.sa-focus-copy h2 { margin: 10px 0 9px; font-size: clamp(1.7rem, 5vw, 2.5rem); }
.sa-focus-copy > span { display: block; max-width: 520px; margin: 0 auto; color: var(--sa-muted); font-size: 13px; line-height: 1.7; }
.sa-primary-actions { justify-content: center; margin-top: 24px; }
.sa-primary-actions .sa-button { min-width: min(100%, 280px); min-height: 50px; font-size: 14px; }
.sa-stage-panel { margin-top: 14px; }
.sa-panel__head--compact { margin-bottom: 14px; }
.sa-panel__head--compact h2 { font-size: 1.55rem; }
.sa-runtime-actions { margin-top: 14px; }
.sa-operation-panel .sa-runtime-actions { margin-top: 0; }
.sa-gas-guidance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 14px 0 0;
    padding: 13px 15px;
}
.sa-gas-guidance[hidden] { display: none; }
.sa-gas-guidance__copy { min-width: 0; }
.sa-gas-guidance__copy span { display: block; margin-top: 3px; }
.sa-gas-guidance__address { display: block; margin-top: 7px; overflow-wrap: anywhere; color: #dbeafe; }
.sa-gas-guidance__action { flex: 0 0 auto; min-width: 188px; min-height: 44px; }
.sa-history-panel .sa-panel__head { align-items: center; }
.sa-history-panel .sa-details:first-of-type { margin-top: 0; }

.sa-details {
    margin-top: 18px;
    border: 1px solid var(--sa-line);
    border-radius: 14px;
    background: rgba(0,0,0,.11);
    overflow: hidden;
}
.sa-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 0 15px;
    color: #b7c8dc;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 750;
}
.sa-details > summary::-webkit-details-marker { display: none; }
.sa-details > summary::after { content: "展开"; color: #7f9bc0; font-size: 10px; }

@media (max-width: 640px) {
    .sa-gas-guidance { align-items: flex-start; flex-direction: column; }
    .sa-failure-diagnostic__head { align-items: stretch; flex-direction: column; }
    .sa-failure-diagnostic__head .sa-session-button { width: 100%; min-height: 42px; }
}
.sa-details[open] > summary::after { content: "收起"; }
.sa-details > summary strong { margin-left: auto; color: var(--sa-muted); font-size: 11px; font-weight: 650; }
.sa-details > :not(summary) { margin-left: 15px; margin-right: 15px; }
.sa-details > :last-child { margin-bottom: 15px; }
.sa-details .sa-wallet-form,
.sa-details .sa-status-grid { margin-top: 0; padding-top: 14px; border-top: 1px solid var(--sa-line); }
.sa-details--global { margin-top: 14px; background: rgba(9,20,34,.72); }
.sa-detail-block { padding: 18px 0; border-top: 1px solid var(--sa-line); }
.sa-detail-block h2 { margin: 0 0 14px; font-size: 15px; }
.sa-detail-block .sa-wallet-list + .sa-wallet-list { margin-top: 10px; }
.sa-inline-refresh { margin-top: 14px; }

.sa-control-grid--progressive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sa-control-grid--progressive .sa-control-card { min-height: 98px; }
.sa-program-settings:has(#program-end-field[hidden]) { grid-template-columns: 1fr; }
.sa-program-settings:has(#program-end-field[hidden]) .sa-button { width: 100%; }

.sa-next-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin: 10px 0;
    padding: 13px 14px;
    border: 1px solid rgba(91,140,255,.26);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(91,140,255,.12), rgba(67,209,158,.055));
}
.sa-next-action[hidden] { display: none; }
.sa-next-action[data-state="denied"] { border-color: rgba(255,115,115,.36); background: rgba(255,115,115,.07); }
.sa-next-action[data-state="pending"] { border-color: rgba(244,184,96,.34); background: rgba(244,184,96,.07); }
.sa-next-action__copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 3px 10px;
    align-items: baseline;
}
.sa-next-action__copy > span { color: #8facff; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.sa-next-action__copy > strong { color: #edf5ff; font-size: 18px; line-height: 1.3; }
.sa-next-action__copy > time { color: var(--sa-amber); font-size: 13px; font-weight: 850; white-space: nowrap; }
.sa-next-action__copy > p { grid-column: 2 / 4; margin: 0; color: #a9bdd3; font-size: 11px; line-height: 1.55; }
.sa-next-action__health { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 320px; }
.sa-next-action__health span {
    padding: 6px 8px;
    border: 1px solid rgba(151,177,207,.16);
    border-radius: 999px;
    color: #9fb2c7;
    background: rgba(0,0,0,.12);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}
.sa-next-action__health span[data-state="pass"] { border-color: rgba(67,209,158,.25); color: var(--sa-green); background: rgba(67,209,158,.07); }
.sa-next-action__health span[data-state="pending"] { border-color: rgba(244,184,96,.25); color: var(--sa-amber); background: rgba(244,184,96,.06); }
.sa-next-action__health span[data-state="fail"] { border-color: rgba(255,115,115,.28); color: var(--sa-red); background: rgba(255,115,115,.06); }

.sa-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 24px;
    align-items: stretch;
}

.sa-hero__copy,
.sa-hero__state,
.sa-panel {
    border: 1px solid var(--sa-line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(17, 34, 54, .92), rgba(9, 20, 34, .94));
    box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.sa-hero__copy { padding: clamp(28px, 5vw, 52px); }
.sa-eyebrow { color: #8facff; font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.sa-hero h1 { max-width: 780px; margin: 13px 0 16px; font-size: clamp(2rem, 5vw, 4.35rem); line-height: 1.02; letter-spacing: -.045em; }
.sa-hero p { max-width: 760px; margin: 0; color: #bac9d9; line-height: 1.8; }

.sa-hero__state { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.sa-hero__state span { color: var(--sa-muted); font-size: 12px; }
.sa-hero__state strong { display: block; margin: 10px 0 12px; font-size: 22px; }
.sa-hero__state p { font-size: 13px; line-height: 1.7; }

.sa-state-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-top: 22px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #cce3ff;
    background: rgba(91, 140, 255, .12);
    border: 1px solid rgba(91, 140, 255, .27);
    font-size: 12px;
    font-weight: 800;
}

.sa-notice {
    margin: 22px 0;
    padding: 15px 18px;
    border-radius: 16px;
    border: 1px solid rgba(244, 189, 98, .28);
    background: rgba(244, 189, 98, .08);
    color: #f6d99f;
    line-height: 1.65;
    font-size: 13px;
}

.sa-notice[data-state="allowed"] {
    border-color: rgba(67, 209, 158, .3);
    background: rgba(67, 209, 158, .08);
    color: #c6f4e2;
}

.sa-notice[data-state="denied"] {
    border-color: rgba(255, 115, 115, .3);
    background: rgba(255, 115, 115, .08);
    color: #ffc5c5;
}

.sa-permission-timeline {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.65;
}

.sa-permission-timeline strong {
    color: inherit;
}

.sa-notice[data-state="pending"] {
    border-color: rgba(246, 188, 87, .32);
    background: rgba(246, 188, 87, .08);
    color: #ffe1a3;
}

.sa-panel { margin-top: 22px; padding: clamp(20px, 4vw, 34px); }
.sa-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sa-panel__head h2 { margin: 4px 0 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.sa-panel__head p { margin: 0; color: var(--sa-muted); line-height: 1.65; font-size: 13px; }
.sa-panel__head > span { color: #7994b2; font-size: 11px; font-weight: 800; letter-spacing: .11em; }

.sa-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.sa-step { min-height: 92px; padding: 14px; border: 1px solid var(--sa-line); border-radius: 15px; background: rgba(255,255,255,.025); }
.sa-step b { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 10px; border-radius: 8px; background: rgba(91,140,255,.14); color: #99b5ff; font-size: 12px; }
.sa-step strong { display: block; font-size: 13px; }
.sa-step small { display: block; margin-top: 5px; color: var(--sa-muted); line-height: 1.5; }

.sa-wallet-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.sa-field label { display: block; margin-bottom: 8px; color: #aebed0; font-size: 12px; font-weight: 750; }
.sa-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--sa-line);
    border-radius: 12px;
    outline: 0;
    color: var(--sa-text);
    background: #081522;
    font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sa-field input:focus { border-color: rgba(91,140,255,.7); box-shadow: 0 0 0 3px rgba(91,140,255,.12); }

.sa-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sa-button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(91, 140, 255, .35);
    border-radius: 12px;
    color: #eff5ff;
    background: #376fe2;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.sa-button.secondary { background: rgba(91,140,255,.08); }
.sa-button.safe { border-color: rgba(67,209,158,.35); background: rgba(67,209,158,.14); color: #bff4df; }
.sa-button.danger { border-color: rgba(255,115,115,.42); background: rgba(255,115,115,.12); color: #ffcaca; }
.sa-button.danger-outline { border-color: rgba(255,115,115,.34); background: transparent; color: #ffb9b9; }
.sa-button.danger-outline:hover:not(:disabled) { background: rgba(255,115,115,.09); }
.sa-revocation-panel { border-color: rgba(255,115,115,.22); }
.sa-refund-panel { border-color: rgba(72, 205, 163, .28); }
.sa-button:disabled { opacity: .42; cursor: not-allowed; }

.sa-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sa-control-card {
    min-height: 126px;
    padding: 16px;
    border: 1px solid var(--sa-line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(0,0,0,.08));
}
.sa-control-card > span { color: var(--sa-muted); font-size: 11px; }
.sa-control-card strong { display: block; margin: 10px 0 8px; color: #eaf2fb; font-size: 15px; line-height: 1.45; word-break: break-word; }
.sa-control-card code { display: block; color: #98aec6; font: 500 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.sa-control-card[data-state="pass"] strong { color: var(--sa-green); }
.sa-control-card[data-state="warn"] strong { color: var(--sa-amber); }
.sa-control-card[data-state="fail"] strong { color: var(--sa-red); }

#wallet-control-panel { padding: 19px 20px 18px; }
#wallet-control-panel .sa-panel__head--compact { margin-bottom: 9px; }
#wallet-control-panel .sa-panel__head--compact h2 { margin-top: 2px; font-size: 1.3rem; }
#wallet-control-panel .sa-notice { margin: 8px 0 10px; padding: 10px 12px; border-radius: 11px; font-size: 12px; }
#wallet-control-panel .sa-control-grid { gap: 9px; }
#wallet-control-panel .sa-control-card { padding: 12px 13px; border-radius: 13px; }
#wallet-control-panel .sa-control-card > span { font-size: 10px; }
#wallet-control-panel .sa-control-card strong { margin: 7px 0 5px; font-size: 16px; line-height: 1.28; }
#wallet-control-panel .sa-control-card--primary strong { color: var(--sa-amber); font-size: 18px; letter-spacing: -.02em; }
#wallet-control-panel .sa-control-card--primary[data-state="pass"] strong { color: var(--sa-green); }
#wallet-control-panel .sa-control-card--primary[data-state="fail"] strong { color: var(--sa-red); }
#wallet-control-panel .sa-control-card--next { border-color: rgba(244,184,96,.22); background: rgba(244,184,96,.045); }
#wallet-control-panel .sa-control-card code { font-size: 10px; line-height: 1.45; }
#wallet-control-panel .sa-gas-copy { margin-top: 8px; }

.sa-compact-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 9px;
}
.sa-address-chip {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 4px 7px 4px 10px;
    border: 1px solid rgba(151,177,207,.13);
    border-radius: 10px;
    background: rgba(255,255,255,.022);
}
.sa-address-chip > span { color: var(--sa-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.sa-address-chip code { min-width: 0; flex: 1 1 auto; color: #bed0e3; font: 650 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.sa-address-chip .sa-copy-button { flex: 0 0 auto; }

.sa-run-history { display: grid; gap: 12px; }
.sa-run-record { border: 1px solid var(--sa-line); border-radius: 16px; background: rgba(0,0,0,.13); overflow: hidden; }
.sa-run-record > summary { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) auto; gap: 14px; align-items: center; padding: 16px; cursor: pointer; list-style: none; }
.sa-run-record > summary::-webkit-details-marker { display: none; }
.sa-run-record > summary::after { content: "展开"; color: #8facff; font-size: 11px; font-weight: 800; }
.sa-run-record[open] > summary::after { content: "收起"; }
.sa-run-record h4 { margin: 0; font-size: 14px; }
.sa-run-record > summary span,
.sa-run-record > summary code { color: var(--sa-muted); font-size: 11px; word-break: break-all; }
.sa-run-body { padding: 0 16px 16px; border-top: 1px solid var(--sa-line); }
.sa-run-outcome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    padding: 14px 0 4px;
}
.sa-run-outcome span {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(67,209,158,.16);
    border-radius: 11px;
    color: var(--sa-muted);
    background: rgba(67,209,158,.045);
    font-size: 10px;
}
.sa-run-outcome strong { display: block; margin-top: 5px; color: var(--sa-green); font-size: 13px; }
.sa-run-outcome small { display: block; margin-top: 4px; color: #879bb1; font-size: 9px; line-height: 1.45; }
.sa-run-outcome span[data-tone="info"] { border-color: rgba(91,140,255,.22); background: rgba(91,140,255,.055); }
.sa-run-outcome span[data-tone="info"] strong { color: #9cbcff; }
.sa-run-outcome span[data-tone="pending"] { border-color: rgba(244,184,96,.22); background: rgba(244,184,96,.05); }
.sa-run-outcome span[data-tone="pending"] strong { color: var(--sa-amber); }
.sa-run-outcome span[data-tone="neutral"] { border-color: rgba(151,177,207,.18); background: rgba(151,177,207,.04); }
.sa-run-outcome span[data-tone="neutral"] strong { color: #d8e4f0; }
.sa-run-context-note {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-top: 13px;
    padding: 9px 11px;
    border: 1px solid rgba(91,140,255,.2);
    border-radius: 10px;
    color: #a9bdd3;
    background: rgba(91,140,255,.055);
    font-size: 10px;
    line-height: 1.55;
}
.sa-run-context-note strong { flex: 0 0 auto; color: #9cbcff; font-size: 10px; }
.sa-run-context-note[data-state="pass"] { border-color: rgba(67,209,158,.2); background: rgba(67,209,158,.05); }
.sa-run-context-note[data-state="pass"] strong { color: var(--sa-green); }
.sa-business-steps { display: grid; gap: 9px; padding: 12px 0 2px; }
.sa-business-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 13px;
    border: 1px solid rgba(151,177,207,.14);
    border-radius: 13px;
    background: rgba(255,255,255,.022);
}
.sa-business-step > b {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: #aecaeb;
    background: rgba(91,140,255,.12);
    font-size: 11px;
}
.sa-business-step__content { min-width: 0; }
.sa-business-step__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sa-business-step__head span { color: #8facff; font-size: 10px; font-weight: 850; }
.sa-business-step__head strong { color: var(--sa-muted); font-size: 10px; }
.sa-business-step[data-state="pass"] .sa-business-step__head strong { color: var(--sa-green); }
.sa-business-step[data-state="fail"] .sa-business-step__head strong { color: var(--sa-red); }
.sa-business-step[data-state="pending"] .sa-business-step__head strong { color: var(--sa-amber); }
.sa-business-step h5 { margin: 5px 0 7px; color: #eaf2fb; font-size: 13px; line-height: 1.45; }
.sa-business-step p { margin: 3px 0 0; color: #9db1c8; font-size: 11px; line-height: 1.65; }
.sa-business-step p span { color: #7189a4; }
.sa-business-step__result { color: #c2d2e3 !important; }
.sa-business-step__tx { align-self: center; color: #8facff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.sa-run-technical { margin-top: 13px; border: 1px solid rgba(151,177,207,.12); border-radius: 12px; overflow: hidden; }
.sa-run-technical > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 0 13px;
    color: #8fa5bd;
    cursor: pointer;
    list-style: none;
    font-size: 11px;
}
.sa-run-technical > summary::-webkit-details-marker { display: none; }
.sa-run-technical > summary::after { content: "展开"; color: #7897bd; font-size: 10px; }
.sa-run-technical[open] > summary::after { content: "收起"; }
.sa-run-technical > summary strong { margin-left: auto; color: #6f859e; font-size: 10px; font-weight: 600; }
.sa-run-technical__body { padding: 0 13px 13px; border-top: 1px solid rgba(151,177,207,.1); }
.sa-run-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 0; }
.sa-run-meta div { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.025); }
.sa-run-meta span { display: block; color: var(--sa-muted); font-size: 10px; }
.sa-run-meta code { display: block; margin-top: 5px; color: #bed0e3; font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.sa-action-list { display: grid; gap: 8px; }
.sa-action-row { display: grid; grid-template-columns: 38px minmax(100px,.6fr) minmax(0,1.4fr) auto; gap: 10px; align-items: start; padding: 11px; border: 1px solid rgba(151,177,207,.12); border-radius: 11px; }
.sa-action-row b { color: #89a5c4; font-size: 11px; }
.sa-action-row strong { font-size: 12px; }
.sa-action-row code { color: #a9bdd2; font: 500 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.sa-action-row em { color: var(--sa-muted); font-size: 10px; font-style: normal; }

.sa-program-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sa-program-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--sa-line);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    cursor: pointer;
}
.sa-program-option:has(input:checked) { border-color: rgba(67,209,158,.45); background: rgba(67,209,158,.08); }
.sa-program-option input { margin-top: 3px; accent-color: var(--sa-green); }
.sa-program-option strong { display: block; font-size: 14px; }
.sa-program-option small { display: block; margin-top: 7px; color: var(--sa-muted); line-height: 1.65; }
.sa-program-settings { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 16px; }
.sa-program-settings .sa-button { min-height: 48px; }
#program-result { margin-top: 16px; }

.sa-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 15px 16px;
    border: 1px solid rgba(244, 189, 98, .28);
    border-radius: 14px;
    color: #f6d99f;
    background: rgba(244, 189, 98, .06);
    font-size: 12px;
    line-height: 1.7;
}
.sa-consent input { margin-top: 4px; accent-color: var(--sa-green); }
.sa-safety-copy { margin: 13px 0 0; color: var(--sa-muted); font-size: 12px; line-height: 1.7; }

.sa-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.sa-status-card { min-height: 132px; padding: 16px; border-radius: 16px; border: 1px solid var(--sa-line); background: var(--sa-panel-soft); }
.sa-status-card > span { color: var(--sa-muted); font-size: 11px; }
.sa-status-card strong { display: block; margin: 9px 0 8px; font-size: 15px; }
.sa-status-card code,
.sa-address {
    display: block;
    color: #aecaeb;
    font: 500 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
    word-break: break-all;
}
.sa-status-card[data-state="pass"] strong { color: var(--sa-green); }
.sa-status-card[data-state="fail"] strong { color: var(--sa-red); }
.sa-status-card[data-state="warn"] strong { color: var(--sa-amber); }

.sa-result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sa-result__item { padding: 15px; border: 1px solid var(--sa-line); border-radius: 14px; background: rgba(0,0,0,.12); }
.sa-result__item span { display: block; color: var(--sa-muted); font-size: 11px; margin-bottom: 7px; }
.sa-result__item strong { color: #e6effa; font-size: 13px; }
.sa-result__empty { grid-column: 1 / -1; padding: 20px; color: var(--sa-muted); text-align: center; border: 1px dashed var(--sa-line); border-radius: 14px; }

.sa-wallet-list-head { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--sa-line); }
.sa-wallet-list-head > span { color: #7f95ad; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.sa-wallet-list-head h3 { margin: 7px 0 5px; font-size: 16px; }
.sa-wallet-list-head p { margin: 0 0 14px; color: var(--sa-muted); font-size: 12px; line-height: 1.65; }
.sa-wallet-list { display: grid; gap: 10px; }
.sa-wallet-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--sa-line); border-radius: 14px; background: rgba(0,0,0,.12); }
.sa-wallet-row span { display: block; margin-bottom: 4px; color: var(--sa-muted); font-size: 10px; }
.sa-wallet-row code { color: #c7d8eb; font: 500 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.sa-wallet-row strong { color: var(--sa-green); font-size: 11px; }
.sa-wallet-row.is-current { border-color: rgba(67,209,158,.3); background: rgba(67,209,158,.055); }
.sa-archived-policies { margin-top: 10px; border: 1px solid rgba(151,177,207,.12); border-radius: 12px; }
.sa-archived-policies > summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; color: #91a8c0; cursor: pointer; font-size: 11px; }
.sa-archived-policies > summary strong { color: #6f859e; }
.sa-archived-policies > .sa-wallet-list { padding: 0 10px 10px; }

.sa-permission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sa-permission { padding: 16px; border-radius: 14px; border: 1px solid var(--sa-line); background: rgba(255,255,255,.02); }
.sa-permission span { color: var(--sa-muted); font-size: 11px; }
.sa-permission strong { display: block; margin-top: 7px; font-size: 13px; line-height: 1.6; }

.sa-audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.sa-audit-card { padding: 18px; border: 1px solid var(--sa-line); border-radius: 16px; background: rgba(255,255,255,.025); }
.sa-audit-card h3 { margin: 0 0 9px; font-size: 15px; }
.sa-audit-card p { margin: 0; color: var(--sa-muted); font-size: 12px; line-height: 1.75; }
.sa-audit-card.is-blocked { border-color: rgba(255,115,115,.28); }

.sa-log { margin-top: 18px; padding: 13px 15px; border-radius: 12px; color: #aebed0; background: #06101a; font: 500 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.sa-footer { padding: 28px 0 0; text-align: center; color: #71869d; font-size: 12px; }

@media (max-width: 860px) {
    .sa-hero { grid-template-columns: 1fr; }
    .sa-steps, .sa-status-grid, .sa-control-grid { grid-template-columns: 1fr 1fr; }
    .sa-audit-grid { grid-template-columns: 1fr; }
    .sa-run-record > summary { grid-template-columns: 1fr auto; }
    .sa-run-record > summary code { grid-column: 1 / -1; }
    .sa-next-action { grid-template-columns: 1fr; }
    .sa-next-action__health { justify-content: flex-start; max-width: none; }
}

@media (max-width: 560px) {
    .sa-header__inner, .sa-main { width: min(100% - 22px, 1180px); }
    .sa-main { padding-top: 20px; }
    .sa-brand small { display: none; }
    .sa-hero__copy, .sa-hero__state, .sa-panel { border-radius: 18px; }
    .sa-steps, .sa-status-grid, .sa-control-grid, .sa-result, .sa-permission-grid { grid-template-columns: 1fr; }
    .sa-wallet-form, .sa-program-options, .sa-program-settings { grid-template-columns: 1fr; }
    .sa-button { width: 100%; }
    .sa-wallet-row { grid-template-columns: 1fr; }
    .sa-run-meta, .sa-action-row, .sa-run-outcome { grid-template-columns: 1fr; }
    .sa-business-step { grid-template-columns: 28px minmax(0, 1fr); }
    .sa-business-step__tx { grid-column: 2; justify-self: start; }
    .sa-next-action__copy { grid-template-columns: auto minmax(0, 1fr); }
    .sa-next-action__copy > time { grid-column: 2; white-space: normal; }
    .sa-next-action__copy > p { grid-column: 1 / -1; }
    .sa-run-context-note { align-items: flex-start; flex-direction: column; gap: 3px; }
    .sa-wallet-session { align-items: flex-start; flex-direction: column; }
    .sa-wallet-session__control { width: 100%; align-items: flex-start; justify-content: space-between; flex-direction: column; }
    .sa-wallet-session small { text-align: left; }
    .sa-wallet-session__actions { width: 100%; }
.sa-wallet-session__actions .sa-session-button { flex: 1 1 0; }
}

.sa-success-toast {
    position: fixed;
    z-index: 60;
    top: 82px;
    left: 50%;
    width: min(440px, calc(100% - 28px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 15px;
    border: 1px solid rgba(67, 209, 158, .48);
    border-radius: 14px;
    color: #edfff8;
    background: rgba(10, 38, 34, .97);
    box-shadow: 0 20px 52px rgba(0, 0, 0, .42);
    animation: sa-toast-in .22s ease-out both;
}
.sa-success-toast[hidden] { display: none; }
.sa-success-toast__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #05251b;
    background: var(--sa-green);
    font-size: 17px;
    font-weight: 900;
}
.sa-success-toast__copy strong,
.sa-success-toast__copy small { display: block; }
.sa-success-toast__copy strong { font-size: 14px; }
.sa-success-toast__copy small { margin-top: 3px; color: #bdebd9; font-size: 11px; line-height: 1.45; }
.sa-success-toast button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    color: #bdebd9;
    background: transparent;
    font: 700 20px/1 system-ui, sans-serif;
    cursor: pointer;
}
@keyframes sa-toast-in {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.sa-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sa-pc-only-badge {
    padding: 6px 9px;
    border: 1px solid rgba(244, 189, 98, .38);
    border-radius: 999px;
    color: #ffe3ae;
    background: rgba(244, 189, 98, .1);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.sa-guide-trigger {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(91, 140, 255, .36);
    border-radius: 9px;
    color: #d9e6ff;
    background: rgba(91, 140, 255, .12);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.sa-guide-trigger:hover {
    border-color: rgba(91, 140, 255, .62);
    background: rgba(91, 140, 255, .2);
}

.sa-guide-trigger:focus-visible,
.sa-guide-dialog button:focus-visible,
.sa-guide-dialog a:focus-visible {
    outline: 3px solid rgba(91, 140, 255, .55);
    outline-offset: 3px;
}

.sa-wallet-support {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    padding: 13px 15px;
    border: 1px solid rgba(244, 189, 98, .34);
    border-radius: 14px;
    background: rgba(244, 189, 98, .08);
}

.sa-wallet-support > span {
    padding: 5px 8px;
    border-radius: 999px;
    color: #241807;
    background: var(--sa-amber);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.sa-wallet-support strong,
.sa-wallet-support small {
    display: block;
}

.sa-device-gate {
    display: grid;
    max-width: 620px;
    margin: 18px auto 0;
    padding: clamp(28px, 7vw, 48px);
    place-items: center;
    border: 1px solid rgba(244, 189, 98, .32);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(24, 37, 53, .98), rgba(9, 21, 36, .98));
    box-shadow: 0 28px 72px rgba(0, 0, 0, .25);
    text-align: center;
}

.sa-device-gate__eyebrow {
    color: var(--sa-amber);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.sa-device-gate__icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin-top: 18px;
    place-items: center;
    border: 1px solid rgba(244, 189, 98, .42);
    border-radius: 18px;
    color: #2a1b05;
    background: linear-gradient(145deg, #f7d58d, #dca94d);
    font-size: 14px;
    font-weight: 950;
}

.sa-device-gate h1 {
    margin: 18px 0 8px;
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.15;
}

.sa-device-gate p {
    max-width: 480px;
    margin: 0;
    color: var(--sa-muted);
    font-size: 13px;
    line-height: 1.75;
}

.sa-device-gate .sa-button {
    display: inline-flex;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sa-device-gate small {
    margin-top: 14px;
    color: #7890aa;
    font-size: 10px;
    line-height: 1.55;
}

.sa-wallet-support strong {
    color: #ffe6b9;
    font-size: 13px;
    line-height: 1.45;
}

.sa-wallet-support small {
    margin-top: 3px;
    color: #c9b58f;
    font-size: 11px;
    line-height: 1.55;
}

.sa-guide-dialog {
    width: min(720px, calc(100% - 28px));
    max-height: min(88vh, 900px);
    padding: 0;
    border: 1px solid rgba(151, 177, 207, .28);
    border-radius: 20px;
    color: var(--sa-text);
    background: #0b1727;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
    overflow: hidden;
}

.sa-guide-dialog:not([open]) {
    display: none;
}

.sa-guide-dialog::backdrop {
    background: rgba(2, 8, 15, .78);
    backdrop-filter: blur(5px);
}

.sa-guide-dialog__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--sa-line);
    background: rgba(11, 23, 39, .97);
}

.sa-guide-dialog__head span {
    color: #8facff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.sa-guide-dialog__head h2 {
    margin: 5px 0 0;
    font-size: 21px;
}

.sa-guide-dialog__head button {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--sa-line);
    border-radius: 10px;
    color: #c8d8eb;
    background: rgba(255, 255, 255, .04);
    font: 700 22px/1 system-ui, sans-serif;
    cursor: pointer;
}

.sa-guide-dialog__body {
    max-height: calc(min(88vh, 900px) - 132px);
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sa-guide-dialog__body section + section,
.sa-guide-dialog__body ol + section {
    margin-top: 20px;
}

.sa-guide-dialog h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.sa-guide-prerequisites {
    padding: 16px;
    border: 1px solid rgba(244, 189, 98, .28);
    border-radius: 14px;
    background: rgba(244, 189, 98, .06);
}

.sa-guide-prerequisites ul {
    margin: 0;
    padding-left: 19px;
    color: #c6d4e5;
    font-size: 12px;
    line-height: 1.7;
}

.sa-guide-prerequisites li + li {
    margin-top: 6px;
}

.sa-guide-official-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    margin-top: 12px;
    padding: 0 11px;
    border: 1px solid rgba(91, 140, 255, .35);
    border-radius: 9px;
    color: #cfe0ff;
    background: rgba(91, 140, 255, .1);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.sa-guide-steps {
    display: grid;
    gap: 9px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.sa-guide-steps li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--sa-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
}

.sa-guide-steps li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #eef4ff;
    background: rgba(91, 140, 255, .28);
    font-size: 12px;
    font-weight: 900;
}

.sa-guide-steps strong {
    display: block;
    font-size: 13px;
}

.sa-guide-steps p,
.sa-guide-flow p,
.sa-guide-help p {
    margin: 4px 0 0;
    color: var(--sa-muted);
    font-size: 12px;
    line-height: 1.65;
}

.sa-guide-flow {
    padding: 15px;
    border: 1px solid rgba(67, 209, 158, .24);
    border-radius: 14px;
    background: rgba(67, 209, 158, .055);
}

.sa-guide-help details {
    border-top: 1px solid var(--sa-line);
}

.sa-guide-help details:last-child {
    border-bottom: 1px solid var(--sa-line);
}

.sa-guide-help summary {
    padding: 12px 2px;
    color: #d7e3f1;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
}

.sa-guide-help details p {
    margin: -3px 2px 12px;
}

.sa-guide-dialog__actions {
    position: sticky;
    bottom: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--sa-line);
    background: rgba(11, 23, 39, .97);
}

.sa-guide-dialog__actions .sa-button {
    width: 100%;
    min-height: 44px;
}

@media (max-width: 560px) {
    .sa-header-actions { gap: 7px; }
    .sa-pc-only-badge { display: none; }
    .sa-guide-trigger { min-height: 34px; padding: 0 10px; font-size: 11px; }
    .sa-wallet-support { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
    .sa-wallet-support > span { justify-self: start; }
    .sa-guide-dialog { width: calc(100% - 18px); max-height: 92vh; border-radius: 16px; }
    .sa-guide-dialog__head { padding: 15px; }
    .sa-guide-dialog__head h2 { font-size: 18px; }
    .sa-guide-dialog__body { max-height: calc(92vh - 122px); padding: 15px; }
    .sa-guide-dialog__actions { padding: 10px 15px; }
}
