:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #142e34; background: #f2f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 540px; margin: 0 auto; padding: 36px 24px; }
header { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; font-weight: 750; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #142e34; color: #dcf77e; font-size: 24px; }
.tag { margin-left: auto; letter-spacing: 0; font-weight: 500; }
h1 { font-size: clamp(34px, 9vw, 46px); line-height: 1.12; letter-spacing: -.045em; margin: 44px 0 14px; }
h2 { font-size: 19px; margin: 0 0 10px; }
.intro, .small, footer { color: #526266; }
.intro { margin-bottom: 30px; }
.card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #dce4da; box-shadow: 0 12px 35px #14303408; }
label { display: block; font-size: 14px; margin: 20px 0 8px; }
input { width: 100%; padding: 14px; border: 1px solid #8b9d9e; border-radius: 10px; font: inherit; }
button { min-height: 50px; padding: 12px 20px; border: 0; border-radius: 12px; background: #142e34; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, input:focus-visible { outline: 3px solid #4f8c18; outline-offset: 3px; }
#login-button { width: 100%; margin-top: 18px; }
.device-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill { font-size: 12px; background: #eef2ec; border-radius: 30px; padding: 7px 12px; white-space: nowrap; }
#device-status { font-size: 14px; }
.call-area { background: #f3f6f0; border-radius: 16px; display: grid; gap: 10px; text-align: center; padding: 30px 10px; margin: 24px 0; }
#call-state { font-weight: 600; }
#duration { font-size: 36px; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.controls { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
#start { background: #d6ef8a; color: #142e34; }
.stop { background: #8f2837; }
.small { font-size: 12px; line-height: 1.6; }
.text-button { color: #526266; background: transparent; padding: 8px 0; min-height: 40px; font-size: 13px; }
.secondary { background: #e5eaf0; color: #142e34; width: 100%; margin-top: 14px; }
#message { font-size: 14px; line-height: 1.55; min-height: 44px; }
footer { margin-top: 28px; font-size: 12px; text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 360px) { main { padding: 24px 14px; } .card { padding: 20px; } }
