* {
  box-sizing: border-box;
}
:root {
  --site-footer-height: 34px;
}
.e-filter-popup.grid-filter-viewport {
  position: fixed !important;
  max-height: var(--filter-max-height) !important;
  max-width: var(--filter-max-width) !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
}
.e-filter-popup.grid-filter-viewport > .e-dlg-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.e-filter-popup.grid-filter-viewport > .e-footer-content {
  flex: 0 0 auto;
}
.e-xlflmenu,
.e-filter-popup {
  --filter-control-height: 44px;
}
:is(.e-xlflmenu, .e-filter-popup) .e-input-group.e-control-wrapper {
  height: var(--filter-control-height);
  min-height: var(--filter-control-height);
  box-sizing: border-box;
  align-items: center;
}
:is(.e-xlflmenu, .e-filter-popup) .e-input-group.e-control-wrapper input:not([type='hidden']) {
  height: 100%;
  min-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  box-sizing: border-box;
}
:is(.e-xlflmenu, .e-filter-popup) > .e-footer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 112px));
  justify-content: end;
  gap: 8px;
}
:is(.e-xlflmenu, .e-filter-popup) > .e-footer-content .e-btn {
  width: 100%;
  height: var(--filter-control-height);
  min-height: var(--filter-control-height);
  margin: 0 !important;
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  height: 100dvh;
  overflow: hidden;
  background: white;
}
a {
  color: var(--zeiten-primary);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  min-height: 44px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  padding: 10px 16px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
input:not([type='checkbox']):not([type='hidden']):not(.e-input),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 10px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--zeiten-primary);
  outline-offset: 1px;
}
label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
}
.check {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 400;
  min-height: 36px;
}
.check input {
  width: 20px;
  height: 20px;
}
h1 {
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 24px;
}
.muted {
  color: var(--muted);
}
.primary {
  background: var(--zeiten-primary);
  border-color: var(--zeiten-primary);
  color: #fff;
  border-radius: 22px;
  font-weight: 700;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: white;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  color: var(--zeiten-primary);
}
.brand img {
  flex-shrink: 0;
}
.brand-caption {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.brand-signed-in {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
}
.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.imprint-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.legal-imprint {
  max-width: 900px;
  padding: 0;
}
.legal-imprint h1 {
  margin-bottom: 32px;
}
.legal-imprint h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
.legal-imprint p {
  line-height: 1.65;
  margin: 0 0 28px;
  overflow-wrap: anywhere;
}
.legal-imprint-sections {
  white-space: normal;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 48px;
}
.legal-imprint-sections p {
  white-space: pre-wrap;
}
.legal-imprint-sections section:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .legal-imprint-sections {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
.topbar button {
  border: 0;
}
.topbar-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}
.topbar-actions form {
  margin: 0;
}
#personalNavigation.e-dropdown-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 14px;
}
#personalNavigation.e-dropdown-btn:hover,
#personalNavigation.e-dropdown-btn[aria-expanded='true'] {
  background: #f0f4f8;
}
#personalNavigation.e-dropdown-btn .e-caret {
  display: none;
}
#personalNavigation.e-dropdown-btn::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  vertical-align: middle;
}
#personalNavigation.e-dropdown-btn[aria-expanded='true']::after {
  transform: translateY(1px) rotate(225deg);
}
#personalNavigation-popup.e-dropdown-popup {
  position: fixed;
  left: auto !important;
  right: 16px;
  width: 280px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px #17304e26;
  padding: 6px;
}
#personalNavigation-popup ul {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#personalNavigation-popup .e-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  gap: 12px;
  line-height: 1.4;
  font-size: 14px;
  border-radius: 5px;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--ink);
}
#personalNavigation-popup .e-item .e-menu-icon {
  flex: 0 0 20px;
  width: 20px;
  margin: 0;
  font-size: 18px;
  color: inherit;
}
#personalNavigation-popup .e-item:hover,
#personalNavigation-popup .e-item.e-focused {
  background: #edf3f9;
}
#personalNavigation-popup .e-item.e-separator {
  min-height: 0;
  height: 1px;
  padding: 0;
  margin: 6px 8px;
  border-radius: 0;
}
#personalNavigation-popup .e-item.e-disabled {
  opacity: 1;
  color: #52697e;
}
.nav-icon-logout {
  display: inline-block;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H4v16h5M9 12h12m-4-4 4 4-4 4'/%3E%3C/g%3E%3C/svg%3E")
    center / contain no-repeat;
}
.topbar-profile,
.topbar-user {
  min-width: 0;
  max-width: min(40vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-profile {
  font-weight: 600;
  text-decoration: none;
}
.content {
  position: fixed;
  inset: 68px 0 var(--site-footer-height);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.scroll-panel,
.detail-tab-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
}
.scroll-panel:has(.dashboard-tiles) {
  padding: 30px clamp(18px, 5vw, 72px);
}
[hidden] {
  display: none !important;
}
.site-footer {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  height: var(--site-footer-height);
  background: #fff;
  border-top: 1px solid #d7d7d7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer-version {
  color: var(--zeiten-primary);
  font-size: 12px;
  white-space: nowrap;
}
.site-footer a {
  color: var(--zeiten-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 48px;
  padding: 8px 20px;
  font-size: 14px;
  flex-shrink: 0;
}
.page-breadcrumb a {
  text-decoration: none;
  font-weight: 700;
}
.page-editor-header {
  flex-shrink: 0;
  background: white;
}
.page-editor-header .e-toolbar,
.page-editor-header .e-toolbar-items {
  background: white;
}
.association-editor-tabs {
  display: flex;
  overflow-x: auto;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  gap: 22px;
  padding: 0 20px;
}
.association-editor-tabs button {
  flex-shrink: 0;
  border: 0;
  border-radius: 0;
  background: white;
  font-weight: 700;
  padding: 14px 2px;
}
.association-editor-tabs button.active {
  color: var(--zeiten-primary);
  box-shadow: inset 0 -4px var(--zeiten-primary);
}
.form-card {
  max-width: 1120px;
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.person-data-rows {
  display: grid;
  gap: 10px;
}
.entry-summary {
  max-width: 760px;
}
.booking-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
}
.booking-map-link .e-icons {
  font-size: 20px;
}
.booking-map-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.detail-tab-panel.day-summary {
  padding: 16px 24px;
}
.day-summary .form-grid {
  margin: 0;
  gap: 16px 24px;
}
.day-summary .day-summary-times {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.day-summary .day-summary-account {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.day-summary dt {
  margin: 0;
}
.day-summary dd {
  margin: 3px 0 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.day-summary h2 {
  margin: 20px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}
@media (max-width: 640px) {
  .detail-tab-panel.day-summary {
    padding: 12px 16px;
  }
  .day-summary .day-summary-times {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .day-summary .form-grid {
    gap: 12px;
  }
}
.time-month-filter {
  display: block;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.time-month-filter input {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.entry-summary h1 {
  font-size: 1.4rem;
  margin: 0 0 20px;
}
.entry-summary .form-grid {
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.entry-summary .form-grid > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.entry-summary dt {
  margin: 0;
}
.entry-summary dd {
  margin: 6px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.person-form-fields {
  border: 0;
  border-radius: 0;
  padding: 0;
}
.weekly-schedule {
  border: 0;
  padding: 0;
  margin: 20px 0 0;
  min-width: 0;
}
.weekly-schedule legend {
  font-weight: 600;
  margin-bottom: 12px;
}
.full {
  grid-column: 1/-1;
}
.auth-card {
  align-self: center;
  overflow: visible;
  max-width: 420px;
  width: calc(100% - 28px);
  margin: 24px 0;
  padding: 24px 30px;
  border-top: 5px solid var(--zeiten-primary);
  background: white;
}
.auth-card button.primary {
  width: 100%;
  margin-top: 18px;
}
.validation-summary-errors {
  color: var(--zeiten-danger);
  background: var(--zeiten-danger-tint);
  padding: 8px;
}
.validation-summary-valid {
  display: none;
}
.auth-error-summary.validation-summary-errors {
  padding: 10px 12px;
  border-left: 3px solid currentColor;
  font-size: 14px;
}
.auth-error-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.auth-card .field-validation-error {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}
.grid-shell {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.grid-shell .e-grid {
  display: flex;
  flex-direction: column;
  height: 100% !important;
}
.grid-shell .e-gridcontent {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.grid-shell .e-content {
  height: 100% !important;
}
.grid-shell .e-pager {
  flex-shrink: 0;
}
.detail-tab-panel--grid,
.detail-tab-panel--toolbar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.date-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 20px;
}
.date-filter label {
  margin: 0;
}
.date-filter input {
  width: auto !important;
}
#clockPanel {
  padding: 8px 16px;
}
.clock-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.clock-card p {
  margin: 4px 0;
  line-height: 1.3;
}
.clock-card > label {
  display: block;
  text-align: left;
  margin: 8px 0 4px;
}
.clock-card > textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  padding: 6px 10px;
  resize: none;
  overflow-y: auto;
  margin-bottom: 8px;
}
.clock-card p:empty {
  display: none;
}
.clock-card .eyebrow {
  margin-top: 0;
}
.eyebrow {
  color: var(--muted);
  font-size: 14px;
}
.clock-state {
  font-size: 18px;
}
.clock-card .clock-total {
  font-size: 40px;
}
.clock-card .muted,
.clock-card #geoStatus,
.clock-card #syncStatus {
  font-size: 13px;
}
.clock-card .location-notice {
  font-size: 12px;
}
.clock-card > button {
  padding: 6px 12px;
  font-size: 13px;
}
.clock-total {
  display: block;
  font-size: 52px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: -2px;
}
.clock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0;
}
.clock-actions button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 700;
}
.clock-actions button:only-child {
  grid-column: 1/-1;
}
.location-notice {
  font-size: 14px;
  color: var(--muted);
}
.week-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 20px;
}
.dashboard-tiles {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.dashboard-tiles > article {
  height: 180px;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--tile-accent, var(--zeiten-primary));
  background: white;
}
.dashboard-tiles > article:nth-child(8n + 1) {
  --tile-accent: var(--zeiten-logo-red);
}
.dashboard-tiles > article:nth-child(8n + 2) {
  --tile-accent: var(--zeiten-logo-orange);
}
.dashboard-tiles > article:nth-child(8n + 3) {
  --tile-accent: var(--zeiten-logo-yellow);
}
.dashboard-tiles > article:nth-child(8n + 4) {
  --tile-accent: var(--zeiten-logo-lime);
}
.dashboard-tiles > article:nth-child(8n + 5) {
  --tile-accent: var(--zeiten-logo-green);
}
.dashboard-tiles > article:nth-child(8n + 6) {
  --tile-accent: var(--zeiten-logo-cyan);
}
.dashboard-tiles > article:nth-child(8n + 7) {
  --tile-accent: var(--zeiten-logo-blue);
}
.dashboard-tiles > article:nth-child(8n + 8) {
  --tile-accent: var(--zeiten-logo-purple);
}
.dashboard-tile-link {
  height: 100%;
  display: grid;
  grid-template-rows: 32px auto 1fr;
  align-content: start;
  gap: 8px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink);
}
.dashboard-tile-symbol {
  color: var(--zeiten-primary);
  height: 32px;
}
.dashboard-tile-symbol svg {
  width: 30px;
  height: 30px;
}
.dashboard-tile-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.dashboard-tile-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.dashboard-tiles > article:has(a:hover) {
  border-color: var(--zeiten-primary);
  border-top-color: var(--tile-accent, var(--zeiten-primary));
  background: var(--zeiten-primary-tint);
}
.status-message {
  padding: 12px 42px 12px 16px;
  position: relative;
  border-left: 5px solid var(--zeiten-primary);
  background: var(--zeiten-primary-tint);
}
.message-close {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 34px;
  min-height: 34px;
  padding: 6px;
  border: 0;
  background: none;
}
.message-close svg {
  width: 20px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 50px !important;
}
.password-toggle {
  position: absolute;
  right: 2px;
  top: 2px;
  min-height: 40px;
  width: 44px;
  padding: 9px;
  border: 0;
  background: none;
}
.password-toggle svg {
  width: 22px;
}
.password-toggle[aria-pressed='false'] .password-eye-slash {
  display: none;
}
.document-preview {
  max-width: 100%;
  max-height: 65vh;
}
.pdf-preview {
  width: 100%;
  height: 60vh;
  border: 1px solid #ddd;
}
.tab-form {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
.embedded-grid {
  height: 330px;
  flex: none;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 22px;
  padding: 3px 5px 3px 14px;
  margin: 8px 5px 0 0;
}
.badge button {
  border: 0;
  background: none;
  min-height: 36px;
  padding: 4px 9px;
}
#personResults button,
#userRoleResults button {
  display: block;
  width: 100%;
  text-align: left;
}
.map {
  height: 320px;
  max-width: 800px;
  margin-top: 16px;
}
.detail-tab-panel.detail-tab-panel--map {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.location-map-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 4px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.location-map-header p {
  margin: 0;
}
.location-map-header .e-toolbar {
  width: auto;
  border: 0;
}
.detail-tab-panel--map .map {
  flex: 1;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
}
.panel-link {
  padding: 12px 20px;
}
fieldset {
  border: 1px solid #ddd;
  margin: 0 0 18px;
}
fieldset .check {
  display: inline-flex;
  margin-right: 18px;
}
dt {
  color: var(--muted);
  margin-top: 12px;
}
dd {
  margin: 4px 0 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .dashboard-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dashboard-tiles {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .scroll-panel,
  .detail-tab-panel {
    padding: 16px;
  }
  .detail-tab-panel--grid,
  .detail-tab-panel--toolbar {
    padding: 0;
  }
  .form-card {
    padding: 16px;
  }
  .topbar {
    padding: 0 16px;
  }
  .topbar-actions {
    gap: 4px;
  }
  .topbar-actions:has(#personalNavigation) {
    display: flex;
    flex-shrink: 0;
    column-gap: 4px;
    row-gap: 0;
  }
  .topbar-actions #personalNavigation {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: auto;
    min-height: 44px;
    padding-inline: 10px;
  }
  .topbar-actions:has(#personalNavigation) .topbar-profile {
    grid-column: 2;
    grid-row: 1;
  }
  .topbar-actions:has(#personalNavigation) form {
    grid-column: 2;
    grid-row: 2;
  }
  .topbar-profile,
  .topbar-user {
    max-width: 34vw;
    font-size: 14px;
  }
  .topbar button {
    padding-inline: 8px;
  }
  .page-breadcrumb {
    padding: 8px 16px;
  }
  .clock-total {
    font-size: 48px;
  }
  .site-footer nav {
    gap: 18px;
  }
  .clock-actions {
    gap: 10px;
  }
  .clock-actions button {
    font-size: 16px;
  }
  .date-filter {
    padding: 10px;
  }
  .e-toolbar .e-toolbar-item .e-tbar-btn {
    min-height: 44px;
  }
  .week-summary {
    gap: 10px;
  }
}
.clock-actions:has([data-action='1']:not([hidden])) [data-action='1'] {
  grid-column: 1/-1;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  flex-shrink: 0;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--zeiten-focus);
  outline-offset: 3px;
}
input[type='checkbox'] {
  accent-color: var(--zeiten-primary);
}
a:hover {
  color: var(--zeiten-primary-hover);
}
.primary:hover:not(:disabled) {
  background: var(--zeiten-primary-hover);
  border-color: var(--zeiten-primary-hover);
}
.primary:active:not(:disabled) {
  background: var(--zeiten-primary-active);
  border-color: var(--zeiten-primary-active);
}
.field-validation-error {
  color: var(--zeiten-danger);
}
.input-validation-error {
  border-color: var(--zeiten-danger) !important;
}
.danger {
  color: var(--zeiten-danger);
  border-color: var(--zeiten-danger);
}

.account-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

/* Shared absence symbols and compact, accessible actions inside day cards. */
.absence-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask: var(--absence-symbol) center / contain no-repeat;
}
.absence-icon--sickness {
  --absence-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' d='M8 3h8v5h5v8h-5v5H8v-5H3V8h5z'/%3E%3C/svg%3E");
}
.absence-icon--leave {
  --absence-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3 12a9 9 0 0 1 18 0H3zm9-9v15a3 3 0 0 0 6 0M12 3c-4 3-4 6-4 9m4-9c4 3 4 6 4 9'/%3E%3C/svg%3E");
}
.e-toolbar .e-toolbar-item .e-tbar-btn .absence-icon.e-btn-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
}
.e-toolbar.day-card-toolbar {
  margin-top: auto;
  border: 0;
}
.e-toolbar.day-card-toolbar,
.e-toolbar.day-card-toolbar .e-toolbar-items {
  background: transparent;
}
.e-toolbar.day-card-toolbar .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
  margin-left: 0;
}
.e-toolbar.day-card-toolbar .e-toolbar-item .e-tbar-btn {
  min-width: 44px;
  min-height: 44px;
}

.account-action,
.e-toolbar.account-toolbar .e-toolbar-item .e-tbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--zeiten-primary);
  border-radius: 24px;
  background: var(--zeiten-paper);
  color: var(--zeiten-primary);
  font-weight: 600;
  text-decoration: none;
}

.account-action:hover,
.e-toolbar.account-toolbar .e-toolbar-item .e-tbar-btn:hover {
  background: var(--zeiten-primary-tint);
  border-color: var(--zeiten-primary-hover);
}

.e-toolbar.account-toolbar {
  margin-top: 12px;
  border: 0;
}

.e-toolbar.account-toolbar,
.e-toolbar.account-toolbar .e-toolbar-items {
  background: transparent;
}

.e-toolbar.account-toolbar .e-toolbar-items,
.e-toolbar.account-toolbar .e-toolbar-items .e-toolbar-item {
  margin: 0;
  padding: 0;
  min-height: 0;
}

.e-toolbar.account-toolbar .e-toolbar-items .e-toolbar-item:first-child:last-child {
  margin-inline: 0;
}

.e-toolbar.account-toolbar .e-toolbar-item .e-tbar-btn {
  height: 46px;
  padding-block: 0;
  line-height: 24px;
}

.e-toolbar.account-toolbar .e-tbar-btn .e-tbar-btn-text,
.e-toolbar.account-toolbar .e-tbar-btn .e-btn-icon {
  color: var(--zeiten-primary);
  padding: 0;
}

.e-toolbar.account-toolbar .e-tbar-btn .e-tbar-btn-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  min-height: 0;
}

.e-toolbar.account-toolbar .e-tbar-btn:focus-visible {
  outline: 2px solid var(--zeiten-focus);
  outline-offset: -3px;
}

.account-action--quiet {
  border-color: transparent;
}

.account-action svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
select,
textarea {
  color: var(--zeiten-primary);
}

input::placeholder,
textarea::placeholder {
  color: var(--zeiten-primary);
  opacity: 1;
}

/* The entire account page scrolls only when the viewport is genuinely short. */
.content:has(> .auth-card) {
  display: block;
  overflow-y: auto;
  padding: 24px 14px;
}

.content > .auth-card {
  width: min(420px, 100%);
  margin: 0 auto;
  overflow: visible;
}

.account-actions:not(:has(a)) {
  display: none;
}
.async-action-progress { display: flex; align-items: center; gap: 8px; }
.async-action-progress[hidden] { display: none; }
.async-action-progress [data-spinner] { position: relative; display: inline-block; width: 44px; height: 44px; flex: 0 0 44px; }
