:root {
  color-scheme: light;
  --page: #f7f8f3;
  --surface: #fffefa;
  --surface-soft: #f4eee4;
  --text: #20201d;
  --muted: #66645f;
  --line: #ded7ca;
  --primary: #008c78;
  --primary-dark: #007261;
  --primary-light: #77decf;
  --primary-foreground: #ffffff;
  --primary-light-foreground: #16473f;
  --primary-ink: #008c78;
  --primary-border: #40a99a;
  --theme-color: #008c78;
  --theme-color-dark: #007261;
  --theme-foreground: #ffffff;
  --theme-border: #40a99a;
  --navigation-color: #008c78;
  --navigation-color-dark: #007261;
  --navigation-accent: #77decf;
  --navigation-foreground: #ffffff;
  --navigation-accent-foreground: #16473f;
  --accent: #c47a2c;
  --danger: #b42318;
  --success: #187348;
  --shadow: 0 18px 48px rgb(27 31 35 / 16%);
  --nav-height: 78px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 38%),
    linear-gradient(315deg, rgb(196 122 44 / 13%), transparent 36%),
    var(--page);
  color: var(--text);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.informative-required-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  color: var(--primary);
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-screen::after {
  content: none;
}

.splash-image {
  display: block;
  width: 168px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 34px;
  box-shadow: 0 12px 30px rgb(0 0 0 / 15%);
}

.splash-wordmark {
  display: none;
}

@media (min-width: 640px) {
  .splash-image {
    width: 220px;
    border-radius: 42px;
  }
}

.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;
}

.login-screen,
.password-reset-screen {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 26px;
  padding: clamp(28px, 7vh, 90px) 30px 36px;
  background: #ffffff;
}

.login-card {
  width: min(100%, 680px);
  min-height: min(76vh, 930px);
  display: grid;
  align-content: start;
  justify-items: stretch;
  padding: clamp(42px, 7vw, 86px) clamp(32px, 6vw, 64px) 44px;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 28px;
  background: #35d6c7;
  box-shadow:
    0 7px 11px rgb(0 0 0 / 28%),
    inset 0 0 0 1px rgb(255 255 255 / 28%);
  color: #075e56;
}

.password-reset-card {
  min-height: 0;
}

.login-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  color: white;
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.sync-badge {
  width: 0.92em;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  margin: 0 0.08em;
  border-radius: 8px;
  background: #f1c33b;
  color: white;
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / 22%);
  font-size: 0.62em;
}

.login-title {
  margin: 0 0 clamp(42px, 7vw, 68px);
  text-align: center;
  color: #077168;
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-form {
  display: grid;
  gap: 28px;
}

.login-form input {
  width: 100%;
  min-height: 76px;
  border: 0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 0 12px rgb(255 255 255 / 54%);
  color: var(--text);
  font-size: 1.28rem;
  outline: 0;
  padding: 0 22px;
}

.login-form input::placeholder {
  color: #a8a8a8;
}

.login-form input:focus {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent),
    0 0 12px rgb(255 255 255 / 54%);
}

.login-password-field {
  position: relative;
  width: 100%;
}

.login-password-field input {
  padding-right: 76px;
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #077168;
  transform: translateY(-50%);
}

.login-password-toggle .lucide {
  width: 27px;
  height: 27px;
  stroke-width: 2.8;
}

.login-submit,
.login-alt-button,
.create-account-button,
.install-button,
.plain-login-action {
  border: 0;
  letter-spacing: 0;
}

.login-submit {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  border-radius: 8px;
  background: var(--theme-color);
  color: var(--theme-foreground);
  box-shadow: 0 7px 12px rgb(0 0 0 / 20%);
  font-size: 1.08rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-submit.has-credentials {
  background: #2cc8b9;
  color: #073f3a;
}

.plain-login-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 28px;
  padding: 6px 12px;
  background: transparent;
  color: #077168;
  font-size: 1.08rem;
  font-weight: 900;
}

.login-divider {
  margin-bottom: 26px;
  text-align: center;
  color: #063d39;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-alt-button,
.create-account-button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgb(0 0 0 / 16%);
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-alt-button {
  margin-bottom: 28px;
  background: white;
  color: #262626;
}

.login-alt-button .google-symbol {
  width: 30px;
  background: white;
}

.no-account-text {
  margin: 0 0 14px;
  text-align: center;
  color: #077168;
  font-size: 1rem;
  font-weight: 900;
}

.create-account-button {
  background: #80e4d8;
  color: #090909;
}

.install-button {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 40px auto 0;
  background: transparent;
  color: #087066;
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
}

.install-button .lucide {
  width: 48px;
  height: 48px;
  stroke-width: 3.5;
  fill: currentColor;
}

.login-footnote {
  width: min(100%, 620px);
  margin: 0;
  color: #191919;
  text-align: center;
  font-size: 1rem;
  line-height: 1.28;
}

@media (min-width: 640px) {
  .login-wordmark {
    font-size: 4.5rem;
  }

  .login-title {
    font-size: 2.15rem;
  }

  .login-form input {
    font-size: 1.95rem;
  }

  .login-submit {
    font-size: 1.58rem;
  }

  .plain-login-action {
    font-size: 1.52rem;
  }

  .login-divider {
    font-size: 1.3rem;
  }

  .login-alt-button,
  .create-account-button {
    font-size: 1.38rem;
  }

  .no-account-text {
    font-size: 1.36rem;
  }

  .install-button {
    font-size: 1.62rem;
  }

  .install-button .lucide {
    width: 70px;
    height: 70px;
  }

  .login-footnote {
    font-size: 1.48rem;
  }
}

.login-shell {
  width: min(1040px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 28px;
  padding: 32px 0;
}

.brand-panel,
.auth-panel,
.profile-card,
.announcement-card,
.search-box,
.feature-item,
.raised-action,
.home-action-button {
  background: rgb(255 254 250 / 94%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgb(27 31 35 / 12%);
}

.profile-card,
.announcement-card,
.search-box,
.feature-item,
.raised-action {
  border: 0;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 3px 8px rgb(0 0 0 / 19%);
}

.brand-panel {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(32 32 29 / 8%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(32 32 29 / 8%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, black 36%, black 100%);
}

.brand-mark {
  position: absolute;
  top: clamp(28px, 4vw, 42px);
  left: clamp(28px, 4vw, 42px);
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 8px;
  background: var(--theme-color);
  color: var(--theme-foreground);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.brand-panel > * {
  position: relative;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.brand-panel h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: 5.6rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.lead {
  max-width: 460px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.status-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(246 243 237 / 72%);
}

.status-list dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
}

.status-list dd {
  margin: 0;
  font-weight: 800;
}

.auth-panel {
  padding: 28px;
}

.panel-heading {
  margin-bottom: 28px;
}

.button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.primary-button {
  margin-top: 10px;
  background: var(--theme-color);
  border-color: var(--theme-border);
  color: var(--theme-foreground);
}

.primary-button:hover:not(:disabled) {
  background: var(--theme-color-dark);
}

.google-button {
  background: white;
}

.google-symbol {
  width: 26px;
  aspect-ratio: 1;
  display: block;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: white;
  padding: 4px;
  flex: 0 0 auto;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.form {
  display: grid;
  gap: 10px;
}

.form label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.turnus-app {
  min-height: 100vh;
  background: #fbfbf8;
  padding-bottom: var(--nav-height);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 86px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  padding: 0 max(18px, env(safe-area-inset-left)) 0 max(18px, env(safe-area-inset-right));
  background: var(--navigation-color);
  color: var(--navigation-foreground);
  box-shadow: 0 4px 8px -2px rgb(0 0 0 / 28%);
}

.navigation-theme-picker {
  position: relative;
  justify-self: end;
}

.navigation-theme-toggle[aria-expanded="true"] {
  background: rgb(0 0 0 / 12%);
}

.navigation-theme-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 70;
  width: min(304px, calc(100vw - 28px));
  max-height: min(520px, calc(100dvh - 110px));
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #d8d5cd;
  border-radius: 8px;
  background: #fffefa;
  color: var(--text);
  box-shadow: 0 18px 42px rgb(0 0 0 / 24%);
}

.navigation-theme-popover::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 100%;
  width: 14px;
  height: 14px;
  border-top: 1px solid #d8d5cd;
  border-left: 1px solid #d8d5cd;
  background: #fffefa;
  transform: translateY(7px) rotate(45deg);
}

.navigation-theme-popover-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.navigation-theme-popover-header strong {
  font-size: 0.96rem;
}

.navigation-theme-popover-header button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.navigation-theme-popover-header button:hover {
  background: #eeeae2;
}

.navigation-theme-popover-header .lucide {
  width: 20px;
  height: 20px;
}

.navigation-theme-swatches {
  display: grid;
  grid-template-columns: repeat(5, 42px);
  justify-content: space-between;
  gap: 10px;
}

.navigation-theme-swatches button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 3px solid #fffefa;
  border-radius: 50%;
  background: var(--swatch-color, var(--primary));
  box-shadow: 0 0 0 1px #c9c4ba;
}

.navigation-theme-swatches button[aria-pressed="true"] {
  box-shadow:
    0 0 0 2px #fffefa,
    0 0 0 5px var(--swatch-ring-color, var(--swatch-color, var(--primary)));
}

.navigation-theme-custom {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #e4e0d8;
  font-size: 0.9rem;
  font-weight: 750;
}

.navigation-theme-custom input {
  width: 62px;
  height: 38px;
  padding: 2px;
  border: 1px solid #bdb8ae;
  border-radius: 6px;
  background: white;
}

.wordmark,
.drawer-wordmark {
  color: inherit;
  justify-self: center;
  text-decoration: none;
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 0;
}

.wordmark span,
.drawer-wordmark span {
  display: inline-block;
  margin: 0 3px;
}

.icon-button {
  width: 44px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
}

.icon-button:hover {
  background: rgb(255 255 255 / 14%);
}

.icon-button.ghost {
  opacity: 0.84;
}

.lucide {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.icons-ready .icon-fallback {
  display: none;
}

.home-content {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px clamp(14px, 3vw, 28px) 24px;
}

.profile-card {
  min-height: 138px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
}

.profile-photo-button {
  width: 112px;
  aspect-ratio: 1;
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
}

.profile-photo-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent);
  outline-offset: 4px;
}

.profile-photo {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--theme-color);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#profile-initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--theme-foreground);
  font-size: 2.6rem;
  font-weight: 900;
}

.profile-photo-edit {
  position: absolute;
  right: -6px;
  bottom: -6px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
}

.profile-photo-edit .lucide {
  width: 21px;
  height: 21px;
  stroke-width: 3;
}

.profile-info p {
  margin: 0;
}

#profile-name {
  color: var(--primary);
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

#home-auth-provider {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-edit {
  width: 42px;
  aspect-ratio: 1;
  align-self: end;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
}

.profile-edit:hover {
  background: color-mix(in srgb, var(--primary) 9%, transparent);
}

.report-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin: 16px 0 14px;
}

.raised-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
  text-align: center;
  text-transform: uppercase;
}

.raised-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 9px rgb(0 0 0 / 22%);
}

.announcement-rail {
  display: grid;
  grid-auto-columns: minmax(304px, 468px);
  grid-auto-flow: column;
  gap: clamp(14px, 3vw, 28px);
  margin-bottom: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 4px 2px 14px;
}

.announcement-card {
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}

.announcement-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.announcement-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  background: #dfe8e3;
}

.announcement-caption {
  display: grid;
  gap: 5px;
  padding: 15px 18px 17px;
  color: #3d3d3a;
}

.announcement-caption strong {
  font-size: 1.1rem;
}

.announcement-caption span {
  font-size: 0.98rem;
}

.search-box {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
  padding: 0 16px;
  color: #a3a19b;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.3rem;
}

.search-box input::placeholder {
  color: #aaa7a1;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature-item {
  min-height: 124px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 14px 24px 14px 18px;
  border: 0;
  box-shadow: 0 3px 8px rgb(0 0 0 / 19%);
  text-align: left;
}

.feature-item img,
.thumb-graphic {
  width: 112px;
  aspect-ratio: 1.14 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.feature-title {
  min-width: 0;
  color: var(--primary);
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.feature-subtitle {
  color: #55524d;
  font-size: 1.05rem;
  line-height: 1.25;
}

.thumb-graphic {
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgb(0 140 120 / 84%), rgb(12 51 82 / 88%)),
    #0d5f65;
}

.thumb-graphic .lucide {
  width: 46px;
  height: 46px;
}

.generated-thumb.finance .thumb-graphic {
  background:
    linear-gradient(135deg, rgb(196 122 44 / 92%), rgb(0 140 120 / 82%)),
    #af6c2a;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin: 24px 0 16px;
}

.home-action-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  border: 0;
  background: var(--theme-color);
  color: var(--theme-foreground);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-action-button:hover {
  background: var(--theme-color-dark);
}

.bottom-nav {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--navigation-color);
  color: var(--navigation-foreground);
  box-shadow: 0 -4px 16px rgb(0 0 0 / 15%);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.98rem;
}

.bottom-nav button[aria-current="page"] {
  background: rgb(0 0 0 / 8%);
}

.bottom-nav .lucide {
  width: 28px;
  height: 28px;
}

.reg-nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.reg-nav-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.bottom-brand-icon {
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: 50%;
  background: white;
  object-fit: contain;
  box-shadow: 0 2px 6px rgb(0 0 0 / 18%);
}

.bottom-brand-icon + .icon-fallback {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(0 0 0 / 24%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.side-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: min(84vw, 420px);
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 24px 0;
  background: var(--navigation-color);
  color: var(--navigation-foreground);
  box-shadow: 22px 0 50px rgb(0 0 0 / 26%);
  transform: translateX(-102%);
  transition: transform 220ms ease;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-open .drawer-backdrop {
  opacity: 1;
}

.drawer-open .side-drawer {
  transform: translateX(0);
}

.drawer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--navigation-foreground) 68%, transparent);
}

.drawer-wordmark {
  justify-self: start;
}

.drawer-menu {
  display: grid;
  align-content: start;
  gap: clamp(14px, 3.3vh, 28px);
  padding-top: 24px;
}

.drawer-menu button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 1.16rem;
  font-weight: 800;
}

.drawer-menu .lucide {
  width: 29px;
  height: 29px;
}

.procedure-box {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--navigation-foreground) 72%, transparent);
  border-radius: 8px;
  text-align: center;
}

.procedure-box p {
  margin: 0;
  font-weight: 700;
}

.procedure-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--navigation-accent);
  color: var(--navigation-accent-foreground);
  font-weight: 900;
  text-transform: uppercase;
}

.drawer-account {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 8px -24px 0;
  padding: 18px 24px;
  background: var(--navigation-accent);
  color: var(--navigation-accent-foreground);
  font-size: 1.04rem;
  font-weight: 800;
}

.drawer-account img {
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.drawer-account span {
  overflow-wrap: anywhere;
}

.drawer-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: calc(64px + max(14px, env(safe-area-inset-bottom)));
  margin: -16px -24px 0;
  padding: 4px 24px max(16px, env(safe-area-inset-bottom));
  border: 0;
  background: rgb(0 0 0 / 22%);
  color: inherit;
  font-weight: 800;
}

.drawer-logout > * {
  transform: translateY(6px);
}

.turnus-form-page,
.turnus-list-page,
.turnus-informative-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
  color: #494744;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 34;
  height: 76px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  background: var(--navigation-color);
  color: var(--navigation-foreground);
  box-shadow: 0 3px 10px rgb(0 0 0 / 22%);
}

.page-header::after {
  content: "";
}

.page-header-with-action::after {
  content: none;
}

.page-header h1 {
  margin: 0;
  color: inherit;
  font-size: 1.46rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.page-back-button {
  width: 52px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.page-back-button .lucide {
  width: 30px;
  height: 30px;
}

.page-header-action {
  width: 52px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.page-header-action .lucide {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

.adalo-header-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.adalo-header-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: currentColor;
}

.page-form-content,
.list-page-content {
  width: min(100%, 760px);
  margin: 0 auto;
}

.page-form-content {
  padding: 34px 22px 26px;
}

.informative-content {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 12px 22px 42px;
}

.informative-side-navigation {
  position: fixed;
  top: 50%;
  z-index: 32;
  width: 46px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 6px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 3px 10px rgb(0 0 0 / 18%);
  color: var(--primary);
}

.informative-side-navigation.is-previous {
  left: max(8px, calc((100vw - 860px) / 2));
}

.informative-side-navigation.is-next {
  right: max(8px, calc((100vw - 860px) / 2));
}

.informative-side-navigation:disabled {
  cursor: default;
  opacity: 0.24;
}

.informative-side-navigation .lucide {
  width: 34px;
  height: 34px;
  stroke-width: 3;
}

.informative-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #ffffff;
}

.informative-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 18px 2px 30px;
  text-align: center;
}

.informative-copy h2 {
  max-width: 100%;
  margin: 0;
  color: #20201d;
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.informative-access-button {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  padding: 0;
}

.informative-access-button:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.informative-access-button[aria-disabled="true"] {
  opacity: 0.68;
}

.informative-access-button .lucide {
  width: 64px;
  height: 64px;
  stroke-width: 2.6;
}

.informative-subtitle {
  max-width: 100%;
  margin: 0;
  color: var(--primary);
  font-size: 1.12rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.informative-body {
  width: min(100%, 680px);
  min-height: 0;
  margin-top: 18px;
  color: #585652;
  font-size: 1.04rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.informative-form-content {
  display: grid;
  gap: 22px;
}

.informative-form-image-preview-frame {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f2f1;
  box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
}

.informative-form-image-preview-frame img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
}

.informative-viewers-content {
  padding: 24px 18px 34px;
}

.informative-viewers-heading {
  margin-bottom: 18px;
  text-align: center;
}

.informative-viewers-heading h2,
.informative-viewers-heading p {
  margin: 0;
}

.informative-viewers-heading h2 {
  color: var(--primary);
  font-size: 1.24rem;
  overflow-wrap: anywhere;
}

.informative-viewers-heading #informative-viewers-summary {
  margin-top: 7px;
  color: #66635f;
}

.informative-viewers-list {
  display: grid;
  gap: 10px;
}

.announcement-empty-state {
  flex: 0 0 100%;
  margin: 18px 0;
}

.announcement-empty-create {
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  border: 0;
  border-radius: 4px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 3px 8px rgb(0 0 0 / 19%);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.announcement-empty-create svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.5;
  flex: 0 0 auto;
}

.announcement-empty-create:hover {
  box-shadow: 0 4px 10px rgb(0 0 0 / 23%);
}

.announcement-empty-create:disabled {
  color: #686763;
  box-shadow: 0 3px 8px rgb(0 0 0 / 19%);
  cursor: default;
  opacity: 1;
}

.announcement-empty-create:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.announcement-rail.is-empty {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: minmax(0, 1fr);
  margin-right: 0;
  overflow-x: hidden;
  padding-right: 2px;
}

.informative-viewer-card {
  min-height: 88px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 3px 9px rgb(0 0 0 / 16%);
  padding: 12px;
}

.informative-viewer-avatar {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  background: var(--theme-color);
  color: var(--theme-foreground);
  font-weight: 900;
}

.informative-viewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.informative-viewer-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.informative-viewer-copy strong {
  color: #302f2c;
  overflow-wrap: anywhere;
}

.informative-viewer-copy span {
  color: #686560;
  font-size: 0.86rem;
}

.turnus-standard-form {
  display: grid;
  gap: 20px;
}

.admin-credentials-fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 16px;
}

.admin-credentials-fieldset legend {
  padding: 0 6px;
  color: #4b4946;
  font-size: 1.08rem;
  font-weight: 500;
}

.admin-credential-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.turnus-standard-form .admin-credential-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: #3f3d3a;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}

.turnus-standard-form .admin-credential-option input {
  width: 21px;
  height: 21px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
}

.turnus-standard-form .admin-credential-option:has(input:disabled) {
  cursor: default;
  opacity: 0.68;
}

.admin-credentials-fieldset .form-hint {
  display: block;
  margin-top: 10px;
}

@media (max-width: 899px) {
  .generic-sheet-desktop-only {
    display: none !important;
  }
}

.email-verification-field {
  display: grid;
  gap: 10px;
}

.turnus-standard-form label {
  display: grid;
  gap: 10px;
  color: #4b4946;
  font-size: 1.08rem;
  font-weight: 500;
}

.turnus-standard-form input,
.turnus-standard-form textarea,
.turnus-standard-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: white;
  color: #3e3c39;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 3%);
  outline: none;
  padding: 0 16px;
  font-size: 1.08rem;
}

.turnus-standard-form input {
  min-height: 56px;
}

.turnus-standard-form select {
  min-height: 56px;
  appearance: auto;
}

.turnus-standard-form input[type="file"] {
  min-height: 0;
  padding: 14px;
}

.turnus-standard-form textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.35;
}

.turnus-standard-form input::placeholder,
.turnus-standard-form textarea::placeholder {
  color: #a8a8a8;
}

.turnus-standard-form input:focus,
.turnus-standard-form textarea:focus,
.turnus-standard-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.standard-submit-button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--theme-color);
  color: var(--theme-foreground);
  box-shadow: 0 5px 12px rgb(0 0 0 / 18%);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.standard-submit-button:hover {
  background: var(--theme-color-dark);
}

.standard-submit-button:disabled,
.field-action-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.field-action-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 10px rgb(27 31 35 / 9%);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field-action-button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 8%, white);
}

.verify-code-button {
  margin-top: -8px;
}

.readonly-email-line {
  margin: 0 0 20px;
  color: #4d4b48;
  font-size: 1rem;
  line-height: 1.35;
}

.readonly-email-line strong {
  color: var(--primary);
  overflow-wrap: anywhere;
}

.readonly-profile-grid {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.readonly-profile-grid .readonly-email-line {
  margin: 0;
}

.profile-edit-photo-panel {
  display: grid;
  justify-items: center;
  margin: 0 0 24px;
}

.profile-edit-photo-button {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 320px);
  border: 0;
  background: transparent;
  color: var(--primary);
  text-align: center;
}

.profile-edit-photo-frame {
  position: relative;
  width: clamp(180px, 56vw, 230px);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 6px solid white;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-light-foreground);
  box-shadow: 0 9px 22px rgb(0 0 0 / 18%);
  font-size: 2.7rem;
  font-weight: 900;
}

.profile-edit-photo-pencil {
  position: absolute;
  right: -9px;
  bottom: -4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary);
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 24%));
  z-index: 2;
}

.profile-edit-photo-pencil .lucide {
  width: 31px;
  height: 31px;
  stroke-width: 4;
}

.profile-edit-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 7px;
}

.profile-edit-photo-copy {
  display: grid;
  gap: 3px;
}

.profile-edit-photo-copy strong {
  color: var(--primary);
  font-size: 1.08rem;
  text-transform: uppercase;
}

.profile-edit-photo-copy span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.turnus-gallery-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f6f8fb;
  color: #35414d;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

.gallery-page-content {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 22px 16px 30px;
}

.gallery-account-header {
  display: grid;
  grid-template-columns: minmax(230px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.gallery-current-photo,
.gallery-control-panel,
.gallery-admin-panel,
.profile-gallery-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgb(27 31 35 / 10%);
}

.gallery-current-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 12px;
  min-height: 260px;
  color: white;
}

.gallery-current-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #e9efed;
}

.gallery-current-photo img[hidden] + .gallery-current-initial,
.gallery-current-initial:not([hidden]) {
  display: grid;
}

.gallery-current-initial {
  position: absolute;
  inset: 12px;
  display: none;
  place-items: center;
  background: var(--primary-light);
  color: var(--primary-light-foreground);
  font-size: 4rem;
  font-weight: 900;
}

.gallery-control-panel {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.gallery-control-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.34rem;
  line-height: 1.18;
}

.gallery-control-panel p {
  margin: 0;
  color: var(--muted);
}

.gallery-photo-form,
.gallery-crop-editor {
  display: grid;
  gap: 12px;
}

.gallery-photo-form label,
.gallery-admin-select,
.gallery-create-user-form label {
  display: grid;
  gap: 8px;
  color: #35414d;
  font-weight: 800;
}

.gallery-photo-form input[type="file"],
.gallery-admin-select select,
.gallery-create-user-form input,
.gallery-create-user-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: white;
  color: #3e3c39;
  outline: none;
  padding: 12px 14px;
  font-size: 1rem;
}

.gallery-admin-select select,
.gallery-create-user-form input {
  min-height: 48px;
}

.gallery-create-user-form textarea {
  resize: vertical;
}

.gallery-crop-canvas {
  width: min(360px, 100%);
  height: auto;
  aspect-ratio: 1;
  background: #edf3f7;
  border: 1px solid var(--line);
}

.range-field {
  display: grid;
  gap: 4px;
}

.range-field input {
  width: 100%;
  accent-color: var(--primary);
}

.form-hint.success {
  color: var(--success);
}

.gallery-admin-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px;
}

.gallery-create-user-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.gallery-create-user-form .wide-field {
  grid-column: 1 / -1;
}

.gallery-section {
  display: grid;
  gap: 14px;
}

.gallery-count {
  align-self: end;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.gallery-search-box {
  width: 100%;
  margin-bottom: 2px;
  background: white;
}

.profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
}

.profile-gallery-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.profile-gallery-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #edf3f7;
}

.profile-gallery-photo-button img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.profile-gallery-info {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.profile-gallery-info h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.18;
}

.profile-gallery-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-gallery-actions {
  display: grid;
  gap: 7px;
}

.profile-gallery-actions button,
.profile-gallery-actions a {
  width: 100%;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-gallery-actions .secondary-modal-button,
.gallery-control-panel .secondary-modal-button,
.gallery-admin-panel .secondary-modal-button {
  border: 1px solid var(--primary);
  background: white;
  color: var(--primary);
}

.profile-gallery-actions .primary-modal-button {
  border: 0;
  background: var(--theme-color);
  color: var(--theme-foreground);
}

.danger-action-button {
  min-height: 42px;
  border: 1px solid #f0b7b3;
  border-radius: 8px;
  background: #fff;
  color: var(--danger);
  font-weight: 900;
  text-transform: uppercase;
}

.page-bottom-nav {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 35;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  display: grid;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--navigation-color);
  color: var(--navigation-foreground);
  box-shadow: 0 -4px 16px rgb(0 0 0 / 15%);
}

.page-bottom-nav.two-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-bottom-nav.four-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-bottom-nav.five-actions {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.page-bottom-nav button {
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.88rem;
}

.page-bottom-nav button[aria-current="page"] {
  background: rgb(0 0 0 / 8%);
}

.page-bottom-nav .lucide {
  width: 27px;
  height: 27px;
  stroke-width: 3;
}

.service-bottom-nav .adalo-nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.service-bottom-nav .adalo-nav-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.service-bottom-nav button {
  gap: 2px;
  white-space: nowrap;
}

.service-bottom-nav.five-actions button {
  font-size: 0.78rem;
}

.list-page-content {
  padding: 22px 12px 28px;
}

.service-schedule-content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 34px 12px 28px;
}

.service-copy-guide {
  display: grid;
  justify-items: center;
  gap: 0;
  margin: 0 0 18px;
  color: #3f3d3a;
  text-align: center;
}

.service-download-button {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--primary);
}

.service-download-button svg {
  width: 66px;
  height: 66px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.service-copy-guide p {
  max-width: 580px;
  margin: 0;
  font-size: clamp(1.32rem, 3.7vw, 1.78rem);
  font-weight: 400;
  line-height: 1.25;
}

.service-month-list {
  display: grid;
  gap: 10px;
}

.service-month-item {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  width: 100%;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--primary);
  text-align: center;
  box-shadow: 0 3px 8px rgb(0 0 0 / 15%);
}

.service-month-item span {
  min-width: 0;
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.turnus-sheet-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f7f8f3;
  color: #282723;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

.generic-sheet-content {
  width: min(100%, 1220px);
  min-height: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 10px 16px;
}

.generic-sheet-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
  padding: 12px;
}

.generic-sheet-heading {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.generic-sheet-heading h2,
.generic-sheet-heading p,
.generic-sheet-status {
  margin: 0;
}

.generic-sheet-heading h2 {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.12;
}

.generic-sheet-heading p:not(.eyebrow),
.generic-sheet-status {
  color: #5b5955;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.generic-sheet-zoom {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(260px, 1fr) 58px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 14px;
}

.generic-sheet-zoom label {
  grid-column: 1 / -1;
  grid-row: 1;
  color: #4d4b48;
  font-size: 0.92rem;
  font-weight: 900;
}

.generic-sheet-zoom label strong {
  color: var(--primary);
}

.generic-sheet-zoom input {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-height: 54px;
  appearance: none;
  background: transparent;
  accent-color: var(--primary);
  cursor: pointer;
}

.generic-sheet-zoom input::-webkit-slider-runnable-track {
  height: 16px;
  border-radius: 999px;
  border: 1px solid #c1d3cf;
  background: #d7e4e1;
}

.generic-sheet-zoom input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  margin-top: -13px;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 2px 6px rgb(0 0 0 / 24%);
}

.generic-sheet-zoom input::-moz-range-track {
  height: 16px;
  border-radius: 999px;
  border: 1px solid #c1d3cf;
  background: #d7e4e1;
}

.generic-sheet-zoom input::-moz-range-thumb {
  width: 38px;
  height: 38px;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 2px 6px rgb(0 0 0 / 24%);
}

.generic-sheet-zoom button {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--primary);
}

.generic-sheet-zoom button .lucide {
  width: 27px;
  height: 27px;
  stroke-width: 3;
}

#generic-sheet-zoom-out {
  grid-column: 1;
  grid-row: 2;
}

#generic-sheet-zoom-in {
  grid-column: 3;
  grid-row: 2;
}

.generic-sheet-highlight-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(180px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e2e2dc;
  padding-top: 10px;
}

.generic-sheet-highlight-panel label {
  color: #4d4b48;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.generic-sheet-highlight-panel select {
  min-height: 40px;
  min-width: 0;
  border: 1px solid #cfd7d4;
  border-radius: 6px;
  background: white;
  color: #24231f;
  padding: 0 10px;
  font: inherit;
  font-weight: 800;
}

.generic-sheet-highlight-panel p {
  margin: 0;
  color: #5b5955;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.generic-sheet-admin-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #e2e2dc;
  padding-top: 10px;
}

.generic-sheet-admin-actions .field-action-button,
.generic-sheet-selection-actions .field-action-button {
  width: auto;
  min-width: 132px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: none;
}

.generic-sheet-admin-actions .lucide,
.generic-sheet-selection-actions .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.generic-sheet-download-actions {
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.generic-sheet-download-actions .field-action-button {
  width: 100%;
  min-width: 0;
}

.generic-sheet-upload-card {
  width: min(100%, 520px);
}

.generic-sheet-upload-source-card {
  width: min(100%, 560px);
}

.generic-sheet-upload-source-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.generic-sheet-upload-source-button {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 36%, #c9cfcd);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  padding: 16px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.generic-sheet-upload-source-button:hover:not(:disabled),
.generic-sheet-upload-source-button:focus-visible {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, white);
}

.generic-sheet-upload-source-button:disabled {
  cursor: default;
  opacity: 0.48;
}

.generic-sheet-upload-source-button .lucide {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.generic-sheet-upload-file-name,
.generic-sheet-upload-tabs-summary,
.generic-sheet-upload-warning {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.generic-sheet-upload-file-name {
  border: 1px solid #d8dfdc;
  border-radius: 6px;
  background: #f5f8f7;
  color: #343330;
  padding: 12px 14px;
  font-weight: 800;
}

.generic-sheet-upload-tabs-summary {
  max-height: 180px;
  overflow: auto;
  border: 1px solid #d8dfdc;
  border-radius: 6px;
  background: white;
  color: #474541;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: pre-line;
}

.generic-sheet-upload-warning {
  color: #67645f;
  font-size: 0.9rem;
  font-weight: 650;
}

@media (max-width: 520px) {
  .generic-sheet-upload-source-actions {
    grid-template-columns: 1fr;
  }

  .generic-sheet-upload-source-button {
    min-height: 72px;
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }
}

.generic-sheet-selection-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e2e2dc;
  padding-top: 10px;
}

.generic-sheet-selection-panel p {
  margin: 0;
  color: #4d4b48;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.generic-sheet-selection-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.generic-sheet-selection-actions .field-action-button {
  min-height: 40px;
  width: auto;
  min-width: 132px;
  box-shadow: none;
}

.generic-sheet-selection-actions .danger-outline-button {
  border-color: #b43a31;
  color: #9f2f27;
}

.generic-sheet-selection-actions .danger-outline-button:not(:disabled):hover {
  background: #fff3f1;
}

.generic-sheet-print-heading {
  display: none;
}

.generic-sheet-desktop-tools {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e2e2dc;
  padding-top: 10px;
}

.generic-sheet-tool-row {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: #4d4b48;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.generic-sheet-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.generic-sheet-color-swatch {
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 6px;
  background: var(--swatch-color, #fff);
  box-shadow: 0 0 0 1px #cfcfcf, 0 2px 5px rgb(0 0 0 / 16%);
}

.generic-sheet-color-swatch:disabled {
  opacity: 0.45;
}

.generic-sheet-color-swatch.is-clear {
  background:
    linear-gradient(135deg, transparent 0 45%, #b42318 46% 54%, transparent 55%),
    #fff;
}

.generic-sheet-format-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}

.generic-sheet-format-controls label {
  display: grid;
  gap: 4px;
  color: #4d4b48;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.generic-sheet-format-controls select,
.generic-sheet-format-controls input {
  min-height: 34px;
  border: 1px solid #cfd7d4;
  border-radius: 6px;
  background: white;
  color: #24231f;
  padding: 0 9px;
  font: inherit;
  font-weight: 800;
}

.generic-sheet-format-controls select {
  width: 152px;
}

.generic-sheet-format-controls input {
  width: 74px;
}

.generic-sheet-format-controls input[type="color"] {
  width: 46px;
  min-width: 46px;
  padding: 3px;
}

.generic-sheet-font-color-label,
.generic-sheet-color-label {
  min-width: 74px;
}

.generic-sheet-format-buttons {
  display: flex;
  gap: 5px;
}

.generic-sheet-format-buttons button {
  width: 36px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd7d4;
  border-radius: 6px;
  background: white;
  color: var(--primary);
}

.generic-sheet-format-buttons button:disabled {
  opacity: 0.45;
}

.generic-sheet-format-buttons button.is-active {
  border-color: var(--theme-border);
  background: var(--theme-color);
  color: var(--theme-foreground);
}

.generic-sheet-format-buttons button .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.generic-sheet-bold-letter,
.generic-sheet-style-letter {
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.generic-sheet-style-letter.is-underlined {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.generic-sheet-tool-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.generic-sheet-tool-actions .field-action-button {
  min-height: 40px;
  width: auto;
  min-width: 120px;
  box-shadow: none;
}

.generic-sheet-tabs-toolbar {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.generic-sheet-tabs {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #d7e4e1;
}

.generic-sheet-tab {
  --sheet-tab-color: var(--primary);
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--sheet-tab-color) 74%, #777);
  border-bottom: 4px solid var(--sheet-tab-color);
  border-radius: 6px 6px 0 0;
  background: color-mix(in srgb, var(--sheet-tab-color) 11%, white);
  color: #302f2c;
  padding: 0 14px 1px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.generic-sheet-tab[aria-selected="true"] {
  background: var(--sheet-tab-color);
  border-color: var(--sheet-tab-color);
  color: white;
}

.generic-sheet-tab-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 5px;
  padding-bottom: 2px;
}

.generic-sheet-tab-actions button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bfd0cc;
  border-radius: 6px;
  background: white;
  color: var(--primary);
  cursor: pointer;
}

.generic-sheet-tab-actions button:disabled {
  cursor: default;
  opacity: 0.38;
}

.generic-sheet-tab-actions .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.generic-sheet-tab-color-field input[type="color"] {
  width: 100%;
  min-height: 52px;
  padding: 5px;
}

.generic-sheet-top-scroll {
  min-height: 18px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #cfd7d4;
  border-radius: 6px;
  background: #eef5f3;
  scrollbar-color: var(--primary) #d7e4e1;
  scrollbar-width: thin;
}

.generic-sheet-top-scroll::-webkit-scrollbar {
  height: 14px;
}

.generic-sheet-top-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #d7e4e1;
}

.generic-sheet-top-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #d7e4e1;
  border-radius: 999px;
  background: var(--primary);
}

.generic-sheet-top-scroll-spacer {
  height: 1px;
}

.generic-sheet-scroll-frame {
  min-width: 0;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 7px;
  align-items: stretch;
  overflow: visible;
}

.generic-sheet-page-scroll-zone {
  min-height: 100%;
  border: 1px solid #d9e2df;
  border-radius: 6px 0 0 6px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 10%, transparent), rgb(255 255 255 / 70%)),
    #f6faf8;
  touch-action: pan-y;
}

.generic-sheet-shell {
  min-height: 0;
  height: auto;
  min-width: 0;
  flex: 0 0 auto;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid #cfcfcf;
  border-radius: 0 6px 6px 0;
  background: white;
  box-shadow: 0 8px 20px rgb(0 0 0 / 11%);
  overscroll-behavior-x: contain;
  cursor: grab;
  scrollbar-gutter: stable;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.generic-sheet-shell.is-panning {
  cursor: grabbing;
}

.generic-sheet-shell.is-selecting-cells .generic-sheet-cell {
  cursor: crosshair;
  user-select: none;
}

.generic-sheet-shell.is-filling-cells,
.generic-sheet-shell.is-filling-cells .generic-sheet-cell {
  cursor: crosshair;
  user-select: none;
}

.generic-sheet-grid {
  position: relative;
  width: max-content;
  min-width: 100%;
}

.generic-sheet-table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #222;
  font-size: calc(0.86rem * var(--sheet-zoom, 1));
  line-height: 1.18;
}

.generic-sheet-table th,
.generic-sheet-table td {
  position: relative;
  box-sizing: border-box;
  border-right: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  background: white;
  padding: calc(5px * var(--sheet-zoom, 1)) calc(7px * var(--sheet-zoom, 1));
  overflow: hidden;
  text-align: left;
  vertical-align: top;
  white-space: pre-wrap;
}

.generic-sheet-add-columns-header,
.generic-sheet-add-columns-cell,
.generic-sheet-add-rows-row td,
.generic-sheet-add-rows-marker {
  background: #f4f8f7;
}

.generic-sheet-add-columns-header {
  min-width: calc(132px * var(--sheet-zoom));
  padding: 4px;
}

.generic-sheet-add-columns-cell {
  border-right: 0;
}

.generic-sheet-add-rows-row td {
  height: calc(48px * var(--sheet-zoom));
  padding: 5px 10px;
  text-align: left;
  vertical-align: middle;
}

.generic-sheet-add-rows-marker {
  color: var(--primary);
  font-weight: 800;
}

.generic-sheet-extent-button {
  width: 100%;
  min-width: 0;
  min-height: calc(34px * var(--sheet-zoom));
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: white;
  color: var(--primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.generic-sheet-extent-button:not(:disabled):hover {
  background: #e7f5f2;
}

.generic-sheet-extent-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.generic-sheet-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ededed;
  color: #4f4d49;
  font-weight: 900;
  text-align: center;
  vertical-align: middle;
  overflow: visible;
}

.generic-sheet-table th[role="button"] {
  cursor: pointer;
  user-select: none;
}

.generic-sheet-corner.is-selected,
.generic-sheet-column-header.is-selected,
.generic-sheet-row-header.is-selected {
  background: var(--theme-color);
  color: var(--theme-foreground);
  box-shadow: inset 0 0 0 2px var(--theme-border);
}

.generic-sheet-corner {
  left: 0;
  z-index: 7;
}

.generic-sheet-row-header {
  position: sticky;
  left: 0;
  z-index: 4;
  background: #ededed;
  color: #4f4d49;
  font-weight: 900;
  text-align: center;
  vertical-align: middle;
  overflow: visible !important;
}

.generic-sheet-unhide-button {
  position: absolute;
  z-index: 12;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--theme-color);
  box-shadow: 0 2px 6px rgb(0 0 0 / 24%);
  color: var(--theme-foreground);
  padding: 0;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.generic-sheet-unhide-button.is-column {
  top: 50%;
  transform: translateY(-50%);
}

.generic-sheet-unhide-button.is-column.is-before {
  left: -12px;
}

.generic-sheet-unhide-button.is-column.is-after {
  right: -12px;
}

.generic-sheet-unhide-button.is-row {
  left: 50%;
  transform: translateX(-50%);
}

.generic-sheet-unhide-button.is-row.is-before {
  top: -12px;
}

.generic-sheet-unhide-button.is-row.is-after {
  bottom: -12px;
}

.generic-sheet-resize-card {
  max-width: 420px;
}

.generic-sheet-cell {
  min-width: 0;
  background: #fff;
  cursor: default;
}

.generic-sheet-cell[contenteditable]:not([contenteditable="false"]) {
  cursor: text;
}

.generic-sheet-cell[contenteditable]:not([contenteditable="false"]):focus {
  z-index: 3;
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 1px white;
}

.generic-sheet-cell.is-cell-selected {
  z-index: 2;
  outline: 0;
  box-shadow: inset 0 0 0 2px rgb(42 109 244 / 42%);
}

.generic-sheet-copy-outline {
  position: absolute;
  z-index: 14;
  box-sizing: border-box;
  border: 2px dashed #2a6df4;
  pointer-events: none;
}

.generic-sheet-cell.is-fill-preview {
  background-image: linear-gradient(rgb(42 109 244 / 10%), rgb(42 109 244 / 10%));
  box-shadow: inset 0 0 0 2px rgb(42 109 244 / 58%);
}

.generic-sheet-fill-handle {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 10;
  width: 12px;
  height: 12px;
  min-width: 0;
  min-height: 0;
  border: 2px solid white;
  border-radius: 2px;
  background: #2a6df4;
  box-shadow: 0 0 0 1px #194aa8;
  padding: 0;
  cursor: crosshair;
  touch-action: none;
}

.generic-sheet-cell.is-user-highlighted {
  background: #fff !important;
  color: #b42318 !important;
  font-weight: 900 !important;
}

.generic-sheet-cell.is-merged {
  text-align: center;
  vertical-align: middle;
}

.generic-sheet-cell[aria-readonly="true"] {
  background: #fcfcfb;
  color: #3f3d3a;
}

.page-search-box {
  min-height: 56px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  background: white;
  box-shadow: 0 3px 8px rgb(0 0 0 / 16%);
  color: #8f8d89;
  padding: 0 12px;
}

.page-search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2f2e2b;
  font-size: 1.18rem;
}

.page-search-box input::placeholder {
  color: #aaa7a1;
}

.admin-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}

.admin-mode-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  box-shadow: 0 3px 8px rgb(27 31 35 / 9%);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-mode-tabs button[aria-selected="true"] {
  border-color: var(--theme-border);
  background: var(--theme-color);
  color: var(--theme-foreground);
}

.admin-page-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
}

.admin-page-toolbar p {
  margin: 0;
  color: #5b5955;
  font-size: 0.92rem;
  font-weight: 700;
}

.page-refresh-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 900;
}

.page-refresh-button .lucide {
  width: 17px;
  height: 17px;
}

.modal-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(16 20 18 / 48%);
  backdrop-filter: blur(5px);
}

.modal-card {
  width: min(100%, 680px);
  max-height: min(92vh, 860px);
  display: grid;
  gap: 18px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.request-card {
  width: min(100%, 760px);
}

.modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: start;
  gap: 16px;
}

.modal-eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modal-header h2 {
  margin: 0;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-close {
  width: 42px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.request-form.single-column {
  grid-template-columns: 1fr;
}

.request-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

.request-form label span {
  color: var(--primary);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.request-form input,
.request-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  outline: none;
  padding: 12px 13px;
}

.request-form input {
  min-height: 46px;
}

.request-form textarea {
  resize: vertical;
  line-height: 1.35;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.wide-field,
.modal-actions,
.recovery-result {
  grid-column: 1 / -1;
}

.form-hint {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.form-hint[data-tone="success"] {
  color: var(--success);
}

.form-hint[data-tone="error"],
.recovery-result[data-tone="error"] {
  color: var(--danger);
}

.recovery-result {
  margin: 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  color: var(--primary-dark);
  font-weight: 750;
  line-height: 1.35;
}

.modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 4px;
}

.primary-modal-button,
.secondary-modal-button {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.informative-admin-dialog,
.informative-delete-dialog {
  width: min(100%, 480px);
}

.informative-admin-dialog-name,
.informative-delete-message {
  margin: 0;
  color: #514f4b;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.informative-admin-dialog-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.informative-admin-dialog-actions button {
  min-width: 0;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
}

.informative-admin-dialog-actions .lucide {
  width: 20px;
  height: 20px;
}

.danger-confirm-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #d92d20;
  color: white;
  font-weight: 900;
}

.informative-required-modal {
  z-index: 110;
  padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  background: rgb(22 24 23 / 52%);
  backdrop-filter: blur(2px);
}

.informative-required-modal.is-admin-confirmable {
  cursor: pointer;
}

.informative-required-modal.is-admin-confirmable .informative-required-card {
  cursor: default;
}

.informative-required-card {
  width: min(100%, 520px);
  max-height: calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom)));
  display: grid;
  gap: 0;
  overflow: auto;
  border: 1px solid #e2e2df;
  border-radius: 6px;
  background: white;
  box-shadow: 0 12px 36px rgb(0 0 0 / 32%);
}

.informative-required-media {
  position: relative;
  min-height: 240px;
  background: #eceeed;
}

.informative-required-media img {
  width: 100%;
  max-height: min(52dvh, 520px);
  display: block;
  object-fit: contain;
  background: white;
}

.informative-required-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.informative-required-actions button {
  min-width: 88px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 3px 8px rgb(0 0 0 / 22%);
  color: white;
  font-size: 1rem;
  font-weight: 900;
}

.informative-required-logout {
  background: #e33c32;
}

.informative-required-ok {
  background: #28cf56;
}

.informative-required-ok:disabled {
  background: #9aa09c;
  cursor: default;
  opacity: 0.9;
}

.informative-required-actions .lucide {
  width: 25px;
  height: 25px;
}

.informative-required-copy {
  display: grid;
  gap: 14px;
  padding: 20px 24px 16px;
  text-align: center;
}

.informative-required-copy h2,
.informative-required-copy p,
.informative-required-copy div {
  margin: 0;
  overflow-wrap: anywhere;
}

.informative-required-copy h2 {
  color: var(--primary);
  font-size: 1.36rem;
}

.informative-required-copy p {
  color: var(--primary);
  font-size: 1rem;
}

.informative-required-copy div {
  color: #55524e;
  line-height: 1.45;
  white-space: pre-line;
}

.informative-required-status {
  min-height: 0;
  margin: -8px 24px 20px;
  text-align: center;
}

.informative-required-status[data-tone="error"] {
  color: var(--danger);
}

.primary-modal-button {
  border: 0;
  background: var(--theme-color);
  color: var(--theme-foreground);
}

.secondary-modal-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--primary);
}

.danger-action-button {
  min-height: 46px;
  border: 1px solid rgb(180 35 24 / 34%);
  border-radius: 8px;
  background: white;
  color: var(--danger);
  font-weight: 900;
  letter-spacing: 0;
}

.admin-request-list {
  display: grid;
  gap: 11px;
}

.admin-request-card {
  min-height: 120px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  border: 1px solid #efefed;
  border-radius: 5px;
  background: white;
  box-shadow: 0 4px 10px rgb(0 0 0 / 13%);
  padding: 14px;
}

.admin-avatar {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--theme-color);
  color: var(--theme-foreground);
  font-size: 1.18rem;
  font-weight: 950;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-request-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-request-card h3 {
  margin: 0;
  color: #4a4946;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.18;
  text-transform: uppercase;
}

.admin-request-subtitle {
  margin: 0;
  color: #4d4b48;
  font-size: 1rem;
  line-height: 1.2;
}

.admin-request-meta {
  display: grid;
  gap: 2px;
  color: #5d5b57;
  font-size: 0.92rem;
  line-height: 1.22;
}

.admin-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.admin-card-actions .primary-modal-button,
.admin-card-actions .secondary-modal-button {
  min-height: 38px;
  font-size: 0.84rem;
}

.admin-card-actions .danger-action-button {
  min-height: 38px;
  font-size: 0.84rem;
}

.admin-card-actions:has(button:only-child) {
  grid-template-columns: 1fr;
}

.admin-card-actions:has(select) {
  grid-template-columns: 1fr;
}

.admin-status-select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  padding: 0 10px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-map-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.admin-map-link:hover {
  text-decoration: underline;
}

.procedure-report-page {
  background: #ffffff;
}

.service-swap-page {
  background: #f8f8f6;
}

.service-swap-content {
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  margin-inline: auto;
}

.service-swap-description,
.service-swap-intro,
.service-swap-form {
  border: 1px solid #deded9;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgb(0 0 0 / 10%);
}

.service-swap-description {
  display: grid;
  gap: 12px;
  border-left: 4px solid var(--theme-color);
  padding: 16px 18px 14px;
  color: #55534f;
}

.service-swap-description-copy {
  position: relative;
  overflow: visible;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-swap-description-title {
  margin: 0;
  color: var(--theme-color-dark);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.service-swap-description-copy p {
  margin: 0;
  text-align: justify;
}

.service-swap-description-copy p + p {
  margin-top: 12px;
}

.service-swap-description.is-collapsed .service-swap-description-copy {
  max-height: 112px;
  overflow: hidden;
}

.service-swap-description.is-collapsed .service-swap-description-copy::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}

.service-swap-description-toggle {
  width: max-content;
  min-height: 38px;
  border: 1px solid color-mix(in srgb, var(--theme-color) 35%, #d7d7d2);
  border-radius: 6px;
  background: color-mix(in srgb, var(--theme-color) 8%, #ffffff);
  color: var(--theme-color-dark);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-swap-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.service-swap-intro > div:first-child,
.service-swap-user-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.service-swap-intro span {
  color: #716f6b;
  font-size: 0.84rem;
}

.service-swap-intro strong {
  color: #343330;
  overflow-wrap: anywhere;
}

.service-swap-user-meta {
  justify-items: end;
  text-align: right;
}

.service-swap-user-meta span:first-child {
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 900;
}

.service-swap-form {
  padding: 20px;
}

.turnus-standard-form .service-swap-double-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--theme-color) 35%, #d9d9d9);
  border-radius: 6px;
  background: color-mix(in srgb, var(--theme-color) 7%, #ffffff);
  padding: 14px;
}

.service-swap-double-toggle label {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.turnus-standard-form .service-swap-double-toggle label input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--theme-color);
}

.service-swap-info-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--theme-color);
  border-radius: 50%;
  background: #ffffff;
  color: var(--theme-color);
  font: 900 1rem/1 Arial, sans-serif;
}

.service-swap-double-info {
  border: 1px solid color-mix(in srgb, var(--theme-color) 32%, #d9d9d9);
  border-left: 4px solid var(--theme-color);
  border-radius: 6px;
  background: color-mix(in srgb, var(--theme-color) 5%, #ffffff);
  color: #3f4542;
  padding: 13px 14px;
  font-size: 0.86rem;
  line-height: 1.42;
}

.service-swap-double-info p {
  margin: 7px 0 0;
}

.service-swap-double-toggle span {
  display: grid;
  gap: 4px;
}

.service-swap-double-toggle small {
  color: #6c6a66;
  font-size: 0.82rem;
  line-height: 1.35;
}

.service-swap-fields,
.service-swap-double-fields,
.service-swap-mode-fields {
  display: grid;
  gap: 18px;
}

.service-swap-mode-fields {
  border-top: 1px solid #e4e4e0;
  padding-top: 18px;
}

.service-swap-fields {
  border-top: 1px solid #e4e4e0;
  padding-top: 18px;
}

.service-swap-fields h2 {
  margin: 0;
  color: var(--primary);
  font-size: 1.02rem;
  text-transform: uppercase;
}

.service-swap-section-description {
  margin: -8px 0 0;
  color: #66645f;
  font-size: 0.84rem;
  line-height: 1.45;
}

.turnus-standard-form label .service-swap-field-description {
  color: #716f6a;
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-swap-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-swap-status {
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #f7f7f5;
  color: #66645f;
  padding: 13px 14px;
  line-height: 1.4;
}

.service-swap-status[data-tone="success"] {
  border-color: #9ccdbb;
  background: #eef8f3;
  color: #126348;
}

.service-swap-status[data-tone="error"] {
  border-color: #e0aaa5;
  background: #fff3f2;
  color: #a3261d;
}

.service-swap-lookup-status {
  margin: -4px 0 0;
  border-left: 3px solid color-mix(in srgb, var(--theme-color) 55%, #b8b8b4);
  background: color-mix(in srgb, var(--theme-color) 5%, #ffffff);
  color: #686661;
  padding: 9px 11px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.service-swap-lookup-status[data-tone="success"] {
  border-left-color: #16805c;
  color: #126348;
}

.service-swap-lookup-status[data-tone="error"] {
  border-left-color: #bd3d33;
  background: #fff7f6;
  color: #9d2d24;
}

.service-swap-field-warning,
.service-swap-auto-info {
  white-space: pre-line;
}

.service-swap-field-warning {
  color: #a3261d;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.38;
}

.service-swap-auto-info {
  margin: -5px 0 0;
  border-radius: 5px;
  background: #eef8f3;
  color: #126348;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.42;
}

.service-swap-auto-info[data-tone="error"] {
  background: #fff3f2;
  color: #9d2d24;
}

.service-swap-status > strong,
.service-swap-status > p {
  display: block;
  margin: 0;
}

.service-swap-status > p {
  margin-top: 5px;
}

.service-swap-analysis-card {
  margin-top: 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: rgb(255 255 255 / 65%);
  padding: 12px;
}

.service-swap-analysis-card h3,
.service-swap-analysis-card p {
  margin: 0;
}

.service-swap-analysis-card h3 {
  margin-bottom: 7px;
  font-size: 0.95rem;
}

.service-swap-analysis-card p {
  margin-top: 4px;
}

.service-swap-analysis-card ul {
  margin: 9px 0 0;
  padding-left: 20px;
}

.service-swap-analysis-card li + li {
  margin-top: 5px;
}

.service-swap-whatsapp-actions {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.service-swap-whatsapp-action,
.service-swap-whatsapp-primary,
.service-swap-whatsapp-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.service-swap-whatsapp-action,
.service-swap-whatsapp-primary {
  border: 1px solid #16865b;
  background: #16865b;
  color: #ffffff;
}

.service-swap-whatsapp-action svg {
  width: 20px;
  height: 20px;
}

.service-swap-whatsapp-secondary {
  border: 1px solid color-mix(in srgb, var(--theme-color) 45%, #cfcfc9);
  background: #ffffff;
  color: var(--theme-color-dark);
}

.service-swap-whatsapp-preview {
  border: 1px solid #a7cdbf;
  border-radius: 6px;
  background: #f1f8f5;
  padding: 15px;
  color: #2f423b;
}

.service-swap-whatsapp-preview > strong {
  display: block;
  margin-bottom: 10px;
  color: #155f45;
}

.service-swap-whatsapp-preview pre {
  max-height: 300px;
  overflow: auto;
  margin: 0;
  border: 1px solid #d4e4de;
  border-radius: 5px;
  background: #ffffff;
  padding: 12px;
  color: #3f403d;
  font: inherit;
  font-size: 0.83rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.service-swap-whatsapp-preview-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.service-swap-whatsapp-editor {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.service-swap-whatsapp-editor[hidden] {
  display: none;
}

@media (max-width: 620px) {
  .service-swap-location-grid {
    grid-template-columns: 1fr;
  }

  .service-swap-intro {
    align-items: flex-start;
  }

  .service-swap-whatsapp-preview-actions {
    grid-template-columns: 1fr;
  }
}

.procedure-report-content {
  display: grid;
  gap: 22px;
}

.procedure-instructions,
.procedure-report-form {
  border: 1px solid #ededeb;
  border-radius: 6px;
  background: white;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
  padding: 18px;
}

.procedure-instructions {
  display: grid;
  gap: 7px;
  line-height: 1.28;
}

.procedure-instructions strong {
  color: var(--danger);
  text-align: center;
  font-size: 1.05rem;
}

.procedure-instructions p {
  margin: 0;
  color: #4d4b48;
  font-size: 0.92rem;
}

.procedure-report-form h2 {
  margin: 0;
  color: #4a4946;
  font-size: 1.22rem;
  line-height: 1.22;
}

.procedure-message,
.procedure-location {
  margin: 0;
  font-weight: 900;
  line-height: 1.35;
}

.procedure-message {
  color: var(--success);
}

.procedure-message[data-tone="error"] {
  color: var(--danger);
}

.procedure-location {
  color: var(--danger);
  overflow-wrap: anywhere;
}

.procedure-location a {
  color: #1267d8;
  text-decoration: underline;
}

.procedure-whatsapp-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.procedure-email-input {
  margin-top: 18px;
}

.procedure-email-button {
  min-height: 48px;
}

.status-message {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-height) + 18px);
  z-index: 70;
  width: min(640px, calc(100% - 28px));
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 30px rgb(27 31 35 / 18%);
  transform: translateX(-50%);
}

.status-message[data-tone="error"] {
  border-color: rgb(180 35 24 / 35%);
  color: var(--danger);
}

.status-message[data-tone="success"] {
  border-color: rgb(24 115 72 / 35%);
  color: var(--success);
}

body[data-screen="login"] .status-message,
body[data-screen="reset-password"] .status-message {
  bottom: 22px;
}

body[data-screen="request-account"] .status-message,
body[data-screen="admin-approval"] .status-message,
body[data-screen="admin-edit"] .status-message,
body[data-screen="profile-edit"] .status-message,
body[data-screen="profile-gallery"] .status-message,
body[data-screen="procedure-report"] .status-message,
body[data-screen="informative"] .status-message,
body[data-screen="informative-form"] .status-message,
body[data-screen="informative-viewers"] .status-message,
body[data-screen="generic-spreadsheet"] .status-message {
  bottom: calc(var(--nav-height) + 16px);
}

@media (min-width: 920px) {
  .turnus-app {
    padding-bottom: 0;
  }

  .app-header {
    height: 78px;
  }

  .home-content {
    padding-bottom: 106px;
  }

  .profile-card {
    grid-template-columns: 130px minmax(0, 1fr) 44px;
  }

  .announcement-rail {
    grid-auto-columns: minmax(360px, 468px);
  }

  .bottom-nav {
    left: 50%;
    bottom: 20px;
    width: min(560px, calc(100% - 32px));
    border-radius: 8px;
    overflow: hidden;
    transform: translateX(-50%);
  }
}

@media (max-width: 820px) {
  .login-shell {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 20px 0;
  }

  .gallery-account-header {
    grid-template-columns: 1fr;
  }

  .gallery-create-user-form {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 330px;
  }

  .brand-panel h1 {
    max-width: 11ch;
    font-size: 3.5rem;
  }
}

@media (max-width: 520px) {
  :root {
    --nav-height: 70px;
  }

  body[data-screen="login"],
  body[data-screen="reset-password"] {
    overflow: hidden;
    background: #ffffff;
  }

  body[data-screen="login"] .login-screen,
  body[data-screen="reset-password"] .password-reset-screen {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    align-content: center;
    gap: 8px;
    padding: 10px 20px max(10px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .login-card {
    width: min(100%, 390px);
    min-height: 0;
    padding: 22px 28px 18px;
    border-radius: 22px;
  }

  .login-wordmark {
    margin-bottom: 16px;
    font-size: 2.15rem;
  }

  .sync-badge {
    border-radius: 6px;
  }

  .login-title {
    margin-bottom: 22px;
    font-size: 1.05rem;
  }

  .login-form {
    gap: 11px;
  }

  .login-form input {
    min-height: 48px;
    padding: 0 15px;
    font-size: 0.95rem;
  }

  .login-password-field input {
    padding-right: 54px;
  }

  .login-password-toggle {
    right: 6px;
    width: 42px;
    height: 42px;
  }

  .login-password-toggle .lucide {
    width: 21px;
    height: 21px;
  }

  .login-submit {
    min-height: 48px;
    gap: 9px;
    margin-top: 2px;
    font-size: 0.8rem;
    box-shadow: 0 5px 10px rgb(0 0 0 / 18%);
  }

  .plain-login-action {
    min-height: 46px;
    margin: 22px 0 20px;
    padding: 5px 8px;
    font-size: 0.86rem;
  }

  .login-divider {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  .login-alt-button,
  .create-account-button {
    min-height: 46px;
    gap: 10px;
    font-size: 0.78rem;
  }

  .login-alt-button {
    margin-bottom: 14px;
  }

  .login-alt-button .google-symbol {
    width: 26px;
  }

  .page-header {
    height: 66px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .page-header h1 {
    font-size: clamp(1rem, 5.1vw, 1.24rem);
  }

  .page-back-button {
    width: 44px;
  }

  .page-back-button .lucide {
    width: 27px;
    height: 27px;
  }

  .page-header-action {
    width: 44px;
  }

  .page-header-action .lucide {
    width: 27px;
    height: 27px;
  }

  .page-form-content {
    padding: 28px 22px 22px;
  }

  .profile-edit-photo-panel {
    margin-bottom: 18px;
  }

  .profile-edit-photo-frame {
    width: clamp(176px, 54vw, 210px);
  }

  .gallery-page-content {
    padding: 16px 12px 24px;
  }

  .gallery-account-header {
    gap: 12px;
    margin-bottom: 14px;
  }

  .gallery-control-panel {
    padding: 14px;
  }

  .gallery-admin-panel {
    padding: 14px;
  }

  .profile-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .profile-gallery-info {
    padding: 10px;
  }

  .profile-gallery-actions button,
  .profile-gallery-actions a {
    min-height: 34px;
    font-size: 0.68rem;
  }

  .turnus-standard-form {
    gap: 18px;
  }

  .admin-credential-options {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-credentials-fieldset legend {
    font-size: 0.96rem;
  }

  .turnus-standard-form label {
    gap: 8px;
    font-size: 0.96rem;
  }

  .turnus-standard-form input {
    min-height: 52px;
    font-size: 0.98rem;
  }

  .turnus-standard-form select {
    min-height: 52px;
    font-size: 0.98rem;
  }

  .turnus-standard-form textarea {
    min-height: 104px;
    font-size: 0.98rem;
  }

  .service-swap-content {
    padding-inline: 12px;
  }

  .service-swap-intro {
    align-items: flex-start;
    padding: 14px;
  }

  .service-swap-user-meta span:last-child {
    max-width: 42vw;
    overflow-wrap: anywhere;
  }

  .service-swap-form {
    padding: 16px 14px;
  }

  .service-swap-location-grid {
    grid-template-columns: 1fr;
  }

  .informative-content {
    padding: 10px 42px 30px;
  }

  .informative-side-navigation {
    width: 36px;
    height: 50px;
  }

  .informative-side-navigation.is-previous {
    left: 3px;
  }

  .informative-side-navigation.is-next {
    right: 3px;
  }

  .informative-side-navigation .lucide {
    width: 27px;
    height: 27px;
  }

  .informative-image {
    max-height: none;
  }

  .informative-copy {
    gap: 17px;
    padding-top: 15px;
  }

  .informative-copy h2 {
    font-size: 1.18rem;
  }

  .informative-access-button {
    width: 66px;
    height: 66px;
  }

  .informative-access-button .lucide {
    width: 56px;
    height: 56px;
  }

  .informative-subtitle {
    font-size: 1rem;
  }

  .informative-body {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .informative-form-content,
  .informative-viewers-content {
    padding-inline: 16px;
  }

  .informative-admin-dialog-actions {
    grid-template-columns: 1fr;
  }

  .informative-required-modal {
    place-items: center;
    padding-inline: 7px;
  }

  .informative-required-card {
    max-height: calc(100dvh - max(14px, env(safe-area-inset-top)) - max(14px, env(safe-area-inset-bottom)));
  }

  .informative-required-media {
    min-height: 190px;
  }

  .informative-required-media img {
    max-height: 43dvh;
  }

  .informative-required-actions button {
    min-width: 78px;
    min-height: 54px;
    font-size: 0.9rem;
  }

  .informative-required-copy {
    gap: 10px;
    padding: 16px 16px 13px;
  }

  .informative-required-copy h2 {
    font-size: 1.15rem;
  }

  .informative-required-status {
    margin: -6px 16px 16px;
  }

  .standard-submit-button {
    min-height: 50px;
    font-size: 0.86rem;
  }

  .field-action-button {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .readonly-email-line {
    margin-bottom: 16px;
    font-size: 0.88rem;
  }

  .page-bottom-nav button {
    font-size: 0.78rem;
  }

  .page-bottom-nav.five-actions button {
    font-size: 0.7rem;
  }

  .page-bottom-nav .lucide {
    width: 24px;
    height: 24px;
  }

  .service-bottom-nav .adalo-nav-icon,
  .service-bottom-nav .adalo-nav-icon svg {
    width: 30px;
    height: 30px;
  }

  .service-bottom-nav.five-actions button {
    font-size: 0.68rem;
  }

  .list-page-content {
    padding: 18px 10px 20px;
  }

  .page-search-box {
    min-height: 52px;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 0 10px;
  }

  .page-search-box input {
    font-size: 1rem;
  }

  .admin-page-toolbar {
    gap: 8px;
    margin: 14px 0 10px;
  }

  .admin-mode-tabs {
    gap: 7px;
    margin-top: 10px;
  }

  .admin-mode-tabs button {
    min-height: 36px;
    font-size: 0.7rem;
  }

  .admin-page-toolbar p {
    font-size: 0.78rem;
  }

  .page-refresh-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .admin-request-list {
    gap: 9px;
  }

  .admin-request-card {
    min-height: 108px;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .admin-avatar {
    width: 76px;
  }

  .admin-request-card h3 {
    font-size: clamp(0.82rem, 3.45vw, 0.94rem);
  }

  .admin-request-subtitle {
    font-size: 0.84rem;
  }

  .admin-request-meta {
    font-size: 0.8rem;
  }

  .admin-request-meta span:nth-child(3),
  .admin-request-meta span:nth-child(4) {
    display: none;
  }

  .admin-card-actions {
    gap: 7px;
    margin-top: 6px;
  }

  .admin-card-actions .primary-modal-button,
  .admin-card-actions .secondary-modal-button {
    min-height: 34px;
    font-size: 0.74rem;
  }

  .admin-card-actions .danger-action-button {
    min-height: 34px;
    font-size: 0.74rem;
  }

  .no-account-text {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .install-button {
    gap: 4px;
    margin-top: 14px;
    font-size: 0.8rem;
    line-height: 1.05;
  }

  .install-button .lucide {
    width: 30px;
    height: 30px;
  }

  .login-footnote {
    width: min(100%, 340px);
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .modal-screen {
    align-items: end;
    padding: 12px;
  }

  .modal-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    gap: 14px;
    padding: 16px;
  }

  .modal-header h2 {
    font-size: 1.08rem;
  }

  .request-form {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .request-form label span {
    font-size: 0.78rem;
  }

  .request-form input {
    min-height: 42px;
    padding: 10px 11px;
  }

  .request-form textarea {
    padding: 10px 11px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .primary-modal-button,
  .secondary-modal-button {
    min-height: 42px;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .app-header {
    height: 66px;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    padding-inline: 16px;
  }

  .wordmark {
    font-size: 1.1rem;
  }

  .icon-button {
    width: 40px;
  }

  .icon-button .lucide {
    width: 25px;
    height: 25px;
  }

  .home-content {
    max-width: 100%;
    padding: 12px 14px calc(22px + var(--nav-height));
    overflow-x: hidden;
  }

  .profile-card {
    min-height: 96px;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .profile-photo-button,
  .profile-photo {
    width: 68px;
  }

  .profile-photo-edit {
    right: -5px;
    bottom: -5px;
    width: 27px;
    height: 27px;
  }

  .profile-photo-edit .lucide {
    width: 16px;
    height: 16px;
  }

  #profile-name {
    font-size: 1rem;
    line-height: 1.14;
  }

  #home-auth-provider {
    font-size: 0.86rem;
  }

  .profile-edit {
    width: 32px;
  }

  .report-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 12px;
  }

  .raised-action {
    min-height: 44px;
    padding: 0 5px;
    font-size: clamp(0.6rem, 2.35vw, 0.72rem);
    line-height: 1.08;
  }

  .announcement-caption strong {
    font-size: 0.9rem;
  }

  .announcement-caption span {
    font-size: 0.82rem;
  }

  .search-box input {
    font-size: 1rem;
  }

  .announcement-rail {
    grid-auto-columns: minmax(232px, 70vw);
    gap: 11px;
    margin-bottom: 14px;
    margin-right: -14px;
    padding: 2px 14px 10px 0;
  }

  .announcement-caption {
    gap: 4px;
    padding: 12px 14px 13px;
  }

  .feature-item {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 86px;
    gap: 18px;
    padding: 9px 14px;
  }

  .feature-item img,
  .thumb-graphic {
    width: 76px;
  }

  .feature-title {
    font-size: clamp(0.98rem, 4vw, 1.08rem);
  }

  .feature-subtitle {
    font-size: 0.82rem;
  }

  .home-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 24px;
  }

  .home-action-button {
    min-height: 48px;
    gap: 6px;
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .home-action-button .lucide {
    width: 21px;
    height: 21px;
  }

  .bottom-nav button {
    font-size: 0.86rem;
  }

  .bottom-nav .lucide {
    width: 24px;
    height: 24px;
  }

  .reg-nav-icon,
  .reg-nav-icon svg {
    width: 30px;
    height: 30px;
  }

  .bottom-brand-icon {
    width: 27px;
    height: 27px;
    padding: 3px;
  }

  .service-schedule-content {
    padding: 32px 10px 22px;
  }

  .service-copy-guide {
    gap: 8px;
    margin: 0 0 22px;
  }

  .service-download-button {
    width: 64px;
    height: 64px;
  }

  .service-download-button svg {
    width: 60px;
    height: 60px;
  }

  .service-copy-guide p {
    font-size: 1.28rem;
    line-height: 1.25;
  }

  .generic-sheet-content {
    height: auto;
    min-height: calc(100dvh - 66px - var(--nav-height) - env(safe-area-inset-bottom));
    padding: 10px 8px 12px;
  }

  .generic-sheet-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .generic-sheet-heading h2 {
    font-size: 0.96rem;
  }

  .generic-sheet-heading p:not(.eyebrow),
  .generic-sheet-status {
    font-size: 0.74rem;
  }

  .generic-sheet-zoom {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 12px;
  }

  .generic-sheet-zoom button {
    width: 46px;
  }

  .generic-sheet-zoom input {
    min-height: 56px;
  }

  .generic-sheet-highlight-panel {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .generic-sheet-highlight-panel select {
    width: 100%;
  }

  .generic-sheet-selection-panel {
    grid-template-columns: 1fr;
  }

  .generic-sheet-selection-actions {
    justify-content: stretch;
  }

  .generic-sheet-admin-actions .field-action-button,
  .generic-sheet-selection-actions .field-action-button {
    flex: 1 1 140px;
  }

  .generic-sheet-desktop-tools {
    display: none !important;
  }

  .generic-sheet-tabs-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .generic-sheet-tab-actions {
    justify-content: flex-end;
  }

  .generic-sheet-tab {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .generic-sheet-scroll-frame {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
  }

  .service-month-list {
    gap: 10px;
  }

  .service-month-item {
    min-height: 68px;
    grid-template-columns: 1fr;
    padding: 0 14px;
  }

  .service-month-item span {
    font-size: 1.02rem;
  }

  .drawer-menu button {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    min-height: 40px;
    font-size: 0.94rem;
  }

  .drawer-menu {
    gap: 12px;
    padding-top: 14px;
  }

  .drawer-menu .lucide {
    width: 26px;
    height: 26px;
  }

  .drawer-top {
    gap: 14px;
    padding-bottom: 16px;
  }

  .drawer-wordmark {
    font-size: 1.08rem;
  }

  .procedure-box {
    gap: 10px;
    margin-top: auto;
    padding: 13px 12px;
  }

  .procedure-box p {
    font-size: 0.9rem;
    line-height: 1.22;
  }

  .procedure-button {
    min-height: 45px;
    font-size: 0.82rem;
  }

  .drawer-account {
    margin-inline: -20px;
    padding: 12px 20px;
    grid-template-columns: 44px minmax(0, 1fr);
    font-size: 0.86rem;
  }

  .drawer-account img {
    width: 44px;
  }

  .drawer-logout {
    min-height: calc(58px + max(12px, env(safe-area-inset-bottom)));
    margin-inline: -20px;
    padding: 2px 20px max(16px, env(safe-area-inset-bottom));
    font-size: 0.88rem;
  }

  .drawer-logout > * {
    transform: translateY(7px);
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  body.is-printing-generic-sheet {
    min-height: 0;
    overflow: visible;
    background: white;
  }

  body.is-printing-generic-sheet > * {
    display: none !important;
  }

  body.is-printing-generic-sheet > #turnus-app {
    display: block !important;
    min-height: 0;
    overflow: visible;
  }

  body.is-printing-generic-sheet #turnus-app > * {
    display: none !important;
  }

  body.is-printing-generic-sheet #generic-spreadsheet-page {
    display: block !important;
    min-height: 0;
    overflow: visible;
    background: white;
  }

  body.is-printing-generic-sheet #generic-spreadsheet-page > .page-header,
  body.is-printing-generic-sheet #generic-spreadsheet-page > .page-bottom-nav,
  body.is-printing-generic-sheet .generic-sheet-toolbar,
  body.is-printing-generic-sheet .generic-sheet-tabs-toolbar,
  body.is-printing-generic-sheet .generic-sheet-top-scroll,
  body.is-printing-generic-sheet .generic-sheet-status,
  body.is-printing-generic-sheet .generic-sheet-page-scroll-zone,
  body.is-printing-generic-sheet .generic-sheet-unhide-button {
    display: none !important;
  }

  body.is-printing-generic-sheet .generic-sheet-content {
    width: auto;
    min-height: 0;
    display: block;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  body.is-printing-generic-sheet .generic-sheet-print-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 7mm;
    color: #20201d;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
  }

  body.is-printing-generic-sheet .generic-sheet-print-heading strong {
    color: var(--primary);
    font-size: 16pt;
  }

  body.is-printing-generic-sheet .generic-sheet-print-heading span {
    font-size: 13pt;
    font-weight: 900;
  }

  body.is-printing-generic-sheet .generic-sheet-scroll-frame,
  body.is-printing-generic-sheet .generic-sheet-shell,
  body.is-printing-generic-sheet .generic-sheet-grid {
    width: auto;
    display: block;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  body.is-printing-generic-sheet .generic-sheet-table {
    zoom: 0.58;
    break-inside: auto;
  }

  body.is-printing-generic-sheet .generic-sheet-table thead {
    display: table-header-group;
  }

  body.is-printing-generic-sheet .generic-sheet-table tr {
    break-inside: avoid;
  }

  body.is-printing-generic-sheet .generic-sheet-table thead th,
  body.is-printing-generic-sheet .generic-sheet-row-header {
    position: static;
  }
}

@media (max-width: 520px) and (max-height: 680px) {
  body[data-screen="login"] .login-screen,
  body[data-screen="reset-password"] .password-reset-screen {
    gap: 5px;
    padding: 6px 22px max(6px, env(safe-area-inset-bottom));
  }

  .login-card {
    padding: 16px 24px 12px;
  }

  .login-wordmark {
    margin-bottom: 11px;
    font-size: 1.9rem;
  }

  .login-title {
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  .login-form {
    gap: 8px;
  }

  .login-form input {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .login-submit {
    min-height: 44px;
    margin-top: 1px;
    font-size: 0.74rem;
  }

  .plain-login-action {
    margin: 12px 0;
    font-size: 0.78rem;
  }

  .login-divider {
    margin-bottom: 8px;
    font-size: 0.76rem;
  }

  .login-alt-button,
  .create-account-button {
    min-height: 42px;
    font-size: 0.72rem;
  }

  .login-alt-button {
    margin-bottom: 9px;
  }

  .no-account-text {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .install-button {
    margin-top: 9px;
    font-size: 0.74rem;
  }

  .install-button .lucide {
    width: 26px;
    height: 26px;
  }

  .login-footnote {
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .login-shell {
    width: min(100% - 20px, 1040px);
  }

  .brand-panel,
  .auth-panel {
    padding: 20px;
  }

  .status-list {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 58px;
    font-size: 1.9rem;
  }

  .side-drawer {
    width: min(90vw, 360px);
    padding: 28px 20px 0;
  }
}
