:root { --font-scale: 1; }
body { font-size: calc(17px * var(--font-scale)); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-pair label { display: grid; gap: 6px; font-weight: 700; }
.form-pair input { width: 100%; border: 1px solid #aabfba; border-radius: 10px; padding: 14px; background: #fff; color: var(--ink); min-height: 51px; }
.profile-result { background: #e8f3f0; border-radius: 12px; padding: 14px; display: grid; gap: 2px; }
.profile-result span, .profile-result small { color: var(--muted); font-size: 14px; }
.profile-result strong { font-size: 28px; }
.full { width: 100%; }
.link-button { display: block; margin: 16px auto 0; background: transparent; color: var(--green); padding: 8px; }
.recovery-card { text-align: center; overflow-wrap: anywhere; }
.recovery-card strong { font-size: clamp(19px, 5vw, 28px); letter-spacing: .08em; }
.sync-card { border-color: #b8d1ca; }
.sync-card p { color: var(--muted); margin: 7px 0; }
.report-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .report-actions { grid-template-columns: repeat(3, 1fr); } }
.update-notice { position:fixed; top:72px; left:50%; transform:translateX(-50%); z-index:20; width:min(520px,calc(100% - 24px)); padding:12px; background:#fff5d7; border:1px solid #ae832d; border-radius:12px; display:flex; align-items:center; gap:12px; box-shadow:0 4px 20px #0002; }
.update-notice span { flex:1; font-size:15px; }
.offline-warning { position:fixed; bottom:80px; padding:14px; background:#fff5d7; z-index:20; }
button:disabled { opacity:.65; cursor:wait; }
.record .icon-button { min-height:44px; min-width:64px; }
@media(max-width:400px) { .form-pair { grid-template-columns:1fr; } .actions { grid-template-columns:1fr 1fr; } }
