body { background: #0e1116; color: #f2f4f7; margin: 0; }
.phone { position: relative; max-width: 440px; min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column;
  background: #12161d; font-family: system-ui, -apple-system, sans-serif; box-sizing: border-box; }
.auth { padding: 32px 22px; gap: 22px; justify-content: center; }
.brand { text-align: center; }
.brand h1 { margin: 10px 0 6px; font-size: 30px; }
.brand p { color: #9aa4b2; margin: 0; line-height: 1.5; }
.logo { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; background: #22c55e; display: grid; place-items: center;
  font-size: 32px; color: #fff; }
.sample-number { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: #1b212b; color: #9aa4b2; }
.sample-number strong { color: #fff; font-size: 20px; letter-spacing: 2px; }
.auth .input, .add-contact .input { background: #1b212b; color: #fff; border: 1px solid #2a3240; }
.btn-call-wide { width: 100%; background: #22c55e; color: #fff; border: 0; padding: 14px; border-radius: 14px; font-size: 16px;
  font-weight: 600; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.link { background: none; border: 0; color: #4ade80; cursor: pointer; font: inherit; text-decoration: none; padding: 4px 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #222a35; }
.my-label { font-size: 12px; color: #9aa4b2; text-transform: uppercase; letter-spacing: 1px; }
.my-number { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; }
.status-dot { color: #fbbf24; }
.status-dot::before { content: "●"; margin-right: 5px; }
.status-dot.on { color: #4ade80; }
.content { flex: 1; overflow-y: auto; padding-bottom: 80px; }
.pane { padding: 16px 18px; }
.pane h2 { margin: 0 0 14px; font-size: 26px; }
.keypad-screen { display: flex; flex-direction: column; align-items: center; padding: 20px 18px; gap: 18px; }
.display { min-height: 56px; font-size: 38px; letter-spacing: 3px; font-weight: 300; text-align: center; }
.placeholder { color: #5b6574; font-size: 20px; letter-spacing: 0; }
.keys { display: grid; grid-template-columns: repeat(3, 76px); gap: 16px 26px; }
.key { width: 76px; height: 76px; border-radius: 50%; border: 0; background: #262d38; color: #fff; display: flex;
  flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.key:active { background: #3a4352; }
.key-n { font-size: 30px; line-height: 1; }
.key-s { font-size: 10px; letter-spacing: 2px; color: #9aa4b2; min-height: 12px; }
.key-actions { display: grid; grid-template-columns: repeat(3, 76px); gap: 26px; align-items: center; justify-items: center; }
.btn-round { width: 72px; height: 72px; border-radius: 50%; border: 0; font-size: 28px; color: #fff; cursor: pointer; }
.btn-round.call { background: #22c55e; }
.btn-round.call:disabled { opacity: .4; cursor: default; }
.btn-round.end { background: #ef4444; transform: rotate(135deg); }
.btn-round.ghost { background: transparent; color: #9aa4b2; }
.btn-round.ghost.on { background: #fff; color: #111; }
.add-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.add-contact .input { flex: 1 1 120px; min-width: 0; }
.row-item { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub { font-size: 13px; color: #9aa4b2; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #334155; display: grid; place-items: center; font-weight: 700;
  flex-shrink: 0; }
.avatar.big { width: 96px; height: 96px; font-size: 40px; margin: 0 auto; }
.dir { width: 28px; text-align: center; color: #4ade80; font-size: 18px; }
.dir.missed { color: #ef4444; }
.btn-mini { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; flex-shrink: 0; }
.btn-mini.call { background: #22c55e; }
.btn-mini.ghost { background: #262d38; color: #9aa4b2; }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 440px; display: flex;
  background: #0e1116; border-top: 1px solid #222a35; }
.tabbar button { flex: 1; background: none; border: 0; color: #7b8594; padding: 8px 0 12px; display: flex; flex-direction: column;
  align-items: center; gap: 2px; font-size: 12px; cursor: pointer; }
.tabbar button.active { color: #4ade80; }
.tab-ico { font-size: 20px; }
.call-screen { position: fixed; inset: 0; z-index: 50; background: linear-gradient(180deg, #1e293b, #0b0f14); display: flex;
  flex-direction: column; justify-content: space-between; padding: 70px 20px 60px; text-align: center; }
.call-top h2 { margin: 18px 0 4px; font-size: 28px; }
.call-num { color: #9aa4b2; letter-spacing: 2px; }
.call-status { margin-top: 12px; color: #cbd5e1; }
.call-status.connected { color: #4ade80; font-variant-numeric: tabular-nums; }
.call-status.ended { color: #f87171; }
.call-actions { display: flex; justify-content: center; gap: 40px; }
@media (max-width: 360px) { .keys, .key-actions { grid-template-columns: repeat(3, 66px); gap: 12px 18px; }
  .key { width: 66px; height: 66px; } }
