.phone-sheet {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 18px 80px rgb(6 20 42 / .25);
}
.phone-sheet::backdrop { background: rgb(7 20 38 / .55); }
.phone-sheet svg {
  flex: none;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone-sheet .phone-sheet-close {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.phone-sheet .phone-sheet-close:hover { background: var(--wash); color: var(--ink); }
#phone-sheet-department { margin: 0; padding-right: 25px; color: var(--muted); font-weight: 560; }
#phone-sheet-title { margin: 8px 0 21px; font-size: clamp(1.5rem, 4.4vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.phone-sheet[data-mail] #phone-sheet-title { overflow-wrap: anywhere; }
.phone-sheet:not([data-mail]) [data-mail-icon], .phone-sheet[data-mail] [data-phone-icon] { display: none; }
.phone-sheet-actions { display: grid; gap: 8px; }
.phone-sheet-actions > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 620;
  cursor: pointer;
}
.phone-sheet-actions [data-dial] { border-color: #1553bf; background: #1553bf; color: #fff; }
.phone-sheet-actions [data-dial]:hover { background: #104aa7; }
.phone-sheet-actions [data-copy]:hover { background: var(--wash); }
@media (max-width: 520px) {
  .phone-sheet { margin: auto auto max(10px, env(safe-area-inset-bottom)); padding: 23px; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone-sheet[open] { animation: show-contact .16s ease-out; }
  @keyframes show-contact { from { opacity: .5; transform: translateY(7px); } }
}
