:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #eef2f7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
.phone { width: min(460px, 100%); padding: 20px; }
.card { background: white; border-radius: 24px; padding: 24px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12); }
.header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
h1 { font-size: 24px; margin: 0 0 6px; }
p { margin: 0; color: #64748b; }
.badge { border-radius: 999px; padding: 8px 12px; background: #e2e8f0; color: #334155; font-size: 13px; white-space: nowrap; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.call { background: #dbeafe; color: #1d4ed8; }
.badge.err { background: #fee2e2; color: #991b1b; }
.display { margin: 24px 0; padding: 18px; border-radius: 18px; background: #f8fafc; border: 1px solid #e2e8f0; }
.label { color: #64748b; font-size: 13px; margin-bottom: 4px; }
.target { font-size: 20px; font-weight: 700; }
.digits { min-height: 28px; margin-top: 12px; font-size: 24px; letter-spacing: 8px; color: #334155; word-break: break-all; }
.actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 18px; }
button { border: 0; border-radius: 14px; padding: 13px 12px; font-size: 16px; font-weight: 700; cursor: pointer; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.primary { background: #16a34a; color: white; }
.secondary { background: #2563eb; color: white; }
.danger { background: #dc2626; color: white; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.keypad button { min-height: 72px; background: #f1f5f9; color: #0f172a; font-size: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.keypad button span { font-size: 10px; letter-spacing: 1.5px; color: #64748b; margin-top: 3px; }
.log { margin-top: 18px; min-height: 44px; color: #475569; font-size: 14px; line-height: 1.45; }
