@font-face {
  font-family: lawlm-service-icons;
  src: url('./media/service/iconfont.woff2') format('woff2');
  font-display: block;
}

.floating-service {
  position: fixed;
  width: var(--floating-container-width);
  height: var(--floating-container-height);
  right: var(--floating-right);
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--floating-z-index);
  font-family: var(--floating-font);
  font-size: var(--floating-text-size);
  line-height: var(--floating-text-line-height);
  color: var(--floating-text);
}
.floating-service button { font: inherit; color: inherit; padding: 0; border: 0; cursor: pointer; background: transparent; }
.floating-service button:focus-visible { outline: var(--floating-close-bar-width) solid var(--floating-accent); }
.floating-service .service-glyph { font-family: lawlm-service-icons; font-style: normal; -webkit-font-smoothing: antialiased; }
.service-rail { float: right; width: var(--floating-rail-width); }
.floating-service .service-launcher { display: block; position: relative; width: var(--floating-avatar-size); height: var(--floating-avatar-size); margin-bottom: var(--floating-avatar-gap); border-radius: 50%; box-shadow: var(--floating-panel-shadow); }
.service-launcher img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; z-index: 1; }
.service-rail:hover .service-launcher img { background: var(--floating-accent); }
.service-launcher:hover { box-shadow: var(--floating-top-shadow); }
.service-orbit, .service-pulses i { position: absolute; inset: 0; border-radius: 50%; }
.service-orbit { z-index: 2; }
.service-orbit::after { content: ''; position: absolute; right: 0; top: var(--floating-orbit-dot-top); width: var(--floating-orbit-dot-size); height: var(--floating-orbit-dot-size); background: var(--floating-pulse); border-radius: 50%; }
.service-launcher:hover .service-orbit { animation: service-orbit var(--floating-orbit-duration) linear; }
.service-pulses.is-pulsing i:nth-child(-n+2) { background: var(--floating-pulse); opacity: var(--floating-pulse-opacity); }
.service-pulses.is-pulsing i:first-child { animation: service-pulse-one var(--floating-pulse-one) var(--floating-pulse-easing) forwards; }
.service-pulses.is-pulsing i:nth-child(2) { animation: service-pulse-two var(--floating-pulse-two) var(--floating-pulse-easing) forwards; }
.service-pulses.is-pulsing i:nth-child(3) { animation: service-pulse-three var(--floating-pulse-three) var(--floating-pulse-easing) forwards; }
.service-hint { position: absolute; right: var(--floating-hint-right); top: 50%; margin-top: var(--floating-hint-top-offset); width: var(--floating-hint-width); min-height: var(--floating-hint-height); padding: var(--floating-hint-padding-block) var(--floating-hint-padding-end) var(--floating-hint-padding-block) var(--floating-hint-padding-start); display: flex; align-items: center; text-align: left; font-size: var(--floating-small-text-size); line-height: var(--floating-small-line-height); color: var(--floating-white); border-radius: var(--floating-hint-radius) var(--floating-hint-radius) 0 var(--floating-hint-radius); background: var(--floating-ink); opacity: 0; pointer-events: none; transition: opacity var(--floating-transition); }
.service-launcher:is(:hover,:focus-visible) .service-hint { opacity: 1; }
.floating-service .service-top { display: block; width: var(--floating-top-size); height: var(--floating-top-size); margin: 0 auto; border-radius: 50%; background: var(--floating-ink); color: var(--floating-white); box-shadow: var(--floating-top-shadow); font-size: var(--floating-top-icon-size); line-height: var(--floating-top-size); transform: rotate(180deg); }
.floating-service .service-top:hover { background: var(--floating-accent); }
.floating-service.is-open .service-launcher { visibility: hidden; }
.service-menu { display: flex; flex-direction: column; position: absolute; right: 0; bottom: var(--floating-menu-bottom); width: var(--floating-rail-width); padding-top: var(--floating-menu-padding); border-radius: var(--floating-menu-radius); background: var(--floating-white); box-shadow: var(--floating-panel-shadow); text-align: center; }
.service-menu[hidden] { display: none; }
.service-tab { position: relative; margin-top: var(--floating-tab-margin-top); margin-bottom: var(--floating-tab-margin-bottom); }
.floating-service .service-tab-button { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; width: 100%; min-height: var(--floating-tab-height); }
.service-tab-button .service-glyph { display: block; font-size: var(--floating-icon-size); line-height: var(--floating-icon-line-height); }
.service-tab-name { display: block; width: 100%; height: 0; overflow: hidden; opacity: 0; }
.service-tab:is(:hover,:focus-within,.is-active) .service-tab-button { background: var(--floating-ink); color: var(--floating-white); padding: var(--floating-tab-padding) 0; }
.service-tab:is(:hover,:focus-within,.is-active) .service-tab-name { height: auto; opacity: 1; }
.service-panel { position: absolute; top: 50%; right: var(--floating-panel-offset); transform: translateY(-50%); visibility: hidden; padding: var(--floating-panel-padding); background: var(--floating-panel); border-radius: var(--floating-panel-radius); box-shadow: var(--floating-panel-shadow); text-align: left; cursor: text; }
.service-tab:is(:hover,:focus-within,.is-active) .service-panel { visibility: visible; transform: translate(var(--floating-panel-shift), -50%); }
.service-panel::after { content: ''; position: absolute; right: calc(-1 * var(--floating-panel-arrow-width)); top: 50%; transform: translateY(-50%); border-block: var(--floating-panel-arrow-height) solid transparent; border-left: var(--floating-panel-arrow-width) solid var(--floating-white); }
.service-contacts { width: var(--floating-contacts-width); }
.service-contact-row { display: flex; margin-bottom: var(--floating-row-gap); }
.service-contact-row:last-child { margin-bottom: 0; }
.service-contact-label { flex: none; width: var(--floating-label-width); margin-right: var(--floating-label-gap); color: var(--floating-muted); font-size: var(--floating-small-text-size); line-height: var(--floating-small-line-height); }
.floating-service[lang="en"] .service-contact-label { overflow-wrap: anywhere; }
.floating-service[lang="en"] .service-panel { max-height: calc(100svh - 2 * var(--floating-panel-padding)); overflow-y: auto; }
.floating-service[lang="en"] .service-tab:is(:hover,:focus-within,.is-active) .service-panel { transform: translate(var(--floating-panel-shift), calc(-50% + var(--service-panel-offset-y, 0px))); }
.service-contact-value { display: flex; min-width: 0; flex: 1; }
.service-contact-icon { width: var(--floating-contact-icon-size); flex: none; margin-top: var(--floating-contact-icon-top); }
.service-contact-icon img { width: 100%; vertical-align: baseline; }
.service-contact-text { flex: 1; min-width: 0; margin-left: var(--floating-contact-text-gap); font-size: var(--floating-small-text-size); line-height: var(--floating-small-line-height); word-break: break-word; }
.service-qr { width: max-content; }
.service-qr-content { width: var(--floating-qr-width); margin-right: var(--floating-qr-margin); text-align: center; }
.service-qr-content img { display: block; width: 100%; height: auto; }
.service-qr-content p { margin: var(--floating-qr-caption-gap) 0 0; color: var(--floating-caption); }
.floating-service .service-close { position: relative; display: block; width: 100%; height: var(--floating-close-height); margin-bottom: var(--floating-close-gap); }
.service-close::before { content: ''; position: absolute; width: var(--floating-separator-width); height: var(--floating-separator-height); background: var(--floating-separator); top: var(--floating-separator-offset); left: 50%; transform: translateX(-50%); }
.service-close span { position: absolute; width: var(--floating-close-bar-width); height: var(--floating-close-bar-height); background: var(--floating-muted); top: 0; left: 50%; transform: rotate(45deg); }
.service-close span+span { transform: rotate(-45deg); }
@keyframes service-orbit { to { transform: rotate(360deg); } }
@keyframes service-pulse-one { 0%,100% { transform: scale(1); } 50% { transform: scale(2); } }
@keyframes service-pulse-two { 0%,20%,100% { transform: scale(1); } 60% { transform: scale(2); } }
@keyframes service-pulse-three { 0%,33%,100% { transform: scale(1); } 66% { transform: scale(2); } }
@media (max-width: 767px) { .floating-service { display: none; } }
@media (prefers-reduced-motion: reduce) { .service-pulses, .service-orbit { animation: none !important; } .service-pulses i { animation: none !important; } .service-hint { transition: none; } }

.service-mobile { display: none; position: fixed; right: var(--floating-mobile-right); bottom: var(--floating-mobile-bottom); width: var(--floating-mobile-width); z-index: var(--floating-mobile-z-index); }
.service-mobile button { position: relative; display: block; padding: 0; border: 0; border-radius: 50%; box-shadow: var(--floating-mobile-shadow); background: var(--floating-white); cursor: pointer; color: var(--floating-caption); font-family: lawlm-service-icons; font-size: var(--floating-top-icon-size); line-height: var(--floating-mobile-icon-line-height); }
.service-mobile-items { display: flex; flex-direction: column; }
.service-mobile button span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-45%); }
.service-mobile-items[hidden] { display: none; }
.service-mobile .service-mobile-item { width: var(--floating-mobile-button-size); height: var(--floating-mobile-button-size); margin-bottom: var(--floating-mobile-gap); }
.service-mobile .service-mobile-toggle { width: var(--floating-mobile-width); height: var(--floating-mobile-width); color: var(--floating-accent); background: var(--floating-ink); transform: rotate(180deg); }
.service-mobile .service-mobile-toggle[aria-expanded="false"] { color: var(--floating-ink); background: var(--floating-white); transform: none; }
.service-mobile button:focus-visible { outline: var(--floating-close-bar-width) solid var(--floating-accent); }
.service-mobile-qr { position: fixed; inset: 0; z-index: var(--floating-overlay-z-index); }
.service-mobile-qr[hidden] { display: none; }
.service-mobile-mask { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: var(--floating-black); opacity: var(--floating-overlay-opacity); cursor: pointer; }
.service-mobile-qr img { position: fixed; right: var(--floating-mobile-right); bottom: var(--floating-mobile-qr-bottom); width: var(--floating-mobile-qr-size); height: var(--floating-mobile-qr-size); border: var(--floating-mobile-qr-border) solid var(--floating-white); }
@media (max-width: 992px) { .service-mobile { display: block; } }
