/* Only this profile settings drawer; native dialog behavior stays intact. */
html body #app .lb-profile-screen dialog.lb-profile-settings-menu.lb-profile-settings-drawer-r1 {
  position: fixed;
  inset: 0 0 0 auto;
  width: 340px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
  color: #222;
  box-shadow: -8px 0 28px #102a3326;
}
html body #app .lb-profile-screen dialog.lb-profile-settings-drawer-r1[open] {
  display: flex;
  flex-direction: column;
}
html body #app .lb-profile-screen dialog.lb-profile-settings-drawer-r1::backdrop {
  background: #0005;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-drawer-brandbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 12px;
  box-sizing: border-box;
  background: #67b8b9;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-drawer-brandbar img {
  display: block;
  width: 96px;
  height: 56px;
  object-fit: contain;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-drawer-close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: 30px/1 Arial, sans-serif;
  cursor: pointer;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-settings-items {
  flex: 1 1 auto;
  min-height: 0;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-row {
  min-height: 58px;
  padding: 14px 0;
  gap: 12px;
  border-bottom: 1px solid #edf0f0;
  background: #fff;
  color: #222;
  font-size: 15px;
  line-height: 1.5;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-logout {
  margin: 0;
  padding: 0;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-logout .lb-profile-row {
  border-bottom: 0;
  color: #b33e45;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-row:active {
  background: #edf5f5;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 button:focus-visible {
  outline: 2px solid #126d75;
  outline-offset: -3px;
}
html body #app .lb-profile-screen .lb-profile-settings-drawer-r1 .lb-profile-drawer-close:focus-visible {
  outline-color: #fff;
}
@media (max-width: 600px) {
  html body #app .lb-profile-screen dialog.lb-profile-settings-menu.lb-profile-settings-drawer-r1 {
    width: 100vw;
  }
}
