/* MiniOS Phone 67 - isolated native iOS phone surface */
.minios-modal[data-active-kind="phone"] .minios-app-window,
.minios-app-window:has(.phone-app) {
  height: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  background: #f2f2f7 !important;
  overflow: hidden !important;
}

.minios-modal[data-active-kind="phone"] .minios-app-header,
.minios-app-window:has(.phone-app) .minios-app-header {
  display: none !important;
}

.minios-modal[data-active-kind="phone"] .minios-app-content,
.minios-app-window:has(.phone-app) .minios-app-content {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #f2f2f7 !important;
  overflow: hidden !important;
}

.phone-app,
.phone-app * {
  box-sizing: border-box !important;
}

.phone-app [hidden] {
  display: none !important;
}

.phone-app {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: 52px minmax(0, 1fr) calc(64px + env(safe-area-inset-bottom)) !important;
  color: #000 !important;
  background: #f2f2f7 !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif !important;
}

.phone-statusbar {
  display: none !important;
}

.phone-native-header {
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 10px !important;
  display: block !important;
  background: rgba(248,248,248,.88) !important;
  border: 0 !important;
  border-bottom: .5px solid #d1d1d6 !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  z-index: 10 !important;
}

.phone-navrow {
  height: 50px !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  align-items: center !important;
}

.phone-native-header button {
  width: 48px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #007aff !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: none !important;
}

.phone-native-header button span {
  width: 12px !important;
  height: 12px !important;
  border: 0 !important;
  border-left: 1.8px solid currentColor !important;
  border-bottom: 1.8px solid currentColor !important;
  transform: rotate(45deg) !important;
}

.phone-navrow h1 {
  margin: 0 !important;
  color: #111 !important;
  font-size: 17px !important;
  line-height: 21px !important;
  font-weight: 650 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

.phone-navrow > i {
  width: 48px !important;
  height: 50px !important;
}

.phone-screen {
  position: relative !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f2f2f7 !important;
}

.phone-view,
.phone-detail {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 0 0 14px !important;
  background: #f2f2f7 !important;
}

.phone-view::-webkit-scrollbar,
.phone-detail::-webkit-scrollbar {
  display: none !important;
}

.phone-list-view h1,
.phone-view h1 {
  display: none !important;
}

.phone-segmented {
  width: min(218px, calc(100% - 56px)) !important;
  height: 30px !important;
  margin: 10px auto 10px !important;
  padding: 2px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  border-radius: 10px !important;
  background: #dedee3 !important;
}

.phone-segmented button {
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 13px !important;
  height: 26px !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}

.phone-segmented button.is-active {
  background: #fff !important;
  box-shadow: 0 .5px 1.5px rgba(0,0,0,.13) !important;
}

.phone-favorite-row,
.phone-recent-row,
.phone-contact-row,
.phone-voicemail-row {
  width: 100% !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 8px 15px 8px 18px !important;
  border: 0 !important;
  border-bottom: .5px solid #d1d1d6 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  text-align: left !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.phone-favorite-row,
.phone-voicemail-row {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 38px 30px !important;
  gap: 12px !important;
  align-items: center !important;
}

.phone-recent-row {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) minmax(58px, auto) 30px !important;
  gap: 11px !important;
  align-items: center !important;
}

.phone-contact-row {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding-right: 34px !important;
}

.phone-favorite-row:active,
.phone-recent-row:active,
.phone-contact-row:active,
.phone-voicemail-row:active {
  background: #f2f2f7 !important;
  transform: none !important;
  filter: none !important;
}

.phone-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #d8d8df, #b8bbc5) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.phone-avatar.is-large {
  width: 104px !important;
  height: 104px !important;
  margin: 0 auto !important;
  font-size: 42px !important;
}

.phone-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.phone-favorite-row strong,
.phone-recent-row strong,
.phone-contact-row strong,
.phone-voicemail-row strong {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #000 !important;
  font-size: 17px !important;
  line-height: 21px !important;
  font-weight: 500 !important;
}

.phone-favorite-row small,
.phone-recent-row small,
.phone-contact-row small,
.phone-voicemail-row small,
.phone-recent-row em {
  display: block !important;
  min-width: 0 !important;
  margin-top: 1px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #8e8e93 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

.phone-recent-row.is-missed strong,
.phone-recent-row.is-missed em {
  color: #ff3b30 !important;
}

.phone-recent-row time {
  color: #8e8e93 !important;
  text-align: right !important;
  font-size: 13px !important;
  line-height: 16px !important;
  white-space: nowrap !important;
}

.phone-recent-row time b {
  display: block !important;
  color: inherit !important;
  font-weight: 400 !important;
}

.phone-favorite-row [data-phone-info],
.phone-recent-row [data-phone-info],
.phone-voicemail-row [data-phone-info] {
  width: 26px !important;
  height: 26px !important;
  padding: 0 !important;
  border: 1.7px solid #007aff !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #007aff !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.phone-favorite-row [data-phone-call],
.phone-voicemail-row [data-phone-call] {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #34c759 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.phone-favorite-row [data-phone-call]::before,
.phone-voicemail-row [data-phone-call]::before,
.phone-favorite-row [data-phone-call]::after,
.phone-voicemail-row [data-phone-call]::after {
  content: none !important;
}

.phone-favorite-row [data-phone-call] svg,
.phone-voicemail-row [data-phone-call] svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
}

.phone-search-row {
  padding: 11px 16px 9px !important;
  margin: 0 !important;
  background: #f2f2f7 !important;
}

.phone-search,
.phone-search:hover,
.phone-search:focus-within {
  width: 100% !important;
  height: 36px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 30px !important;
  align-items: center !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 11px !important;
  outline: 0 !important;
  background: #e5e5ea !important;
  box-shadow: none !important;
}

.phone-search > span {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 36px !important;
  font-size: 0 !important;
}

.phone-search > span::before {
  content: "" !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 !important;
  border: 2px solid #8e8e93 !important;
  border-radius: 50% !important;
  display: block !important;
}

.phone-search > span::after {
  content: "" !important;
  position: absolute !important;
  width: 7px !important;
  height: 2px !important;
  left: 18px !important;
  top: 22px !important;
  margin: 0 !important;
  border-radius: 2px !important;
  background: #8e8e93 !important;
  transform: rotate(45deg) !important;
}

.phone-search input {
  width: 100% !important;
  height: 36px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #000 !important;
  box-shadow: none !important;
  font-size: 17px !important;
  line-height: 36px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.phone-search input::-webkit-search-cancel-button {
  display: none !important;
}

.phone-search [data-phone-clear] {
  position: relative !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #b8b8bd !important;
  box-shadow: none !important;
}

.phone-search [data-phone-clear] span,
.phone-search [data-phone-clear] span::before,
.phone-search [data-phone-clear] span::after {
  position: absolute !important;
  display: block !important;
}

.phone-search [data-phone-clear] span::before,
.phone-search [data-phone-clear] span::after {
  content: "" !important;
  left: 5px !important;
  top: 9px !important;
  width: 10px !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #fff !important;
}

.phone-search [data-phone-clear] span::before { transform: rotate(45deg) !important; }
.phone-search [data-phone-clear] span::after { transform: rotate(-45deg) !important; }

.phone-letter {
  height: 26px !important;
  padding: 7px 18px 2px !important;
  background: #f2f2f7 !important;
  color: #8e8e93 !important;
  font-size: 13px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
}

.phone-alpha-index {
  position: absolute !important;
  right: 4px !important;
  top: 72px !important;
  bottom: calc(env(safe-area-inset-bottom) + 74px) !important;
  display: grid !important;
  align-content: center !important;
  gap: 1px !important;
  color: #007aff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  pointer-events: none !important;
}

.phone-view.is-keypad {
  display: grid !important;
  grid-template-rows: minmax(48px, .72fr) auto 78px !important;
  align-content: center !important;
  justify-content: stretch !important;
  padding: 4px 0 8px !important;
  background: #f2f2f7 !important;
}

.phone-dial-display {
  min-height: 58px !important;
  display: grid !important;
  align-content: end !important;
  justify-items: center !important;
  padding: 0 24px 12px !important;
}

.phone-dial-display small {
  min-height: 20px !important;
  color: #007aff !important;
  font-size: 15px !important;
  line-height: 20px !important;
}

.phone-dial-display strong {
  min-height: 38px !important;
  max-width: 100% !important;
  display: block !important;
  overflow-wrap: anywhere !important;
  color: #000 !important;
  font-size: 32px !important;
  line-height: 38px !important;
  font-weight: 400 !important;
}

.phone-keypad {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, 74px) !important;
  justify-content: center !important;
  gap: 10px 18px !important;
}

.phone-keypad button {
  width: 74px !important;
  height: 74px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: grid !important;
  grid-template-rows: 39px 12px !important;
  place-items: center !important;
  align-content: center !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  transition: transform .12s ease, background .12s ease !important;
}

.phone-keypad button:active {
  background: #d1d1d6 !important;
  transform: scale(.96) !important;
}

.phone-keypad strong {
  display: grid !important;
  place-items: center !important;
  font-size: 31px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  width: 100% !important;
  height: 39px !important;
  text-align: center !important;
}

.phone-keypad small {
  display: grid !important;
  place-items: center !important;
  min-height: 12px !important;
  height: 12px !important;
  width: 100% !important;
  color: #3a3a3c !important;
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: 700 !important;
}

.phone-dial-actions {
  display: grid !important;
  grid-template-columns: 74px 74px 74px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  padding-top: 4px !important;
}

.phone-call-main,
.phone-call-main:hover,
.phone-call-main:focus {
  width: 74px !important;
  height: 74px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #34c759 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.phone-call-main::before,
.phone-call-main::after {
  content: none !important;
}

.phone-call-main svg {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
}

.phone-delete {
  position: relative !important;
  width: 74px !important;
  height: 74px !important;
  border: 0 !important;
  background: transparent !important;
  color: #3a3a3c !important;
  display: grid !important;
  place-items: center !important;
}

.phone-delete::before,
.phone-delete::after {
  content: none !important;
}

.phone-delete svg {
  width: 31px !important;
  height: 31px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.phone-delete .phone-backspace-body {
  fill: none !important;
}

.phone-delete .phone-backspace-x {
  stroke: currentColor !important;
}

.phone-tabbar {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  height: calc(64px + env(safe-area-inset-bottom)) !important;
  min-height: calc(64px + env(safe-area-inset-bottom)) !important;
  padding: 5px 2px env(safe-area-inset-bottom) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  background: rgba(248,248,248,.88) !important;
  border: 0 !important;
  border-top: .5px solid #d1d1d6 !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
}

.phone-tabbar button {
  position: relative !important;
  min-width: 0 !important;
  height: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  grid-template-rows: 28px 15px !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 1px !important;
  background: transparent !important;
  color: #8e8e93 !important;
  box-shadow: none !important;
}

.phone-tabbar button.is-active {
  color: #007aff !important;
}

.phone-tabbar small {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: currentColor !important;
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: 600 !important;
}

.phone-tab-icon,
.phone-tabbar button span.phone-tab-icon {
  width: 28px !important;
  height: 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  color: currentColor !important;
  clip-path: none !important;
}

.phone-tab-icon::before,
.phone-tab-icon::after {
  content: none !important;
}

.phone-tab-icon svg {
  width: 25px !important;
  height: 25px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.15 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.phone-tab-icon.is-star svg path,
.phone-empty-icon.is-favorites svg path {
  fill: none !important;
  stroke: currentColor !important;
}

.phone-tab-icon.is-keypad svg circle,
.phone-empty-icon.is-keypad svg circle {
  fill: currentColor !important;
  stroke: none !important;
}

.phone-tab-badge {
  position: absolute !important;
  top: 3px !important;
  right: calc(50% - 22px) !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: #ff3b30 !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 17px !important;
  font-weight: 700 !important;
}

.phone-empty {
  height: 100% !important;
  min-height: 250px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  gap: 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: #8e8e93 !important;
  box-shadow: none !important;
  text-align: center !important;
}

.phone-empty::before,
.phone-empty::after {
  content: none !important;
}

.phone-empty-icon {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  color: #c7c7cc !important;
  border: 0 !important;
}

.phone-empty-icon::before,
.phone-empty-icon::after {
  content: none !important;
}

.phone-empty-icon svg {
  width: 38px !important;
  height: 38px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.05 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.phone-empty-icon.is-keypad svg circle {
  fill: currentColor !important;
  stroke: none !important;
}

.phone-empty p {
  margin: 0 !important;
  color: #8e8e93 !important;
  font-size: 17px !important;
  line-height: 22px !important;
}

.phone-detail {
  padding: 14px 16px 22px !important;
}

.phone-contact-hero,
.phone-call-detail-head {
  display: grid !important;
  justify-items: center !important;
  gap: 7px !important;
  padding: 14px 0 16px !important;
}

.phone-contact-hero h2,
.phone-call-detail-head h2 {
  margin: 0 !important;
  color: #000 !important;
  font-size: 28px !important;
  line-height: 34px !important;
  font-weight: 650 !important;
  text-align: center !important;
}

.phone-call-detail-head p {
  margin: 0 !important;
  color: #8e8e93 !important;
  font-size: 15px !important;
}

.phone-contact-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
}

.phone-contact-actions a,
.phone-contact-actions button {
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  background: #fff !important;
  color: #007aff !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.phone-contact-actions button:disabled {
  color: #c7c7cc !important;
}

.phone-info-section,
.phone-action-list {
  margin: 0 0 10px !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden !important;
}

.phone-info-section {
  padding: 10px 14px !important;
}

.phone-info-section small {
  display: block !important;
  margin-bottom: 3px !important;
  color: #8e8e93 !important;
  font-size: 12px !important;
  line-height: 15px !important;
  text-transform: none !important;
}

.phone-info-section p,
.phone-info-section a {
  margin: 0 !important;
  color: #007aff !important;
  font-size: 17px !important;
  line-height: 22px !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

.phone-action-list button {
  width: 100% !important;
  min-height: 45px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-bottom: .5px solid #d1d1d6 !important;
  background: #fff !important;
  color: #007aff !important;
  text-align: left !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}

.phone-action-list button:last-child {
  border-bottom: 0 !important;
}

.phone-action-list .is-danger {
  color: #ff3b30 !important;
}

.phone-audio,
.phone-voicemail-player {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 42px !important;
  gap: 9px !important;
  align-items: center !important;
}

.phone-voicemail-row {
  min-height: 78px !important;
  align-items: center !important;
}

.phone-voicemail-row > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

.phone-voicemail-player {
  margin: 0 0 12px !important;
  padding: 12px 13px !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.phone-audio button,
.phone-voicemail-player button {
  width: 32px !important;
  height: 32px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #007aff !important;
  color: #fff !important;
  position: relative !important;
  flex: 0 0 32px !important;
}

.phone-audio button::before,
.phone-voicemail-player button::before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 9px !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 7px solid transparent !important;
  border-bottom: 7px solid transparent !important;
  border-left: 10px solid #fff !important;
}

.phone-audio button.is-playing::before,
.phone-voicemail-player button.is-playing::before {
  width: 10px !important;
  height: 13px !important;
  left: 11px !important;
  top: 9px !important;
  border: 0 !important;
  border-left: 4px solid #fff !important;
  border-right: 4px solid #fff !important;
}

.phone-audio progress,
.phone-voicemail-player progress {
  width: 100% !important;
  height: 4px !important;
  accent-color: #007aff !important;
  border: 0 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #d1d1d6 !important;
}

.phone-audio progress::-webkit-progress-bar,
.phone-voicemail-player progress::-webkit-progress-bar {
  background: #d1d1d6 !important;
  border-radius: 999px !important;
}

.phone-audio progress::-webkit-progress-value,
.phone-voicemail-player progress::-webkit-progress-value {
  background: #007aff !important;
  border-radius: 999px !important;
}

.phone-audio small,
.phone-voicemail-player small {
  color: #8e8e93 !important;
  font-size: 12px !important;
  text-align: right !important;
}

.phone-voicemail-row audio,
.phone-voicemail-player audio {
  display: none !important;
}

.phone-voicemail-row.is-unread strong::after {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  margin-left: 6px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  background: #007aff !important;
  vertical-align: middle !important;
}

.phone-app button,
.phone-app input,
.phone-app a {
  -webkit-tap-highlight-color: transparent !important;
}

.phone-app button:focus,
.phone-app button:focus-visible,
.phone-app input:focus,
.phone-app input:focus-visible,
.phone-app a:focus,
.phone-app a:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 380px), (max-height: 700px) {
  .phone-app {
    grid-template-rows: 50px minmax(0, 1fr) calc(60px + env(safe-area-inset-bottom)) !important;
  }

  .phone-native-header,
  .phone-navrow {
    height: 50px !important;
    min-height: 50px !important;
  }

  .phone-view.is-keypad {
    grid-template-rows: minmax(60px, 1fr) auto 72px !important;
    padding-top: 2px !important;
  }

  .phone-dial-display {
    min-height: 60px !important;
    padding-bottom: 10px !important;
  }

  .phone-keypad {
    grid-template-columns: repeat(3, 64px) !important;
    gap: 9px 15px !important;
  }

  .phone-keypad button,
  .phone-call-main {
    width: 64px !important;
    height: 64px !important;
  }

  .phone-dial-actions {
    grid-template-columns: 64px 64px 64px !important;
    gap: 15px !important;
  }

  .phone-delete {
    width: 64px !important;
  }

  .phone-tabbar {
    height: calc(60px + env(safe-area-inset-bottom)) !important;
    min-height: calc(60px + env(safe-area-inset-bottom)) !important;
  }

  .phone-tabbar button {
    height: 54px !important;
  }
}
