html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hover tooltips (DocSend dig-Tooltip 1:1) — portal elements in body */
.hover-tooltip {
  position: fixed;
  background: #fff;
  color: rgb(26, 25, 24);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14.6667px;
  line-height: 14.6667px;
  font-weight: 400;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif;
  max-width: 256px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  z-index: 100000;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px 0px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hover-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: var(--arrow-left, 50%);
  width: 12px;
  height: 12px;
  margin-bottom: -6px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: rgba(0, 0, 0, 0.1) -2px -2px 6px -2px;
}

.hover-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Search empty-state dropdown (DocSend) */
#space-search-dropdown {
  position: fixed;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 28px 16px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif;
}

#space-search-dropdown.visible {
  opacity: 1;
  transform: translateY(0);
}

#space-search-dropdown .search-empty-icon {
  color: rgb(26, 25, 24);
  display: flex;
}

#space-search-dropdown .search-empty-text {
  color: rgb(99, 91, 86);
  font-size: 14.6667px;
  line-height: 20px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

#login-modal .index-module__passwordRequirements_LqB3ba {
  display: none;
}

.view-all-files .index-module__contentAdditionalInfo_0Z4Yrq {
  display: none;
}

.view-all-files .index-module__href_0Z4Yrq {
  color: rgb(0, 97, 254);
  cursor: pointer;
}

.view-all-files .index-module__href_0Z4Yrq:hover {
  text-decoration: underline;
}

.view-all-files .index-module__thumbnailContainer_0Z4Yrq {
  width: 40px;
  height: 40px;
}

.view-all-files .dig-Table-row {
  min-height: 56px;
}

#recently-added-listbox {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 4px 0;
  min-width: 140px;
}

#recently-added-listbox [role="option"] {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 14px;
  color: rgb(26, 25, 24);
}

#recently-added-listbox [role="option"]:hover {
  background: rgba(0, 0, 0, 0.04);
}

#recently-added-listbox .dig-Menu-row-accessory {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}

#recently-added-period-trigger {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 6px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 12px;
  color: rgb(26, 25, 24);
  cursor: pointer;
  line-height: 1.4;
  height: 22px;
  outline: none;
}

#recently-added-period-trigger:hover {
  background: rgba(0, 0, 0, 0.04);
}

#recently-added-period-trigger:focus,
#recently-added-period-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}

#recently-added-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

#tab-recently-added .dig-Chip-content::after {
  content: " (" attr(data-count) ")";
  visibility: hidden;
  pointer-events: none;
}

#tab-recently-added[aria-pressed="true"] .dig-Chip-content::after {
  display: none;
}

#user-popup {
  position: fixed;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 16px;
  min-width: 240px;
  z-index: 9999;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  color: rgb(26, 25, 24);
}

#user-popup .user-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

#user-popup .user-popup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(255, 140, 25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
}

.dig-Avatar-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

#user-popup .user-popup-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

#user-popup .user-popup-company {
  display: block;
  font-size: 14px;
  color: rgb(26, 25, 24);
  margin-bottom: 4px;
  line-height: 1.3;
}

#user-popup .user-popup-email {
  display: block;
  font-size: 14px;
  color: rgb(0, 97, 254);
  text-decoration: underline;
  word-break: break-all;
  line-height: 1.3;
}

#user-popup .user-popup-email:hover {
  text-decoration: none;
}

.dig-Toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.dig-Toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dig-Toggle-track {
  width: 44px;
  height: 24px;
  background-color: rgb(187, 181, 174);
  border-radius: 12px;
  position: relative;
  transition: background-color 0.2s ease;
}

.dig-Toggle-input:checked+.dig-Toggle-track {
  background-color: rgb(0, 97, 254);
}

.dig-Toggle-input:disabled+.dig-Toggle-track {
  background-color: rgb(187, 181, 174);
  opacity: 0.5;
  cursor: not-allowed;
}

.dig-Toggle-track::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dig-Toggle-input:checked+.dig-Toggle-track::after {
  transform: translateX(20px);
}

.dig-Accordion-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 14px;
  color: rgb(26, 25, 24);
  font-weight: 500;
}

.dig-Accordion-panel {
  display: none;
}

.dig-Accordion-panel:not([hidden]) {
  display: block;
}

.dig-Modal-footer--hasTopBorder {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Cookies modal overlay centering */
#cookies-modal .ReactModal__Overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#cookies-modal .ReactModal__Content {
  margin: auto;
}

/* Modal open/close transitions */
#cookies-modal .ReactModal__Overlay,
#login-modal .ReactModal__Overlay {
  opacity: 0;
  transition: opacity 0.22s ease;
}

#cookies-modal.modal-open .ReactModal__Overlay,
#login-modal.modal-open .ReactModal__Overlay {
  opacity: 1;
}

#cookies-modal .ReactModal__Content {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#cookies-modal.modal-open .ReactModal__Content {
  opacity: 1;
  transform: scale(1);
}

#login-modal .ReactModal__Content {
  opacity: 0;
  transition: opacity 0.22s ease;
}

#login-modal.modal-open .ReactModal__Content {
  opacity: 1;
}

/* Cookies modal basic styles */
#cookies-modal #consent-detailed-view {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px 20px rgba(0, 0, 0, 0.04), 0 20px 30px -45px rgba(0, 0, 0, 0.04), 0 20px 30px -4px rgba(0, 0, 0, 0.04);
  width: 750px;
  max-width: 90vw;
}

#cookies-modal .dig-Modal-header {
  padding: 24px 24px 16px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#cookies-modal .dig-Modal-header h1 {
  font-size: 20px;
  font-weight: 500;
  color: rgb(26, 25, 24);
  margin: 0;
  padding-top: 8px;
}

#cookies-modal .dig-Modal-body {
  padding: 0px 24px;
  overflow: auto;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  text-align: left;
  font-size: 13px;
}

#cookies-modal .dig-Modal-footer {
  padding: 16px 20px 5px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  max-width: 100%;
  margin: 0;
  gap: 12px;
}

#cookies-modal .dig-Text--isBold {
  font-weight: 500;
}

#cookies-modal .dig-Link {
  font-size: 13px;
}

#cookies-modal .dig-Title--size-small {
  font-size: 17px;
  font-weight: 550;
}

#cookies-modal .dig-IconButton {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cookies-modal .dig-IconButton:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

#cookies-modal .dig-IconButton svg {
  width: 24px;
  height: 24px;
  stroke: rgb(26, 25, 24);
}

#cookies-modal .dig-Card {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  margin: 24px 0px 0px;
  display: flex;
  flex-direction: column;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  width: 100%;
  text-align: left;
}

#cookies-modal .dig-Accordion-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  min-height: min-content;
  width: 100%;
  text-align: left;
}

#cookies-modal .dig-Accordion-item>div {
  padding: 12px 16px;
  display: block;
  cursor: pointer;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  width: 100%;
}

#cookies-modal .dig-Accordion-panel {
  padding: 0px 16px 0px;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

#cookies-modal .dig-Accordion-panel[hidden] {
  display: none;
}

#cookies-modal .dig-Accordion-panel:not([hidden]) {
  display: block;
  max-height: 500px;
  opacity: 1;
  padding: 8px 16px 0px;
}

#cookies-modal .dig-Accordion-panel>div {
  display: block;
  cursor: pointer;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#cookies-modal .dig-ekabind9_6-2-1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#cookies-modal .dig-ekabinen_6-2-1 {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#cookies-modal .dig-ekabincp_6-2-1 {
  flex-shrink: 0;
  padding: 12px 0px 24px;
  display: block;
  flex-direction: column;
  line-height: 22px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Toggle Switch */
#cookies-modal .dig-Toggle {
  position: relative;
  width: 32px;
  height: 18px;
  display: block;
  align-items: center;
  cursor: default;
  line-height: 18px;
  font-family: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#cookies-modal .dig-Toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

#cookies-modal .dig-Toggle-track {
  position: static;
  width: 32px;
  height: 18px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 9px;
  padding: 2px;
  transition: all;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#cookies-modal .dig-Toggle-track::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.2s ease;
}

#cookies-modal .dig-Toggle-input:checked+.dig-Toggle-track {
  background-color: rgb(0, 122, 255);
  border: 1px solid rgb(0, 122, 255);
  cursor: default;
}

#cookies-modal .dig-Toggle-input:checked+.dig-Toggle-track::after {
  transform: translateX(14px);
}

#cookies-modal .dig-Toggle-input:disabled+.dig-Toggle-track {
  background-color: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
}

#cookies-modal .dig-Toggle-input:disabled:checked+.dig-Toggle-track {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
}

#cookies-modal .dig-Toggle-input:disabled+.dig-Toggle-track::after {
  background-color: rgba(255, 255, 255, 0.7);
}

#cookies-modal .dig-Button {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  height: 40px;
  display: inline-block;
  flex-direction: row;
  transition: color 0.1s cubic-bezier(0.4, 0, 0.6, 1), border-color 0.1s cubic-bezier(0.4, 0, 0.6, 1), box-shadow 0.1s cubic-bezier(0.4, 0, 0.6, 1);
}

#cookies-modal .dig-Button--primary {
  background-color: rgb(26, 25, 24);
  color: rgb(247, 245, 242);
  border: 0px solid rgba(0, 0, 0, 0);
}

#cookies-modal .dig-Button--primary:hover {
  background-color: rgb(26, 25, 24);
}

#cookies-modal .dig-Button--opacity {
  background-color: rgba(179, 180, 196, 0.12);
  color: rgb(26, 25, 24);
  border: 0px solid rgba(0, 0, 0, 0);
}

#cookies-modal .dig-Button--opacity:hover {
  background-color: rgba(179, 180, 196, 0.12);
}

#cookies-modal .dig-Link--primary {
  color: rgb(0, 97, 254);
  text-decoration: none;
}

#cookies-modal .dig-Link--primary:hover {
  text-decoration: underline;
}