/* Couria on Elastic: no About / info control, no theme toggle. */
#taskmenu a.about,
#taskmenu a.theme {
  display: none !important;
}

/* Keep login Turnstile in the form column. */
.login-turnstile {
  width: 100%;
  margin: 0.75rem 0 0;
}

.login-turnstile-mount {
  width: 100%;
  min-height: 65px;
  background: #fafafa;
}

.login-turnstile-mount iframe {
  display: block;
  max-width: 100%;
}

html {
  color-scheme: light;
}

/*
 * Sticky mailbox quota: same tokens as Elastic .quota-widget
 * (colors.less / widgets/common.less). Hide the duplicate sidebar widget.
 */
#quotadisplay.quota-widget {
  display: none !important;
}

#couria-quota.quota-widget {
  position: sticky;
  top: 0;
  z-index: 30;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0;
  color: #73787a;
  background: #fff;
  border-bottom: 1px solid #d4dbde;
}

#couria-quota.quota-widget:before {
  /* Elastic HDD icon is Font Awesome; keep spacing without a custom webfont here. */
  content: none;
}

#couria-quota.quota-widget .count {
  font-size: 80%;
  order: 2;
  white-space: nowrap;
}

#couria-quota.quota-widget .bar {
  flex: 1;
  order: 1;
  height: 0.5rem;
  margin: 0 1rem 0 0;
  background-color: #fff;
  border: 1px solid #d4dbde;
  border-radius: 0.25rem;
  overflow: hidden;
}

#couria-quota.quota-widget .value {
  display: block;
  background-color: #37beff;
  height: 1rem;
  opacity: 0.75;
}

#couria-quota.quota-widget .value.warning {
  background-color: #ff5552;
}
