:root{color:#141414;background:#f5f7fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px;background:#f5f7fa}body{margin:0}button,a{font:inherit;letter-spacing:0}button{touch-action:manipulation}.app-shell{min-height:100svh;display:flex;align-items:flex-start;justify-content:center;padding:max(18px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom))}.connect-screen{width:min(100%,430px);display:grid;gap:14px;justify-items:stretch;padding:4px 0 20px}.screen-header{display:grid;gap:10px}.top-line{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#4b5563;font-size:12px;font-weight:800}.security-chip{display:inline-flex;min-height:26px;align-items:center;justify-content:center;padding:4px 8px;border:1px solid #d7dee8;border-radius:8px;color:#0f5132;background:#ecfdf3;white-space:nowrap}.security-chip.warning{color:#7c2d12;background:#fff7ed;border-color:#fed7aa}.security-chip.success{color:#0f5132;background:#ecfdf3;border-color:#bbf7d0}h1{margin:0;color:#111;font-size:30px;font-weight:800;line-height:1.08}p{margin:0;color:#5f6b7a;font-size:14px;line-height:1.45;text-align:left}.setup-progress{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:0;list-style:none}.setup-progress li{min-height:70px;display:grid;align-content:center;justify-items:center;gap:7px;padding:10px 6px;border:1px solid #dfe5ee;border-radius:8px;color:#697586;background:#fff}.setup-progress li span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:#697586;background:#eef2f7;font-size:13px;font-weight:800}.setup-progress li strong{overflow-wrap:anywhere;font-size:12px;line-height:1.1}.setup-progress li.complete{color:#0f5132;border-color:#bbf7d0;background:#f0fdf4}.setup-progress li.complete span{color:#fff;background:#15803d}.setup-progress li.current{color:#111;border-color:#111;background:#fff}.setup-progress li.current span{color:#fff;background:#111}.status-stack,.action-stack{width:100%;display:grid;gap:10px}.status-panel{width:100%;display:grid;gap:7px;justify-items:start;padding:14px;border:1px solid #dfe5ee;border-radius:8px;background:#fff}.status-panel strong{width:100%;color:#111;font-size:20px;line-height:1.15;overflow-wrap:anywhere}.status-label{color:#516070;font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}.status-panel.success{border-color:#bbf7d0;background:#f0fdf4}.status-panel.warning{border-color:#fed7aa;background:#fff7ed}.status-panel.danger{border-color:#fecaca;background:#fef2f2}.loading-panel,.wallet-connect-panel{width:100%;min-height:76px;display:grid;place-items:center;gap:8px;padding:16px;border:1px solid #dfe5ee;border-radius:8px;background:#fff}.wallet-connect-panel.compact{min-height:58px;padding:10px}.loading-panel strong{color:#111;font-size:15px}.loading-dot{width:22px;height:22px;border:3px solid #dfe5ee;border-top-color:#111;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.primary-action,.secondary-action,.ghost-action{width:100%;min-height:48px;border-radius:8px;cursor:pointer;font-weight:800}.primary-action{border:1px solid #111111;color:#fff;background:#111}.secondary-action{border:1px solid #d7dee8;color:#111;background:#fff}.ghost-action{border:1px solid transparent;color:#4b5563;background:transparent}.primary-action:disabled,.secondary-action:disabled,.ghost-action:disabled{cursor:wait;opacity:.65}.action-row{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.error-text{width:100%;padding:12px;border:1px solid #fecaca;border-radius:8px;color:#991b1b;background:#fef2f2}.hint-text{color:#516070;font-size:13px}@media(min-width:720px){.app-shell{align-items:center;padding:32px 20px}}
