/* Loaded after the same base stylesheet as the two official service cards. */
:root {
  --ink-teal: #155a58;
  --accent-teal: #23726b;
  --quiet: #565e61;
  --line: rgba(31, 65, 61, .14);
  --tint: #e5f2ef;
}
.page { max-width: 620px; padding-top: clamp(20px, 5vw, 52px); }
.masthead, .brand, .actions, .row, .service-link, .nameplate {
  display: flex;
  align-items: center;
}
.masthead { justify-content: space-between; gap: 12px; margin: 0 2px 16px; }
.brand { gap: 10px; min-height: 44px; font-weight: 700; color: var(--fg); }
a { color: var(--ink-teal); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.brand img { border-radius: 50%; box-shadow: var(--shadow); }
.masthead > span { color: var(--quiet); font-size: 13px; letter-spacing: .1em; }
.panel { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow); }
.identity { overflow: hidden; }
.nameplate {
  isolation: isolate; position: relative; overflow: hidden;
  justify-content: space-between; gap: 15px; min-height: 208px;
  padding: clamp(19px, 5.8vw, 38px);
  color: #fff; background: linear-gradient(112deg, #134c49, #17615d 55%, #296e69);
}
.nameplate::before {
  content: ""; z-index: -1; pointer-events: none; position: absolute;
  width: 365px; height: 365px; left: 48%; top: -223px;
  border: 1px solid rgba(212, 255, 246, .16); border-radius: 50%;
  box-shadow: 0 0 0 31px rgba(213, 249, 237, .037), 0 0 0 69px rgba(213, 249, 237, .03);
}
.nameplate h1 { font-size: clamp(44px, 9.6vw, 66px); font-weight: 650; letter-spacing: -.05em; }
.full-name { font-size: 18px; line-height: 1.35; margin: 5px 0 0; }
.role { font-size: 15px; line-height: 1.45; margin: 15px 0 0; color: #e0f1ee; }
.qr { flex: none; margin: 0; text-align: center; }
.qr img { width: 111px; height: 111px; display: block; margin: auto; border-radius: 8px; image-rendering: pixelated; }
.qr figcaption { font-size: 12px; margin-top: 6px; color: #e0f1ee; }
.identity-body { padding: 19px clamp(16px, 4.6vw, 28px) 6px; }
.actions { gap: 9px; flex-wrap: wrap; }
.action {
  flex: 1 1 auto; display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 12px 6px; min-height: 48px; border-radius: 11px; text-align: center;
  font-size: 15px; font-weight: 650; color: var(--ink-teal); background: var(--tint);
}
.action:first-child { color: white; background: #17615d; }
.action svg, .row svg { width: 19px; height: 19px; flex: none; }
.action svg { width: 17px; height: 17px; }
.action span, .unit { white-space: nowrap; }
.action:active { transform: scale(.985); }
.contacts { margin: 12px 0 0; }
.row { gap: 12px; padding: 14px 0; color: inherit; }
.row + .row { border-top: 1px solid var(--line); }
.glyph { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 10px; background: var(--tint); color: var(--ink-teal); }
.info { min-width: 0; }
.field { display: block; font-size: 12px; color: var(--quiet); margin-bottom: 2px; }
.value { display: block; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.english { display: block; font-size: 13px; line-height: 1.4; margin-top: 3px; color: var(--quiet); }
address { font-style: normal; }
.row .go, .service-link .go { margin-left: auto; width: 15px; height: 15px; flex: none; color: var(--accent-teal); }
.services { margin: 30px 2px 0; }
h2 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 7px; }
.split, .service p, .service li { font-size: 15px; line-height: 1.72; }
.split { color: var(--quiet); margin: 0 0 15px; text-wrap: pretty; }
.service { padding: 16px 19px; margin: 10px 0; }
.service-link { gap: 12px; min-height: 46px; color: inherit; }
.service-link img { background: #fff; object-fit: contain; border-radius: 50%; }
.service h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.service h3 span { display: block; color: var(--quiet); font-size: 13px; font-weight: 500; margin-top: 2px; }
.service p { margin: 11px 0 0; }
.service p.licence { color: var(--ink-teal); font-size: 14px; font-weight: 600; }
.service ul { padding-inline-start: 19px; margin: 9px 0 0; }
.service li::marker { color: var(--accent-teal); }
.foot { padding: 14px 2px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
@media (hover: hover) {
  .action:hover { filter: brightness(.94); }
  .row:is(a):hover .value, .service-link:hover h3, .foot a:hover, .brand:hover span { text-decoration: underline; }
}
@media (max-width: 365px) {
  .nameplate { gap: 8px; padding: 18px 15px; min-height: 176px; }
  .role { font-size: 13px; }
  .identity-body { padding: 14px 12px 3px; }
  .action { font-size: 13px; gap: 5px; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink-teal: #a0dfd4; --accent-teal: #7cc9bb; --quiet: #bac6c8; --line: rgba(222,245,238,.16); --tint: #233d3c; }
}
@media (prefers-contrast: more) {
  .panel, .row + .row { border-color: currentColor; }
}
@media (prefers-reduced-transparency: reduce) {
  .panel { background: var(--bg); }
}
