/*! FadeOut from Animate.css 4.1.1, Copyright (c) 2020 Daniel Eden, MIT.
 * Original source and license: frontend/vendor/animate.css/ */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
body.site-shell .fadeOut {
  animation-name: fadeOut;
}

@keyframes portal-social-wave-expand {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.7);
  }
}
body.site-shell :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo) {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
body.site-shell :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::before, body.site-shell :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px solid var(--button-focus, #075bd8);
  border-radius: inherit;
  opacity: 0;
  transform: scale(1);
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  body.site-shell :is(.portal-social-link, .home-hero-social__link, .header-social--single):not([aria-disabled=true]):not([disabled]):is(:focus-visible, :active) :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::before, body.site-shell :is(.portal-social-link, .home-hero-social__link, .header-social--single):not([aria-disabled=true]):not([disabled]):is(:focus-visible, :active) :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::after {
    animation: portal-social-wave-expand 1.8s ease-out infinite, fadeOut 1.8s ease-out infinite;
  }
  body.site-shell :is(.portal-social-link, .home-hero-social__link, .header-social--single):not([aria-disabled=true]):not([disabled]):is(:focus-visible, :active) :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::after {
    animation-delay: -0.9s, -0.9s;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  body.site-shell :is(.portal-social-link, .home-hero-social__link, .header-social--single):not([aria-disabled=true]):not([disabled]):hover :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::before, body.site-shell :is(.portal-social-link, .home-hero-social__link, .header-social--single):not([aria-disabled=true]):not([disabled]):hover :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::after {
    animation: portal-social-wave-expand 1.8s ease-out infinite, fadeOut 1.8s ease-out infinite;
  }
  body.site-shell :is(.portal-social-link, .home-hero-social__link, .header-social--single):not([aria-disabled=true]):not([disabled]):hover :is(.portal-social-link__logo, .home-hero-social__logo, .header-social__logo)::after {
    animation-delay: -0.9s, -0.9s;
  }
}
.document-mark {
  --mark-surface: #fff;
  --mark-ink: #1d2c59;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  min-height: 38px;
  color: var(--mark-ink);
  background: var(--mark-surface);
  border-radius: 6px;
}
.document-mark__glyph {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 30px;
  fill: none;
  stroke: currentColor;
}
.document-mark__format {
  font: 700 16px/1.4 Arial, sans-serif;
  white-space: nowrap;
  color: inherit;
}
.document-mark--classic {
  padding: 6px;
}
.document-mark--compact {
  padding: 5px 6px;
}
.document-mark--outline {
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--mark-ink);
}
.document-mark--badge {
  --mark-surface: #1d2c59;
  --mark-ink: #fff;
  min-width: 52px;
  padding: 7px;
}
.document-mark--badge .document-mark__glyph {
  display: none;
}
.document-mark--portal {
  position: relative;
  width: 56px;
  height: 70px;
  padding: 0;
  background: transparent;
}
.document-mark--portal .document-mark__portal-sheet {
  width: 56px;
  height: 70px;
  stroke: none;
}
.document-mark--portal .document-mark__portal-paper {
  fill: var(--mark-surface);
  stroke: var(--mark-ink);
}
.document-mark--portal .document-mark__format {
  position: absolute;
  inset: auto 4px 7px;
  text-align: center;
  background: var(--mark-surface);
}

[data-preview-format=PDF] .document-mark--classic {
  color: #aa4354;
  justify-self: center;
  background: transparent;
}

.document-mark__pdf {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 40px;
  background: #fff;
  border-radius: 9px;
}

[data-preview-format=PDF] .document-mark__standard,
.document-style-options:not([data-preview-format=PDF]) .document-mark__pdf {
  display: none;
}

body.site-shell .icon.icon--pdf-refined {
  --document-mark-radius: 9px;
  background: #fff;
  border-radius: var(--document-mark-radius);
  padding: 0;
  color: #aa4354;
}

[data-document-style=compact] {
  --document-mark-column: 90px;
  --document-mark-column-mobile: 90px;
}

[data-document-style=outline], [data-document-style=badge], [data-document-style=portal] {
  --document-mark-column: 60px;
  --document-mark-column-mobile: 60px;
}

.home-shell .home-dashboard > .home-panel > :is(.compact-list, .document-list) > .document-card[data-document-style=portal] .document-card__icon-frame:has(> .document-mark--portal) {
  background: transparent;
}

.document-card[data-document-style=compact] {
  container: document-compact/inline-size;
}

@container document-compact (max-width: 300px) {
  .document-card__icon-frame {
    --document-icon-frame-height: 48px;
    grid-column: 1/-1;
    justify-self: start;
  }
  .document-card__body {
    grid-column: 1/-1;
  }
}
.document-style-options {
  --choice-surface: #fff;
  --choice-text: #1d2c59;
  --choice-border: #66728b;
  --choice-selected: #eaf2ff;
  --choice-focus: #0056c9;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 12px;
  container-type: inline-size;
  max-width: 760px;
  margin-block: 12px;
}

:is(.w-theme-dark, [data-theme=dark]) .document-style-options {
  --choice-surface: #1d293c;
  --choice-text: #f2f6ff;
  --choice-border: #98aac7;
  --choice-selected: #293d5a;
  --choice-focus: #9fc6ff;
}

@media (prefers-color-scheme: dark) {
  .w-theme-system .document-style-options {
    --choice-surface: #1d293c;
    --choice-text: #f2f6ff;
    --choice-border: #98aac7;
    --choice-selected: #293d5a;
    --choice-focus: #9fc6ff;
  }
}
.document-style-option {
  display: grid;
  grid-template-columns: 24px 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin: 0;
  border: 2px solid var(--choice-border);
  border-radius: 10px;
  color: var(--choice-text);
  background: var(--choice-surface);
  cursor: pointer;
}
.document-style-option__name {
  font: 600 16px/1.5 Arial, sans-serif;
  color: inherit;
  min-width: 0;
  white-space: normal;
}
.document-style-option input[type=radio] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--choice-focus);
}
.document-style-option:has(input:checked) {
  background: var(--choice-selected);
  border-color: var(--choice-focus);
}
.document-style-option:hover {
  border-color: var(--choice-focus);
}
.document-style-option:focus-within {
  outline: 3px solid var(--choice-focus);
  outline-offset: 3px;
}
.document-style-option:has(input:disabled) {
  border-style: dashed;
  cursor: default;
}

.social-style-options .social-style-option {
  grid-template-columns: 20px minmax(0, 1fr);
}

.social-style-option .document-style-option__name {
  grid-column: 2;
}

.editor-view form:has(.social-style-options) .w-panel__heading {
  height: auto;
  white-space: normal;
  overflow: visible;
}
.editor-view form:has(.social-style-options) .w-panel__heading label, .editor-view form:has(.social-style-options) .w-panel__heading [data-panel-heading-text] {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 799px) {
  body:has(.document-style-options) #header-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  body:has(.document-style-options) #header-title > svg.icon {
    position: static;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }
}
.social-style-sample {
  --sample-surface: #fff;
  --sample-text: #1d2c59;
  --sample-border: #8ca6cf;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sample-border);
  border-radius: 10px;
  padding: 4px;
  color: var(--sample-text);
  background: var(--sample-surface);
  font: 600 17px/24px Arial, sans-serif;
}
.social-style-sample__logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}
.social-style-sample__logo {
  flex: 0 0 38px;
  border-radius: 6px;
  background: #fff;
}
.social-style-sample__logo img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.social-style-sample [data-social-name] {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.social-style-sample--circle {
  border-radius: 50%;
}
.social-style-sample--circle .social-style-sample__logo {
  border-radius: 50%;
}
.social-style-sample--portal {
  --sample-surface: #edf4ff;
  padding-right: 14px;
}
.social-style-sample--card {
  padding: 10px 14px;
  border-color: #667da6;
  box-shadow: 0 3px 10px rgba(23, 39, 78, 0.0509803922);
}
.social-style-sample--label {
  padding-right: 14px;
}

.social-style-option:has(input:disabled) .social-style-sample {
  border-style: dashed;
}

:is(.w-theme-dark, [data-theme=dark]) .social-style-sample {
  --sample-surface: #243b5a;
  --sample-text: #f2f6ff;
  --sample-border: #a8c6ff;
}

@media (prefers-color-scheme: dark) {
  .w-theme-system .social-style-sample {
    --sample-surface: #243b5a;
    --sample-text: #f2f6ff;
    --sample-border: #a8c6ff;
  }
}
@media (max-width: 650px) {
  .document-style-options {
    grid-template-columns: minmax(0, 1fr);
  }
  .document-style-option {
    gap: 8px;
    padding: 12px;
    grid-template-columns: 20px 90px minmax(0, 1fr);
  }
}
@container (max-width: 330px) {
  .document-style-option {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  .document-style-option > .document-mark {
    justify-self: start;
  }
  .document-style-option .document-style-option__name {
    grid-column: 1/-1;
  }
}
.portal-social-links {
  --social-surface: #edf4ff;
  --social-on-surface: #1d2c59;
  --social-card-surface: #fff;
  --social-border: #8ca6cf;
  --social-surface-hover: #1d2c59;
  --social-on-surface-hover: #fff;
  --social-border-hover: #1d2c59;
  --social-focus: #0056c9;
  --social-hint-surface: #fff;
  --social-hint-text: #17274e;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-block: 16px;
  padding: 0;
}
.portal-social-links--cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  align-items: stretch;
}
.portal-social-links--cards > .portal-social-link {
  width: 100%;
}
.portal-social-links--cards > .portal-social-link:is(.portal-social-link--icon, .portal-social-link--circle) {
  width: 48px;
  justify-self: start;
  align-self: start;
}

:is([data-theme=dark], .w-theme-dark) .portal-social-links {
  --social-surface: #243b5a;
  --social-on-surface: #f2f6ff;
  --social-card-surface: #1d293c;
  --social-border: #98b5de;
  --social-surface-hover: #e3eeff;
  --social-on-surface-hover: #17274e;
  --social-border-hover: #e3eeff;
  --social-focus: #a8c6ff;
}

@media (prefers-color-scheme: dark) {
  .w-theme-system .portal-social-links {
    --social-surface: #243b5a;
    --social-on-surface: #f2f6ff;
    --social-card-surface: #1d293c;
    --social-border: #98b5de;
    --social-surface-hover: #e3eeff;
    --social-on-surface-hover: #17274e;
    --social-border-hover: #e3eeff;
    --social-focus: #a8c6ff;
  }
}
.portal-footer .portal-social-links {
  --social-surface: #17274e;
  --social-on-surface: #fff;
  --social-card-surface: #17274e;
  --social-border: #a8c6ff;
  --social-surface-hover: #fff;
  --social-on-surface-hover: #17274e;
  --social-border-hover: #fff;
  --social-focus: #fff;
  margin-block: 20px;
}

body.site-shell .portal-social-link {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 48px;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--social-border);
  border-radius: 10px;
  color: var(--social-on-surface);
  background: var(--social-surface);
  text-decoration: none;
  font: 600 17px/24px Arial, sans-serif;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
body.site-shell .portal-social-link__logo {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #fff;
}
body.site-shell .portal-social-link__logo img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
body.site-shell .portal-social-link__name {
  min-width: 0;
  color: inherit;
  font: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.site-shell .portal-social-link__hint {
  display: none;
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 6px);
  inset-inline-start: 0;
  width: max-content;
  max-width: min(280px, 100%);
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--social-hint-text);
  border-radius: 8px;
  color: var(--social-hint-text);
  background: var(--social-hint-surface);
  font: 400 16px/24px Arial, sans-serif;
  overflow-wrap: break-word;
  pointer-events: none;
}
body.site-shell .portal-social-link--portal, body.site-shell .portal-social-link--label {
  padding-right: 14px;
}
body.site-shell .portal-social-link--card {
  padding: 10px 14px;
  background: var(--social-card-surface);
  box-shadow: 0 3px 10px rgba(23, 39, 78, 0.0509803922);
}
body.site-shell .portal-social-link--icon .portal-social-link__name, body.site-shell .portal-social-link--circle .portal-social-link__name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.site-shell .portal-social-link--circle, body.site-shell .portal-social-link--circle .portal-social-link__logo {
  border-radius: 50%;
}
body.site-shell .portal-social-link:is(:hover, :active) {
  color: var(--social-on-surface-hover);
  background: var(--social-surface-hover);
  border-color: var(--social-border-hover);
  text-decoration: none;
}
body.site-shell .portal-social-link:active {
  box-shadow: inset 0 0 0 1px currentColor;
}
body.site-shell .portal-social-link:focus-visible {
  outline: 3px solid var(--social-focus);
  outline-offset: 3px;
  text-decoration: none;
}
body.site-shell .portal-social-link[aria-disabled=true] {
  border-style: dashed;
  cursor: default;
  color: var(--social-on-surface);
  background: var(--social-surface);
}
body.site-shell .portal-social-link:is(:hover, :focus-visible) .portal-social-link__hint {
  display: block;
}
