:root {
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-red-50: #FEF2F5;
  --color-red-100: #FDE6EC;
  --color-red-200: #FACCD8;
  --color-red-300: #F699B1;
  --color-red-400: #F1668B;
  --color-red-500: #ED3364;
  --color-red-600: #EB1A51;
  --color-red-700: #E8003D;
  --color-red-800: #BA0031;
  --color-red-900: #8B0025;
  --color-red-950: #5D0018;
  --color-white: #fff;
  --color-black: #000;
  --color-primary-700: var(--color-red-700);
  --color-primary-800: var(--color-red-800);
  --text-generic-error: var(--color-red-700);
  --border-generic-error: var(--color-red-700);
  --main-font-stack: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;
  /* FONT SIZES 
  /* -------------------------------------------------- */
  --text-xs: 1.2rem;
  --text-sm: 1.4rem;
  --text-base: 1.6rem;
  --text-lg: 1.8rem;
  --text-xl: 2rem;
  --text-2xl: 2.4rem;
  --text-3xl: 3rem;
  --text-4xl: 3.6rem;
  --text-5xl: 4.8rem;
  --text-6xl: 6rem;
  --text-7xl: 7.2rem;
  --text-8xl: 9.6rem;
  --text-9xl: 12.8rem;
  /* Font weights
  /* -------------------------------------------------- */
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  /* SPACINGS
  /* -------------------------------------------------- */
  --spacing-4: 0.4rem;
  --spacing-6: 0.6rem;
  --spacing-8: 0.8rem;
  --spacing-12: 1.2rem;
  --spacing-16: 1.6rem;
  --spacing-20: 2rem;
  --spacing-24: 2.4rem;
  --spacing-32: 3.2rem;
  --spacing-40: 4rem;
  --spacing-48: 4.8rem;
  --spacing-56: 5.6rem;
  --spacing-64: 6.4rem;
  --spacing-72: 7.2rem;
  --spacing-80: 8rem;
  --spacing-96: 9.6rem;
  /* Border-radius */
  /* -------------------------------------------------- */
  --rounded: 0.4rem;
  --rounded-4: 0.4rem;
  --rounded-6: 0.6rem;
  --rounded-8: 0.8rem;
  --rounded-12: 1.2rem;
  --rounded-16: 1.6rem;
  --rounded-24: 2.4rem;
  --rounded-48: 4.8rem;
  --rounded-full: 9999px;
}

:root {
  --theme-tile-folder-icon-background-default: var(--theme-button-primary-background-default);
}

/* stylelint-disable */
/* ilionx Opinioted Reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  line-height: 1.15;
  /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%;
  /* 2. Prevent adjustments of font size after orientation changes in iOS. */
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
}

/*
Grouping content
================
*/
/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/
hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
}

/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/
/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/
:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/
:-moz-ui-invalid {
  box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

/* Remove default margin in favour of better control in authored CSS */
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

/* Remove list styles on ul, ol elements */
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  text-wrap: balance;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Improve line wrapping */
p {
  text-wrap: pretty;
}

/* Make images easier to work with */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 62.5%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Default font-size: 16px (1.6rem); */
body {
  position: relative;
  background: var(--color-white);
  color: var(--theme-text-generic-default, var(--main-text-color));
  font-family: var(--main-font-stack);
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  font-weight: var(--font-regular);
  line-height: 1.5;
}

main {
  overflow-x: clip;
}

:is(a, button, select, input, textarea) {
  --outline-size: max(2px, 0.08em);
  --outline-style: solid;
  --outline-color: currentcolor;
}

:is(a, button, input, select, textarea, summary):focus-visible {
  outline: var(--outline-size) var(--outline-style) var(--outline-color);
  outline-offset: var(--outline-offset, var(--outline-size));
  transition: outline-offset 0.2s ease-in-out;
}

.page-container {
  display: grid;
  grid-template-rows: min-content 1fr;
  block-size: 100vh;
  background-color: var(--theme-body-background-default, var(--color-white));
  overflow: clip;
}
.page-container--login {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  place-items: center;
}

.main-container {
  display: flex;
  grid-column: 1/-1;
  block-size: 100%;
  inline-size: 100%;
  overflow: auto;
}
.main-container:not(:has(.login-card)) {
  overflow: hidden;
}

.dashboard-container {
  flex: 1;
}
.dashboard-container iframe {
  border: 0;
}

.login-company-logo {
  position: absolute;
  inset-block-end: var(--spacing-32);
  inset-inline-start: var(--spacing-32);
  padding-block: var(--spacing-16);
  padding-inline: var(--spacing-24);
  border-radius: var(--rounded-full);
  background-color: var(--color-white);
}
.login-company-logo img {
  max-inline-size: 20rem;
}

.login-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  inline-size: 38.4rem;
  margin: auto;
  padding: var(--spacing-32);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--rounded-4);
  background: var(--color-white);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.login-card__logo-wrapper {
  display: grid;
  margin-block-end: var(--spacing-16);
  padding-block-end: var(--spacing-16);
  border-block-end: 1px solid var(--color-gray-200);
  place-content: center;
}
.login-card__logo-wrapper img {
  max-inline-size: 20rem;
}

.login-form {
  display: flex;
  gap: var(--spacing-16);
  flex-direction: column;
}
.login-form fieldset {
  display: flex;
  gap: var(--spacing-16);
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
}
.login-form__link {
  align-self: center;
  color: inherit;
  text-decoration: underline;
}

.form-field {
  display: flex;
  gap: var(--spacing-4);
  flex-direction: column;
}

.form-control {
  padding: var(--spacing-16);
  border: 1px solid var(--color-gray-400);
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
}
.form-control[aria-invalid=true], .form-control:user-invalid {
  border-color: var(--border-generic-error);
}

.field-label {
  font-weight: var(--font-bold);
}

.form-errors {
  color: var(--text-generic-error);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin: 0;
  font-weight: var(--font-normal);
  line-height: 1.2;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: 1.16;
}

h2,
.h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.38;
}

h3,
.h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.3;
}

h4,
.h4 {
  font-size: var(--text-default);
  font-weight: var(--font-semibold);
  line-height: 1.5;
}

.btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--spacing-8);
  padding-inline: var(--spacing-16);
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
  font-weight: var(--font-bold);
  text-decoration: none;
  cursor: pointer;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn--primary {
  background-color: var(--theme-button-primary-background-default, var(--color-primary-700));
  color: var(--theme-button-primary-color-default, var(--color-white));
  transition: scale 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--primary:focus-visible {
  --outline-color: var(--theme-button-primary-background-default, var(--color-primary-700));
}
.btn--primary:active {
  background-color: var(--theme-button-primary-background-hover, var(--color-primary-800));
  scale: 0.97;
}

.header {
  display: flex;
  z-index: 1;
  grid-column: 1/-1;
  flex-wrap: wrap;
  border-block-end: 1px solid var(--color-gray-200);
  background-color: var(--color-white);
  isolation: isolate;
}
.header__top-border {
  block-size: 4px;
  inline-size: 100%;
  color: var(--theme-header-border-top-color-default, var(--color-primary-700));
}
.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 250px;
  padding: var(--spacing-16);
  border-inline-end: 1px solid var(--color-gray-200);
}
.header__logo img {
  display: block;
  block-size: auto;
  inline-size: 11.2rem;
}
.header__title {
  font-size: var(--text-2xl);
}
.header__center {
  display: flex;
  gap: var(--spacing-4);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-inline-start: var(--spacing-32);
}
.header__right {
  display: flex;
  gap: var(--spacing-16);
  margin-inline-start: auto;
}
.header__filters {
  display: flex;
  gap: var(--spacing-16);
  align-items: center;
}
.header__filters fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.header .account-menu {
  display: flex;
  position: relative;
  align-items: center;
  padding-inline: var(--spacing-16);
  border-inline-start: 1px solid var(--color-gray-200);
}
.header .account-menu form {
  display: flex;
  flex-direction: column;
}
.header .account-menu__trigger {
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
.header .account-menu__trigger img {
  block-size: 5.6rem;
  inline-size: 5.6rem;
  border-radius: var(--rounded-full);
  -o-object-fit: cover;
     object-fit: cover;
}
.header .account-menu__dropdown {
  display: none;
  position: absolute;
  inset-block-start: calc(100% - var(--spacing-8));
  inset-inline-end: 0;
  min-inline-size: 24rem;
  padding: var(--spacing-16);
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
  background-color: var(--color-white);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.header .account-menu__dropdown a {
  color: var(--theme-color-link-default, var(--color-primary-700));
}
.header .account-menu__user {
  font-weight: var(--font-semibold);
}
.header .account-menu__logout {
  margin-block-start: var(--spacing-16);
  padding-block-start: var(--spacing-16);
  border-block-start: 1px solid var(--color-gray-200);
}
.header .account-menu__logout button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.header .account-menu:has([aria-expanded=true]) .account-menu__dropdown {
  display: block;
}
.header__modal-trigger {
  display: flex;
  gap: var(--spacing-4);
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--theme-color-link-default, var(--color-primary-700));
  text-decoration: underline;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.select-dropdown {
  padding-block: var(--spacing-4);
  padding-inline: var(--spacing-12) var(--spacing-40);
  border: 1px solid var(--color-gray-400);
  border-radius: var(--rounded);
  background: transparent;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5em 1.5em;
  line-height: 2.4rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-print-color-adjust: exact;
}

.sidepanel {
  display: flex;
  flex-direction: column;
  inline-size: 8.333%;
  min-inline-size: 25rem;
  padding-block: var(--spacing-40);
  padding-inline: var(--spacing-12);
  border-inline-end: 1px solid var(--color-gray-200);
  background-color: var(--color-white);
  overflow-y: auto;
}
.sidepanel__list {
  display: flex;
  gap: var(--spacing-24);
  flex-direction: column;
}
.sidepanel__list-item {
  display: grid;
  gap: var(--spacing-8);
  grid-template-columns: 1.8rem 1fr;
  align-items: center;
}
.sidepanel__list-item .icon {
  inline-size: 1.8rem;
  aspect-ratio: 1/1;
}
.sidepanel__list-link {
  grid-column: 2;
  color: inherit;
  text-decoration: none;
}
.sidepanel__list-link:hover, .sidepanel__list-link:focus-visible, .sidepanel__list-link[aria-current=page] {
  color: var(--theme-sidebar-link-color-active, var(--color-primary-700));
}
.sidepanel__list-link[aria-current=page] {
  font-weight: var(--font-semibold);
}
.sidepanel__sublist {
  display: flex;
  grid-column: 2;
  gap: var(--spacing-4);
  flex-direction: column;
  margin-inline-start: var(--spacing-4);
}
.sidepanel__sublist-item {
  display: flex;
  align-items: center;
}
.sidepanel__sublist-item::before {
  display: inline-block;
  block-size: 2px;
  inline-size: 12px;
  margin-inline-end: var(--spacing-6);
  background-color: var(--color-gray-400);
  content: "";
}

.documents-list__title {
  margin-block-end: var(--spacing-4);
  font-size: var(--text-xl);
}
.documents-list ul {
  display: flex;
  gap: var(--spacing-4);
  flex-direction: column;
}
.documents-list a {
  display: flex;
  align-items: center;
  color: var(--theme-color-link-default, var(--color-primary-700));
}
.documents-list__icon {
  block-size: 2rem;
  inline-size: 2rem;
}

.tile {
  display: flex;
  position: relative;
  gap: var(--spacing-12);
  min-block-size: 25rem;
  padding: var(--spacing-32);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
  background-color: var(--color-white);
}
.tile--double {
  grid-column: span 2;
}
.tile__body {
  display: flex;
  gap: var(--spacing-16);
  flex-direction: column;
}
.tile__content {
  display: flex;
  gap: var(--spacing-8);
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.tile__folder-icon {
  display: grid;
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  block-size: 3.2rem;
  inline-size: 3.2rem;
  border-bottom-left-radius: var(--rounded-12);
  place-items: center;
  background-color: var(--theme-tile-folder-icon-background-default, var(--color-primary-700));
}
.tile__icon-wrapper {
  display: grid;
  align-self: flex-start;
  block-size: 6.4rem;
  inline-size: 6.4rem;
  aspect-ratio: 1/1;
  border-radius: var(--rounded-full);
  background-color: var(--theme-tile-icon-background-default, var(--color-gray-200));
  place-items: center;
}
.tile__icon-wrapper img {
  inline-size: 3.2rem;
  aspect-ratio: 1/1;
}
.tile__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}
.tile .btn--primary {
  margin-block-start: auto;
}
.tile__preview {
  display: flex;
}
.tile__preview iframe {
  block-size: 100%;
  inline-size: 100%;
}
.tile:has(.tile__preview) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile-grid {
  display: grid;
  grid-auto-rows: min-content;
  gap: var(--spacing-32);
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  flex: 1;
  padding: var(--spacing-32);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: auto;
}

.modal {
  min-inline-size: min(90vw, 80rem);
  padding: var(--spacing-24);
  border: 0;
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
}
.modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
.modal__header {
  display: flex;
  justify-content: space-between;
}
.modal__title {
  order: -1;
}
.modal__close {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  margin-inline-start: auto;
}

.search-tile {
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  padding: var(--spacing-32);
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
  background-color: var(--theme-search-tile-background-default, var(--color-gray-200));
  color: var(--theme-search-tile-color-default, var(--color-black));
}
.search-tile__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
}
.search-tile__form,
.search-tile fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.search-tile__form {
  margin-block-start: var(--spacing-32);
}
.search-tile fieldset {
  display: flex;
  gap: var(--spacing-8);
}
.search-tile__input {
  flex: 1;
  padding: var(--spacing-16);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--theme-border-radius-generic-default, var(--rounded-4));
  background-color: var(--color-white);
  font-size: var(--text-base);
}
.search-tile__quick-search {
  margin-block-start: var(--spacing-16);
}
.search-tile .qna-question {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.sr-only {
  position: absolute !important;
  block-size: 1px !important;
  inline-size: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}