:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#eaf0f7;background:#10141c;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh}.hidden{display:none!important}button,input,textarea{font:inherit}button{cursor:pointer;border:0}.calc-screen{height:100dvh;display:grid;place-items:center;background:#07090c}.calculator{width:min(100%,440px);height:min(100dvh,860px);display:flex;flex-direction:column;justify-content:flex-end;padding:24px 18px max(32px,env(safe-area-inset-bottom))}.calc-display{height:150px;text-align:right;padding:20px 7px;color:white;font-size:clamp(48px,12vw,78px);font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keys{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.keys button{background:#2b2e35;border-radius:50%;aspect-ratio:1;font-size:clamp(23px,7vw,36px);color:#fff}.keys button:active{filter:brightness(1.6)}.keys .alt{background:#81858c;color:#07090c}.keys .op{background:#ef9f24}.keys .zero{grid-column:span 2;aspect-ratio:auto;border-radius:80px;text-align:left;padding-left:32px}.vault{min-height:100dvh;background:linear-gradient(160deg,#161e2a,#0b1018);padding-bottom:env(safe-area-inset-bottom)}header{display:flex;justify-content:space-between;align-items:center;padding:22px 20px;border-bottom:1px solid #283140;font-weight:700;font-size:20px}h2{font-size:24px;margin:4px 0 12px}p{color:#aab5c5;line-height:1.5}label{display:block;font-size:13px;color:#b9c5d4;margin:17px 0}input,textarea{display:block;background:#151e29;color:white;border:1px solid #3a4657;border-radius:13px;padding:14px;width:100%;margin-top:8px;outline:none}input:focus,textarea:focus{border-color:#79aefb}.panel{max-width:530px;margin:34px auto;padding:20px}.primary, .panel button,.send{background:#4a83eb;color:#fff;border-radius:12px;padding:13px 18px;font-weight:700;margin:8px 5px 8px 0}.mini{background:#2a3342;color:#cbd8e8;padding:9px 16px;border-radius:11px}.panel button:not(.primary){background:#2a3444}.panel hr{border:0;border-top:1px solid #2a3647;margin:26px 0}.trust{padding:12px 17px;background:#1d2937;color:#b9d5f8;font-size:13px;display:flex;align-items:center;gap:8px}.dot{height:8px;width:8px;border-radius:50%;background:#5cd6a3}.link-button{background:none;color:#b5cdf4;text-decoration:underline;margin-left:auto;font-size:12px}.messages{height:calc(100dvh - 205px);overflow:auto;display:flex;flex-direction:column;gap:10px;padding:16px}.bubble{max-width:84%;padding:12px 15px;border-radius:17px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}.mine{align-self:flex-end;background:#325dab}.theirs{align-self:flex-start;background:#283544}.time{font-size:10px;opacity:.68;margin-top:7px}.empty{margin:auto;color:#8998aa;text-align:center}.composer{position:sticky;bottom:0;display:flex;align-items:center;gap:8px;padding:10px 12px;background:#111a25}.composer input{margin:0}.send{margin:0}.overlay{position:fixed;inset:0;display:grid;place-items:center;background:#000b;padding:22px}.modal{max-width:420px;background:#202c3b;padding:24px;border-radius:18px}.fingerprint{font-size:17px;font-weight:700;line-height:1.6;overflow-wrap:anywhere;background:#111925;padding:16px;border-radius:12px}.small{font-size:12px}#status{position:fixed;top:70px;left:12px;right:12px;max-width:600px;margin:auto;text-align:center;pointer-events:none;color:#ffcb98;font-size:13px}
