.crash-screen,
.crash-screen * {
  user-select: text !important;
  -webkit-user-select: text !important;
  cursor: auto;
}

.crash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #1a1a1a, #000);
  display: grid;
  place-items: center;
  z-index: 99999;
}

.crash-card {
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 420px;
  text-align: center;
  color: #eee;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.crash-code {
  margin: 12px 0;
  font-family: monospace;
  opacity: .9;
}

.crash-card button {
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  background: var(--accent-ring);
  font-weight: 600;
  cursor: pointer;
}


.crash-card button {
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  background: #757575;
  font-weight: 600;
  cursor: pointer;
}


.crash-card button:hover {

  background: #464646;
  cursor: pointer;
}

.crash-mail {
  
  margin-top: 12px;
  
  color: #dcaa2e;
  text-decoration: underline;
  cursor: pointer;
}
.dp-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.dp-icon.mdi-spin {
  animation: dp-icon-spin 1.5s linear infinite;
}

.dp-icon.mdi-spin-reverse {
  animation: dp-icon-spin-reverse 1.5s linear infinite;
}

@keyframes dp-icon-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes dp-icon-spin-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}




.ob-dialog .dialog-container,
.ob-dialog .dialog {
  animation: none !important;
  transition: none !important;
  
}


.ob-dialog,
.ob-dialog .dialog-container {
  z-index: 100000 !important;
}

.ob-dialog .dialog {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 20px!important;
}
.ob-dialog .dialog-container {
  transform: none !important;
  will-change: auto !important;
}

@media (orientation: landscape) and (pointer: coarse) and (max-height:400px){
.ob-dialog .dialog {
top: 30%!important
}
}



.ob-dialog::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);

  
  background:
    radial-gradient(
      120% 90% at 50% 10%,
      rgba(255,255,255,0.10),
      rgba(0,0,0,0.15)
    );

  pointer-events: none;
}



.theme-dark .ob-dialog::before {
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);

  background:
    radial-gradient(
      120% 90% at 50% 10%,
      rgba(40,40,40,0.05),
      rgba(0,0,0,0.25)
    );
}

.ob-dialog .dialog-mask {
background-color: rgba(0,0,0,.1)!important;
cursor: pointer;
}


@media (max-width:531px) {
  .ob {
    padding: 0 1em 1em 1em;
  }
}

@media (max-width:300px) {
  .ob {
    padding: 0 1em 2em 1em;
  }
}


.ob {
  width: min(560px, calc(100vw - 28px));
  max-height: min(90vh, 660px);

  display: flex;
  flex-direction: column;

  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  border-radius: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);

  animation: ob-fade-in 220ms ease-out !important;
}

.ob-dialog:not(.ob-dialog--section) .ob {
  height: min(88vh, 660px);
}

.theme-dark .ob {
  background: color-mix(in srgb, var(--card) 82%, black);
  border-color: color-mix(in srgb, var(--line) 55%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}



.ob-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.ob-skip {
  background: transparent;
  border: 0;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.ob-skip:hover { opacity: 0.85; }
.ob-skip:active { opacity: 0.75; }


.ob-dots { display: flex; gap: 6px; }
.ob-dot {
  border: 0;
  padding: 0;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--fg) 20%, transparent);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease!important;
}
.ob-dot:disabled {
  cursor: default;
  opacity: 0.55;
}
.ob-dot.is-active {
  width: 18px;
  background: color-mix(in srgb, var(--fg) 55%, transparent);
}

.theme-dark .ob-dot {
  background: color-mix(in srgb, var(--fg) 28%, transparent);
}

.theme-dark .ob-dot.is-active {
  background: color-mix(in srgb, var(--fg) 65%, transparent);
}

.ob-dialog--section .ob-dots,
.ob-dialog--section .ob-skip {
  display: none;
}


.ob-dialog--section .ob-body {
  min-height: 0;
  padding-bottom: 1em;
}

.ob-dialog--section .ob-slide {
  position: static;
  inset: auto;
  box-sizing: border-box;
  padding-bottom: 10px;
  opacity: 1;
  pointer-events: auto;
  transition: none;
}



.ob-hero {
  position: relative;
  height: clamp(160px, 32vh, 260px);
  flex: 1 1 auto;
  min-height: 124px;
  display: grid;
  place-items: center;
  overflow: hidden;

  background:
    radial-gradient(120px 120px at 20% 40%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(160px 160px at 70% 30%, rgba(255,255,255,.05), transparent 65%);
      isolation: isolate;
}

.ob-hero--welcome {
  height: clamp(120px, 24vh, 200px);
  min-height: 96px;
}

.ob-hero-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.ob-hero-layer.is-active {
  opacity: 1;
}

.ob-hero-img {
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 100%;
  box-sizing: border-box;
  object-fit: contain;
  padding: clamp(14px, 4vw, 24px);

  pointer-events: none;
  -webkit-user-select: none;
          user-select: none;

  
  animation: ob-fade-in 260ms ease-out !important;
}

.ob-hero-layer--welcome .ob-hero-img {
  max-height: 230px;
  padding-top: clamp(6px, 1.4vh, 14px);
  padding-bottom: clamp(6px, 1.4vh, 14px);
}

@media (max-width:400px) {
.ob-hero--welcome {
  height: clamp(104px, 22vh, 168px);
  min-height: 88px;
}

.ob-hero-layer--welcome .ob-hero-img {
  max-height: 200px;
}

}

@media (max-width: 560px) {
  .ob-dialog:not(.ob-dialog--section) .ob {
    height: min(74vh, 560px);
    max-height: min(74vh, 560px);
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  .ob-hero-layer--welcome .ob-hero-img {
    max-height: min(170px, 38vh);
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

.ob-hero-drift {
    position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform: translateZ(0);

  
animation: ob-drift-strong 18s cubic-bezier(.4,0,.2,1) infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}



.ob-body {
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}





.ob-slide,
.ob-slide * {
  transform: none !important;
}


.ob-body {
  position: relative;
  min-height: clamp(132px, 21vh, 170px);
}

.ob-slide {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding-bottom: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.ob-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}


.ob-dialog:not(.ob-dialog--section) .ob:has(.ob-slide--pick.is-active) .ob-body {
  min-height: clamp(170px, 27vh, 220px);
}

@media (orientation: landscape) and (max-height: 540px) {
  .ob-body {
    min-height: clamp(120px, 24vh, 152px);
  }

  .ob-dialog:not(.ob-dialog--section) .ob:has(.ob-slide--pick.is-active) .ob-body {
    min-height: clamp(152px, 29vh, 188px);
  }
}




.ob-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  padding: 1em 0em 0em 1em;
    transition: opacity 220ms ease;

}

.ob-desc {
  font-size: 14px;
  line-height: 1.35;
  color: color-mix(in srgb, var(--fg) 72%, transparent);
  text-wrap: balance;
  padding: 1em 1.5em 0em;
    transition: opacity 220ms ease;

}



.ob-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.ob-btn {
  
  border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent);
  margin: 0 1em;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--fg);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  min-width: 120px;
  cursor: pointer;

  transition:
    background 140ms ease,
    transform 80ms ease,
    border-color 140ms ease!important;
}

.ob-btn:hover{
    border: 1px solid
    color-mix(in srgb, var(--accent) 55%, transparent);

}


.ob-nav:has(.ob-btn:only-child) .ob-btn {
  width: 100%;
}

.ob-btn.ghost { background: transparent; }
.ob-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.ob-btn:not(:disabled):hover {
   border: 1px solid
    color-mix(in srgb, var(--accent) 55%, transparent);

}
.ob-btn:not(:disabled):active {
  transform: translateY(1px);
}



.ob-pick {
  margin: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.ob-card {
  text-align: left;
  font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  border-radius: 14px;
  padding: 12px;
  color: var(--fg);
  cursor: pointer;

  transition:
    background 140ms ease,
    transform 80ms ease,
    border-color 140ms ease!important;
}

.ob-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.ob-card:active {
  transform: translateY(1px);
  opacity: 0.96;
}

.ob-card-title {
  font-weight: 700;
  font-size: 14px;
  text-wrap: balance;
}

.ob-card-desc {
  margin-top: 3px;
  font-size: 12px;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
  text-wrap: balance;
}





.ob-hero--pick ~ .ob-body .ob-card {
  position: relative;
  isolation: isolate;
}


.ob-hero--pick ~ .ob-body .ob-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;

  border: 1px solid
    color-mix(in srgb, var(--accent) 55%, transparent);

  opacity: 0.35;
  transition:
    opacity 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease!important;
  }


.theme-dark .ob-hero--pick ~ .ob-body .ob-card::after {

  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  pointer-events: none;

  

  opacity: 0;
  filter: blur(12px);
  transition: opacity 220ms ease!important;
  z-index: -1;
}


.ob-hero--pick ~ .ob-body .ob-card:hover::before,
.ob-hero--pick ~ .ob-body .ob-card:focus-visible::before {
  opacity: 0.9;
  border-color: var(--accent);
}

.ob-hero--pick ~ .ob-body .ob-card:hover::after,
.ob-hero--pick ~ .ob-body .ob-card:focus-visible::after {
  opacity: 0.8;
}


.ob-hero--pick ~ .ob-body .ob-card:active {
  transform: translateY(1px) scale(0.985);
}


.ob-hero--pick ~ .ob-body .ob-card:focus-visible {
  outline: none;
}
.ob-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-dark .ob-hero {
  background:
    radial-gradient(
      140px 140px at 20% 40%,
      rgba(255,255,255,.03),
      transparent 60%
    ),
    radial-gradient(
      180px 180px at 70% 30%,
      rgba(255,255,255,.02),
      transparent 65%
    );
}

.theme-dark .ob-desc {
  color: color-mix(in srgb, var(--fg) 78%, transparent);
}

.theme-dark .ob-card-desc {
  color: color-mix(in srgb, var(--fg) 74%, transparent);
}



@keyframes ob-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}



@keyframes ob-drift-strong {
  from {
    transform: translate3d(-6px, -4px, 0) rotate(-0.6deg) scale(1.01);
  }
  to {
    transform: translate3d(6px, 4px, 0) rotate(0.6deg) scale(1.015);
  }
}



@media (prefers-reduced-motion: reduce) {
  .ob,
  .ob-body,
  .ob-pick,
  .ob-hero-img {
    animation: none !important;
    transform: none !important;
  }
}




@media (min-width: 900px) {
  .ob {
    width: min(620px, 60vw);
  }
}

.ob {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 24px,
    #000 calc(100% - 24px),
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 24px,
    #000 calc(100% - 24px),
    transparent 100%
  );
}
.theme-dark .ob {
  -webkit-mask-image: none;
          mask-image: none;
}
.theme-dark .ob {
  position: relative;
}


.theme-dark .ob::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 2px rgba(255,255,255,0.03);

  
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.01) 30%,
      rgba(255,255,255,0.0) 60%
    );

  opacity: 0.9;
}




.ob-hero {
  isolation: isolate;
}

.ob-body {
  isolation: isolate;
}




.theme-dark .ob-title {
  color: color-mix(in srgb, var(--fg) 92%, white);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.04);
}

.theme-dark .ob-hero--pick ~ .ob-body .ob-title {
  color: color-mix(in srgb, var(--accent) 85%, var(--fg));
}
.theme-dark .ob-card .dialog-container {
    border-radius: 20px!important;
}

body:has(.ob-dialog) {
  overflow: hidden;
}



.ob-hero-layer--welcome .ob-hero-drift {
  animation: none !important;
  transform: none !important;
}



.ob-hero--split {
  height: auto;
  padding: 0;
}

.ob-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100%;
  padding: 1em;
  grid-gap: 1em;
  gap: 1em;
}

.ob-logo {
  width: 100%;
  max-width: 180px;
  justify-self: center;
  opacity: 0.95;
}

.ob-text--welcome {
  padding: 1.2em 1.4em 0;
}


@media (max-width: 560px) {
  .ob-hero-split {
    grid-template-columns: 1fr;
  }

  .ob-logo {
    margin-bottom: 0.5em;
  }

  .ob-text--welcome {
    padding-top: 0.5em;
  }
}




.ob-slide + .ob-slide {
  margin-top: 0;
}




:root{
  --gt-border:#e3e9f3; --gt-soft-bg:#f6f8fb; --gt-bg:#ffffff;
  --gt-fg:#0b1220; --gt-fg-muted:#4b5563; --gt-shadow:0 2px 0 rgba(0,0,0,.02);
  --gt-accent:#d0872a;

  
  --em-title:#0e1726; --em-text:#334466; --em-text-soft:#5a6b86;
  --em-muted:0.28;
  --em-stroke:rgba(0,0,0,.08);
}

.theme-dark:root{
  --gt-bg:#0c0f14 !important;
  --gt-border:#2a2f3a !important;
  --gt-soft-bg:#141820 !important;
  --gt-fg:#e7edf7 !important;
  --gt-fg-muted:#b9c3d8 !important;

  --em-title:#eaf0fb !important;
  --em-text:#cbd6ea !important;
  --em-text-soft:#9eb0cf !important;
  --em-stroke:rgba(255,255,255,.06) !important;
}


@keyframes gm-fade-in { from{opacity:0} to{opacity:1} }
@keyframes gm-scale-in{ from{opacity:0;transform:scale(.985)} to{opacity:1;transform:scale(1)} }
@keyframes em-tile-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes em-frost-in{ from{opacity:0} to{opacity:1} }
@keyframes em-sheet-in{
  from{ opacity:0; transform: translateY(8px) scale(.985) }
  to{ opacity:1; transform: translateY(0) scale(1) }
}


.gtm-backdrop{
  position:fixed; inset:0; display:grid; place-items:center;
  padding:clamp(0px,2vw,16px);
  animation:gm-fade-in 240ms ease;
  animation:gm-fade-in var(--dur,240ms) ease;
}
.gtm-blobs{ position:absolute; inset:0; pointer-events:none; z-index:-1; overflow:hidden; }
.gtm-blob{ position:absolute; border-radius:50%; }
.gtm-panel{
  align-self: center;
  position:relative; width:min(96vw,1200px);
   
  display:grid; grid-template-rows:auto auto 1fr; 
  overflow:hidden; border:1px solid; animation:gm-scale-in 240ms cubic-bezier(.2,.8,.2,1); animation:gm-scale-in var(--dur,240ms) cubic-bezier(.2,.8,.2,1);
}
.gtm-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 20px; border-bottom:1px solid #e3e3e3;
}
.gtm-header__title{ font-weight:900; letter-spacing:-0.01em; }
.gtm-body{ overflow:auto; position:relative; }
.gtm-footer{
  padding:10px 20px; border-top:1px solid #e3e9f3; border-top:1px solid var(--gt-border);
  display:flex; justify-content:flex-end; gap:8px;
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.95));
}


.em-search{ padding:12px 20px; }
.em-searchbar{
  display:flex; align-items:center; gap:10px;
  background:#f6f8fb;
  background:var(--gt-soft-bg); border:1px solid #e3e9f3; border:1px solid var(--gt-border);
  border-radius:14px; padding:12px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.em-searchbar input{
  border:0; outline:0; flex:1 1; font-size:15.5px; background:transparent; color:#5a6b86; color:var(--em-text-soft);
}


.em-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  grid-template-columns:repeat(var(--cols,2), minmax(0,1fr));
  grid-gap:22px;
  gap:22px; padding:18px;
  background:linear-gradient(180deg, rgba(12,18,28,.02), rgba(12,18,28,.04));
  border-top:1px solid rgba(0,0,0,.04);
  border-radius: 10px;
}
.em-grid {
  
  will-change: contents;
  backface-visibility: hidden;
}
.theme-dark .em-grid{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-top:1px solid rgba(255,255,255,.05);
}


.em-tile-wrap { will-change: transform, opacity; }
.em-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer!important;
  width: 100%;
  min-height: clamp(140px, 24vw, 260px);

  border-radius: clamp(20px, 3.2vw, 32px);
  padding: clamp(26px, 3.2vw, 38px) clamp(22px, 3vw, 34px);

  color: #fff;

  
  border: 1px solid rgba(255,255,255,.74);
  outline: 1px solid rgba(0,0,0,.02);

  
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 16px 26px rgba(14,24,44,.14);

  filter: saturate(1.02) contrast(1.01);

  transition:
    transform 160ms ease,
    box-shadow 200ms ease,
    filter 220ms ease;
}
.em-tile:hover{
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 20px 32px rgba(12,20,36,.18);
}
.em-tile:active{ transform: translateY(0) scale(.992); }
.em-tile__blur{
  position:absolute; inset:10% 8%; border-radius:inherit;
  background: radial-gradient(60% 60% at 50% 35%, rgba(255,255,255,.22), rgba(255,255,255,0) 70%);
  filter: blur(6px) saturate(1.1); pointer-events:none;
}
.em-tile__icon{ line-height:0; transform:translateZ(0); filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)) saturate(1.02) contrast(1.02); }
.em-tile__title{
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.16; letter-spacing: -0.012em; font-weight: 850;
  text-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.em-tile[style*="#f7fafc"], .em-tile[style*="#eef2f7"],
.em-tile:where([style*="rgb(247,250,252)"], [style*="rgb(238,242,247)"]) { color:#0b1220 !important; }
.em-tile.is-excluded{ filter:saturate(.75) contrast(.92) brightness(.94); opacity:.55; }


.em-host { position:relative; }
.em-host--dim .em-tile-wrap:not(.is-active) .em-tile{
  filter: saturate(.92) contrast(.98) brightness(.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 20px rgba(14,24,44,.10);
}


.em-frost{
  position:absolute; inset:0; display:grid;
  background: rgba(255,255,255,.34);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  animation: em-frost-in 220ms ease forwards;
  z-index: 5;

  place-items: flex-start;
  padding: 1em 1em 2em ;

  overflow: hidden;              
  touch-action: none;            
  pointer-events: auto;

  
  will-change: opacity, transform;
  transform: translateZ(0);
}

.em-sheet{
  width:min(960px, 94%);
  
  border-radius: clamp(18px, 2.4vw, 26px);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,252,255,.98));
  border:1px solid rgba(226,232,240,.9);
  box-shadow: 0 30px 70px rgba(16,24,40,.24), inset 0 1px 0 rgba(255,255,255,.65);
  display:grid; grid-template-rows:auto 1fr;
    background-color: #ffffff;
    background-color: var(--gt-bg);
  
  backface-visibility: hidden;
  transform: translateZ(0);
}

.em-animate-in{
  animation: em-sheet-in 240ms cubic-bezier(.2,.8,.2,1) both;
  will-change: transform;
}
.em-sheet-head{
  position:sticky; top:0; z-index:1;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 2vw, 18px);
  border-bottom: 1px solid rgba(226,232,240,.9);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
          backdrop-filter: blur(8px) saturate(1.15);
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.55));
  contain: layout style;
  backface-visibility: hidden;
}

.em-chip{ display:flex; align-items:center; gap:12px; font-weight:800 }
.em-chip-icon{
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:#fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 10px 18px rgba(10,20,35,.15);
}

.theme-dark .em-chip-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.365), 0 10px 18px rgba(10,20,35,.15);
}

.em-chip-title{ font-size: clamp(17px, 1.9vw, 19px); letter-spacing:-.01em; }

.em-sheet-body{ padding: clamp(14px, 2vw, 18px); }

.em-sheet{
  max-height: none !important;
}





.em-card{
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(14,24,44,.10), inset 0 1px 0 rgba(255,255,255,.55);
  padding: clamp(14px, 2vw, 16px) clamp(14px, 2vw, 16px) 12px;
}
.em-card-head{ display:flex; align-items:center; gap:12px; font-weight:850; margin-bottom:10px; }

.em-list{ display:grid; grid-gap:12px; gap:12px; }
.em-list-row{ display:grid; grid-template-columns:24px 1fr; grid-gap:12px; gap:12px; line-height:1.65; font-size: clamp(15px, 1.7vw, 16px); }
.em-meta-note{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.em-meta-note__disclaimer{
  font-size: 13px;
  line-height: 1.35;
  color: #5a6b86;
  color: var(--em-text-soft);
}
.em-source-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
  opacity: .9;
}
.em-source-link:hover{
  opacity: 1;
}
.em-source-link__icon{
  display: inline-flex;
  font-size: 14px;
}


.em-mark{
  background: rgba(242,201,76,.35);
  border-radius: 6px;
  padding: 0 3px;
}


.em-footer-merge{ width:100%; display:flex; justify-content:flex-end; gap:8px; }
.em-cta-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 18px; border-radius:14px; border:0; cursor:pointer;
  background:#d0872a; color:#fff; font-weight:800;
  box-shadow:0 10px 26px rgba(208,135,42,.35);
}


.sr-only{ position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }





 .theme-dark .em-tile{
    
    border: 1px solid rgba(42, 42, 42, 1);
    outline-color: rgba(255,255,255,.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 30px rgba(0,0,0,.46);
    filter: saturate(1.0) contrast(1.0);
  }
.theme-dark  .em-tile__title{ text-shadow: 0 1px 0 rgba(0,0,0,.22); }
  .theme-dark .em-host--dim .em-tile-wrap:not(.is-active) .em-tile{
    filter: saturate(.90) contrast(.96) brightness(.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 20px rgba(0,0,0,.35);
  }
 .theme-dark .em-frost{
    background: rgba(20,24,30,.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
            backdrop-filter: blur(18px) saturate(1.1);
  }
 .theme-dark .em-sheet{
    background: linear-gradient(180deg, rgba(28,28,32,.94), rgba(22,24,28,.96));
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 30px 64px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  }
 .theme-dark .em-sheet-head{
    background: linear-gradient(180deg, rgba(28,28,32,.65), rgba(28,28,32,.45));
    border-bottom-color: rgba(255,255,255,.08);
    color:#e6e6e6;
  }
  .theme-dark .em-card{
    background: linear-gradient(180deg, rgba(36,38,44,.92), rgba(30,32,38,.96));
    border-color: rgba(255,255,255,.06);
    box-shadow: 0 14px 30px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.05);
  }
  .theme-dark .em-list-row{ color:#e3e7ef; }
  .theme-dark .em-meta-note{
    border-top-color: rgba(255,255,255,.08);
  }
  .theme-dark .em-cta-btn{ background:#d6933f; }




.gtm-header .gtm-iconbtn{
  border: 0; background: transparent; cursor: pointer;
  padding: 6px 8px; font-size: 20px; line-height: 1; border-radius: 10px;
  transition: background .15s ease, transform .1s ease;
}
.gtm-header .gtm-iconbtn:hover{ background: rgba(0,0,0,.05) }
.theme-dark .gtm-header .gtm-iconbtn {background: rgba(255,255,255,.08);}
.theme-dark .gtm-header .gtm-iconbtn:hover{ background: rgba(255,255,255,.16) }



.em-grid { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }



@media (max-width: 600px) {
.em-grid:not(:has(> .em-video-row)) { grid-template-columns: repeat(auto-fit, minmax(125px,1fr)); }  

}
@media (max-width: 600px) {
  .em-sheet-body .em-grid:not(:has(> .em-video-row)) {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}



.em-tile-wrap{ height: auto; height: var(--tileH, auto); }
.em-tile{ height: 100%; }

.em-tile:hover{
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 20px 32px rgba(12,20,36,.18);
}
.em-tile__icon{ filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)) saturate(1.02) contrast(1.02); }
.em-tile__title{
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.16; letter-spacing: -0.012em; font-weight: 850;
  text-shadow: 0 1px 0 rgba(0,0,0,.07);
}

.em-tile[style*="#f7fafc"], .em-tile[style*="#eef2f7"]{ color:#0b1220 !important; }
.em-tile.is-excluded{ filter: saturate(.75) contrast(.92) brightness(.94); opacity:.55; }



.em-sheet-head{ gap:14px; }
.em-chip-icon{ width:44px; height:44px; }
.em-chip-title{ font-size: clamp(18px,2vw,20px); }
.em-list--readable .em-list-row{
  grid-template-columns: 28px 1fr;
  gap: 14px;
  line-height: 1.72;
  font-size: clamp(16px, 1.9vw, 18px);
}


.gtm-footer{
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.95));
  border-top: 1px solid #e3e9f3;
  border-top: 1px solid var(--gt-border, #e3e9f3);
}


.em-tile__icon svg{
  width: clamp(88px, 12vw, 164px);
  height: clamp(88px, 12vw, 164px);
}
.em-tile__title{
  
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.014em;
}


.em-tile:focus-visible,
.gtm-iconbtn:focus-visible,
.em-cta-btn:focus-visible{
  outline: 2px solid #d0872a;
  outline: 2px solid var(--gt-accent);
  outline-offset: 3px;
  border-radius: 14px;
}


.em-tile { scroll-margin: 24px; }





@keyframes em-tile-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


.em-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  
  padding: 28px;
  border-radius: 24px;

  
  box-shadow: 0 14px 30px rgba(0,0,0,.18),
              inset 0 1px 0 rgba(255,255,255,0.55);

  
  cursor: pointer;
  width: 100%;
  transition: transform 140ms ease, box-shadow 140ms ease;
  will-change: transform;
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial;
}

.em-tile:hover { transform: translateY(-1px); }
.em-tile:active { transform: scale(.985); }


.em-tile:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.9),
    0 0 0 4px rgba(208,135,42,.55),
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.55);
}


.em-tile.is-light {
  color: #0b1220;
  border: 1px solid #e3e9f3;   
}


.em-ico {
  width: clamp(88px, 12vw, 160px);
  height: clamp(88px, 12vw, 160px);
  display: grid;
  place-items: center;
  line-height: 1;
  transform: translateZ(0);
}




.em-ico > i,
.em-ico > i::before,
.em-ico > i.mdi::before,
.em-ico > i.fa::before,
.em-ico > i.fas::before,
.em-ico > i.far::before,
.em-ico > i.fab::before {
  
  line-height: 1 !important;
}


.em-ico svg {
  width: 1em !important;
  height: 1em !important;
}


.em-ico svg,
.em-ico > i::before {
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.10));
}



.em-tile__title {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 16px;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);   
}


.em-tile.is-light .em-tile__title { text-shadow: none; }


.em-tile-wrap {
  opacity: 0;
  transform: translateY(8px);
  animation: em-tile-in 240ms cubic-bezier(.2,.8,.2,1) 0ms forwards;
  animation: em-tile-in 240ms cubic-bezier(.2,.8,.2,1) var(--delay, 0ms) forwards;
  will-change: opacity, transform;
}


@media (max-width: 560px) {
  .em-tile { border-radius: 22px; padding: 24px; }
  .em-tile__title { font-size: 20px; }
}

@media (max-width: 380px) {
  .em-tile { padding: 15px; }
}



.theme-dark
  .em-tile {
    box-shadow: 0 18px 40px rgba(0,0,0,.40),
                inset 0 1px 0 rgba(255,255,255,.06);
  }
.theme-dark
  .em-tile.is-light { border-color: rgba(255,255,255,.08); }
.theme-dark
  .em-tile__title { text-shadow: 0 1px 0 rgba(0,0,0,.22); }



.em-ico { display:inline-grid; place-items:center; line-height:1; }
.em-ico i, .em-ico svg { font-size:1em; width:1em; height:1em; }


.em-searchbar .gtm-iconbtn{ opacity:.7; border-radius:10px; padding:6px; }
.em-searchbar .gtm-iconbtn:hover{ opacity:1; background:rgba(0,0,0,.04); }


.em-tile{
  border-radius: clamp(22px, 3.2vw, 34px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 18px 34px rgba(14,24,44,.14);
  filter: saturate(1.02) contrast(1.01) brightness(1.01);
  -webkit-backdrop-filter: saturate(1.06);
          backdrop-filter: saturate(1.06);
}
.em-tile::after{               
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:
    radial-gradient(120% 80% at 14% 8%, rgba(255,255,255,.16), transparent 50%),
    radial-gradient(120% 80% at 85% 95%, rgba(0,0,0,.06), transparent 55%);
}


.em-chip .em-ico{ font-size:40px; }


.em-chip .em-ico{ font-size:1.75em; } 
 .em-list--readable .em-ico{ font-size:24px; }





.em-sheet-head .gtm-iconbtn{ font-size:22px; line-height:1; }




.em-ico { display:inline-grid; place-items:center; line-height:1; font-size:1em; }
.em-ico > i,
.em-ico > i::before,
.em-tile-wrap .em-ico > i.mdi::before { 
  font-size:1em !important; 
  line-height:1 !important; }
  
.gtm-body.em-host.em-host--dim > div.em-frost > div > div.em-sheet-body > div > div.em-list.em-list--readable > div > div.em-ico > i {
font-size: .95em!important;
}

.em-ico svg { width:1em !important; height:1em !important; }


.em-ico--btn { font-size:20px; }         
@media (min-width:640px){ .em-ico--btn { font-size:22px; } }
.em-ico--chip { font-size:32px; }        
@media (min-width:640px){ .em-ico--chip { font-size:36px; } }


.em-chip-icon{
  width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center; overflow:hidden;
}



.gtm-iconbtn{ border:0; background:transparent; cursor:pointer; padding:6px; line-height:1; border-radius:10px; }
.gtm-iconbtn--pill{
  padding:6px 8px;
  background: rgba(0,0,0,.04);
  transition: background .15s ease, transform .1s ease;
}
.gtm-iconbtn--pill:hover{ background: rgba(0,0,0,.07); }


.theme-dark  .gtm-iconbtn--pill{ background: rgba(255,255,255,.06); }
 .theme-dark .gtm-iconbtn--pill:hover{ background: rgba(255,255,255,.10); }



.em-search { position: relative; }
.em-search-clear{
  border-radius: 12px;
}
.em-searchbar{ position:relative; }
.em-searchbar .em-search-clear{
  position:absolute; right:8px; top:50%; transform: translateY(-50%);
  background: rgba(0,0,0,.06);
}
.em-searchbar .em-search-clear:hover{ background: rgba(0,0,0,.10); }


.theme-dark  .em-searchbar .em-search-clear{ background: rgba(255,255,255,.08); }
.theme-dark  .em-searchbar .em-search-clear:hover{ background: rgba(255,255,255,.12); }



.em-tile .em-ico{
  
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.10));
}


.em-tile__title,
.em-tile__meta,
.em-tile-label {
  user-select: text;
  -webkit-user-select: text;
}


.em-sheet-head .gtm-iconbtn { padding:6px 8px; }
.theme-dark .gtm-header .gtm-iconbtn {
  color: inherit;
}
.theme-dark body .gtm-panel > div.gtm-body > div.gtm-body.em-host.em-host--dim > div.em-frost > div > div.em-sheet-head > button {
  color: white;
}


.em-ico{
  display:inline-grid;
  place-items:center;
  line-height:1;
  font-size:1em;              
  width:1em; height:1em;
}


.em-ico > i,
.em-ico > i::before,
.em-ico > i.mdi::before,
.em-ico > i.fa::before,
.em-ico > i.fas::before,
.em-ico > i.far::before,
.em-ico > i.fab::before{
  display:inline-block !important;
  
  line-height:1 !important;
  width:1em; height:1em;
}


.em-ico svg{ width:1em !important; height:1em !important; }


.em-ico--btn{ font-size:20px; color: #5a6b86; color: var(--em-text-soft); }
@media (min-width:640px){ .em-ico--btn{ font-size:22px; } }


.em-ico--chip{ font-size:36px; }
@media (min-width:640px){ .em-ico--chip{ font-size:40px; } }


.em-chip-icon{
  width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center; overflow:hidden;
}


.em-searchbar .em-search-clear{ 
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  border-radius:12px; padding:6px;
  background: rgba(0,0,0,.06);
}
.em-searchbar .em-search-clear:hover{ background: rgba(0,0,0,.10); }

.theme-dark .em-searchbar .em-search-clear{ 
  background: rgba(255,255,255,.08); }

.theme-dark  .em-searchbar .em-search-clear:hover
{ background: rgba(255,255,255,.12); }



.gtm-header .em-hdr{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:-0.01em;
}

.theme-dark .gtm-header{
  border-bottom: 1px solid #e3e9f3 !important;
  border-bottom: 1px solid var(--gt-border) !important;
}


.em-hdr__accent { color: #d0872a !important; color: var(--gt-accent) !important; }



.em-ico, .em-ico i, .em-ico i::before, .em-ico svg { 
  color: currentColor; 
}

div.gtm-panel > div.gtm-body > div.gtm-body.em-host.em-host--dim > div.em-frost > div > div.em-sheet-head > button > span > i, 
div.gtm-panel > div.gtm-header > button {
  color: rgba(0,0,0,.6);
}





.gtm-panel { 
  
  backface-visibility: hidden;
  transform: translateZ(0);
}







.em-tile.em-tile--modallike{
  
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 18px 34px rgba(14,24,44,.14);
  filter: saturate(1.06) contrast(1.06) brightness(1.03);
}
.theme-dark .em-tile.em-tile--modallike{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 40px rgba(0,0,0,.40);
  filter: saturate(1.02) contrast(1.02) brightness(1.02);
}


.em-host:not(.em-host--dim) .em-tile-wrap .em-tile{
  opacity: 1 !important;
  filter: none !important;
}


.theme-dark .em-host:not(.em-host--dim) .em-tile-wrap .em-tile, .theme-dark .em-cta-btn, .theme-dark .em-host .mdi {
  opacity: .8!important;
}


@media (min-width: 1200px) {
  .em-grid {
    justify-content: center;      
    
  }
  .em-tile {
    max-width: 300px;
  }
}
.em-tile {
  will-change: transform;
  
  backface-visibility: hidden;
  transform: translateZ(0);
}


.em-listrow {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-gap: 14px;
  gap: 14px;

  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;

  background: #f6f8fb;

  background: var(--gt-soft-bg);
  border: 1px solid #e3e9f3;
  border: 1px solid var(--gt-border);
  box-shadow: 0 2px 4px rgba(14,24,44,.06),
              inset 0 1px 0 rgba(255,255,255,.55);

  cursor: pointer;
  text-align: left;

  transition: background 140ms ease,
              box-shadow 160ms ease,
              transform 120ms ease;

  color: #334466;

  color: var(--em-text);
  will-change: transform, box-shadow;
  
  backface-visibility: hidden;
  transform: translateZ(0);
}

.theme-dark .em-listrow {
  box-shadow: none;
}

.em-listrow:hover {
  background: color-mix(in srgb, #f6f8fb 80%, white 20%);
  background: color-mix(in srgb, var(--gt-soft-bg) 80%, white 20%);
  box-shadow: 0 4px 10px rgba(14,24,44,.12),
              inset 0 1px 0 rgba(255,255,255,.65);
  transform: translateY(-1px);
}

.theme-dark .em-listrow:hover {
    background: color-mix(in srgb, #f6f8fb 80%, white 5%);
    background: color-mix(in srgb, var(--gt-soft-bg) 80%, white 5%);
  box-shadow: none;
}

.em-listrow:active {
  transform: translateY(0) scale(.985);
}


.em-listrow-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 6px 14px rgba(14,24,44,.18);

  overflow: hidden;
}


.em-listrow-title {
  font-weight: 800;
  font-size: 15.5px;
  color: #0e1726;
  color: var(--em-title);
  margin-bottom: 4px;
  line-height: 1.25;
}


.em-listrow-lines {
  font-size: 13.5px;
  line-height: 1.32;
  color: #5a6b86;
  color: var(--em-text-soft);
  max-height: 2.7em;
  overflow: hidden;
}


.em-listrow mark {
  background: rgba(242,201,76,.35);
  border-radius: 5px;
  padding: 0 3px;
}


.em-listrow:focus-visible {
  outline: 2px solid #d0872a;
  outline: 2px solid var(--gt-accent);
  outline-offset: 3px;
}


@media (prefers-color-scheme: dark) {
  .em-listrow {
    background: #ffffff;
    background: var(--gt-bg);
    border-color: #e3e9f3;
    border-color: var(--gt-border);
    box-shadow: 0 2px 6px rgba(0,0,0,.32),
                inset 0 1px 0 rgba(255,255,255,.06);
    color: #334466;
    color: var(--em-text);
  }
  .em-listrow:hover {
    background: rgba(255,255,255,.06);
    box-shadow: 0 4px 14px rgba(0,0,0,.45);
  }
  .em-listrow-title {
    color: #0e1726;
    color: var(--em-title);


  }
  .em-listrow-lines {
    color: #5a6b86;
    color: var(--em-text-soft);
  }
  .em-listrow-thumb {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 8px 18px rgba(0,0,0,.40);
  }
}

.em-listrow-lines {
  font-size: 13.5px;
  line-height: 1.32;
  color: #5a6b86;
  color: var(--em-text-soft);

  display: -webkit-box;
  -webkit-line-clamp: 2;      
  -webkit-box-orient: vertical;
  overflow: hidden;
}













.theme-dark .gtm-body  .em-search .em-searchbar i {
  color: inherit;
}

.theme-dark .gtm-panel{
  background: #ffffff !important;
  background: var(--gt-bg) !important;
  border-color: #e3e9f3 !important;
  border-color: var(--gt-border) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.55) !important;
}

.theme-dark .gtm-footer{
  background: linear-gradient(
    180deg,
    rgba(22,26,32,.88),
    rgba(22,26,32,.98)
  ) !important;

  border-top: 1px solid #e3e9f3 !important;

  border-top: 1px solid var(--gt-border) !important;
}


.theme-dark .em-frost{
  background: rgba(20,24,30,.42) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.theme-dark .em-sheet{
  background: linear-gradient(180deg, rgba(28,28,32,.94), rgba(22,24,28,.96)) !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: 
    0 30px 64px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.theme-dark .em-sheet-head{
  background: linear-gradient(180deg, rgba(28,28,32,.65), rgba(28,28,32,.45)) !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
  color:#e6e6e6 !important;
}

.theme-dark .em-card{
  background: linear-gradient(180deg, rgba(36,38,44,.92), rgba(30,32,38,.96)) !important;
  border-color: rgba(255,255,255,.06) !important;
  box-shadow: 
    0 14px 30px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}




.theme-dark .em-searchbar--sm{
  background: rgba(28,32,38,0.65) !important;
  border-color: rgba(255,255,255,0.08) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.06),
    0 0 0 rgba(0,0,0,0) !important;
  color: #5a6b86;
  color: var(--em-text-soft);
}

.theme-dark .em-searchbar--sm input{
  color: #5a6b86 !important;
  color: var(--em-text-soft) !important;
}

.theme-dark .em-searchbar--sm i{
  color: #5a6b86;
  color: var(--em-text-soft);
  opacity: .85;
}



.theme-dark .em-searchbar, .theme-dark .pc-searchbar{
  background: rgba(22,26,32,0.65) !important;
  border-color: rgba(255,255,255,0.09) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 rgba(0,0,0,0) !important;
}

.theme-dark .em-searchbar input, 
.theme-dark .pc-searchbar input{
  color: #5a6b86 !important;
  color: var(--em-text-soft) !important;
}

.theme-dark .em-searchbar i, 
.theme-dark .pc-searchbar i{
  color: #5a6b86;
  color: var(--em-text-soft);
  opacity: .85;
}



.em-sheet{
  touch-action: pan-y;
  -webkit-touch-callout: none;
    pointer-events: auto;

}
.em-frost{
  touch-action: manipulation;
    
    pointer-events: auto;
}

.em-host{
  pointer-events: auto;
}


button{
  appearance: none;
  color: inherit;
  background: none;
}



.gtm-body .em-listmode {
  margin-inline: 1em
}




@keyframes jenkemWobble {
  0% {
    transform: translate3d(-2px,1px,0) scale(1.015);
    filter: blur(0.9px) saturate(1.25) hue-rotate(18deg) contrast(1.06);
  }
  25% {
    transform: translate3d(1px,-3px,0) scale(1.035);
    filter: blur(1.6px) saturate(1.45) hue-rotate(-32deg) contrast(1.14);
  }
  50% {
    transform: translate3d(3px,2px,0) scale(1.02);
    filter: blur(1.2px) saturate(1.3) hue-rotate(28deg) contrast(1.1);
  }
  75% {
    transform: translate3d(-3px,-1px,0) scale(1.04);
    filter: blur(1.8px) saturate(1.55) hue-rotate(-18deg) contrast(1.16);
  }
  100% {
    transform: translate3d(-2px,1px,0) scale(1.015);
    filter: blur(0.9px) saturate(1.25) hue-rotate(18deg) contrast(1.06);
  }
}


html.jenkem-vision {
  position: relative;
  --jenkem-delay: 3s;     
  --jenkem-warmup: 6s;    
}


html.jenkem-vision body > * {
  filter: none;
  transform: none;
}


.jenkem-vision::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;

  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.025) 0 1px,
      rgba(0,0,0,0.04) 1px 2px
    ),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.06), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.06), transparent 50%);

  mix-blend-mode: overlay;
  opacity: 0;

  animation:
    jenkemNoise 180ms infinite steps(2,end),
    jenkemRoll 6s infinite linear,
    jenkemWarmup var(--jenkem-warmup) ease-out forwards;

  animation-delay:
    var(--jenkem-delay),
    var(--jenkem-delay),
    var(--jenkem-delay);

  animation-fill-mode: backwards;
}

@keyframes jenkemRoll {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 0 200px, 0 0, 0 0; }
}


html.jenkem-vision::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;

  background:
    linear-gradient(
      0deg,
      rgba(255,0,0,0.035),
      rgba(0,255,255,0.035)
    );

  mix-blend-mode: screen;
  opacity: 0;

  animation:
    jenkemRGB 1.6s infinite alternate ease-in-out,
    jenkemWarmup var(--jenkem-warmup) ease-out forwards;

  animation-delay:
    var(--jenkem-delay),
    var(--jenkem-delay);

  animation-fill-mode: backwards;
}

@keyframes jenkemRGB {
  0%   { transform: translate3d(-1px,0,0); opacity: .35; }
  50%  { transform: translate3d(1px,-1px,0); opacity: .55; }
  100% { transform: translate3d(0,1px,0); opacity: .4; }
}


html.jenkem-vision body::before {
  content: "";
  position: fixed;
  inset: -15%;
  pointer-events: none;
  z-index: 9998;

  background:
    radial-gradient(circle at 25% 35%, rgba(255,0,120,0.06), transparent 55%),
    radial-gradient(circle at 65% 30%, rgba(0,180,255,0.06), transparent 58%),
    radial-gradient(circle at 45% 75%, rgba(120,255,120,0.05), transparent 60%);

  filter: blur(44px) saturate(1.25);
  mix-blend-mode: screen;
  opacity: 0;

  animation:
    jenkemBlobs 26s infinite alternate cubic-bezier(.45,0,.2,1),
    jenkemWarmup var(--jenkem-warmup) ease-out forwards;

  animation-delay:
    var(--jenkem-delay),
    var(--jenkem-delay);

  animation-fill-mode: backwards;
}

@keyframes jenkemBlobs {
  0%   { background-position: 30% 40%, 60% 35%, 45% 70%; }
  50%  { background-position: 40% 30%, 55% 45%, 50% 60%; }
  100% { background-position: 35% 45%, 50% 40%, 40% 65%; }
}


html.jenkem-vision body > * {
  animation: jenkemWobble 8s infinite cubic-bezier(.08,.02,.04,2);
  animation-delay: var(--jenkem-delay);
  animation-fill-mode: backwards;
  transform-origin: 50% 50%;
  will-change: transform, filter;
}


@keyframes jenkemMelt {
  0%   { filter: blur(.6px); transform: translateY(0); }
  50%  { filter: blur(1.4px); transform: translateY(1.5px); }
  100% { filter: blur(.6px); transform: translateY(0); }
}

html.jenkem-vision body
:is(p,h1,h2,h3,h4,h5,h6,li,span,strong,em,a) {
  animation:
    jenkemMelt 6s infinite linear,
    jenkemWobble 18s infinite linear;
  animation-delay:
    var(--jenkem-delay),
    var(--jenkem-delay);
  animation-fill-mode: backwards;
}


@keyframes jenkemShadow {
  from { text-shadow: none; }
  to {
    text-shadow:
      0 .6px 0 rgba(0,0,0,.25),
      0 1.2px 0 rgba(0,0,0,.18),
      0 2.4px 0 rgba(0,0,0,.12);
  }
}

html.jenkem-vision body
:is(p,h1,h2,h3,h4,h5,h6,li,span) {
  animation: jenkemShadow .01s linear forwards;
  animation-delay: var(--jenkem-delay);
}


@keyframes jenkemDrip {
  0%   { transform: skewY(0deg); }
  50%  { transform: skewY(.3deg); }
  100% { transform: skewY(0deg); }
}

html.jenkem-vision body :is(p,li) {
  animation:
    jenkemDrip 9s infinite ease-in-out,
    jenkemMelt 6s infinite linear,
    jenkemWobble 18s infinite linear;
  animation-delay:
    var(--jenkem-delay),
    var(--jenkem-delay),
    var(--jenkem-delay);
  animation-fill-mode: backwards;
}


@keyframes jenkemWarmup {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.settings-page {
  padding: 0 0 100px;

  
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  animation: slide-in 220ms ease-out;

}

.settings-page--language {
  overflow-y: hidden;
}

.settings-page .settings-wraper {
  display: flex;
  justify-content: center; 
  align-items: flex-start; 
}

.settings-page.data .settings-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.settings-page.data .settings-text {
  padding: 0;
}

.settings-page.data .settings-group {
  width: 100%;
}

.settings-group--section {
  margin: 24px 0 12px;
}

.settings-page .settings-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto; 
  
  text-wrap: balance;
  -webkit-hyphens: auto;
          hyphens: auto;
}

.settings-content {
  max-width: 1100px;
}

.settings-page .settings-content p {
  text-wrap: balance;
  -webkit-hyphens: auto;
          hyphens: auto;
}

.settings-content.about .about-store-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px auto 12px;
}

.settings-content.about .about-store-links__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 190px);
  flex: 1 1 190px;
  max-width: 190px;
}

.settings-content.about .about-store-links__image {
  display: block;
  width: 100%;
  height: auto;
}

.settings-page.homepage h3 {
  padding: 0 1em;
}

.settings-text {
  padding: 0 2em;
}

.settings-group {
  max-width: 1000px;
  margin-inline: auto;
}

.settings-group, .settings-row-homepage {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.1)
}
.theme-dark .settings-group, .settings-row-homepage {
  border: 1px solid rgba(221,221,221,.1)
}

.settings-row.settings-static {
   background: var(--card);
}

.settings-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  padding: 1em 2em;
  background: transparent;
  border: 0;
  
  border-bottom: 1px solid rgba(0,0,0,.1);
  color: var(--fg);
  font-size: 15px;
  cursor: pointer;
}

.settings-content.network .settings-row, .settings-content.accessibility .settings-row {
  width: auto;
  width: initial;
  box-sizing: border-box;
}

.settings-wraper h2 {
  padding-inline: 1em;
}


.theme-dark .settings-row {
    
  border-bottom: 1px solid rgba(221,221,221,.1);
}

.settings-row.settings-header-row {
  border-top: 0;
  border-top: initial;
  border-bottom: 0;
  border-bottom: initial;
  border: 1px solid rgba(0,0,0,.1)
}
.theme-dark .settings-row.settings-header-row {
  border: 1px solid rgba(221,221,221,.1);
}
.settings-row.settings-header-row {
  
  border-left: 0;
  border-right: 0;
  width: 100%;
}

.settings-row.settings-row--close {
  justify-content: center;
}

.settings-page.homepage .settings-row {
  width: auto;
  width: initial;
  padding: 1em 1.5em;
}

 .settings-row.is-active {
      justify-content: initial;
 }

.settings-page.homepage .settings-row span + span , .settings-row.is-active span + span {
  margin-left: 18px;
}

.settings-row:last-child {
  border-bottom: 0;
  background: var(--card);
}
.settings-content.about .settings-row:last-child {
  border-bottom: 1px solid rgba(0,0,0,.1);
  border-top: 1px solid rgba(0,0,0,.1);
}

.settings-row:active {
  background: color-mix(in srgb, var(--fg) 6%, transparent);
}

.settings-row.is-active {
  font-weight: 600;
}

.settings-debug .settings-row {
  width: auto;
  width: initial;
  padding: 1em 2em;
}

.settings-debug .settings-group {
  margin-top: 24px;
}

.settings-debug .settings-row.header {
  cursor: default;
  pointer-events: none;
}
.settings-row.settings-static {
  cursor: copy;
}





@keyframes slide-in {
  from {
    transform: translateX(16px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}


.settings-page a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.settings-page a:hover {
  text-decoration: underline;
}

.settings-link-cards {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin-top: 24px;
}

.settings-page .needs-link-card {
  width: 100%;
  border: 1px solid #e5e7eb;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(220, 170, 46, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.98));
  color: #1f2328;
  color: var(--fg, #1f2328);
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.settings-page .needs-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 170, 46, 0.45);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.settings-page .needs-link-card:active {
  transform: translateY(0);
}

.settings-page .needs-link-card__hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.settings-page .needs-link-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(220, 170, 46, 0.22), rgba(220, 170, 46, 0.1)),
    #fff;
  color: #7a5b00;
  border: 1px solid rgba(220, 170, 46, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.settings-page .needs-link-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #667085;
  color: var(--sub, #667085);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-right: auto;
}

.settings-page .needs-link-card__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #1f2328;
  color: var(--fg, #1f2328);
}

.theme-dark .settings-page .needs-link-card,
[data-theme="dark"] .settings-page .needs-link-card {
  background:
    radial-gradient(circle at top right, rgba(220, 170, 46, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(36, 36, 38, 0.98), rgba(26, 26, 27, 0.98));
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.theme-dark .settings-page .needs-link-card:hover,
[data-theme="dark"] .settings-page .needs-link-card:hover {
  border-color: rgba(220, 170, 46, 0.34);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-dark .settings-page .needs-link-card__icon,
[data-theme="dark"] .settings-page .needs-link-card__icon {
  background:
    linear-gradient(180deg, rgba(220, 170, 46, 0.18), rgba(220, 170, 46, 0.08)),
    rgba(255, 255, 255, 0.03);
  color: #f0d27c;
  border-color: rgba(220, 170, 46, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-dark .settings-page .needs-link-card__badge,
[data-theme="dark"] .settings-page .needs-link-card__badge,
.theme-dark .settings-page .needs-link-card__cta,
[data-theme="dark"] .settings-page .needs-link-card__cta {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  color: #e4e4e6;
  color: var(--fg, #e4e4e6);
}


.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 16px;
  margin-bottom: 12px;

  border-bottom: 1px solid var(--line);
}

.settings-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}
.settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 12px;          
  margin: -8px -12px;         

  background: transparent;
  border: 0;
  border-radius: 10px;

  color: var(--accent-strong);
  font-weight: 600;
  cursor: pointer;

  transition: background 120ms ease, opacity 120ms ease;
}

.settings-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin: -8px -12px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 120ms ease, opacity 120ms ease;
}

.settings-home-logo {
  display: block;
  width: auto;
  max-height: 32px;
}


.settings-back:hover,
.settings-home:hover {
  background: color-mix(in srgb, var(--accent-strong) 12%, transparent);
}


.settings-back:active,
.settings-home:active {
  background: color-mix(in srgb, var(--accent-strong) 20%, transparent);
  opacity: 0.9;
}


.settings-header-row {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
background: var(--card);
  font-weight: 600;
}


.settings-header-row span {
  flex: 1 1;
  margin-right: 31px;
}

.settings-row.settings-header-row.settings-row--close span {
  margin-right: 0px;
}

.settings-group--scroll {
  max-height: min(62vh, 560px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.settings-row--lang {
  text-align: left;
  width: 100%;
}

.settings-group--scroll > .settings-row--lang:last-of-type {
  padding-bottom: 150px;
}

.settings-row--lang span:first-child {
  margin-right: 12px;
}

.settings-lang-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  color: #4f8cff;
  color: var(--accent, #4f8cff);
}

.settings-row--lang-search {
  cursor: default;
  gap: 10px;
  padding: 1em 0em;
}

.settings-row--control {
  gap: 12px;
  width: auto;
  width: initial;
  box-sizing: border-box;
}

.settings-row--control .settings-row__label {
  flex: 1 1 auto;
  min-width: 0;
}

.settings-page--language .settings-row--control .lang-select,
.settings-page--language .settings-row--control .settings-currency-input {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(42vw, 220px);
}

.settings-currency-input {
  appearance: none;
  -webkit-appearance: none;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  width: 5.5ch;
  min-width: 5.5ch;
  max-width: 5.5ch;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.settings-currency-input::placeholder {
  color: color-mix(in srgb, var(--fg) 60%, transparent);
  opacity: 1;
}

.settings-currency-input:hover {
  border-color: var(--accent-strong);
}

.settings-currency-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-ring);
}

.settings-page--language .settings-row--control .switch {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 640px) {
  button.settings-row.settings-header-row:not(.settings-row--close) {
    display: none !important;
  }

  .settings-page--language .settings-row--control {
    padding: 0.9em 1.25em;
  }

  .settings-page--language .settings-row--control .lang-select,
  .settings-page--language .settings-row--control .settings-currency-input {
    max-width: min(40vw, 180px);
    min-width: 5.5ch;
  }
}

.settings-lang-search-wrap {
  position: relative;
  width: 100%;
}

.settings-lang-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  font-size: 15px;
  text-align: center;
  padding: 0 40px;
  box-sizing: border-box;
}

.settings-lang-search-input::placeholder {
  color: transparent;
}

.settings-lang-search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sub);
  cursor: pointer;
}

.settings-lang-center-placeholder {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0.72;
  color: var(--sub);
}


.settings-header-row .mdi {
  margin-right: 6px;
}


.settings-header-row:active {
  background: color-mix(in srgb, var(--fg) 6%, transparent);
}




.settings-storage {
  margin-top: 24px;
  margin-bottom: 24px;
}

.settings-subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
  padding: 6px 12px;
}


.storage-bar {
  display: flex;
  height: 10px;
  margin: 8px 2em 12px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0,0,0,0.08);
}

.storage-segment {
  height: 100%;
}

.storage-segment.cache  { background: #6b8afd; width: 20%; }
.storage-segment.images { background: #4fb0a6; width: 30%; }
.storage-segment.media  { background: #e0a458; width: 25%; }
.storage-segment.free   { background: rgba(0,0,0,0.15); width: 25%; }


.storage-list {
  margin: 0 0 12px;
  border-radius: 10px;
  overflow: hidden;
}

.settings-storage .settings-subtitle {
  padding: 0 2em;
}
.storage-row {
  display: flex;
  justify-content: space-between;
  padding: 0.9em 2em;
  font-size: 0.9rem;
  opacity: 0.9;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.theme-dark .storage-row {
  border-bottom: 1px solid rgba(221,221,221,.1);
}

.storage-row:last-child {
  border-bottom: 0;
}

.storage-row.total {
  font-weight: 600;
}

.storage-value {
  opacity: 0.7;
}


.settings-row.danger {
  color: #b00020;
  font-weight: 600;
}


.achievements-overview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 12px;
  gap: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.achievement-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  font-size: 12px;
  text-align: center;

  
  transform: translateZ(0) scale(1);
  transform-origin: center center;

  contain: layout paint;
  will-change: transform;

  transition:
    transform 180ms cubic-bezier(.22,.61,.36,1),
    filter 180ms ease,
    opacity 180ms ease;
}


@media (hover: hover) {
  .achievement-badge:hover {
    transform: translateZ(0) scale(1.04);
  }
}
@media (hover: hover) {
  .achievement-badge.unlocked:hover {
    transform: translateZ(0) translateY(-2px) scale(1.05);
    filter: brightness(1.06);
  }
}
.achievement-badge {
  transition:
    transform 220ms cubic-bezier(.16,.84,.44,1),
    filter 180ms ease;
}

.achievement-badge .mdi {
  font-size: 22px;
}

.achievement-badge.locked {
  opacity: 0.35;
  filter: grayscale(1);
}

.achievement-badge.unlocked {
  opacity: 1;
}

.achievement-label {
  line-height: 1.1;
}

@media (max-width: 600px) {
  .achievements-overview {
    grid-template-columns: repeat(4, 1fr);
  }
}


.achievements-overview {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 8px 12px 16px;

  
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
}

@media (min-width: 700px) {
  .achievements-overview {
    
    grid-template-columns: repeat(6, 100px);
    grid-auto-rows: auto;
    justify-content: center; 
  }
}

@media (min-width: 1000px) {
  .achievements-overview {
    
    grid-template-columns: repeat(6, 128px);
    grid-auto-rows: auto;
    justify-content: center; 
  }
}

@media (min-width: 1300px) {
  .achievements-overview {
    
    grid-template-columns: repeat(6, 158px);
    gap: 12px;
  }
}



.achievement-badge.unlocked {
  opacity: 1;
  filter: none;
}


.achievement-icon {
  width: 68px;
  
  object-fit: contain;
}

@media (min-width: 700px) {
  .achievement-icon {
    width: 100px;
  }
}


@media (min-width: 1300px) {
  .achievement-icon {
    width: 150px;
  }
}


.achievement-label {
  line-height: 1.1;
}

.achievements-desc {
  text-align: center;
}

.achievement-badge.dev-clickable {
  cursor: zoom-in;
}

.achievement-badge.unlocked:hover {
  filter: brightness(1.05);
}


.achievements-rewards {
  margin: 14px auto 18px;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

.achievements-rewards table {
  
  border-collapse: collapse;
  font-size: 14px;
}

.achievements-rewards td {
  padding: 6px 8px;
  vertical-align: middle;
  text-align: center;
}

.achievements-rewards td:first-child {
  opacity: 0.85;
}

.achievements-rewards code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
  white-space: nowrap;
}
.theme-dark .achievements-rewards code {
  background: #1f1f1f;
  border-color: #333;
  color: #e6e6e6;
}




@media (pointer: coarse) and (hover: none)
  and (max-width: 480px)
  and (display-mode: standalone) {

.settings-page {
padding: 0 0 200px;
  }
}


.setings-page.dev  .settings-row.header {
  pointer-events: none;
}


.settings-row.settings-header-row {
  width: 100%!important
}

.settings-row.settings-static {
  width: auto;
  width: initial;
}


:root {
  
  --topbar-h: 56px;
  --rail-w: 84px;                 
  --rail-w-expanded: 200px;       
  --rail-icon-w: 84px;            
  --rail-label-w: 0px;            
  --rail-btn-h: clamp(45px, 5.5vw, 64px);
  --rail-pad: 8px 6px;
  --rail-shadow: 0 0 8px rgba(0,0,0,.04);
  --rail-border: 1px solid var(--border);

  
  --accent: #dcaa2e;              
  --accent-strong: #d0872a;       
  --accent-tint-hover: rgba(220,170,46,.10);
  --accent-tint-active: rgba(220,170,46,.18);
  --accent-ring: rgba(220,170,46,.35);

  
  --rail-ease: cubic-bezier(.22,1,.36,1);
  --rail-dur: .72s;               
}


.theme-dark {
  --rail-shadow: 0 0 12px rgba(0,0,0,.35);
  --accent-tint-hover: rgba(220,170,46,.14);
  --accent-tint-active: rgba(220,170,46,.22);
  --accent-ring: rgba(220,170,46,.45);
}

#nav-rail-portal-host{ pointer-events:none; z-index:2147483647; }
#nav-rail-portal-host .nav-rail{ pointer-events:auto; }




#nav-rail-portal-host * {
  -webkit-user-select: none!important;
          user-select: none!important
}

.rail-wrap,
.page-shell {
  position: relative;
  z-index: 0;     
}


.nav-rail {

  color: var(--rail-fg);
  
  border-right: 1px solid var(--border);
  border-right: var(--rail-border);

  display: flex;
  
  overflow: hidden;

  width: 100%;
  min-width: 100%;
  transition:
    box-shadow .28s ease,
    background .22s ease,
    color .22s ease;

    
}

.rail-wrap.desktop-only {
  background: var(--rail-bg);
  box-shadow: 0 0 8px rgba(0,0,0,.04);
  box-shadow: var(--rail-shadow);
  padding-top: 56px;
  padding-top: var(--topbar-h)
}

@media (pointer: coarse) and (display-mode: standalone) {
.rail-wrap.desktop-only {
  display: none;
}
}


.nav-rail.is-expanded {
  --rail-label-w: calc(var(--rail-w-expanded) - var(--rail-icon-w));
  
}

.nav-rail__list {
  padding: 7px 0 0px;
  margin: 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  
}

.nav-rail__item { width: 100%; }
.nav-rail__item a {
  text-decoration: none;
  height: clamp(45px, 5.5vw, 64px);
  height: var(--rail-btn-h);
}


.nav-rail__btn {
  height: clamp(45px, 5.5vw, 64px);
  height: var(--rail-btn-h);
  margin: 3px 0px;
  width: 100%;
  display: grid;
  grid-template-columns: 84px 0px;
  grid-template-columns: var(--rail-icon-w) var(--rail-label-w);
  align-items: center;
  justify-items: center;      
  grid-gap: 8px;
  gap: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 12px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  transition:
    background .18s ease, color .18s ease, box-shadow .18s ease,
    grid-template-columns .72s cubic-bezier(.22,1,.36,1);
  transition:
    background .18s ease, color .18s ease, box-shadow .18s ease,
    grid-template-columns var(--rail-dur) var(--rail-ease); 
  will-change: grid-template-columns;
}

nav > ul > li > button {
  padding-inline: 0px!important;
}


.nav-rail__icon {
  
  justify-self: baseline;
  font-size: 22px;
  line-height: 1;
  margin-left: 20px;
  position: relative;
}

.nav-rail__icon-badge {
  position: absolute;
  top: -8px;
  right: -14px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c63b2d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--card);
}


.nav-rail__label {
  display: block;
  justify-self: start;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
  
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);

  opacity: 0;
  transform: translateX(-12px);

  transition:
    opacity .32s ease,
    transform .32s ease;
}

.nav-rail.is-expanded .nav-rail__label {
  opacity: 1;
  
}


.nav-rail__btn:focus {
  outline: none;
}

.nav-rail__btn:focus-visible {
  outline: 2px solid rgba(220,170,46,.35);
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-rail__btn:hover {
    background: rgba(220,170,46,.10);
    background: var(--accent-tint-hover);
    
  }
}

.nav-rail__item.is-active .nav-rail__btn {
  background: rgba(220,170,46,.18);
  background: var(--accent-tint-active);
  
  color: #dcaa2e;
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(220,170,46,.35) inset;
  box-shadow: 0 0 0 1px var(--accent-ring) inset;

}





.nav-rail__list .nav-rail__item.nav-rail__toggle {
  padding: 0px 10px;
  
}






.nav-rail.is-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  border-right: 0;
  transition:
    transform .34s cubic-bezier(.22, 1, .36, 1),
    opacity .34s ease,
    box-shadow .28s ease,
    background .28s ease,
    color .28s ease;
  will-change: transform, opacity;
  
}

.nav-rail.is-mobile.is-hidden {
  display: none;
}

.nav-rail.is-mobile.is-fab-hidden {
  opacity: 0;
  transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px) + 16px));
  pointer-events: none;
  transition:
    transform .2s cubic-bezier(.4, 0, 1, 1),
    opacity .16s ease-out,
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease;
}

.nav-rail.is-mobile .nav-rail__list {
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  align-items: stretch;
  grid-gap: 2px;
  gap: 2px;
}

.nav-rail.is-mobile .nav-rail__item {
  width: 100%;
  padding: 0;
}

.nav-rail.is-mobile .nav-rail__item a {
  height: auto;
}

.nav-rail.is-mobile .nav-rail__btn {
  min-height: 50px;
  height: auto;
  margin: 0;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 10px;
}

.nav-rail.is-mobile .nav-rail__icon {
  justify-self: center;
  margin-left: 0;
  font-size: 21px;
}

.nav-rail.is-mobile .nav-rail__icon-badge {
  top: -6px;
  right: -12px;
}

.nav-rail.is-mobile .nav-rail__label {
  opacity: 1;
  transform: none;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

#nav-rail-portal-host > .nav-rail.is-mobile > div > div > div.nav-rail__item.is-active > a > span.nav-rail__label, #nav-rail-portal-host > nav > ul > li.nav-rail__item.is-active > a > span.nav-rail__label,
#nav-rail-portal-host > nav > ul > li.nav-rail__item.is-active > button > span.nav-rail__label {
   
  color: #dcaa2e;
  color: var(--accent);
  }

.nav-rail.is-mobile.is-ios-style {
  background: transparent;
  border-top: 0;
  box-shadow: none;
  box-sizing: border-box;
  padding: 0 max(12px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}

.nav-rail.is-mobile.is-ios-style .nav-rail__ios-wrap {
  display: flex;
  align-items: flex-end;
  
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.nav-rail.is-mobile.is-ios-style .nav-rail__ios-cluster,
.nav-rail.is-mobile.is-ios-style .nav-rail__ios-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 5px 3px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 95%, rgba(255,255,255,.22));
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
0 20px 24px rgba(15, 23, 42, .06),
inset 0 1px 0 rgba(255,255,255,.35)
}

.theme-dark .nav-rail.is-mobile.is-ios-style .nav-rail__ios-cluster,
.theme-dark .nav-rail.is-mobile.is-ios-style .nav-rail__ios-search {
  background: color-mix(in srgb, var(--card) 92%, rgba(17,24,39,.42));
  box-shadow:
    0 12px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
}

body.needs-mobile-nav-dark #nav-rail-portal-host .nav-rail.is-mobile.is-ios-style .nav-rail__ios-cluster,
body.needs-mobile-nav-dark #nav-rail-portal-host .nav-rail.is-mobile.is-ios-style .nav-rail__ios-search {
  background: color-mix(in srgb, var(--card) 92%, rgba(17,24,39,.42));
  box-shadow:
    0 12px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.nav-rail.is-mobile.is-ios-style .nav-rail__ios-cluster {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-left: 5px;
}

.nav-rail.is-mobile.is-ios-style .nav-rail__ios-search {
  flex: 0 0 auto;
  margin-right: 1px;
}

.nav-rail.is-mobile.is-ios-style .nav-rail__item {
  flex: 1 1;
  min-width: 0;
}

.nav-rail.is-mobile.is-ios-style .nav-rail__btn {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 4px 0;
  gap: 1px;
  
}

.nav-rail.is-mobile.is-ios-style .nav-rail__ios-search .nav-rail__btn {
  width: auto;
  min-width: 42px;
}

.nav-rail.is-mobile.is-ios-style .nav-rail__label {
  font-size: 10px;

}

#nav-rail-portal-host .nav-rail.is-mobile.is-ios-style .nav-rail__item.is-active .nav-rail__btn {
  box-shadow:
    0 0 0 1px rgba(220,170,46,.35) inset,
    0 6px 14px rgba(220,170,46,.12);
  box-shadow:
    0 0 0 1px var(--accent-ring) inset,
    0 6px 14px rgba(220,170,46,.12);
  
  color: #dcaa2e;
  color: var(--accent);
}

#nav-rail-portal-host .nav-rail.is-mobile.is-ios-style .nav-rail__ios-search .nav-rail__label {
  display: none;
}


.nav-rail__item {
  
  padding: 5px 10px;
  width: auto;
  align-content: center;
  justify-content: baseline;
}

@keyframes railIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}






  .nav-rail__backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    z-index: 110;
  }
  .nav-rail__backdrop.is-open { opacity: 1; pointer-events: auto; }

  .nav-rail__sheet {
  position: fixed; left: 0; right: 0;
bottom: 0;

    height: auto;
    
    color: var(--fg);
    border-top-left-radius: 16px; border-top-right-radius: 16px;
        

    
transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    transition: transform .24s ease, background .22s ease, color .22s ease, border-color .22s ease;
    z-index: 120; display: flex; flex-direction: column;
    pointer-events: none;
  }
  .nav-rail__sheet.is-open { transform: translateY(0); pointer-events: all }

  .nav-rail__sheet-body {
    padding:
      8px max(10px, env(safe-area-inset-right, 0px))
      max(10px, env(safe-area-inset-bottom, 0px))
      max(10px, env(safe-area-inset-left, 0px));
  }

  .nav-rail__sheet-head {
    display: grid; grid-template-columns: 36px 1fr 36px;
    align-items: center; grid-gap: 8px; gap: 8px; padding: 6px 12px;
    border-bottom: 1px solid var(--border);
  }
  .nav-rail__sheet-title { text-align: center; font-weight: 700; }

  .nav-rail__sheet-close {
    width: 36px; height: 36px; 
    border-radius: 9px;
    
    border: 0;
    
    background: color-mix(in srgb, var(--card) 95%, rgba(255,255,255,.22));
    color: var(--fg);
    display: inline-flex; align-items: center; justify-content: center;
  }

  .theme-dark .nav-rail__sheet-close {
        border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    background: color-mix(in srgb, var(--card) 92%, rgba(17,24,39,.42));
  }

  body.needs-mobile-nav-dark #nav-rail-portal-host .nav-rail__sheet-close {
    border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    background: color-mix(in srgb, var(--card) 92%, rgba(17,24,39,.42));
  }

  .nav-rail__sheet-close--inline {
    width: 100%;
    height: 100%;
    min-height: 56px;
    border-radius: 20px;
    cursor: pointer;
  }

  .nav-rail__sheet-list {
    overflow-y: auto;
    
    display: grid;
    grid-auto-rows: minmax(44px, auto);
    
    
  }

  .nav-rail__sheet-list--compact {
    overflow: visible;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-rows: initial;
    gap: 2px;
  }

  .nav-rail__sheet-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px 12px;
    
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 15px;
    background-image: none !important;
    cursor: pointer;
  }

  .nav-rail__sheet-item--compact {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-rail__sheet-item--compact:hover,
  .nav-rail__sheet-item--compact:active {
    background: transparent !important;
    box-shadow: none;
    border-color: transparent;
  }

  .nav-rail__sheet-item--compact .nav-rail__item {
    width: 100%;
    padding: 0;
  }

  .nav-rail__sheet-item--compact .nav-rail__btn {
    min-height: 60px;
    height: auto;
    margin: 0;
    padding: 6px 2px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 10px;
  }

  .nav-rail__sheet-item--compact .nav-rail__icon {
    justify-self: center;
    margin-left: 0;
    font-size: 21px;
  }

  .nav-rail__sheet-item--compact .nav-rail__label {
    opacity: 1;
    transform: none;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--muted);
  }

  .nav-rail__sheet-item--compact .nav-rail__item--search .nav-rail__label {
    display: none;
  }

  .nav-rail__sheet-item--close {
    display: block;
  }

  .nav-rail__sheet-item--close .nav-rail__sheet-close--inline {
    min-height: 60px;
    border-radius: 10px;
  }

  .nav-rail__sheet-item > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }


@media (hover: hover) {
  .nav-rail__sheet-item {
    transition:
      background 160ms ease,
      box-shadow 160ms ease,
      border-color 160ms ease;
  }

  .nav-rail__sheet-item:hover {
    background: linear-gradient(
      0deg,
      color-mix(in srgb, #111 4%, transparent),
      color-mix(in srgb, #111 4%, transparent)
    ), var(--card)!important;
    background: linear-gradient(
      0deg,
      color-mix(in srgb, var(--fg, #111) 4%, transparent),
      color-mix(in srgb, var(--fg, #111) 4%, transparent)
    ), var(--card)!important;

    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    border-color: color-mix(
      in srgb,
      #dcaa2e 40%,
      transparent
    );
    border-color: color-mix(
      in srgb,
      var(--accent, #dcaa2e) 40%,
      transparent
    );
  }

  .nav-rail__sheet-item:active {
    background: linear-gradient(
      0deg,
      color-mix(in srgb, #111 8%, transparent),
      color-mix(in srgb, #111 8%, transparent)
    ), var(--card)!important;
    background: linear-gradient(
      0deg,
      color-mix(in srgb, var(--fg, #111) 8%, transparent),
      color-mix(in srgb, var(--fg, #111) 8%, transparent)
    ), var(--card)!important;

    box-shadow: 0 2px 8px rgba(0,0,0,.04);
  }
}


@media (orientation: landscape) {body:has(.nav-rail.is-mobile) .nav-rail__sheet-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:has(.nav-rail.is-mobile) .nav-rail__sheet-list--compact {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}}


.nav-rail__sheet-close {
  order: 2; 
  cursor: pointer;
}

.nav-rail__sheet-title {
  order: 1; 
}

.nav-rail__sheet-title.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-rail__sheet-spacer {
  order: 0; 
}



body:has(.nav-rail.is-rail) #nav-rail-portal-host {
  display: none;
}

@media (orientation: landscape) {
  body:has(.nav-rail.is-mobile) .nav-rail__sheet-item {
    padding: 12px;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__sheet-item--compact {
    padding: 0;
  }
}

@media (orientation: landscape) and (pointer: coarse) and (hover: none) {
  body:has(.nav-rail.is-mobile) .nav-rail__sheet-item {
    justify-content: center;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__sheet-head {
    padding-inline: env(safe-area-inset-left);
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-cluster,
  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-search
  
   {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 5px 3px;
    border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    border-radius: 24px;
    background: color-mix(in srgb, var(--card) 95%, rgba(255,255,255,.22));
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    box-shadow:
      0 20px 24px rgba(15, 23, 42, .06),
      inset 0 1px 0 rgba(255,255,255,.35);
  }

  

  .theme-dark body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-cluster,
  .theme-dark body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-search
  
  {
    background: color-mix(in srgb, var(--card) 82%, rgba(17,24,39,.42));
    box-shadow:
      0 12px 28px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.06);
  }

  body.needs-mobile-nav-dark:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-cluster,
  body.needs-mobile-nav-dark:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-search
  {
    background: color-mix(in srgb, var(--card) 82%, rgba(17,24,39,.42));
    box-shadow:
      0 12px 28px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.06);
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-cluster {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 5px;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-search
  
  {
    flex: 0 0 auto;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-close {
    width: 48px;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__label {
    opacity: 1;
    transform: none;
  }

  body:has(.nav-rail.is-mobile) .nav-rail__ios-wrap--sheet .nav-rail__ios-search .nav-rail__label {
    display: none;
  }
}






.contact-modal__backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  box-sizing: border-box;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  overflow-y: auto;

  display: grid;
  place-items: center;

  background:
    radial-gradient(
      120% 80% at 50% 30%,
      rgba(0,0,0,.25),
      rgba(0,0,0,.55)
    );

  backdrop-filter: blur(6px) saturate(0.9);
  -webkit-backdrop-filter: blur(6px) saturate(0.9);

  z-index: 2147483647;
}


.contact-modal {
  width: min(100%, 320px);
  padding: 14px;

  background: var(--card);
  color: var(--fg);

  border-radius: 16px;
  border: 1px solid var(--border);

  box-shadow:
    0 10px 40px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.04) inset;

  animation: contactModalIn .22s ease;
}

.contact-modal--alerts {
  max-height: min(84dvh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-modal--day-entries {
  width: min(100%, 520px);
}

.contact-modal--alerts .contact-modal__list {
  overflow-y: auto;
  min-height: 0;
  padding-right: 2px;
}

.contact-modal.contact-modal--alerts .contact-modal__item {
  border: none;
}

.stats-day-modal__item {
  
  justify-content: space-between;
  text-align: left;
}

.contact-modal--day-entries .contact-modal__item.stats-day-modal__item--static {
  cursor: default;
}

.contact-modal--day-entries .stats-day-modal__item--static:hover {
  background: var(--card);
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

.contact-modal--day-entries .stats-day-modal__item--static:active {
  transform: none;
}

.stats-day-modal__item--empty {
  justify-content: flex-start;
}

.stats-day-modal__copy {
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.stats-day-modal__copy strong,
.stats-day-modal__copy span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stats-day-modal__copy span {
  font-size: 12px;
  color: var(--muted);
}

.stats-day-modal__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.stats-day-modal__icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 1;
}


.contact-modal__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;

  font-weight: 600;
  font-size: 15px;

  margin-bottom: 10px;
}


.contact-modal__head button {
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);

  cursor: pointer;

  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.contact-modal__head button:hover {
  background: rgba(220,170,46,.10);
  background: var(--accent-tint-hover);
  color: #dcaa2e;
  color: var(--accent);
  border-color: rgba(220,170,46,.35);
  border-color: var(--accent-ring);
}

.contact-modal__head button:active {
  box-shadow: 0 0 0 2px rgba(220,170,46,.35) inset;
  box-shadow: 0 0 0 2px var(--accent-ring) inset;
}

.contact-modal__head button:focus {
  outline: none;
}

.contact-modal__head button:focus-visible {
  box-shadow:
    0 0 0 2px rgba(220,170,46,.35),
    0 0 0 4px rgba(0,0,0,.15);
  box-shadow:
    0 0 0 2px var(--accent-ring),
    0 0 0 4px rgba(0,0,0,.15);
  border-color: #dcaa2e;
  border-color: var(--accent);
}


.contact-modal__list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}


.contact-modal__item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px;
  border-radius: 12px;

  text-decoration: none;
  color: inherit;

  border: 1px solid var(--border);
  background: var(--card);

  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .12s ease;
}



.contact-modal__item:hover {
  background:
    linear-gradient(
      0deg,
      color-mix(in srgb, var(--fg) 4%, transparent),
      color-mix(in srgb, var(--fg) 4%, transparent)
    ),
    var(--card);

  border-color: rgba(220,170,46,.35);

  border-color: var(--accent-ring);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.contact-modal__item:active {
  transform: translateY(1px);
}


.contact-modal__item .mdi {
  font-size: 20px;
  opacity: .9;
}



:root:not(.theme-dark) .contact-modal__item {
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}


:root:not(.theme-dark) .contact-modal__item:hover {
  background: rgba(0,0,0,.03);
}



.theme-dark .contact-modal__backdrop {
  background:
    radial-gradient(
      120% 80% at 50% 30%,
      rgba(0,0,0,.35),
      rgba(0,0,0,.75)
    );
}

.theme-dark .contact-modal {
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06) inset;
}




@keyframes contactModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-modal__intro {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 6px 2px 12px;
}

.contact-modal__intro strong {
  color: var(--fg);
  font-weight: 600;
}

.contact-modal__note {
  opacity: .85;
}




.app-grid:has(.nav-rail.is-mobile) .rail-wrap {
  display: none;
}


@supports not (-webkit-touch-callout: none) {
  @media (orientation: landscape) and (pointer: coarse) and (hover: none) {
    .nav-rail__sheet {
      background: color-mix(in srgb, #fff 92%, transparent);
      background: color-mix(in srgb, var(--card-bg, #fff) 92%, transparent);
      border-top: 1px solid color-mix(in srgb, #e5e7eb 70%, transparent);
      border-top: 1px solid color-mix(in srgb, var(--border, #e5e7eb) 70%, transparent);
      box-shadow: 0 -8px 24px rgba(0,0,0,.06), 0 -16px 48px rgba(0,0,0,.08);
    }

    .theme-dark .nav-rail__sheet {
      background: color-mix(in srgb, rgb(20 20 22) 92%, transparent);
    }

    body.needs-mobile-nav-dark #nav-rail-portal-host .nav-rail__sheet {
      background: color-mix(in srgb, rgb(20 20 22) 92%, transparent);
    }
  }
}



.tabs-bar {
  
  position: sticky;
  
  z-index: 40;
  display: flex;
  align-items: center;           
  justify-content: flex-start;   
  flex-wrap: nowrap;             
  
  --g: clamp(2px, 4vw, 10px);   
  gap: var(--g);       

 
 
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
box-sizing: border-box;
}

.app-shell .tabs-bar * {
    -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  border-radius: 6px 6px 0 0;
  transition: background .2s, color .2s;
}
  
a.tab-btn {
    border-bottom: 2px solid transparent;

}

.tab-btn {
  background: rgba(203, 195, 173, 0.051);
}

.theme-dark .tab-btn {
background: rgba(203, 195, 173, 0.015);
}


.tab-btn:hover {
  background: rgba(221, 171, 46, 0.08);
    border-bottom: 2px solid rgb(220, 170, 46, 0.5);
  color: #111;
}
.tab-btn.is-active {
  border-bottom: 2px solid #dcaa2e;
  color: #dcaa2e;
  background: rgba(221, 171, 46, 0.1);
  font-weight: 600;
}

.tab-btn.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}





.theme-dark .tabs-bar {
  background: #1e1e1e;
  border-bottom: 1px solid #333;
}
.theme-dark .tab-btn {
  color: #bbb;
}
.theme-dark .tab-btn:hover {
  background: #2a2a2a;
  color: #fff;
}
.theme-dark .tab-btn.is-active {
  border-bottom: 2px solid #dcaa2e;
  color: #dcaa2e;
}

.theme-dark .tab-btn.is-disabled {
  opacity: 0.32;
}

.theme-dark .tabs-wrap {
  background: #1e1e1e;
  border-bottom: 1px solid #333;
}





.tab-btn--icon {
  width: 40px; aspect-ratio: 1/1;
  display: grid; place-items: center;
  padding: 0; border-radius: 10px;
}




.tab-btn,
.tab-btn:hover,
.tab-btn:focus {
  text-decoration: none;
}

.tabs-hint-row {
  padding: 6px 12px;
  font-size: 12px;
  text-align: center;
  opacity: 0.75;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  text-wrap: balance;
}




@supports (-webkit-touch-callout: none) {
  .page-shell:not(.hide-tabs-bar) .tabs-bar
  {
    justify-content: center;
  }
  .tabs-bar a.tab-btn, .tabs-bar .tab-btn.is-active {
    border-bottom: 0px;
    border-radius: 999px;
  }
  .page-shell .tabs-bar {
    padding: 10px 0px 10px 0px;
  }
 }



html {
  font-size: calc(16px * 1);
  font-size: calc(16px * var(--font-scale));
}

:root{
    --font-scale: 1;
    --rail-w: 84px;
  --tabs-total: 119px;
  --pad-sm: 30px;
  --pad-md: 60px;
  --pad-lg: 90px;
  --gap-y: 12px;
  --rail-offset: calc(
    var(--rail-w)
    - 90px) ;
  --topbar-content-h: 44px;
  --topbar-safe-offset: 0px;
  --topbar-h: calc(var(--topbar-content-h) + var(--topbar-safe-offset));
}

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

@media (pointer: coarse) {
  :root {
    --topbar-content-h: 45px;
  }
}


@supports (-webkit-touch-callout: none) {
  @media (not (display-mode: standalone)) and (pointer: coarse) and (orientation: landscape) {
    :root {
      --topbar-content-h: 45px;
    }
  }
}


@media (display-mode: standalone) and (pointer: coarse) {
  :root {
    --topbar-content-h: 45px;
  }
}
@media (orientation: portrait) and (pointer: coarse) {
  :root {
    --topbar-content-h: 48px;
    --topbar-safe-offset: var(--safe-top);
  }

  :root.entry-android {
    --topbar-safe-offset: 0px;
  }
}





.no-route-overflow {
  overflow-y: hidden;
}

.page-shell:has(.map-page),
.page-shell:has(.labs-content),
.page-shell:has(.tlc-wrap),
.page-shell:has(.community-content),
.page-shell:has(.lab-wrap):not(:has(.howto-content))
 {
  overflow: hidden !important;
}

@supports not selector(:has(*)) {
  .page-shell {
    overflow: auto;
  }
}

.page-shell :focus-visible {
  scroll-margin: 16px;
}



@media (max-width: 359px){
  :root{ --pad-sm:20px; --pad-md:36px; --pad-lg:60px; --gap-y:8px; }
}


@media (min-width: 360px){
  :root{ --pad-sm:24px; --pad-md:44px; --pad-lg:72px; --gap-y:10px; }
}


@media (min-width: 390px){
  :root{ --pad-sm:26px; --pad-md:48px; --pad-lg:80px; --gap-y:10px; }
}


@media (min-width: 414px){
  :root{ --pad-sm:28px; --pad-md:54px; --pad-lg:84px; --gap-y:12px; }
}


@media (min-width: 480px){
  :root{ --pad-sm:30px; --pad-md:60px; --pad-lg:90px; --gap-y:12px; }
}


@media (min-width: 768px){
  :root{ --pad-sm:36px; --pad-md:72px; --pad-lg:108px; --gap-y:14px; }
}


@media (min-width: 1024px){
  :root{ --pad-sm:40px; --pad-md:80px; --pad-lg:120px; --gap-y:16px; }
}


@media (min-width: 1280px){
  :root{ --pad-sm:44px; --pad-md:88px; --pad-lg:132px; --gap-y:18px; }
}


@media (min-width: 1440px){
  :root{ --pad-sm:48px; --pad-md:96px; --pad-lg:144px; --gap-y:20px; }
}





.app-shell{
  display:flex;
  flex-direction:column;
  min-height:100%;
  width:100%;
   height:100vh;
}


.app-grid{
  display:grid;
    grid-template-columns: 84px 1fr;

  flex: 1 1 auto;
  min-height:0;
  min-width:0;
  width:100%;
  position:relative;
  
}

.app-grid:has(.nav-rail.is-mobile){
  grid-template-columns: 1fr;
}


.rail-wrap{
    width: 84px;
    width: var(--rail-w);
  transition: width .72s cubic-bezier(.22,1,.36,1);
  will-change: width;
  
  z-index: 0;
  min-width: 0;
  
}
.page-shell{
  margin-left: calc(
    84px
    - 90px) ;
  margin-left: var(--rail-offset);
will-change: margin-left;
  transition: margin-left .72s cubic-bezier(.22,1,.36,1);
}


.page-shell{
  display:flex;
  flex-direction:column;
  height: 100%;
  min-height:0;
  min-width:0;
  grid-column: auto;
  background: var(--bg);

  
  
  box-sizing: border-box;

}
.app-grid.is-mobile .page-shell{
  grid-column: 1 / -1; 
}


.route-host{
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  
  overflow-x: hidden;
  overflow-y: auto;             
}
.app-grid.is-mobile .route-host{
  overflow: auto;                  
  -webkit-overflow-scrolling: touch;
}


#nav-rail-portal-host{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  
  height: auto;
  width: 100%;
  z-index: 2147483647;
  pointer-events: none;
}

  


body:has(.page-shell .em-lightbox-inline) #nav-rail-portal-host.mobile-only{
  display: none;
}

@media (pointer: coarse) and (orientation: landscape) {
  body:has(.page-shell .em-lightbox-inline) .global-topbar {
    display: none;
  }

  body:has(.page-shell .em-lightbox-inline) .page-shell {
    padding-top: 0;
  }
}


#nav-rail-portal-host .nav-rail{
  position: static !important;
  display:flex; align-items:center; justify-content:space-around;
  width:100%;
   height:100%;
  pointer-events: auto;
}



#nav-rail-portal-host .nav-rail__list{
  display:flex; flex-direction:row; width:100dvh; height:100%;
  align-items:center; justify-content:space-around; margin:0; padding:0; gap:0;
}


 */

#nav-rail-portal-host .nav-rail__icon {
  transform: translateY(-0px); 
  margin-left: 0px!
}


#nav-rail-portal-host .nav-rail__item:first-child .nav-rail__icon {
  transform: none;
}




#nav-rail-portal-host .nav-rail {
  pointer-events: auto;
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%; height: 100%;
  
  
  
  
  
  
  padding-top: 0px; 
  
}



@media (display-mode: standalone) and (orientation: portrait)
{
  #nav-rail-portal-host .nav-rail {
    
    padding: 1em;
  }
}
@supports (-webkit-touch-callout: none) {
@media (display-mode: standalone) and (orientation: portrait)
{
    #nav-rail-portal-host .nav-rail {
      
      padding: 1em;
    }
  }
}




.theme-dark #nav-rail-portal-host .nav-rail {
  background: color-mix(in srgb, rgb(20 20 22) 01%, transparent);
  
  border: 0;
  
}

body.needs-mobile-nav-dark #nav-rail-portal-host {
  color-scheme: dark;
  --bg: #141414;
  --fg: #e4e4e6;
  --muted: #9b9b9f;
  --card: #1b1b1b;
  --border: #2a2a2a;
  --rail-bg: #181818;
  --rail-fg: #e4e4e6;
  --rail-border: #2a2a2a;
  --accent-tint-hover: rgba(220,170,46,.14);
  --accent-tint-active: rgba(220,170,46,.22);
  --accent-ring: rgba(220,170,46,.45);
}

body.needs-mobile-nav-dark #nav-rail-portal-host .nav-rail {
  background: color-mix(in srgb, rgb(20 20 22) 01%, transparent);
  border: 0;
}





#nav-rail-portal-host .nav-rail__list {
  display: flex; flex-direction: row;
  align-items: baseline; justify-content: space-around;
  gap: 0; width: 100%; height: 100%; margin: 0; padding: 0;
}
#nav-rail-portal-host .nav-rail__item {
  flex: 1 1 auto; min-width: 56px;
  display: flex; justify-content: center; align-items: center;
  padding: 0px;
}
#nav-rail-portal-host > nav > ul > li.nav-rail__item.nav-rail__toggle > button  {
  width: 87.5%;
}
#nav-rail-portal-host .nav-rail__btn {
  display: flex; align-items: center; justify-content: center;
  margin: 0px;
  width: 90%;
  height: 44px; min-width: 44px; padding: 0 8px; 
  border-radius: 26px;
}


#nav-rail-portal-host .nav-rail__icon {
  display: inline-block;
  line-height: 1;
}

#nav-rail-portal-host .nav-rail__item:first-child .nav-rail__icon {
  transform: none;
}


  #nav-rail-portal-host > nav > ul > li.nav-rail__item > a > .nav-rail__icon,
  #nav-rail-portal-host .nav-rail__icon {
    margin-left: 0;
  }



#nav-rail-portal-host .nav-rail__item.is-active .nav-rail__btn {
  
    background: rgba(220,170,46,.18);
    background: var(--accent-tint-hover, rgba(220,170,46,.18));
  box-shadow: 0 0 0 1px rgba(220,170,46,.35) inset;
  box-shadow: 0 0 0 1px var(--accent-ring, rgba(220,170,46,.35)) inset;
    
    color: var(--accent);
  font-weight: 600;
}







  


.page__background,
.substances-index-page,
.route-host {
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, #f8f8fa 95%, transparent) 0%,
    color-mix(in srgb, #f8f8fa 90%, transparent) 70%,
    color-mix(in srgb, #f8f8fa 0%, transparent) 100%
  );
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--app-bg, #f8f8fa) 95%, transparent) 0%,
    color-mix(in srgb, var(--app-bg, #f8f8fa) 90%, transparent) 70%,
    color-mix(in srgb, var(--app-bg, #f8f8fa) 0%, transparent) 100%
  );
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}


#nav-rail-portal-host::before {
  content: "";
  position: absolute;
  inset: -1px 0 100%;
  
  background: radial-gradient(
    120% 200% at 50% 120%,
    rgba(255, 220, 130, 0.3) 0%,
    rgba(255, 180, 80, 0.15) 30%,
    rgba(255, 255, 255, 0) 100%
  );
  
  pointer-events: none;
  filter: blur(12px);
  mix-blend-mode: screen;
  opacity: 0.4;
  z-index: -1;
}


.theme-dark #nav-rail-portal-host::before {
  background: radial-gradient(
    140% 220% at 50% 120%,
    rgba(255, 160, 80, 0.25) 0%,
    rgba(255, 120, 50, 0.12) 35%,
    rgba(0, 0, 0, 0) 100%
  );
  mix-blend-mode: lighten;
  opacity: 0.3;
}

body.needs-mobile-nav-dark #nav-rail-portal-host::before {
  background: radial-gradient(
    140% 220% at 50% 120%,
    rgba(255, 160, 80, 0.25) 0%,
    rgba(255, 120, 50, 0.12) 35%,
    rgba(0, 0, 0, 0) 100%
  );
  mix-blend-mode: lighten;
  opacity: 0.3;
}




#nav-rail-portal-host::before{
  animation: glassBreath 7s cubic-bezier(.22,1,.36,1) infinite alternate;
}


#nav-rail-portal-host::after{
  content: "";
  position: absolute;
  inset: -40px 0 100%;
  pointer-events: none;
  z-index: -1;

  
  background:
    radial-gradient(120% 180% at 30% 120%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(120% 180% at 70% 120%, rgba(255,220,130,.18) 0%, rgba(255,220,130,0) 70%);
  filter: blur(14px) saturate(140%);
  mix-blend-mode: screen;

  
  animation:
    glassShimmer 9s cubic-bezier(.22,1,.36,1) infinite,
    glassPulse   6s ease-in-out infinite alternate;
}


.theme-dark #nav-rail-portal-host::after{
  background:
    radial-gradient(120% 180% at 30% 120%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(120% 180% at 70% 120%, rgba(255,160,80,.18) 0%, rgba(255,160,80,0) 70%);
  mix-blend-mode: lighten;
}

body.needs-mobile-nav-dark #nav-rail-portal-host::after{
  background:
    radial-gradient(120% 180% at 30% 120%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(120% 180% at 70% 120%, rgba(255,160,80,.18) 0%, rgba(255,160,80,0) 70%);
  mix-blend-mode: lighten;
}


@keyframes glassBreath{
  0%   { opacity:.32; filter: blur(14px) saturate(160%); }
  100% { opacity:.46; filter: blur(18px) saturate(185%); }
}
@keyframes glassShimmer{
  0%   { transform: translateX(-12%); }
  50%  { transform: translateX(12%);  }
  100% { transform: translateX(-12%); }
}
@keyframes glassPulse{
  0%   { opacity:.22; }
  100% { opacity:.38; }
}



.substancespage-root .page__content {
  overflow-y: visible !important;   
}

.substancespage-root #substance-left-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  
  -webkit-overflow-scrolling: touch;
}

.substancespage-root #substance-right-pane {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}







div:empty {
  user-select: none!important;
  -webkit-user-select: none!important;
}

.app-shell p,
.app-shell span,
.app-shell li,
.app-shell dt,
.app-shell dd,
.app-shell blockquote,
.app-shell pre,
.app-shell code,
.app-shell kbd,
.app-shell samp,
.app-shell small,
.app-shell strong,
.app-shell em,
.app-shell label,
.app-shell time,
.rx-hint {
  user-select: text !important;
  -webkit-user-select: text !important;
}


.list-item--tappable p,
.list-item--tappable span,
ons-list-item[tappable] p,
ons-list-item[tappable] span,
.em-host p, .em-host span,
.em-sheet p, .em-sheet span,
.em-card p, .em-card span,
[role="dialog"] p,
[role="dialog"] span {
  user-select: text !important;
  -webkit-user-select: text !important;
}


.app-shell , [role="button"], .app-shell .tabs-bar, .app-shell .nav-rail, .app-shell .nav-rail *, .global-topbar.toolbar.toolbar--pt * {
  user-select: none !important;
  -webkit-user-select: none !important;
}






 


@media (orientation: landscape) {
  .app-grid:has(.nav-rail.is-mobile) {

    

    .lab-search-row:not(.global-topbar .lab-search-row) {
      display: none !important;
    }

    .filters-search-section .searchbar-row {
      display: none !important;
    }

    .global-topbar.toolbar.toolbar--pt .lab-search-row {
      padding: 0;
      display: flex;
    }

    .global-topbar.toolbar.toolbar--pt .lab-search-input {
      padding-bottom: 0px;
      height: 25px;
      transform: translateY(-2px);
    }

    .route-host .lab-result-overlay {
      top: 0px !important;
    }

    .toolbar--pt__right .lab-search-bar {
      flex-wrap: nowrap !important;
      width: -webkit-max-content !important;
      border-radius: 8px;
    }

    .toolbar--pt__center .searchbar-row {
      flex-wrap: nowrap !important;
      width: -webkit-max-content;
      min-width: 250px;
      margin: 0px !important;
    }

    .toolbar--pt__center > div {
      height: -webkit-fill-available;
    }

    .toolbar--pt__center {
      align-content: center;
    }

    .toolbar--pt__right .lab-search-reset {
      padding: 1px 8px !important;
      align-content: center;
      justify-content: center;
    }

  }
}










.global-topbar.toolbar.toolbar--pt {
    

  position:  fixed;
  top: 0;
  z-index: 10002;
}

@media (pointer: coarse) and (orientation: portrait) {
  
}

.tabs-bar {
  
  position: sticky;
  padding: 7px 0px 0px 1em;
  
  
}

.app-shell {
  
  overflow: visible;
  position: static;
  
}


.rail-wrap{
  position: relative;
  height: auto;
}

.page-shell {
  box-sizing: border-box;
  position: relative; 
  
  overflow: hidden;
  
  
}


@media (pointer: coarse) and (display-mode: standalone) and (orientation: portrait) {
  .page-shell {
    position: fixed;
    
  }
}

.app-grid:has(.nav-rail.is-rail) .page-shell {
    
      
    border-left: 1px solid rgba(255, 255, 255, 0.061);
  box-shadow: -4px 0 4px -4px rgba(0,0,0,.06);
    
}





 .page-shell {
  padding-top: calc(calc(44px + 0px) + 0px);
  padding-top: calc(var(--topbar-h) + 0px);
}


@supports (-webkit-touch-callout: none) {
  @media (orientation: landscape) and (pointer: coarse) and (not (display-mode: standalone)) {
    html:not(.entry-ios) body:has(.nav-rail.is-mobile) .page-shell {
      padding-top: 44px;
    }
  }
}



@media (orientation: portrait) and (pointer: coarse) {
body:has(.nav-rail.is-mobile) .page-shell {
  padding-top: calc(44px + 0px);
  padding-top: var(--topbar-h);
    width: -webkit-fill-available;
    position: fixed;
}

body:has(.nav-rail.is-mobile) .global-topbar.toolbar.toolbar--pt {
  box-sizing: border-box;
  padding-top: 0px;
  padding-top: var(--topbar-safe-offset);
  min-height: calc(44px + 0px);
  min-height: var(--topbar-h);
  height: calc(44px + 0px);
  height: var(--topbar-h);
}

body:has(.nav-rail.is-mobile) .dialog.dialog--pt {
  top: calc(calc(44px + 0px) + 5px);
  top: calc(var(--topbar-h) + 5px);
}
}

.app-grid:has(.nav-rail.is-mobile) .page-shell 

html:not(.booted) .nav-rail,
html:not(.booted) .global-topbar,
html:not(.booted) .tabs-bar {
  visibility: hidden;
}


@media (prefers-reduced-motion: reduce){
  #nav-rail-portal-host::before,
  #nav-rail-portal-host::after{
    animation: none !important;
  }
}

body:has(.nav-rail.is-mobile) #nav-rail-portal-host {
  display: block;
}






#nav-rail-portal-host {
  display: none;
}

body:has(.nav-rail.is-mobile) #nav-rail-portal-host {
  display: block;
  height: auto;
  min-height: env(safe-area-inset-bottom, 0px);
  overflow: visible;
}



.page-shell:focus,
.page-shell:focus-visible,
.nav-rail:focus,
.nav-rail:focus-visible,
.rail-wrap *:focus,
.rail-wrap *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}




@supports (-webkit-touch-callout: none) {
  @media (pointer: coarse) and (orientation: portrait) and (not (display-mode: standalone)) {
    :root.entry-ios #nav-rail-portal-host .nav-rail {
      
      padding: 1em;
    }

  }
}



@supports (-webkit-touch-callout: none) {
  @media (pointer: coarse)
    and (orientation: landscape)
    and (min-width: 1024px)
    and (min-height: 700px)
    and (not (display-mode: standalone)) {

    :root.entry-ios body:has(.nav-rail.is-mobile) .page-shell {
      padding-top: 52px !important; 
    }

    :root.entry-ios .global-topbar.toolbar.toolbar--pt {
      padding-top: 20px;
      height: 64px;
    }

    :root.entry-ios .dialog.dialog--pt {
      top: 70px;
    }

    :root.entry-ios .tabs-bar {
      padding: 20px 0 0 1em;
    }

    :root.entry-ios .pill-compare-modal.is-mobile-nav {
      padding-top: 12px;
    }

    :root.entry-ios .tabs-hint-row {
      padding: 2em 0 0px;
    }

  }
}














@supports not (-webkit-touch-callout: none) {

#nav-rail-portal-host .nav-rail {
  pointer-events: auto;
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%; height: 100%;
  
  background: color-mix(in srgb, #fff 92%, transparent);
  background: color-mix(in srgb, var(--card-bg, #fff) 92%, transparent);
  
  border-top: 1px solid color-mix(in srgb, #e5e7eb 70%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--border, #e5e7eb) 70%, transparent);
  box-shadow: 0 -8px 24px rgba(0,0,0,.06), 0 -16px 48px rgba(0,0,0,.08);
  
  padding: 5px 0px;
  
}

#nav-rail-portal-host .nav-rail.is-mobile.is-hidden {
  display: none !important;
  pointer-events: none;
}

.theme-dark #nav-rail-portal-host .nav-rail {
  background: color-mix(in srgb, rgb(20 20 22) 92%, transparent);
}

body.needs-mobile-nav-dark #nav-rail-portal-host .nav-rail {
  background: color-mix(in srgb, rgb(20 20 22) 92%, transparent);
}

#nav-rail-portal-host .nav-rail__item.is-active .nav-rail__btn {
  background: none;
  box-shadow: none;
}


}



.page-view {
  animation: pageIn 0.28s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.page-view.back {
  animation: pageBack 0.25s cubic-bezier(.22,.61,.36,1);
}

@keyframes pageBack {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@media (prefers-reduced-motion: reduce) {
  .page-view {
    animation: none;
  }
}




.route-host:has(.lab-photos-page),
body:has(.lab-photos-page) {
  overflow-y: hidden !important;
}






.lab-photos-page.overlay-open .lab-wrap {
  overflow-y: clip !important;
  
}



.lab-photos-page{
  position: relative;
  min-height: 100dvh;
  display: block;                
  box-sizing: border-box;
  overflow: visible;
  isolation: isolate;            

  
  

}

.theme-dark .lab-photos-page {
  background:#141414;
}



.will-reveal {
}


.gp-grid {
  contain: layout paint;
}


.lab-wrap{
  height: 100dvh;
  overflow-y: auto;
  
  -webkit-overflow-scrolling: touch;
    
}

.lab-photos-page {
  --lp-accent: 28 90% 48%;
  --lp-text: 220 18% 18%;
--lp-glass: hsla(0, 0%, 100%, 0.55);
--lp-stroke: hsla(0, 0%, 0%, 0.08);
  --chip-h: 34px;
  --chip-r: 9px;
  --chip-px: 12px;
}
















.lab-wrap .gp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1fr));
  
  width: auto;
  padding-top: 12px;
  transition: all 0.3s ease;
}


.gp-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  background: var(--lp-card-bg, #fff);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

@media (orientation: landscape) and (max-width:1000px){
  .gp-card { border-radius: 8px!important;}
}

.gp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.theme-dark .gp-card {
  background: #0F0F0F;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.theme-dark .gp-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.6);
}


.gp-imglink {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f6f6f6;
}
.gp-imglink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: contrast(1.03) saturate(1.05);
}
.gp-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.gp-card.is-drogart .img-main {
  transform: rotate(180deg);
}

.gp-card.is-drogart:hover .img-main {
  transform: rotate(180deg) scale(1.05);
}

.gp-grid > article:hover,
.gp-grid--expandable > article:hover {
  cursor: pointer;
}


.gp-badge {
  position: absolute;
  left: 18px;
  right: 8px;
  bottom: 18px;
  display: flex;
  align-items: center;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
}
.gp-badge__text {
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  color: #0b1220;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}


.gp-card[data-tone="light"] .gp-badge__text {
  color: #0b1220;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.gp-card[data-tone="dark"] .gp-badge__text {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0,0,0,.6),
    0 0 1px rgba(0,0,0,.4);
}

@supports (-webkit-text-stroke: 1px black) {
  .gp-card[data-tone="dark"] .gp-badge__text { -webkit-text-stroke: .2px rgba(0,0,0,.35); }
  .gp-card[data-tone="light"] .gp-badge__text { -webkit-text-stroke: .2px rgba(255,255,255,.35); }
}



.theme-dark .gp-imglink { background: #1b1f27; }
.theme-dark .gp-badge__text { text-shadow: 0 1px 5px rgba(0,0,0,.9); }









.gp-skel .gp-skel-img--square {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 18px;
  background: linear-gradient(90deg, #e9eef5, #ffffff, #e9eef5);
  background-size: 200% 100%;
  animation: gp-shimmer 1.2s infinite;
}
@keyframes gp-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


.gp-body, .gp-title, .gp-desc { display: none !important; }

.gp-month-section {
  margin-bottom: clamp(24px, 5vw, 48px);
  width: 95%;
}
.gp-month-header {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: .03em;
  margin: 0 0 12px 4px;
  color: rgba(0,0,0,.9);
  text-shadow: 0 1px 2px rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
          backdrop-filter: blur(6px) saturate(1.2);
  
}
.theme-dark .month-header {
    margin-left: 12px!important;

  color: rgba(255, 255, 255, 0.9)!important;
}


.gp-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
}


.theme-dark {
  
  background: #0e1117;
  color: #e6ebf4;
}

.theme-dark .gp-card {
  background: #0F0F0F;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
}
.theme-dark .gp-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,.7);
}
.theme-dark .gp-badge {
  text-shadow: 0 1px 5px rgba(0,0,0,.9);
}

.theme-dark .lab-tag {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  color: #e6ebf4;
}
.theme-dark .lab-tag:hover {
  background: rgba(255,255,255,.18);
}
.theme-dark .lab-tag.is-active {
  background: linear-gradient(90deg, #ffd36a, #ffe59a);
  color: #0b1220;
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 2px 12px rgba(255,255,255,.2);
}

.theme-dark .chip {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  color: #e6ebf4;
}
.theme-dark .chip__remove {
  color: rgba(230,235,244,.8);
}
.theme-dark .chip__remove:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}


.gp-warning {
  display: block;
  
  padding: clamp(10px, 2vw, 16px) clamp(12px, 3vw, 20px);
  
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  border-inline: 0;
  background: var(--accent-tint-hover);
  color: #5c4600;
  border: 1px solid rgba(255, 238, 186, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;

  
  
  margin-inline: auto;
  text-wrap: balance; 
  text-align: center;
  -webkit-hyphens: auto;
          hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;

  
  white-space: normal;
  -webkit-user-select: text;
  user-select: text;
}

.lab-photos-page .gp-warning {
  margin-bottom: 10px;
}





.theme-dark .gp-warning {
  background: rgba(48, 37, 0, 0.7);
  border-color: rgba(255, 204, 102, 0.3);
  color: #ffe9b0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  border-inline: 0
}











.gp-grid--expandable {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 15px;
  gap: 15px;
  padding: 0 15px;
  align-items: start;
  width: auto;
}



@media (max-width: 468px) and (orientation: portrait) {
  .gp-grid,
  .gp-grid--expandable {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}


@media (max-width: 319px) and (orientation: portrait) {
  .gp-grid,
  .gp-grid--expandable {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 10px !important;
  }
}


@media (max-width: 925px) and (orientation: landscape) and (pointer: coarse) {
  .gp-grid,
  .gp-grid--expandable {
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)) !important;
    gap: 8px !important;
  }
}






.gp-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  background: var(--tile-bg, rgba(255,255,255,0.7));
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

body:not(.lab-back-loaded) .gp-card:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body.lab-back-loaded .gp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gp-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  
}



.gp-badge--top {
  position: absolute;
  top: 6px;
  
  
  display: flex;
    flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
  
}


.gp-card .detected-text {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
}




.gp-card {
  container-type: inline-size;
  container-name: card;
}
@container card (width > 200px) {
  .detected-text {
    font-size: 8cqi;
  }
}

.detected-sup {
  font-size: 0.65em;
  line-height: 1;
  margin-left: 1px;
  opacity: 0.7;
  flex: 0 0 auto;
  white-space: nowrap;
  position: relative;
  top: -0.42em;
}

.detected-line-row {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  width: 100%;
  max-width: 100%;
}

.detected-line-name {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detected-line-suffix {
  flex: 0 0 auto;
  white-space: nowrap;
}

.detectedDose {
  white-space: nowrap;
}

.gp-badge .badge-tags {
  font-size: 5cqi;
  bottom: -5px!important;
  padding: .5cqi;
}

div.gp-badge.gp-badge--top > div.geoLabel {
  font-size: 5cqi;
}




.lab-result.em-animate-in {
  grid-column: auto; 
  animation: fadeSlideIn .25s ease;
  max-width: 100%;
  overflow: hidden;
  transition: all .35s ease;
}


@media (max-width: 768px) {
  .lab-result.em-animate-in {
    grid-column: 1 / -1;
  }
}


@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}



.gp-grid--expandable .lab-result.is-expanded {
  grid-column: span 2;
  width: 100%;
  box-sizing: border-box;
  animation: fadeSlideIn .25s ease;
  max-height: 100%;
}

@media (max-width: 768px) {
  .gp-grid--expandable .lab-result.is-expanded {
    grid-column: 1 / -1; 
      z-index: 2; 

  }
}




@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.glass-tile {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
          backdrop-filter: blur(12px) saturate(150%);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.lab-result .glass-tile:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.lab-result .em-chip {
 display: flex;
  align-items: center;
  border-radius: 9999px;
  padding: 4px 10px 4px 4px;
  font-size: 13px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
          backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  color: #111;
}

.lab-result .em-chip-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-right: 6px;
}

.lab-result .em-chip-title {
  font-size: 15px;
    white-space: nowrap;

}

.lab-reult .em-chip.clickable {
  cursor: pointer;
  transition: transform 0.15s ease
}

.lab-result .em-chip.clickable:hover {
  transform: scale(1.04);
  
}


.glass-popup {
  background: linear-gradient(145deg, rgba(255,255,255,0.88) 0%, rgba(245,245,255,0.6) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
          backdrop-filter: blur(14px) saturate(180%);
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.25),
    0 2px 8px rgba(255,255,255,0.15) inset;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
}



.glass-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0)
  );
  pointer-events: none;
  mix-blend-mode: screen;
}


.lab-result .glass-popup.em-animate-in {
  animation: popupLift .4s ease;
}

@keyframes popupLift {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}















.img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f3f3f3;
  border-radius: 8px;
}

.img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.img-main.is-loaded {
  opacity: 1;
}

.img-main.is-transparent {
  width: 70%;
  height: 70%;
  object-fit: contain;
  top: 15%;
  left: 15%;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f3f3f3;
  border-radius: 8px;
}
















.lab-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  
  padding: 10px clamp(12px,2vw,20px); 
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  
  max-width: 100%;
  min-width: 0;
}
.lab-tags-row::-webkit-scrollbar { display: none; }









.divider-dot {
  background: white;   
  padding: 0;
  width: 26px;
  height: 26px 
}
.divider-dot:hover {
  transform: scale(1.12);
}
.divider-dot svg {
  pointer-events: none;
}

.lab-dropdown.divider {
  background-image: none;
}

.color-picker {
  gap: 10px;
  
  padding: 6px 0px;
  border-radius: 14px;
  
  background: transparent;
}

.color-dot {
  transition: all 0.25s ease;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    0 1px 2px rgba(0,0,0,0.1);
  filter: brightness(1.02) saturate(0.9);
}

.color-dot:hover {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.05);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.15),
    inset 0 0 2px rgba(255,255,255,0.6);
}

.color-dot:active {
  transform: scale(0.95);
}

.color-dot:focus {
  outline: none;
}

.color-picker-wrap {
    justify-content: center;
      display: flex;

  gap: 10px;


}

@media (max-width: 479px) {
  .color-picker-wrap {
    display: flex;
  flex-wrap: wrap;
  gap:inherit;
  row-gap: 20px;
  }
  }
















.em-chip.clickable {
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
          backdrop-filter: blur(12px) saturate(1.4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 1px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.em-chip.clickable:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.em-chip.clickable:active {
  transform: scale(0.97);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 1px 3px rgba(0, 0, 0, 0.15);
}

.em-chip.em-chip.clickable.no-click:hover {
  opacity: 1!important;
  opacity: initial!important;
  filter: initial!important;
  scale: unset!important;
  
  transform: none;
  transform: initial;
  cursor: default!important;
}



.lab-search-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  box-sizing: border-box;      

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  
position: sticky;
left: 0;              
width: 100%;          
max-width: 100vw;     
box-sizing: border-box;
  


  
  box-sizing: border-box;
    
  max-height: calc(2 * 48px); 
  overflow: hidden;
}


.lab-search-bar {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 85px;
  overflow: visible;
  gap: 8px;
  padding: 2px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, hsl(var(--lp-glass)), hsl(var(--lp-glass)));
  border: 1px solid color-mix(in oklab, #000 8%, transparent);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 6px 18px rgba(0,0,0,.06);
      backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

.lab-search-input {
  flex: 1 1 auto;
  min-width: 0;        
  width: 100%;
  box-sizing: border-box;
  border: none;
  background: transparent;
  outline: none;
  font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: hsl(var(--lp-text));
  padding: 4px 34px 4px 2px;
  overflow: visible;
  text-overflow: ellipsis;
}

.lab-search-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.lab-search-input::placeholder {
  color: transparent;
}

.lab-search-center-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0.72;
  font-size: 14px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.lab-search-center-placeholder > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-search-clear {
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: hsl(var(--lp-text) / 0.58);
  cursor: pointer;
}

.theme-dark .lab-search-clear {
  color: rgba(255, 255, 255, 0.82);
}



.lab-search-reset, .lab-search-camera {
  all: unset;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 34px;
  padding: 0 14px;
  border-radius: 10px;

  font: 600 13.5px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .01em;

  
  color: var(--muted);
  background: linear-gradient(
    180deg,
    hsl(var(--lp-glass)),
    hsl(var(--lp-glass))
  );

  border: 1px solid color-mix(in oklab, #000 10%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 4px 12px rgba(0,0,0,.08);

  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);

  transition:
    background .18s ease,
    box-shadow .18s ease,
    transform .12s ease;
}

.lab-search-camera {
  color: var(--em-muted);
}

.lab-search-toggle {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--muted);
  background: linear-gradient(
    180deg,
    hsl(var(--lp-glass)),
    hsl(var(--lp-glass))
  );
  border: 1px solid color-mix(in oklab, #000 10%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 4px 12px rgba(0,0,0,.08);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  transition:
    background .18s ease,
    box-shadow .18s ease,
    transform .12s ease,
    color .18s ease;
}

.lab-search-toggle:hover {
  background: color-mix(in oklab, hsl(var(--lp-glass)) 85%, #fff);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 6px 18px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

.lab-search-toggle:active {
  transform: scale(.96);
}

.lab-search-toggle.is-active {
  background: var(--accent-tint-active);
  color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent-ring) inset,
    0 6px 14px rgba(220,170,46,.12);
}

.theme-dark .lab-search-toggle {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 6px 18px rgba(0,0,0,.45);
}

.theme-dark .lab-search-toggle.is-active {
  background: var(--accent-tint-active);
  color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent-ring) inset,
    0 6px 14px rgba(220,170,46,.12);
}

.lab-search-reset:hover, .lab-search-camera:hover {
  background: color-mix(in oklab, hsl(var(--lp-glass)) 85%, #fff);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 6px 18px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

.lab-search-reset:active, .lab-search-camera:active {
  transform: scale(.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 2px 6px rgba(0,0,0,.12);
}

.theme-dark .lab-search-reset, .theme-dark .lab-search-camera {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 6px 18px rgba(0,0,0,.45);
}

.theme-dark .lab-search-reset:hover, .theme-dark .lab-search-camera:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.gp-grid.gp-grid--expandable:has(> .lab-no-results) {
  display: block;
}
.lab-no-results {
  text-align: center;
  margin-inline: auto;
  padding: 32px 16px;
}

.gp-summaries {
  display: contents;
}

.gp-summaries__grid {
  display: contents;
}

.gp-summary-card {
  cursor: pointer !important;
}

.gp-summary-card--search-result {
  border: 2px solid var(--accent);
  border-radius: 18px;
  overflow: clip;
}

.gp-summary-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.92), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(252,252,252,1), rgba(237,240,244,0.96));
}

article[data-summary="mdma-pills"] .gp-summary-card__media,
article[data-id="summary-mdma-pills"] .gp-summary-card__media,
article[data-summary="2c-b-pills"] .gp-summary-card__media,
article[data-id="summary-2c-b-pills"] .gp-summary-card__media,
article[data-summary="lsd"] .gp-summary-card__media,
article[data-id="summary-lsd"] .gp-summary-card__media {
  padding: 10%;
  box-sizing: border-box;
  object-fit: contain;
}

article.gp-summary-card--search-result[data-id="summary-mdma-pills"] .img-wrapper,
article.gp-summary-card--search-result[data-id="summary-2c-b-pills"] .img-wrapper,
article.gp-summary-card--search-result[data-id="summary-lsd"] .img-wrapper {
  padding: 10%;
  box-sizing: border-box;
}

article.gp-summary-card--search-result[data-id="summary-mdma-pills"] .img-main,
article.gp-summary-card--search-result[data-id="summary-2c-b-pills"] .img-main,
article.gp-summary-card--search-result[data-id="summary-lsd"] .img-main {
  padding: 10%;
  box-sizing: border-box;
  object-fit: contain;
}

.gp-summary-card__media--other {
  display: grid;
  place-items: center;
}

.gp-summary-card__question {
  font-size: clamp(3.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(10, 18, 32, 0.72);
}

.theme-dark .gp-summary-card__media {
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.12), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(34,34,34,0.98), rgba(18,18,18,0.96));
}

.theme-dark .gp-summary-card__question {
  color: rgba(255, 255, 255, 0.82);
}


.lab-dropdown {
  --lab-dropdown-border: color-mix(in oklab, #000 10%, transparent);
  --lab-dropdown-shadow:
    inset 0 1px 2px rgba(255,255,255,0.6),
    0 2px 6px rgba(0,0,0,0.08);
  appearance: none;
  font-weight: 500;
font-size: 13.5px;
line-height: 1.2;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: hsl(var(--lp-text));
  padding: 8px 32px 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--lab-dropdown-border);
  background: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(240,240,245,0.65));
background-image: url("data:image/svg+xml,%3Csvg width=%2710%27 height=%276%27 xmlns=%27http:%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath d=%27M0 0l5 6 5-6H0z%27 fill=%27%23666%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  box-shadow: var(--lab-dropdown-shadow);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
          backdrop-filter: blur(10px) saturate(1.2);
  cursor: pointer;
  min-width:100px;
  width: 100%;
}


.theme-dark .lab-dropdown {
  --lab-dropdown-border: rgba(255,255,255,0.14);
  --lab-dropdown-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 6px 18px rgba(0,0,0,0.45);
  color: rgba(230,235,244,0.9);
background: rgba(255,255,255,0.05);
 border-color: var(--lab-dropdown-border);

  box-shadow: var(--lab-dropdown-shadow);
  background-repeat: no-repeat;
  background-position: right 10px center;
background-image: url("data:image/svg+xml,%3Csvg width=%2710%27 height=%276%27 xmlns=%27http:%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath d=%27M0 0l5 6 5-6H0z%27 fill=%27%23666%27/%3E%3C/svg%3E");
}

.theme-dark .lab-dropdown.divider {
background-image: none;
background-image: initial;
}



@media (min-width: 487px) and (max-width: 925px) and (pointer: fine) {
  .lab-tags-row > *:nth-child(-n+3) {
    flex: 1 1 auto;
    min-width: 30%;
  }
}


@media (min-width: 487px) and (max-width: 925px) and (pointer: coarse) and (orientation: portrait) {
  .lab-tags-row > *:nth-child(-n+3) {
    flex: 1 1 auto;
    min-width: 30%;
  }
}



.lab-dropdown.active {
  background: rgba(255,215,130,0.6);
}

.theme-dark .lab-dropdown.active {
  background:  var(--accent-ring);
}



.theme-dark .lab-search-input {
    color: black;
}


.lab-dropdown:focus {
  outline: none;
  border-color: var(--lab-dropdown-border);
  box-shadow: var(--lab-dropdown-shadow);
}

.lab-dropdown:focus-visible {
  border-color: var(--lab-dropdown-border);
  box-shadow:
    var(--lab-dropdown-shadow),
    0 0 0 2px hsla(var(--lp-accent), 0.25),
    0 3px 10px rgba(0,0,0,.1);
}

select.lab-dropdown:focus:not(:focus-visible) {
  border-color: var(--lab-dropdown-border);
  box-shadow: var(--lab-dropdown-shadow);
}


.lab-search-bar .color-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 14px;
  background: transparent;
  border: none;
  box-shadow: none;
}


@media (max-width:481px) {
.lab-tags-row > div:nth-child(6) {
  margin-top: 10px;
}}



.lab-result-overlay {
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}


.lab-result-overlay {
  cursor: pointer;
  
  position: absolute;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  overscroll-behavior: contain;
  touch-action: pan-y;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  
  

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.7),
    0 4px 20px rgba(0, 0, 0, 0.06);

  animation: fadeIn 0.25s ease;
  padding-bottom: 100px;
}


.theme-dark .lab-result-overlay {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.06),
    0 4px 20px rgba(0, 0, 0, 0.8);
}





.theme-dark .lab-search-bar {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 6px 18px rgba(0,0,0,0.4);
}

.theme-dark .lab-search-input {
  color: #e6ebf4;
}
.theme-dark .lab-search-input::placeholder {
  color: transparent;
}

.theme-dark .lab-search-center-placeholder {
  opacity: 0.9;
}
.theme-dark input[type="date"]  {
background:   rgb(30, 30, 30)!important;
}


.lab-result .labresult-top {
  background: #fff !important;      
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}


.theme-dark .lab-result .labresult-top {
  background: #171617 !important;   
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lab-result-wrapper {
  cursor: pointer;
  margin-top: 0px!important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}







.theme-dark .gp-card {
  
  box-shadow: none !important;
}








.detected-line.tone-light {
  color: #111;
}

.detected-line.tone-dark {
  color: #fff;
}


.theme-dark .detected-line.tone-light {
  color: #fff;
}


.theme-dark .detected-line.tone-dark {
  color: #fff;
}





.theme-dark .gp-card [title][style*="position: absolute"] {
  color: #fff !important;
  text-shadow: rgba(0, 0, 0, 0.9) 0px 1px 3px !important;
}


.theme-dark .gp-card [style*="rotate(90deg"] {
  color: #fff !important;
  text-shadow: rgba(0, 0, 0, 0.9) 0px 1px 3px !important;
}

.geoLabel::first-letter {
  text-transform: uppercase;
}

.theme-dark .is-structure, .theme-dark .img-main.is-structure[style*="opacity: 1"] {
    filter: invert(1) hue-rotate(180deg) brightness(1.05) saturate(0.8) contrast(1.05)!important;
}




.theme-dark .gp-card > div:nth-child(2) {
background: linear-gradient(
  rgba(0, 0, 0, 0.35) 0%,
  rgba(0, 0, 0, 0.25) 35%,
  rgba(0, 0, 0, 0.10) 70%,
  rgba(0, 0, 0, 0) 100%
)!important;
}

.community-content .gp-badge {
    text-shadow: 0 1px 5px rgba(0,0,0,.9);
}

.community-content .detected-line.tone-light {
  color: white!important;
}

.community-content .gp-card > div:nth-child(2) {
background: linear-gradient(
rgba(0, 0, 0, 0.45) 0%,
rgba(0, 0, 0, 0.25) 45%,
rgba(0, 0, 0, 0.05) 80%,
rgba(0, 0, 0, 0) 100%
)!important
}

.theme-dark .community-content .gp-card > div:nth-child(2) {
background: linear-gradient(
rgba(0, 0, 0, 0.65) 0%,
rgba(0, 0, 0, 0.45) 45%,
rgba(0, 0, 0, 0.15) 80%,
rgba(0, 0, 0, 0) 100%
)!important
}







.img-wrapper {
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f4f4f4 70%, #ececec 100%);
  background: var(--img-light-matte, radial-gradient(circle at 50% 35%, #ffffff 0%, #f4f4f4 70%, #ececec 100%));
}




.theme-dark .lab-photos-page .img-wrapper, .theme-dark .labs-content .gp-grid.gp-grid--expandable > article > div:nth-child(1) {
  background: #0f0f0f !important;

}



.lab-photos-page .lab-search-shell {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 5;
  box-sizing: border-box;
  isolation: isolate;
}

.lab-photos-page .lab-search-row {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 11.5px 20px 15px;
  box-sizing: border-box;
}

.lab-photos-page .lab-search-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 0px 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.55) 72%,
    rgba(255, 255, 255, 0) 100%
  );
  
}

.lab-photos-page .lab-search-shell > * {
  position: relative;
  z-index: 1;
}

.lab-search-filters {
  width: 100%;
  overflow: visible;
}

.lab-search-filters.is-collapsible {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    grid-template-rows 220ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

.lab-search-filters.is-collapsible.is-open {
  grid-template-rows: 1fr;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lab-search-filters.is-collapsible > .lab-tags-row {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.lab-search-filters.is-collapsible.is-open > .lab-tags-row {
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (orientation: portrait) and (max-width: 499px) {
  .lab-search-filters:not(.is-collapsible) {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}



.lab-search-row .lab-dropdown {
  flex: 0 0 auto;
  min-width: 110px;
  max-width: 100%;
  white-space: nowrap;
}






.lab-search-row > .lab-dropdown,
.lab-search-row > .substances-dropdown {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: calc(50% - 10px);
  max-width: calc(50% - 10px);
}




.substances-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;

}
  .substances-dropdown {
    flex: 1 1 100%;
    max-width: 100%;
  }



.lab-tags-row > * {
  flex: 1 1 180px;
}







.theme-dark .lab-photos-page .lab-search-shell {
  border-color: rgba(255,255,255,0.12) !important;
  
}

.theme-dark .lab-photos-page .lab-search-shell::before {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.78) 0%,
    rgba(20, 20, 20, 0.55) 72%,
    rgba(20, 20, 20, 0) 100%
  ) !important;
}



.theme-dark .lab-search-row .lab-search-reset {
  color: rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.05)!important;
}
.theme-dark .lab-search-row .lab-search-reset:hover {
  background: rgba(255,255,255,0.10) !important;
  color: #fff !important;
}


.theme-dark .dropdown-list, .theme-dark .lab-dropdown-panel {
  background: #141414!important;
}

.detected-dropdown-panel {
  --dd-x: 0;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(300px, max-content);
  min-width: min(max(100%, 220px), 300px);
  max-width: min(300px, calc(100vw - 16px));
  z-index: 2000;
  max-height: min(56dvh, 340px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, #000 10%, transparent);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 12px 34px rgba(0,0,0,.16), 0 2px 6px rgba(0,0,0,.1);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: translate(var(--dd-x), -6px) scale(.985);
  pointer-events: none;
  transition:
    opacity .22s cubic-bezier(.22,1,.36,1),
    transform .28s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.detected-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--dd-x), 0) scale(1);
  pointer-events: auto;
}

.detected-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 12px;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.detected-dropdown-item:hover {
  background: rgba(0,0,0,.045);
  transform: translateX(1px);
}

.detected-dropdown-check {
  flex: 0 0 auto;
}

.detected-dropdown-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-dark .detected-dropdown-item:hover {
  background: rgba(255,255,255,.08);
}

@media (max-width: 560px) {
  .detected-dropdown-panel {
    --dd-x: -50%;
    left: 50%;
    right: auto;
    width: min(92vw, 560px);
    max-width: 92vw;
    transform-origin: top center;
  }
}

.color-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 250px;
  overflow-y: auto;
  padding: 6px 0;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, #000 10%, transparent);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 12px 34px rgba(0,0,0,.16), 0 2px 6px rgba(0,0,0,.1);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  pointer-events: none;
  transition:
    opacity .22s cubic-bezier(.22,1,.36,1),
    transform .28s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.color-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.color-dropdown-panel .dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .16s ease, transform .16s ease;
}

.color-dropdown-panel .dropdown-item:hover {
  background: rgba(0,0,0,.045);
  transform: translateX(1px);
}

.color-dropdown-panel .dropdown-item.is-selected {
  background: rgba(255,215,130,.35);
}

.theme-dark .color-dropdown-panel .dropdown-item:hover {
  background: rgba(255,255,255,.08);
}

@media (prefers-reduced-motion: reduce) {
  .detected-dropdown-panel,
  .color-dropdown-panel {
    transition: none;
  }
}


.theme-dark .howto-page .lab-photos-page .img-wrapper, .theme-dark .howto-page .labs-content .gp-grid.gp-grid--expandable > article > div:nth-child(1) {
  background: #141414 !important; 
}
.warning-footer-wrap {
  display: flex;
  justify-content: center; 
  align-items: center;     
  text-align: center;
}
.warning-footer {
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
  text-wrap: balance;
  line-height: 1;
  font-weight: 300;
  margin-top: 1.95em;
  padding-inline: 1.5em;
}

.searchbar-input-wrap {
  position: relative;
  width: 100%;
}

.searchbar-input {
  width: 100%;
  padding: 10px 42px 10px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  outline: none;
  background: #fff;
  background: var(--card-bg, #fff);
  caret-color: #dcaa2e;
  caret-color: var(--accent-strong, var(--accent, #dcaa2e));
}

.searchbar-input > {
  text-wrap: nowrap!important;
}

.searchbar-input::placeholder {
  color: transparent;
}

.searchbar-center-placeholder {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0.72;
  font-size: 14px;
}

.searchbar-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.48);
  color: var(--sub, rgba(0, 0, 0, 0.48));
  cursor: pointer;
}

.theme-dark .searchbar-input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.theme-dark .searchbar-clear {
  color: rgba(255, 255, 255, 0.82);
}

.theme-dark .searchbar-center-placeholder {
  opacity: 0.85;
}


@media
  (orientation: landscape)
  and (pointer: coarse)
  and (hover: none)
  and (max-width: 900px)
  and (display-mode: browser) {

  .global-topbar {
    padding-inline: 1em;
  }
}

@media (orientation: landscape) and (pointer: coarse) and (max-height:500px){

.global-topbar:has(.lab-search-row, .searchbar-row)
.left h2 {
  display: block;
  min-width: 0;
  max-width: clamp(72px, 22vw, 180px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
}


.global-topbar.pt {
  background: var(--rail-bg);
  color: var(--fg);
  height: auto;
  min-height: 56px;
  min-height: var(--topbar-base, 56px);
  box-shadow: 0 0 8px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
  z-index: 20000;
}
.theme-dark .global-topbar.pt { box-shadow: 0 0 10px rgba(0,0,0,.45); }


.global-topbar .left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
}
.global-topbar .left img { display: block; }

.topbar-logo {
  height: auto;
  max-height: 32px;
  width: auto;
}
.topbar-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.topbar-home-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-ring);
}

.topbar-home-btn .topbar-logo {
  display: block;
}

.global-topbar .left h2 {
  padding-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}


.global-topbar .right {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-right: 8px;
}


.topbar-btn {
  background: transparent;
  border: none;
  color: inherit;
  display: grid;
  place-items: center;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.topbar-btn:hover {
  background: var(--accent-tint-hover);
  color: var(--accent-strong);
}


.global-topbar .ons-icon,
.global-topbar .ons-icon > svg {
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: 0;
  color: inherit !important;           
  fill: currentColor !important;       
}


.global-topbar .mdi-share-variant-outline,
.global-topbar [icon="mdi-share-variant-outline"] {
  color: var(--fg) !important;
  fill: var(--fg) !important;
  top: 0;

  transform: translateY(1px);
}


.topbar-btn:hover .mdi-share-variant-outline {
  color: var(--accent-strong);
  fill: var(--accent-strong);
}

@media (max-width: 499px) {
  .global-topbar .right > .topbar-btn--theme,
  .global-topbar .right > .toolbar-button.topbar-btn--theme,
  .global-topbar .right > .toolbar-button--pt.topbar-btn--theme {
    display: none;
  }
}


.chip-toggle {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.1;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  flex: 0 0 auto;
}
.chip-toggle[aria-pressed="true"],
.chip-toggle.is-active {
  border-color: var(--accent-strong);
  background: var(--accent-tint-hover);
  font-weight: 700;
  color: var(--accent-strong);
}


.chip-toggle {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  border: 1px solid var(--border, #ccc);
  background: #fff;
  background: var(--card, #fff);
  color: #222;
  color: var(--fg, #222);
  font-weight: 500;
  cursor: pointer;
  line-height: 1.1;
  transition: background .15s, border-color .15s, color .15s;
}


.chip-toggle[aria-pressed="true"],
.chip-toggle.is-active {
  border-color: #caa648;
  border-color: var(--accent-strong, #caa648);
  background: rgba(255, 204, 102, 0.15);
  background: var(--accent-tint-hover, rgba(255, 204, 102, 0.15));
  font-weight: 700;
  color: #caa648;
  color: var(--accent-strong, #caa648);
}


.theme-dark .chip-toggle {
  background: #1d1d1d;
  border-color: #3a3a3a;
  color: #ccc;
}
.theme-dark .chip-toggle:hover {
  background: #2a2a2a;
}
.theme-dark .chip-toggle[aria-pressed="true"],
.theme-dark .chip-toggle.is-active {
  background: rgba(255, 204, 102, 0.25);
  border-color: #dcbf69;
  border-color: var(--accent-strong, #dcbf69);
  color: #dcbf69;
  color: var(--accent-strong, #dcbf69);
}



.dialog.dialog--pt {
  position: fixed !important;
  left: auto !important;
  width: auto !important;
  max-width: calc(100vw - 16px);
  z-index: 20000;
  box-sizing: border-box;
  animation: fadeIndialog .15s ease-out;
  
  right: 5cqw;
  transform: none;
}

@media (display-mode: standalone) and (orientation: portrait) {
.dialog.dialog--pt {
  top: 70px;
}
}



.dialog-container--pt {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  padding: 12px 16px;
  box-sizing: border-box;
}
.dialog__arrow { display: none !important; } 



.settings-dialog--medium { min-width: 260px; }
.settings-dialog--wide   { min-width: 280px; }

.settings-dialog__title {
  font-weight: 700;
  margin-bottom: 8px;
}


.settings-dialog__row {
  display: grid;
  grid-template-columns: minmax(0, 250px) auto;
  align-items: center;
  grid-column-gap: 12px;
  column-gap: 12px;
  grid-row-gap: 8px;
  row-gap: 8px;         
  padding: 8px 0;
  white-space: nowrap;  
}
.settings-dialog__row > span { 
  max-width: 250px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: start;
}
.settings-dialog__row--range > span {
  max-width: 200px;
}
.settings-dialog__row--sort-compact > span {
  max-width: 100px;
}


.settings-dialog__sort {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;      
  justify-content: flex-end;
}
.settings-dialog .range,
.settings-dialog .switch,
.settings-dialog__sort { justify-self: end; }

.settings-dialog .switch,
.settings-dialog .switch .switch__input,
.settings-dialog .switch .switch__toggle,
.settings-dialog .switch .switch__touch {
  cursor: pointer;
}

.settings-dialog .switch .switch__input:disabled + .switch__toggle,
.settings-dialog .switch .switch__input:disabled,
.settings-dialog .switch .switch__input:disabled ~ .switch__touch {
  cursor: default;
}



.lang-select {
  appearance: none;
  -webkit-appearance: none;

  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;

  padding: 6px 28px 6px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;

  cursor: pointer;
  min-width: 160px;
  max-width: 220px;

  
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}



.lang-select,
.lang-select option {
  font-family: inherit !important;
  font-size: 14px;
  font-weight: 500;
}

@supports (-webkit-touch-callout: none) {
  .lang-select {
    font-size: 16px; 
  }
}


.lang-select:hover {
  background-color: var(--accent-tint-hover);
  border-color: var(--accent-strong);
}

.lang-select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-ring);
}


.theme-dark .lang-select {
  background: #1d1d1d;
  border-color: #3a3a3a;
  color: var(--fg);
  
}


.range__input.range--pt__input {
  background-image: linear-gradient(#ccc, #ccc); 
}



@media (max-width: 900px){
  .global-topbar .left img { height: clamp(28px, 4vw, 32px); }
  .global-topbar .left h2{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 420px){
  .topbar-btn { width: 32px; height: 32px; }
  .global-topbar .left img { height: 24px; }
  .global-topbar .left h2 { max-width: 42vw; }
}


@keyframes fadeIndialog {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}




.englishSwitch {
  margin-left: 45px;
}

.dialog-container--pt{
    
  width: fit-content !important;       
  inline-size: max-content !important; 

  display: inline-block !important;    
  max-width: calc(100vw - 16px) !important;  
  min-width: 260px;                    
  box-sizing: border-box;

  
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  padding: 12px 16px;
}


.dialog.dialog--pt { max-width: 100vw; width: auto !important; }


.settings-dialog__row{
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  grid-column-gap: 12px;
  column-gap: 12px;
  grid-row-gap: 8px;
  row-gap: 8px;
  white-space: nowrap;
}



.global-topbar .right,
.global-topbar .toolbar__right,
.global-topbar .toolbar--pt__right {
  margin-left: auto;                
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  gap: var(--tb-gap, 6px);
  padding-right: 8px;
  padding-right: var(--tb-pad-x, 8px);
  flex-shrink: 0;                   
}


.toolbar--pt__right,
.toolbar__right {
  position: static !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}


@media (max-width: 900px) {
  .global-topbar .right,
  .global-topbar .toolbar__right,
  .global-topbar .toolbar--pt__right {
    gap: 4px;
    padding-right: 6px;
  }
}







@media (orientation: landscape) and (pointer: coarse) and (max-height:500px)
{

.global-topbar:has(.searchbar-row)
.right.toolbar__right.toolbar--pt__right > div:nth-child(1) {
  flex-direction: row-reverse;
}

.global-topbar .searchbar-row, .global-topbar .lab-search-row {
    border-radius: 0px;
    max-width: 250px;
    min-width: 200px;
    display: flex;
    flex-wrap: nowrap;
    padding: 0px;
    text-align: right;
    
    align-items: center;
  }

  .global-topbar .lab-search-row {
    width: 100%;
    gap: 10px;
  }

    .global-topbar .lab-search-bar {
      display: flex;
      flex-wrap: nowrap;
      min-width: 0;
      flex: 1 1 auto;
      height: 60px;
      align-content: center;
    }

  @supports (-webkit-touch-callout: none) {
    .global-topbar .lab-search-bar {
      height: 35px;
      align-content: center;
    }
  }

  .global-topbar .lab-search-reset, .global-topbar .lab-search-camera {
        height: 33px;
    align-content: center;
  }

  .global-topbar .searchbar-input-wrap,
  .global-topbar .lab-search-input-wrap {
    min-width: 0;
    overflow: hidden;
  }

  .global-topbar .searchbar-input {
  
  
border: 0;
}



  .global-topbar .searchbar-center-placeholder,
  .global-topbar .lab-search-center-placeholder {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding-inline: 10px;
  }

  .global-topbar .searchbar-center-placeholder > span,
  .global-topbar .lab-search-center-placeholder > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }


}






.dialog.dialog--pt {
  position: fixed !important;
  top: 3em;
  
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
}

:root.entry-android .dialog.dialog--pt {
  top: 4em;
}





.global-topbar.toolbar--pt {
  background: var(--rail-bg);
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 8px rgba(0,0,0,.06);
}


.theme-dark .global-topbar.toolbar--pt {
  background: var(--rail-bg);
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 12px rgba(0,0,0,.55);
}


.global-topbar.toolbar--pt .toolbar--pt__left,
.global-topbar.toolbar--pt .toolbar__left,
.global-topbar.toolbar--pt .left {
  display: flex;
  align-items: center;
  gap: 12px;
  gap: var(--tb-gap-lh, 12px);
  padding-inline-start: 14px;
  padding-inline-start: var(--tb-pad-x, 14px);
}

.global-topbar.toolbar--pt .left img {
  height: clamp(28px, 4.2vw, 36px);
  display: block;
}

.global-topbar.toolbar--pt .left h2 {
  margin: 0;
  padding: 0;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
 max-width: 100dvh;
}

@media (orientation: landscape) and (pointer: coarse) and (max-width:910px){

.global-topbar.toolbar--pt .left h2 {
 max-width: 52vw;
 display: none;
}
}


.global-topbar.toolbar--pt .toolbar--pt__right,
.global-topbar.toolbar--pt .toolbar__right,
.global-topbar.toolbar--pt .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  gap: var(--tb-gap, 8px);
  padding-inline-end: 8px;
  padding-inline-end: var(--tb-pad-x, 8px);
  position: static !important;
  transform: none !important;
}


.global-topbar.toolbar--pt .toolbar-button,
.global-topbar.toolbar--pt .toolbar-button--pt,
.global-topbar.toolbar--pt .topbar-btn {
  color: var(--fg);
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  transition: background .18s ease, color .18s ease;
  outline: none;
}

.global-topbar.toolbar--pt .toolbar-button:hover,
.global-topbar.toolbar--pt .topbar-btn:hover {
  background: var(--accent-tint-hover);
  color: var(--accent-strong);
}

.global-topbar.toolbar--pt i.mdi,
.global-topbar.toolbar--pt [class*="mdi-"] {
  color: currentColor !important;
  fill: currentColor !important;
  vertical-align: middle;
}


.global-topbar.toolbar--pt .mdi-share-variant-outline,
.global-topbar.toolbar--pt [icon="mdi-share-variant-outline"] {
  color: var(--fg) !important;
  fill: currentColor !important;
  transform: translateY(1px);
}

.global-topbar.toolbar--pt .topbar-btn:hover .mdi-share-variant-outline {
  color: var(--accent-strong) !important;
}


.global-topbar.toolbar--pt .toolbar-button:focus-visible,
.global-topbar.toolbar--pt .toolbar-button--pt:focus-visible,
.global-topbar.toolbar--pt .topbar-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-ring);
}


.global-topbar.pt {
  background: var(--rail-bg);
  color: var(--fg);
  height: auto;
  min-height: 56px;
  min-height: var(--topbar-base, 56px);
  box-shadow: 0 0 8px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
  z-index: 20000;
}
.theme-dark .global-topbar.pt { box-shadow: 0 0 10px rgba(0,0,0,.45); }


.global-topbar .left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
}
.global-topbar .left img { height: 35px; display: block; }
.global-topbar .left h2 {
  padding-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}


.global-topbar .right {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-right: 8px;
}


.topbar-btn {
  background: transparent;
  border: none;
  color: inherit;
  display: grid;
  place-items: center;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.topbar-btn:hover {
  background: var(--accent-tint-hover);
  color: var(--accent-strong);
}


.global-topbar .ons-icon,
.global-topbar .ons-icon > svg {
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: 0;
  color: inherit !important;           
  fill: currentColor !important;       
}


.global-topbar .mdi-share-variant-outline,
.global-topbar [icon="mdi-share-variant-outline"] {
  color: var(--fg) !important;
  fill: var(--fg) !important;
  top: 0;

  transform: translateY(1px);
}


.topbar-btn:hover .mdi-share-variant-outline {
  color: var(--accent-strong);
  fill: var(--accent-strong);
}


.chip-toggle {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.1;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  flex: 0 0 auto;
}
.chip-toggle[aria-pressed="true"],
.chip-toggle.is-active {
  border-color: var(--accent-strong);
  background: var(--accent-tint-hover);
  font-weight: 700;
  color: var(--accent-strong);
}


.chip-toggle {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  border: 1px solid var(--border, #ccc);
  background: #fff;
  background: var(--card, #fff);
  color: #222;
  color: var(--fg, #222);
  font-weight: 500;
  cursor: pointer;
  line-height: 1.1;
  transition: background .15s, border-color .15s, color .15s;
}


.chip-toggle[aria-pressed="true"],
.chip-toggle.is-active {
  border-color: #caa648;
  border-color: var(--accent-strong, #caa648);
  background: rgba(255, 204, 102, 0.15);
  background: var(--accent-tint-hover, rgba(255, 204, 102, 0.15));
  font-weight: 700;
  color: #caa648;
  color: var(--accent-strong, #caa648);
}


.theme-dark .chip-toggle {
  background: #1d1d1d;
  border-color: #3a3a3a;
  color: #ccc;
}
.theme-dark .chip-toggle:hover {
  background: #2a2a2a;
}
.theme-dark .chip-toggle[aria-pressed="true"],
.theme-dark .chip-toggle.is-active {
  background: rgba(255, 204, 102, 0.25);
  border-color: #dcbf69;
  border-color: var(--accent-strong, #dcbf69);
  color: #dcbf69;
  color: var(--accent-strong, #dcbf69);
}



.dialog.dialog--pt {
  position: fixed !important;
  left: auto !important;
  width: auto !important;
  max-width: calc(100vw - 16px);
  z-index: 20000;
  box-sizing: border-box;
  animation: fadeIndialog .15s ease-out;
  
  right: 5cqw;
  transform: none;
}

@media (display-mode: standalone) and (orientation: portrait) {
.dialog.dialog--pt {
  top: 70px;
}
}



.dialog-container--pt {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  padding: 12px 16px;
  box-sizing: border-box;
}
.dialog__arrow { display: none !important; } 



.settings-dialog--medium { min-width: 260px; }
.settings-dialog--wide   { min-width: 280px; }

.settings-dialog__title {
  font-weight: 700;
  margin-bottom: 8px;
}


.settings-dialog__row {
  display: grid;
  grid-template-columns: minmax(0, 250px) auto;
  align-items: center;
  grid-column-gap: 12px;
  column-gap: 12px;
  grid-row-gap: 8px;
  row-gap: 8px;         
  padding: 8px 0;
  white-space: nowrap;  
}
.settings-dialog__row > span { 
  max-width: 250px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: start;
}
.settings-dialog__row--range > span {
  max-width: 200px;
}
.settings-dialog__row--sort-compact > span {
  max-width: 100px;
}


.settings-dialog__sort {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;      
  justify-content: flex-end;
}
.settings-dialog .range,
.settings-dialog .switch,
.settings-dialog__sort { justify-self: end; }

.settings-dialog .switch,
.settings-dialog .switch .switch__input,
.settings-dialog .switch .switch__toggle,
.settings-dialog .switch .switch__touch {
  cursor: pointer;
}

.settings-dialog .switch .switch__input:disabled + .switch__toggle,
.settings-dialog .switch .switch__input:disabled,
.settings-dialog .switch .switch__input:disabled ~ .switch__touch {
  cursor: default;
}



.lang-select {
  appearance: none;
  -webkit-appearance: none;

  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;

  padding: 6px 28px 6px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;

  cursor: pointer;
  min-width: 160px;
  max-width: 220px;

  
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}



.lang-select,
.lang-select option {
  font-family: inherit !important;
  font-size: 14px;
  font-weight: 500;
}

@supports (-webkit-touch-callout: none) {
  .lang-select {
    font-size: 16px; 
  }
}


.lang-select:hover {
  background-color: var(--accent-tint-hover);
  border-color: var(--accent-strong);
}

.lang-select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-ring);
}


.theme-dark .lang-select {
  background: #1d1d1d;
  border-color: #3a3a3a;
  color: var(--fg);
  
}


.range__input.range--pt__input {
  background-image: linear-gradient(#ccc, #ccc); 
}



@media (max-width: 900px){
  .global-topbar .left img { height: clamp(28px, 4vw, 32px); }
  .global-topbar .left h2{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 420px){
  .topbar-btn { width: 32px; height: 32px; }
  .global-topbar .left img { height: 24px; }
  .global-topbar .left h2 { max-width: 42vw; }
}


@keyframes fadeIndialog {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}




.englishSwitch {
  margin-left: 45px;
}

.dialog-container--pt{
    
  width: fit-content !important;       
  inline-size: max-content !important; 

  display: inline-block !important;    
  max-width: calc(100vw - 16px) !important;  
  min-width: 260px;                    
  box-sizing: border-box;

  
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  padding: 12px 16px;
}


.dialog.dialog--pt { max-width: 100vw; width: auto !important; }


.settings-dialog__row{
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  grid-column-gap: 12px;
  column-gap: 12px;
  grid-row-gap: 8px;
  row-gap: 8px;
  white-space: nowrap;
}



.global-topbar .right,
.global-topbar .toolbar__right,
.global-topbar .toolbar--pt__right {
  margin-left: auto;                
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  gap: var(--tb-gap, 6px);
  padding-right: 8px;
  padding-right: var(--tb-pad-x, 8px);
  flex-shrink: 0;                   
}


.toolbar--pt__right,
.toolbar__right {
  position: static !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}


@media (max-width: 900px) {
  .global-topbar .right,
  .global-topbar .toolbar__right,
  .global-topbar .toolbar--pt__right {
    gap: 4px;
    padding-right: 6px;
  }
}




.global-topbar.pt {
  padding-inline: 8px;
  padding-block: var(--tb-pad-y);
}


.global-topbar .left,
.global-topbar .toolbar__left,
.global-topbar .toolbar--pt__left{
  display: flex;
  align-items: center;
  gap: var(--tb-gap-lh);
  padding-inline-start: var(--tb-pad-x);
  padding-inline-end: 0;
  margin: 0;
  width: auto;
  max-width: 100%
}

.global-topbar .left img{
  height: clamp(28px, 4.2vw, 36px);
  display: block;
}

.global-topbar .left h2{
  margin: 0;
  
  padding: 0;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.global-topbar .right,
.global-topbar .toolbar__right,
.global-topbar .toolbar--pt__right{
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-inline-end: var(--tb-pad-x);
  padding-inline-start: 8px;
  position: static !important; 
  transform: none !important;
}


.global-topbar .toolbar-button,
.global-topbar .toolbar-button--pt,
.global-topbar .topbar-btn{
  width: 36px;
  height: 36px;
  padding: 0;                 
  line-height: 1;             
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
}

.global-topbar .toolbar-button i.mdi,
.global-topbar .topbar-btn i.mdi{
  font-size: 24px;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(0);   
}

.topbar-btn--status {
  cursor: default;
  pointer-events: none;
  opacity: 0.92;
}

.topbar-btn--syncing .mdi,
.topbar-btn--syncing [class*="mdi-"] {
  animation: topbar-sync-spin 1.5s linear infinite;
  transform-origin: center;
}

@keyframes topbar-sync-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.global-topbar .mdi-share-variant-outline{
  color: var(--fg) !important;
  fill: currentColor !important;
}
.topbar-btn:hover .mdi-share-variant-outline{ color: var(--accent-strong); }



@media (max-width: 900px){
  .global-topbar .right{ gap: 6px; }
}
@media (max-width: 420px){
  .global-topbar .toolbar-button,
  .global-topbar .toolbar-button--pt,
  .global-topbar .topbar-btn{ width: 32px; height: 32px; }
  .global-topbar .left h2{ max-width: 42vw; }
}





.dialog-mask.dialog-mask--pt,
.dialog-mask.dialog-mask--pt.dialog-mask--top {
  background: rgba(255,255,255,0.01);
  backdrop-filter: blur(8px) saturate(1.6);
  -webkit-backdrop-filter: blur(8px) saturate(1.6);
  transition: background .25s ease, -webkit-backdrop-filter .25s ease;
  transition: backdrop-filter .25s ease, background .25s ease;
  transition: backdrop-filter .25s ease, background .25s ease, -webkit-backdrop-filter .25s ease;
  opacity: 1 !important;
  z-index: 1999;
}

.theme-dark .dialog-mask.dialog-mask--pt,
.theme-dark .dialog-mask.dialog-mask--pt.dialog-mask--top {
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
}



.dialog.dialog--pt,
.dialog-container--pt {
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.8) ;
          backdrop-filter: blur(14px) saturate(1.8) ;
  
  border: 1px solid rgba(255,255,255,0.35) !important;
  box-shadow: 0 6px 28px rgba(0,0,0,0.18) !important;
  color: var(--fg);
  border-radius: 12px;
}

.theme-dark .dialog.dialog--pt,
.theme-dark .dialog-container--pt {
  background: rgba(20,20,20,0.52) !important;
  backdrop-filter: blur(16px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.6) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55) !important;
  color: var(--fg);
}



.settings-dialog,
.settings-dialog--medium,
.settings-dialog--wide {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}



.theme-dark .switch--pt .switch__toggle {
  background: rgba(255,255,255,0.18) !important;
}

.switch--pt input:checked + .switch__toggle {
  background: #dcbf69 !important;
  background: var(--accent-strong, #dcbf69) !important;
  box-shadow: 0 0 0 2px #dcbf69 inset !important;
  box-shadow: 0 0 0 2px var(--accent-strong, #dcbf69) inset !important;
}

.theme-dark .switch--pt .switch__touch {
  opacity: 0.35 !important;
}

.theme-dark .switch--pt .switch__handle {
  background: var(--fg) !important;
}

.theme-dark .switch--pt input:checked + .switch__toggle .switch__handle {
  
    background: #f1f1f1 !important;
}

:checked+.switch--material__toggle>.switch--material__handle{
  background: #f1f1f1 !important;
}




.settings-dialog {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
}

@media (orientation: landscape) and (max-height: 500px) {
  .settings-dialog:has(.settings-dialog__row:nth-child(5)) {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .switch.switch--pt{
    zoom: 0.8;
  } 
    .settings-dialog .range{
    zoom: 0.8;
    width: 150px;
  } 
  .settings-dialog .switch, .settings-dialog .range {
  
  justify-self: right;
  }
  .englishSwitch {
  margin-left: 0px;
  }
}




.settings-dialog__title {
  grid-column: 1 / -1;
}


.settings-dialog__row {
  grid-column: auto;
}








.topbar-inline-tabs {
  display: flex;
  gap: 10px;
  margin-left: 14px;
}

.topbar-inline-tab {
  padding: 6px 10px;
  font-size: 13px;
  background: transparent;
  border: 0;
  color: var(--fg);
  border-bottom: 2px solid transparent;
}

.topbar-inline-tab.is-active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}









.global-topbar .dialog:not(.dialog--pt),
.global-topbar .dialog:not(.dialog--pt) * {
  animation: none !important;
  transition: none !important;
}


.global-topbar .mdi-account-outline::before, .global-topbar .mdi-dots-vertical::before, .global-topbar .mdi-menu::before, .global-topbar .mdi-weather-night::before, .global-topbar .mdi-white-balance-sunny::before {
    width: 36px!important;
    text-align: center!important;
}

.global-topbar .mdi.mdi-share-variant-outline {
    font-size: 24px;
    line-height: 1;
    text-align: left!important;
    width: 27px!important;
}






.topbar-a11y {
  position: fixed;
  top: 0;
  right: 0;
  height: 52px;
  display: flex;
  gap: 9px;
  padding-right: 12px;
  z-index: 10000000000;
}

.topbar-a11y button {
  width: 36px;
  height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
}

.topbar-a11y button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.topbar-visual {
  position: relative;
  z-index: 3;
}

.topbar-a11y-left {
  position: relative;
  z-index: 1;
}

.topbar-logo-a11y {
  display: inline-block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.settings-dialog [tabindex="-1"]:focus {
  outline: none !important;
  box-shadow: none !important;
}


#journal-profile-password-title {
  padding: 0 1em;
}





.pwa-hint-banner{
  position:fixed;
  right:32px;
  min-width:220px;
  width:max-content;
  z-index:9999;
  padding:10px 12px;
  border-radius:14px;
  box-sizing:border-box;
  display:flex;
  gap:10px;
  align-items:flex-start;
  font:13px/1.45 system-ui, sans-serif;
  transition:transform .35s cubic-bezier(.2,.7,.2,1), filter .25s ease;
}

.theme-dark .pwa-hint-banner{
  background:rgba(0,0,0,.88);
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
html:not(.theme-dark) .pwa-hint-banner{
  background:#fff;
  color:#111;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.pwa-hint-icons{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.pwa-hint-icon{
  width:43px;
  height:43px;
  border-radius:4px;
  cursor:pointer;
}

.pwa-hint-icon--stealth{
  border-radius:6px;
}

.pwa-hint-title{
  font-weight:600;
  margin-bottom:2px;
}
.pwa-hint-subtitle{
  font-size:12px;
  opacity:.6;
  margin-bottom:4px;
}
.pwa-hint-msg{
  opacity:.86;
  margin-inline:auto;
  text-wrap:balance;
  text-align:left;
  -webkit-hyphens:auto;
          hyphens:auto;
  overflow-wrap:break-word;
}

.pwa-hint-btn{
  margin-top:0;
  padding:4px 10px;
  border-radius:7px;
  border:0;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}

.pwa-hint-actions{
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwa-hint-btn--help{
  padding: 4px 8px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pwa-hint-btn--help svg{
  display: block;
}



.theme-dark .pwa-hint-btn{
  background:#f5c852;
  color:#111;
}

html:not(.theme-dark) .pwa-hint-btn{
  background:#111;
  color:#fff;
}


.pwa-share-icon{
  width:14px;
  height:14px;
  vertical-align:middle;
  margin:0 2px;
  display:inline-block;
}

.theme-dark img[src$="/ios-share.svg"] {
  filter: invert(1) hue-rotate(180deg) brightness(1.05) saturate(0.8) contrast(1.05)!important;
}

#vh-probe,
#viewport-probe{
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}

#vh-probe{ height: 100vh; }
#viewport-probe{ height: -webkit-fill-available; }

#preboot-overlay.inline {
  background: transparent;
  pointer-events: auto;
    transition: opacity .15s ease;
  opacity: 1;
}

html.preboot-active #drugspro-app-web {
  pointer-events: none !important;
}


.android-backdrop-kill,
.android-backdrop-kill * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


.android-backdrop-kill .em-frost,
.android-backdrop-kill .gtm-backdrop,
.android-backdrop-kill .em-animate-in,
.android-backdrop-kill .gtm-panel {
  animation: none !important;
}

.android-backdrop-kill .em-frost,
.android-backdrop-kill .em-sheet,
.android-backdrop-kill .em-animate-in,
.android-backdrop-kill .gtm-backdrop,
.android-backdrop-kill .gtm-panel,
.android-backdrop-kill .em-grid,
.android-backdrop-kill .em-tile-wrap {
  transform: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}

.android-backdrop-kill .em-sheet-head {
  contain: none !important;
}

.android-backdrop-kill .em-frost,
.android-backdrop-kill .gtm-backdrop {
  background: rgba(255,255,255,.78) !important;
}

html.theme-dark.android-backdrop-kill .em-frost,
html.theme-dark.android-backdrop-kill .gtm-backdrop {
  background: rgba(12,15,20,.78) !important;
}





@keyframes glass-drift {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(1.05);
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(1.05);
  }
}


#preboot-overlay > * {
  position: relative;
  z-index: 1;
}




body.rx-class-loading #preboot-overlay.inline {
  opacity: 1;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  
  background: #ffffff;
  background: var(--bg, #fff);
  background-color: #ffffff;
  background-color: var(--bg, #fff);
  color: #111827;
  color: var(--fg, #111827);
  overflow: hidden;
  
  
}

#drugspro-app-web {
  overflow-y: hidden;
}







html, body {
  height: 100vh!important;
}


@supports (-webkit-touch-callout: none) {
  html, body {
    height: -webkit-fill-available;
  }
}

#root {
  min-height: 100vh;
  min-height: 100dvh;
  
  --safe-top-css: env(safe-area-inset-top);
  --safe-bottom-css: env(safe-area-inset-bottom);
}


.substancespage-shell, .experiences-view,
.prognosis-content, .notes-content, .trends-content, .howto-content, .reagent-analyze-content,
.tlc-content, .hptlc-content {
  height: 100dvh;
  
  overflow-y: auto;
  
  overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  touch-action: pan-y; 
  overscroll-behavior-y: contain; 
  overflow-x: hidden;
}


.no-route-overflow {
  overflow-y: hidden;
}

.experiences-view, .notes-view, .trends-view, 
.subs-list, 
.em-host.insights-page, .secondary-grid 

{
  padding-bottom: 150px!important;
}


 

.app-grid.is-mobile .jrnl-wrap, .app-grid.is-mobile .page__content > .substances-index-page{
  padding-bottom:3em;
}


:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #111827;
  --muted: #6b7280;
  --card: #fcfcfc;
  --border: #e5e7eb;

  
  --accent: #dcaa2e;        
  --accent-strong: #d0872a; 
  --chip-bg: #fff8e6;
  --chip-fg: #6b4a1d;

  
  --rail-bg: #ffffff;
  --rail-fg: #1f2328;
  --rail-border: #e5e7eb;

  
}


.theme-dark {
  color-scheme: dark;
  --bg: #141414;          
  --fg: #e4e4e6;          
  --muted: #9b9b9f;       
  --card: #1b1b1b;        
  --border: #2a2a2a;      

  --accent: #dcaa2e;
  --accent-strong: #d0872a;
  --chip-bg: #1e1d18;      
  --chip-fg: #e8d7a1;

  --rail-bg: #181818;
  --rail-fg: #e4e4e6;
  --rail-border: #2a2a2a;

    --row-bg: #1a1a1a; 

  
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}




.list-item,
.list-item--pt {
  background: #fcfcfc;
  background: var(--card, #fff);
  color: #111827;
  color: var(--fg, #111);
  border-color: #e5e7eb;
  border-color: var(--border, #e5e7eb);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}


[data-theme="dark"] .list-item,
.theme-dark .list-item,
[data-theme="dark"] .list-item--pt,
.theme-dark .list-item--pt {
  background: #fcfcfc;
  background: var(--card, #1b1b1b);
  color: #111827;
  color: var(--fg, #e4e4e6);
  border-color: #e5e7eb;
  border-color: var(--border, #2a2a2a);
}




main {
    overflow: auto;
    
}




.list--pt {
  background: #fcfcfc;
  background: var(--card);
  color: #111827;
  color: var(--fg);
  border-color: #e5e7eb;
  border-color: var(--border);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.list--pt .list__item {
  background: #fcfcfc;
  background: var(--card);
  color: #111827;
  color: var(--fg);
  border-bottom: 1px solid #e5e7eb;
  border-bottom: 1px solid var(--border);
}


.list--pt .list__item--tappable:active,
.list--pt .list__item--tappable:focus {
  background: rgba(0, 0, 0, 0.05);
}
.theme-dark .list--pt .list__item--tappable:active,
.theme-dark .list--pt .list__item--tappable:focus {
  background: rgba(255, 255, 255, 0.07);
}


.glass-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.theme-dark .glass-head {
  border-color: rgba(255, 255, 255, 0.1);
}
.glass-title {
  font-weight: 800;
  font-size: 1.05rem;
}
.glass-body {
  padding: 16px;
  line-height: 1.45;
}
.glass-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 4px 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  color: #333;
}
.theme-dark .glass-close {
  background: rgba(0, 0, 0, 0.4);
  color: #fafafa;
}
.glass-close:hover {
  opacity: 0.85;
}










.theme-dark .filters-strip {
  background: #1e1e1e;
  border-bottom: 1px solid #333;
  margin-bottom: -1px;
}
.theme-dark .filters-strip .filters-container > div[role="button"] {
  background: #2a2a2a;
  border-color: #444;
  color: #ddd;
}
.theme-dark .filters-strip .filters-container > div[role="button"][aria-pressed="true"] {
  background: #333;
  border-color: #dcaa2e;
  color: #fff;
}

.theme-dark input[type="search"],
[data-theme='dark'] input[type="search"] {
  border: 0 !important;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  appearance: none;
  display: none;
}

input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}





.app-grid:has(.nav-rail.is-mobile).page-shell {
  .page__content > .substances-index-page{
    overflow: visible;     
    min-height: auto;
  }

  #substance-left-pane,
  #substance-right-pane{
    height: auto;        
    max-height: none;
  }




  .app-grid, .page-shell, .route-host{
     width:100%; 
    min-width:0;
    margin-left: 0;
  }
  .route-host{ overflow-y:auto; -webkit-overflow-scrolling:touch; }
}





.route-host {
  background: #ffffff;
  color: #111827;
  color: var(--fg);
  transition: background 0.3s ease, color 0.3s ease;
}


.dark-mode html, .dark-mode body {
    
    background-color: black;
}



.theme-dark .page__background,
.theme-dark .substances-index-page,
.theme-dark .route-host, 
.theme-dark .tabs-spacer,

.theme-dark .app-grid,
.theme-dark .app-shell,
.theme-dark .drugspro-app,
.theme-dark body,
.theme-dark html {
  background:#141414;
  background-color:#141414;
  color: #111827;
  color: var(--fg);
  
  transition: background .3s ease, color .3s ease;
}


button{
  appearance: none;
  color: inherit;
  background: none;
}



* {
  -webkit-user-select: none;
  user-select: none;
}


p, span, li, td, th,
h1, h2, h3, h4, h5, h6,
em, strong, small, b, i,
blockquote, pre, code {
  -webkit-user-select: text;
  user-select: text;
}



div[role="button"],
div[tabindex] {
  -webkit-user-select: none;
  user-select: none;
}


input, textarea {
  -webkit-user-select: text;
  user-select: text;
}


.app-shell div[data-content],
.app-shell .content,
.app-shell .text,
.app-shell .copy {
  -webkit-user-select: text;
          user-select: text;
}




@keyframes ach-pop-in {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes ach-pop-out {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.25);
    opacity: 0;
  }
}





:focus-visible {
  outline: 2px solid #dcaa2e;
  outline: 2px solid var(--accent, #dcaa2e);
  outline-offset: 2px;
}


.theme-dark :focus-visible {
  outline-color: #f5d76e;
}


button:focus-visible {
  outline: 2px solid #dcaa2e;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *,
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}


main,
[role="main"] {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}









html.preboot-active.exporting-snapshot #drugspro-app-web{
  opacity: 1;
  pointer-events: auto;
}
html.preboot-active #preboot-overlay{visibility:visible;pointer-events:auto}
html.preboot-active #preboot-overlay *{pointer-events:none}
html.preboot-active #preboot-overlay [role="status"],
html.preboot-active #preboot-overlay [aria-live]{pointer-events:auto}




:focus:not(:focus-visible) {
  outline: none !important;
}




:root {
  --bp-bg: rgba(255,255,255,0.965);
  --bp-glass: linear-gradient(
    180deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.12)
  );
}


.theme-dark {
  --bp-bg: rgba(0,0,0,0.12);
  --bp-glass: linear-gradient(
    180deg,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.12)
  );
}

:root {
  --bp-hud-fg: rgba(0,0,0,0.85);
}
.theme-dark {
  --bp-hud-fg: rgba(255,255,255,0.95);
}


.scroll-top-fab {
  position: fixed;
  right: 24px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 2em);
  width: 48px;
  height: 48px;
  border-radius: 50%;

  
  background: rgba(246,247,247,0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  border: 1px solid rgba(255,255,255,0.65);
  color: #1c1c1e;

  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  
  box-shadow:
    0 8px 20px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.6);

  z-index: 1000;
  cursor: pointer;

  
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
  transition:
    opacity 180ms ease-out,
    transform 240ms cubic-bezier(.2,.8,.2,1),
    box-shadow 180ms ease;
}

@media (pointer: coarse) and (orientation: landscape) {
.scroll-top-fab {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 26px);
}}

.scroll-top-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top-fab:active {
  transform: scale(0.94);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.4);
}


@media (pointer: fine) {
  .scroll-top-fab {
    right: 2em;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 34px);
  }
}


.theme-dark .scroll-top-fab {
  background: rgba(28,28,30,0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);

  border: 1px solid rgba(255,255,255,0.08);
  color: #f2f2f7;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.scroll-top-fab:active {
  transform: scale(0.95);
}



.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}

.leaflet-tile::selection {
	background: transparent;
}

.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}

.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}


.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	box-sizing: border-box;
	z-index: 800;
	}

.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}




.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; 
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}




.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}




.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor:         grabbing;
	}


.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; 
	pointer-events: auto;
	}



.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}



.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}




.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}



.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}




.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}


.leaflet-default-icon-path { 
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}




.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}




.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;
	transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}




.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}




.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}



.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}



@media print {
	
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

