@charset "UTF-8";
/**
 * Modern — design tokens for HumHub
 * ---------------------------------------------------------------
 * Brand palette:
 *   - Azul Tutu:             #05001a
 *   - Azul Taxa Zero:        #3d5aff
 *   - Verdinho do Tutu:      #d0ff00 (gradiente suave)
 *   - Azul Zero Dívidas:     #3248c7 (fundo tema escuro)
 *   - Branco Paz de Espírito:#fffaf5 (fundo tema claro)
 *
 * @see protected/humhub/resources/scss/variables.scss for the full list
 *      of variables that can be overridden here.
 */
/**
 * Define or overwrite your theme variables here.
 *
 * Use the `baseTheme` variable to define the parent theme. E.g.:
 * $baseTheme: "HumHub";
 *
 * Check for @humhub/static/scss/variables.scss file for all available variables.
 *
 * You can also access your variables within your view files by calling Yii::$app->view->theme->variable('myVariable');
 *
 * You can disable the import of HumHub theme components by using variables of the format @prev-{component}.
 * This will prevent comment.scss component from being imported.
 * E.g.:
 * @prev-comment: true;
 *
**/
/*!
 * Bootstrap  v5.3.8 (https://getbootstrap.com/)
 * Copyright 2011-2025 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
:root,
[data-bs-theme=light] {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #3d5aff;
  --bs-secondary: #3248c7;
  --bs-success: #16a34a;
  --bs-info: #3248c7;
  --bs-warning: #d97706;
  --bs-danger: #dc2626;
  --bs-light: #fffaf5;
  --bs-dark: #05001a;
  --bs-accent: #3d5aff;
  --bs-primary-rgb: 61, 90, 255;
  --bs-secondary-rgb: 50, 72, 199;
  --bs-success-rgb: 22, 163, 74;
  --bs-info-rgb: 50, 72, 199;
  --bs-warning-rgb: 217, 119, 6;
  --bs-danger-rgb: 220, 38, 38;
  --bs-light-rgb: 255, 250, 245;
  --bs-dark-rgb: 5, 0, 26;
  --bs-accent-rgb: 61, 90, 255;
  --bs-primary-text-emphasis: #182466;
  --bs-secondary-text-emphasis: #141d50;
  --bs-success-text-emphasis: #09411e;
  --bs-info-text-emphasis: #141d50;
  --bs-warning-text-emphasis: #573002;
  --bs-danger-text-emphasis: #580f0f;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-accent-text-emphasis: #182466;
  --bs-primary-bg-subtle: #d8deff;
  --bs-secondary-bg-subtle: #d6daf4;
  --bs-success-bg-subtle: #d0eddb;
  --bs-info-bg-subtle: #d6daf4;
  --bs-warning-bg-subtle: #f7e4cd;
  --bs-danger-bg-subtle: #f8d4d4;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-accent-bg-subtle: #d8deff;
  --bs-primary-border-subtle: #b1bdff;
  --bs-secondary-border-subtle: #adb6e9;
  --bs-success-border-subtle: #a2dab7;
  --bs-info-border-subtle: #adb6e9;
  --bs-warning-border-subtle: #f0c99b;
  --bs-danger-border-subtle: #f1a8a8;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-accent-border-subtle: #b1bdff;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-root-font-size: 15px;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-body-color: #241e3d;
  --bs-body-color-rgb: 36, 30, 61;
  --bs-body-bg: #a9bffc;
  --bs-body-bg-rgb: 169, 191, 252;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(36, 30, 61, 0.75);
  --bs-secondary-color-rgb: 36, 30, 61;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(36, 30, 61, 0.5);
  --bs-tertiary-color-rgb: 36, 30, 61;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #3d5aff;
  --bs-link-color-rgb: 61, 90, 255;
  --bs-link-decoration: none;
  --bs-link-hover-color: #3d5aff;
  --bs-link-hover-color-rgb: 61, 90, 255;
  --bs-link-hover-decoration: none;
  --bs-code-color: #3248c7;
  --bs-highlight-color: #241e3d;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: 0.75rem;
  --bs-border-radius-lg: 1.375rem;
  --bs-border-radius-xl: 1.75rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 24px 60px -30px rgba(5, 0, 26, 0.24);
  --bs-box-shadow-sm: 0 2px 8px rgba(5, 0, 26, 0.05);
  --bs-box-shadow-lg: 0 40px 90px -42px rgba(5, 0, 26, 0.34);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.2rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(61, 90, 255, 0.28);
  --bs-form-valid-color: #16a34a;
  --bs-form-valid-border-color: #16a34a;
  --bs-form-invalid-color: #dc2626;
  --bs-form-invalid-border-color: #dc2626;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  font-size: var(--bs-root-font-size);
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: 0.25;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 800;
  line-height: 1.22;
  color: var(--bs-heading-color);
}

h1, .h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2.5rem;
  }
}

h2, .h2 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 2rem;
  }
}

h3, .h3 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.75rem;
  }
}

h4, .h4 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h4, .h4 {
    font-size: 1.5rem;
  }
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul {
  padding-left: 2rem;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small, .small {
  font-size: 0.875em;
}

mark, .mark {
  padding: 0.1875em;
  color: var(--bs-highlight-color);
  background-color: var(--bs-highlight-bg);
}

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a {
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  text-decoration: none;
}
a:hover {
  --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
  text-decoration: none;
}

a:not([href]):not([class]), a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

pre,
code,
kbd,
samp {
  font-family: var(--bs-font-monospace);
  font-size: 1em;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: 0.875em;
}
pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

code {
  font-size: 0.875em;
  color: var(--bs-code-color);
  word-wrap: break-word;
}
a > code {
  color: inherit;
}

kbd {
  padding: 0.1875rem 0.375rem;
  font-size: 0.875em;
  color: var(--bs-body-bg);
  background-color: var(--bs-body-color);
  border-radius: 0.75rem;
}
kbd kbd {
  padding: 0;
  font-size: 1em;
}

figure {
  margin: 0 0 1rem;
}

img,
svg {
  vertical-align: middle;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--bs-secondary-color);
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

[role=button] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}
select:disabled {
  opacity: 1;
}

[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
  display: none !important;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}
button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

textarea {
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  line-height: inherit;
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  legend {
    font-size: 1.5rem;
  }
}
legend + * {
  clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type=search]::-webkit-search-cancel-button {
  cursor: pointer;
  filter: grayscale(1);
}

/* rtl:raw:
[type="tel"],
[type="url"],
[type="email"],
[type="number"] {
  direction: ltr;
}
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::file-selector-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

iframe {
  border: 0;
}

summary {
  display: list-item;
  cursor: pointer;
}

progress {
  vertical-align: baseline;
}

[hidden] {
  display: none !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.display-1 {
  font-weight: 300;
  line-height: 1.22;
  font-size: calc(1.625rem + 4.5vw);
}
@media (min-width: 1200px) {
  .display-1 {
    font-size: 5rem;
  }
}

.display-2 {
  font-weight: 300;
  line-height: 1.22;
  font-size: calc(1.575rem + 3.9vw);
}
@media (min-width: 1200px) {
  .display-2 {
    font-size: 4.5rem;
  }
}

.display-3 {
  font-weight: 300;
  line-height: 1.22;
  font-size: calc(1.525rem + 3.3vw);
}
@media (min-width: 1200px) {
  .display-3 {
    font-size: 4rem;
  }
}

.display-4 {
  font-weight: 300;
  line-height: 1.22;
  font-size: calc(1.475rem + 2.7vw);
}
@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.5rem;
  }
}

.display-5 {
  font-weight: 300;
  line-height: 1.22;
  font-size: calc(1.425rem + 2.1vw);
}
@media (min-width: 1200px) {
  .display-5 {
    font-size: 3rem;
  }
}

.display-6 {
  font-weight: 300;
  line-height: 1.22;
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  .display-6 {
    font-size: 2.5rem;
  }
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
}
.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.initialism {
  font-size: 0.875em;
  text-transform: uppercase;
}

.blockquote {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.blockquote > :last-child {
  margin-bottom: 0;
}

.blockquote-footer {
  margin-top: -1rem;
  margin-bottom: 1rem;
  font-size: 0.875em;
  color: #6c757d;
}
.blockquote-footer::before {
  content: "— ";
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-thumbnail {
  padding: 0.25rem;
  background-color: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm);
  max-width: 100%;
  height: auto;
}

.figure {
  display: inline-block;
}

.figure-img {
  margin-bottom: 0.5rem;
  line-height: 1;
}

.figure-caption {
  font-size: 0.875em;
  color: var(--bs-secondary-color);
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  --bs-gutter-x: 32px;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-sm, .container {
    max-width: 768px;
  }
}
@media (min-width: 768px) {
  .container-md, .container-sm, .container {
    max-width: 840px;
  }
}
@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 1020px;
  }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1200px;
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
}
:root {
  --bs-breakpoint-xs: 0;
  --bs-breakpoint-sm: 576px;
  --bs-breakpoint-md: 768px;
  --bs-breakpoint-lg: 992px;
  --bs-breakpoint-xl: 1200px;
  --bs-breakpoint-xxl: 1400px;
}

.row {
  --bs-gutter-x: 32px;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col {
  flex: 1 0 0;
}

.row-cols-auto > * {
  flex: 0 0 auto;
  width: auto;
}

.row-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

.row-cols-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.row-cols-3 > * {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.row-cols-4 > * {
  flex: 0 0 auto;
  width: 25%;
}

.row-cols-5 > * {
  flex: 0 0 auto;
  width: 20%;
}

.row-cols-6 > * {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-5 {
  flex: 0 0 auto;
  width: 41.66666667%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-7 {
  flex: 0 0 auto;
  width: 58.33333333%;
}

.col-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}

.col-11 {
  flex: 0 0 auto;
  width: 91.66666667%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.offset-1 {
  margin-left: 8.33333333%;
}

.offset-2 {
  margin-left: 16.66666667%;
}

.offset-3 {
  margin-left: 25%;
}

.offset-4 {
  margin-left: 33.33333333%;
}

.offset-5 {
  margin-left: 41.66666667%;
}

.offset-6 {
  margin-left: 50%;
}

.offset-7 {
  margin-left: 58.33333333%;
}

.offset-8 {
  margin-left: 66.66666667%;
}

.offset-9 {
  margin-left: 75%;
}

.offset-10 {
  margin-left: 83.33333333%;
}

.offset-11 {
  margin-left: 91.66666667%;
}

.g-0,
.gx-0 {
  --bs-gutter-x: 0;
}

.g-0,
.gy-0 {
  --bs-gutter-y: 0;
}

.g-1,
.gx-1 {
  --bs-gutter-x: 0.25rem;
}

.g-1,
.gy-1 {
  --bs-gutter-y: 0.25rem;
}

.g-2,
.gx-2 {
  --bs-gutter-x: 0.5rem;
}

.g-2,
.gy-2 {
  --bs-gutter-y: 0.5rem;
}

.g-3,
.gx-3 {
  --bs-gutter-x: 1rem;
}

.g-3,
.gy-3 {
  --bs-gutter-y: 1rem;
}

.g-4,
.gx-4 {
  --bs-gutter-x: 1.5rem;
}

.g-4,
.gy-4 {
  --bs-gutter-y: 1.5rem;
}

.g-5,
.gx-5 {
  --bs-gutter-x: 3rem;
}

.g-5,
.gy-5 {
  --bs-gutter-y: 3rem;
}

@media (min-width: 576px) {
  .col-sm {
    flex: 1 0 0;
  }
  .row-cols-sm-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-sm-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-sm-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-sm-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-sm-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-sm-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-sm-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-sm-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-sm-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-sm-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-sm-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-sm-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-sm-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-sm-0 {
    margin-left: 0;
  }
  .offset-sm-1 {
    margin-left: 8.33333333%;
  }
  .offset-sm-2 {
    margin-left: 16.66666667%;
  }
  .offset-sm-3 {
    margin-left: 25%;
  }
  .offset-sm-4 {
    margin-left: 33.33333333%;
  }
  .offset-sm-5 {
    margin-left: 41.66666667%;
  }
  .offset-sm-6 {
    margin-left: 50%;
  }
  .offset-sm-7 {
    margin-left: 58.33333333%;
  }
  .offset-sm-8 {
    margin-left: 66.66666667%;
  }
  .offset-sm-9 {
    margin-left: 75%;
  }
  .offset-sm-10 {
    margin-left: 83.33333333%;
  }
  .offset-sm-11 {
    margin-left: 91.66666667%;
  }
  .g-sm-0,
  .gx-sm-0 {
    --bs-gutter-x: 0;
  }
  .g-sm-0,
  .gy-sm-0 {
    --bs-gutter-y: 0;
  }
  .g-sm-1,
  .gx-sm-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-sm-1,
  .gy-sm-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-sm-2,
  .gx-sm-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-sm-2,
  .gy-sm-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-sm-3,
  .gx-sm-3 {
    --bs-gutter-x: 1rem;
  }
  .g-sm-3,
  .gy-sm-3 {
    --bs-gutter-y: 1rem;
  }
  .g-sm-4,
  .gx-sm-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-sm-4,
  .gy-sm-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-sm-5,
  .gx-sm-5 {
    --bs-gutter-x: 3rem;
  }
  .g-sm-5,
  .gy-sm-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 768px) {
  .col-md {
    flex: 1 0 0;
  }
  .row-cols-md-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-md-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-md-0 {
    margin-left: 0;
  }
  .offset-md-1 {
    margin-left: 8.33333333%;
  }
  .offset-md-2 {
    margin-left: 16.66666667%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.33333333%;
  }
  .offset-md-5 {
    margin-left: 41.66666667%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.33333333%;
  }
  .offset-md-8 {
    margin-left: 66.66666667%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.33333333%;
  }
  .offset-md-11 {
    margin-left: 91.66666667%;
  }
  .g-md-0,
  .gx-md-0 {
    --bs-gutter-x: 0;
  }
  .g-md-0,
  .gy-md-0 {
    --bs-gutter-y: 0;
  }
  .g-md-1,
  .gx-md-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-md-1,
  .gy-md-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-md-2,
  .gx-md-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-md-2,
  .gy-md-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-md-3,
  .gx-md-3 {
    --bs-gutter-x: 1rem;
  }
  .g-md-3,
  .gy-md-3 {
    --bs-gutter-y: 1rem;
  }
  .g-md-4,
  .gx-md-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-md-4,
  .gy-md-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-md-5,
  .gx-md-5 {
    --bs-gutter-x: 3rem;
  }
  .g-md-5,
  .gy-md-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 992px) {
  .col-lg {
    flex: 1 0 0;
  }
  .row-cols-lg-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-lg-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-lg-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-lg-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-lg-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-lg-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
  .offset-lg-1 {
    margin-left: 8.33333333%;
  }
  .offset-lg-2 {
    margin-left: 16.66666667%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.33333333%;
  }
  .offset-lg-5 {
    margin-left: 41.66666667%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.33333333%;
  }
  .offset-lg-8 {
    margin-left: 66.66666667%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.33333333%;
  }
  .offset-lg-11 {
    margin-left: 91.66666667%;
  }
  .g-lg-0,
  .gx-lg-0 {
    --bs-gutter-x: 0;
  }
  .g-lg-0,
  .gy-lg-0 {
    --bs-gutter-y: 0;
  }
  .g-lg-1,
  .gx-lg-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-lg-1,
  .gy-lg-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-lg-2,
  .gx-lg-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-lg-2,
  .gy-lg-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-lg-3,
  .gx-lg-3 {
    --bs-gutter-x: 1rem;
  }
  .g-lg-3,
  .gy-lg-3 {
    --bs-gutter-y: 1rem;
  }
  .g-lg-4,
  .gx-lg-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-lg-4,
  .gy-lg-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-lg-5,
  .gx-lg-5 {
    --bs-gutter-x: 3rem;
  }
  .g-lg-5,
  .gy-lg-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 1200px) {
  .col-xl {
    flex: 1 0 0;
  }
  .row-cols-xl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-xl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-xl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-xl-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-xl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-xl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-xl-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-xl-0 {
    margin-left: 0;
  }
  .offset-xl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xl-3 {
    margin-left: 25%;
  }
  .offset-xl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xl-6 {
    margin-left: 50%;
  }
  .offset-xl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xl-9 {
    margin-left: 75%;
  }
  .offset-xl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xl-11 {
    margin-left: 91.66666667%;
  }
  .g-xl-0,
  .gx-xl-0 {
    --bs-gutter-x: 0;
  }
  .g-xl-0,
  .gy-xl-0 {
    --bs-gutter-y: 0;
  }
  .g-xl-1,
  .gx-xl-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-xl-1,
  .gy-xl-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-xl-2,
  .gx-xl-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-xl-2,
  .gy-xl-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-xl-3,
  .gx-xl-3 {
    --bs-gutter-x: 1rem;
  }
  .g-xl-3,
  .gy-xl-3 {
    --bs-gutter-y: 1rem;
  }
  .g-xl-4,
  .gx-xl-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-xl-4,
  .gy-xl-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-xl-5,
  .gx-xl-5 {
    --bs-gutter-x: 3rem;
  }
  .g-xl-5,
  .gy-xl-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 1400px) {
  .col-xxl {
    flex: 1 0 0;
  }
  .row-cols-xxl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-xxl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-xxl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-xxl-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-xxl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-xxl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-xxl-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xxl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xxl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xxl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xxl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xxl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xxl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xxl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xxl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xxl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-xxl-0 {
    margin-left: 0;
  }
  .offset-xxl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xxl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xxl-3 {
    margin-left: 25%;
  }
  .offset-xxl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xxl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xxl-6 {
    margin-left: 50%;
  }
  .offset-xxl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xxl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xxl-9 {
    margin-left: 75%;
  }
  .offset-xxl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xxl-11 {
    margin-left: 91.66666667%;
  }
  .g-xxl-0,
  .gx-xxl-0 {
    --bs-gutter-x: 0;
  }
  .g-xxl-0,
  .gy-xxl-0 {
    --bs-gutter-y: 0;
  }
  .g-xxl-1,
  .gx-xxl-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-xxl-1,
  .gy-xxl-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-xxl-2,
  .gx-xxl-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-xxl-2,
  .gy-xxl-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-xxl-3,
  .gx-xxl-3 {
    --bs-gutter-x: 1rem;
  }
  .g-xxl-3,
  .gy-xxl-3 {
    --bs-gutter-y: 1rem;
  }
  .g-xxl-4,
  .gx-xxl-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-xxl-4,
  .gy-xxl-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-xxl-5,
  .gx-xxl-5 {
    --bs-gutter-x: 3rem;
  }
  .g-xxl-5,
  .gy-xxl-5 {
    --bs-gutter-y: 3rem;
  }
}
.table {
  --bs-table-color-type: initial;
  --bs-table-bg-type: initial;
  --bs-table-color-state: initial;
  --bs-table-bg-state: initial;
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: var(--hh-background-color-main);
  --bs-table-border-color: #f0eae2;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: #fffaf5;
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
  border-color: var(--bs-table-border-color);
}
.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--bs-border-width);
  box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}
.table > tbody {
  vertical-align: inherit;
}
.table > thead {
  vertical-align: bottom;
}

.table-group-divider {
  border-top: calc(var(--bs-border-width) * 2) solid currentcolor;
}

.caption-top {
  caption-side: top;
}

.table-sm > :not(caption) > * > * {
  padding: 0.25rem 0.25rem;
}

.table-bordered > :not(caption) > * {
  border-width: var(--bs-border-width) 0;
}
.table-bordered > :not(caption) > * > * {
  border-width: 0 var(--bs-border-width);
}

.table-borderless > :not(caption) > * > * {
  border-bottom-width: 0;
}
.table-borderless > :not(:first-child) {
  border-top-width: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

.table-striped-columns > :not(caption) > tr > :nth-child(even) {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

.table-active {
  --bs-table-color-state: var(--bs-table-active-color);
  --bs-table-bg-state: var(--bs-table-active-bg);
}

.table-hover > tbody > tr:hover > * {
  --bs-table-color-state: var(--bs-table-hover-color);
  --bs-table-bg-state: var(--bs-table-hover-bg);
}

.table-primary {
  --bs-table-color: #000;
  --bs-table-bg: #d8deff;
  --bs-table-border-color: #adb2cc;
  --bs-table-striped-bg: #cdd3f2;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #c2c8e6;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #c8cdec;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-secondary {
  --bs-table-color: #000;
  --bs-table-bg: #d6daf4;
  --bs-table-border-color: #abaec3;
  --bs-table-striped-bg: #cbcfe8;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #c1c4dc;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #c6cae2;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-success {
  --bs-table-color: #000;
  --bs-table-bg: #d0eddb;
  --bs-table-border-color: #a6beaf;
  --bs-table-striped-bg: #c6e1d0;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #bbd5c5;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #c0dbcb;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-info {
  --bs-table-color: #000;
  --bs-table-bg: #d6daf4;
  --bs-table-border-color: #abaec3;
  --bs-table-striped-bg: #cbcfe8;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #c1c4dc;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #c6cae2;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-warning {
  --bs-table-color: #000;
  --bs-table-bg: #f7e4cd;
  --bs-table-border-color: #c6b6a4;
  --bs-table-striped-bg: #ebd9c3;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #decdb9;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #e4d3be;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-danger {
  --bs-table-color: #000;
  --bs-table-bg: #f8d4d4;
  --bs-table-border-color: #c6aaaa;
  --bs-table-striped-bg: #ecc9c9;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #dfbfbf;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #e5c4c4;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-light {
  --bs-table-color: #000;
  --bs-table-bg: #fffaf5;
  --bs-table-border-color: #ccc8c4;
  --bs-table-striped-bg: #f2eee9;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #e6e1dd;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #ece7e3;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-dark {
  --bs-table-color: #fff;
  --bs-table-bg: #05001a;
  --bs-table-border-color: #373348;
  --bs-table-striped-bg: #120d25;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #1e1a31;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #18132b;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 767.98px) {
  .table-responsive-md {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 991.98px) {
  .table-responsive-lg {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 1199.98px) {
  .table-responsive-xl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 1399.98px) {
  .table-responsive-xxl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.form-label {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.col-form-label {
  padding-top: calc(0.6rem + var(--bs-border-width));
  padding-bottom: calc(0.6rem + var(--bs-border-width));
  margin-bottom: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.6;
}

.col-form-label-lg {
  padding-top: calc(0.5rem + var(--bs-border-width));
  padding-bottom: calc(0.5rem + var(--bs-border-width));
  font-size: 1.25rem;
}

.col-form-label-sm {
  padding-top: calc(0.25rem + var(--bs-border-width));
  padding-bottom: calc(0.25rem + var(--bs-border-width));
  font-size: 0.875rem;
}

.form-text {
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: var(--bs-secondary-color);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.6rem 0.95rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--bs-body-color);
  appearance: none;
  background-color: #fffaf5;
  background-clip: padding-box;
  border: var(--bs-border-width) solid #dfd8cf;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-inset);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-control {
    transition: none;
  }
}
.form-control[type=file] {
  overflow: hidden;
}
.form-control[type=file]:not(:disabled):not([readonly]) {
  cursor: pointer;
}
.form-control:focus {
  color: var(--bs-body-color);
  background-color: #ffffff;
  border-color: #3d5aff;
  outline: 0;
  box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.25rem rgba(61, 90, 255, 0.16);
}
.form-control::-webkit-date-and-time-value {
  min-width: 85px;
  height: 1.6em;
  margin: 0;
}
.form-control::-webkit-datetime-edit {
  display: block;
  padding: 0;
}
.form-control::placeholder {
  color: var(--bs-secondary-color);
  opacity: 1;
}
.form-control:disabled {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}
.form-control::file-selector-button {
  padding: 0.6rem 0.95rem;
  margin: -0.6rem -0.95rem;
  margin-inline-end: 0.95rem;
  color: var(--bs-body-color);
  background-color: var(--bs-tertiary-bg);
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: var(--bs-border-width);
  border-radius: 0;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .form-control::file-selector-button {
    transition: none;
  }
}
.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: var(--bs-secondary-bg);
}

.form-control-plaintext {
  display: block;
  width: 100%;
  padding: 0.6rem 0;
  margin-bottom: 0;
  line-height: 1.6;
  color: var(--bs-body-color);
  background-color: transparent;
  border: solid transparent;
  border-width: var(--bs-border-width) 0;
}
.form-control-plaintext:focus {
  outline: 0;
}
.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
  padding-right: 0;
  padding-left: 0;
}

.form-control-sm {
  min-height: calc(1.6em + 0.5rem + calc(var(--bs-border-width) * 2));
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--bs-border-radius-sm);
}
.form-control-sm::file-selector-button {
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  margin-inline-end: 0.5rem;
}

.form-control-lg {
  min-height: calc(1.6em + 1rem + calc(var(--bs-border-width) * 2));
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: var(--bs-border-radius-lg);
}
.form-control-lg::file-selector-button {
  padding: 0.5rem 1rem;
  margin: -0.5rem -1rem;
  margin-inline-end: 1rem;
}

textarea.form-control {
  min-height: calc(1.6em + 1.2rem + calc(var(--bs-border-width) * 2));
}
textarea.form-control-sm {
  min-height: calc(1.6em + 0.5rem + calc(var(--bs-border-width) * 2));
}
textarea.form-control-lg {
  min-height: calc(1.6em + 1rem + calc(var(--bs-border-width) * 2));
}

.form-control-color {
  width: 3rem;
  height: calc(1.6em + 1.2rem + calc(var(--bs-border-width) * 2));
  padding: 0.6rem;
}
.form-control-color:not(:disabled):not([readonly]) {
  cursor: pointer;
}
.form-control-color::-moz-color-swatch {
  border: 0 !important;
  border-radius: var(--bs-border-radius);
}
.form-control-color::-webkit-color-swatch {
  border: 0 !important;
  border-radius: var(--bs-border-radius);
}
.form-control-color.form-control-sm {
  height: calc(1.6em + 0.5rem + calc(var(--bs-border-width) * 2));
}
.form-control-color.form-control-lg {
  height: calc(1.6em + 1rem + calc(var(--bs-border-width) * 2));
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  padding: 0.6rem 2.85rem 0.6rem 0.95rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--bs-body-color);
  appearance: none;
  background-color: #fffaf5;
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 16px 12px;
  border: var(--bs-border-width) solid #dfd8cf;
  border-radius: 0.9rem;
  box-shadow: var(--bs-box-shadow-inset);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-select {
    transition: none;
  }
}
.form-select:focus {
  border-color: #3d5aff;
  outline: 0;
  box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.2rem rgba(61, 90, 255, 0.28);
}
.form-select[multiple], .form-select[size]:not([size="1"]) {
  padding-right: 0.95rem;
  background-image: none;
}
.form-select:disabled {
  background-color: var(--bs-secondary-bg);
}
.form-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 var(--bs-body-color);
}

.form-select-sm {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--bs-border-radius-sm);
}

.form-select-lg {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  font-size: 1.25rem;
  border-radius: var(--bs-border-radius-lg);
}

.form-check {
  display: block;
  min-height: 1.6rem;
  padding-left: 2em;
  margin-bottom: 0.125rem;
}
.form-check .form-check-input {
  float: left;
  margin-left: -2em;
}

.form-check-reverse {
  padding-right: 2em;
  padding-left: 0;
  text-align: right;
}
.form-check-reverse .form-check-input {
  float: right;
  margin-right: -2em;
  margin-left: 0;
}

.form-check-input {
  --bs-form-check-bg: #fffaf5;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-top: 0.3em;
  vertical-align: top;
  appearance: none;
  background-color: var(--bs-form-check-bg);
  background-image: var(--bs-form-check-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: var(--bs-border-width) solid var(--bs-border-color);
  print-color-adjust: exact;
}
.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}
.form-check-input[type=radio] {
  border-radius: 50%;
}
.form-check-input:active {
  filter: brightness(90%);
}
.form-check-input:focus {
  border-color: #3d5aff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(61, 90, 255, 0.2);
}
.form-check-input:checked {
  background-color: #3d5aff;
  border-color: #3d5aff;
}
.form-check-input:checked[type=checkbox] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=radio] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input[type=checkbox]:indeterminate {
  background-color: #3d5aff;
  border-color: #3d5aff;
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}
.form-check-input:disabled {
  pointer-events: none;
  filter: none;
  opacity: 0.5;
}
.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
  cursor: default;
  opacity: 0.5;
}

.form-switch {
  padding-left: 2.5em;
}
.form-switch .form-check-input {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
  width: 2em;
  margin-left: -2.5em;
  background-image: var(--bs-form-switch-bg);
  background-position: left center;
  border-radius: 2em;
  transition: background-position 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-switch .form-check-input {
    transition: none;
  }
}
.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%233d5aff'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
  background-position: right center;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.form-switch.form-check-reverse {
  padding-right: 2.5em;
  padding-left: 0;
}
.form-switch.form-check-reverse .form-check-input {
  margin-right: -2.5em;
  margin-left: 0;
}

.form-check-inline {
  display: inline-block;
  margin-right: 1rem;
}

.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.btn-check[disabled] + .btn, .btn-check:disabled + .btn {
  pointer-events: none;
  filter: none;
  opacity: 0.65;
}

.form-range {
  width: 100%;
  height: 1.4rem;
  padding: 0;
  appearance: none;
  background-color: transparent;
}
.form-range:focus {
  outline: 0;
}
.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px #a9bffc, 0 0 0 0.25rem rgba(61, 90, 255, 0.16);
}
.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #a9bffc, 0 0 0 0.25rem rgba(61, 90, 255, 0.16);
}
.form-range::-moz-focus-outer {
  border: 0;
}
.form-range::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.25rem;
  appearance: none;
  background-color: #3d5aff;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-range::-webkit-slider-thumb {
    transition: none;
  }
}
.form-range::-webkit-slider-thumb:active {
  background-color: #c5ceff;
}
.form-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: var(--bs-secondary-bg);
  border-color: transparent;
  border-radius: 1rem;
  box-shadow: var(--bs-box-shadow-inset);
}
.form-range::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  appearance: none;
  background-color: #3d5aff;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-range::-moz-range-thumb {
    transition: none;
  }
}
.form-range::-moz-range-thumb:active {
  background-color: #c5ceff;
}
.form-range::-moz-range-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: var(--bs-secondary-bg);
  border-color: transparent;
  border-radius: 1rem;
  box-shadow: var(--bs-box-shadow-inset);
}
.form-range:disabled {
  pointer-events: none;
}
.form-range:disabled::-webkit-slider-thumb {
  background-color: var(--bs-secondary-color);
}
.form-range:disabled::-moz-range-thumb {
  background-color: var(--bs-secondary-color);
}

.form-floating {
  position: relative;
}
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
  height: calc(3.5rem + calc(var(--bs-border-width) * 2));
  min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
  line-height: 1.25;
}
.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: 100%;
  height: 100%;
  padding: 1rem 0.95rem;
  overflow: hidden;
  color: rgba(var(--bs-body-color-rgb), 0.65);
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  border: var(--bs-border-width) solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-floating > label {
    transition: none;
  }
}
.form-floating > .form-control,
.form-floating > .form-control-plaintext {
  padding: 1rem 0.95rem;
}
.form-floating > .form-control::placeholder,
.form-floating > .form-control-plaintext::placeholder {
  color: transparent;
}
.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown),
.form-floating > .form-control-plaintext:focus,
.form-floating > .form-control-plaintext:not(:placeholder-shown) {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}
.form-floating > .form-control:-webkit-autofill,
.form-floating > .form-control-plaintext:-webkit-autofill {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}
.form-floating > .form-select {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  padding-left: 0.95rem;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-floating > .form-control:-webkit-autofill ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-floating > textarea:focus ~ label::after,
.form-floating > textarea:not(:placeholder-shown) ~ label::after {
  position: absolute;
  inset: 1rem 0.475rem;
  z-index: -1;
  height: 1.5em;
  content: "";
  background-color: #fffaf5;
  border-radius: var(--bs-border-radius);
}
.form-floating > textarea:disabled ~ label::after {
  background-color: var(--bs-secondary-bg);
}
.form-floating > .form-control-plaintext ~ label {
  border-width: var(--bs-border-width) 0;
}
.form-floating > :disabled ~ label,
.form-floating > .form-control:disabled ~ label {
  color: #6c757d;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group > .form-control,
.input-group > .form-select,
.input-group > .form-floating {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.input-group > .form-control:focus,
.input-group > .form-select:focus,
.input-group > .form-floating:focus-within {
  z-index: 5;
}
.input-group .btn {
  position: relative;
  z-index: 2;
}
.input-group .btn:focus {
  z-index: 5;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--bs-body-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--bs-tertiary-bg);
  border: var(--bs-border-width) solid #dfd8cf;
  border-radius: var(--bs-border-radius);
}

.input-group-lg > .form-control,
.input-group-lg > .form-select,
.input-group-lg > .input-group-text,
.input-group-lg > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: var(--bs-border-radius-lg);
}

.input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-text,
.input-group-sm > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--bs-border-radius-sm);
}

.input-group-lg > .form-select,
.input-group-sm > .form-select {
  padding-right: 3.8rem;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group.has-validation > .dropdown-toggle:nth-last-child(n+4),
.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-control,
.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: calc(-1 * var(--bs-border-width));
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > .form-floating:not(:first-child) > .form-control,
.input-group > .form-floating:not(:first-child) > .form-select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: var(--bs-form-valid-color);
}

.valid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: #fff;
  background-color: var(--bs-success);
  border-radius: 0.6rem;
}

.was-validated :valid ~ .valid-feedback,
.was-validated :valid ~ .valid-tooltip,
.is-valid ~ .valid-feedback,
.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .form-control:valid, .form-control.is-valid {
  border-color: var(--bs-form-valid-border-color);
  padding-right: calc(1.6em + 1.2rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2316a34a' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.4em + 0.3rem) center;
  background-size: calc(0.8em + 0.6rem) calc(0.8em + 0.6rem);
}
.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
  border-color: var(--bs-form-valid-border-color);
  box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}

.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
  padding-right: calc(1.6em + 1.2rem);
  background-position: top calc(0.4em + 0.3rem) right calc(0.4em + 0.3rem);
}

.was-validated .form-select:valid, .form-select.is-valid {
  border-color: var(--bs-form-valid-border-color);
}
.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
  --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2316a34a' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
  padding-right: 5.225rem;
  background-position: right 0.95rem center, center right 2.85rem;
  background-size: 16px 12px, calc(0.8em + 0.6rem) calc(0.8em + 0.6rem);
}
.was-validated .form-select:valid:focus, .form-select.is-valid:focus {
  border-color: var(--bs-form-valid-border-color);
  box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}

.was-validated .form-control-color:valid, .form-control-color.is-valid {
  width: calc(3rem + calc(1.6em + 1.2rem));
}

.was-validated .form-check-input:valid, .form-check-input.is-valid {
  border-color: var(--bs-form-valid-border-color);
}
.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {
  background-color: var(--bs-form-valid-color);
}
.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}
.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
  color: var(--bs-form-valid-color);
}

.form-check-inline .form-check-input ~ .valid-feedback {
  margin-left: 0.5em;
}

.was-validated .input-group > .form-control:not(:focus):valid, .input-group > .form-control:not(:focus).is-valid,
.was-validated .input-group > .form-select:not(:focus):valid,
.input-group > .form-select:not(:focus).is-valid,
.was-validated .input-group > .form-floating:not(:focus-within):valid,
.input-group > .form-floating:not(:focus-within).is-valid {
  z-index: 3;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: var(--bs-form-invalid-color);
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: #fff;
  background-color: var(--bs-danger);
  border-radius: 0.6rem;
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
  padding-right: calc(1.6em + 1.2rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc2626'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc2626' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.4em + 0.3rem) center;
  background-size: calc(0.8em + 0.6rem) calc(0.8em + 0.6rem);
}
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
  border-color: var(--bs-form-invalid-border-color);
  box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.25);
}

.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
  padding-right: calc(1.6em + 1.2rem);
  background-position: top calc(0.4em + 0.3rem) right calc(0.4em + 0.3rem);
}

.was-validated .form-select:invalid, .form-select.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}
.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] {
  --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc2626'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc2626' stroke='none'/%3e%3c/svg%3e");
  padding-right: 5.225rem;
  background-position: right 0.95rem center, center right 2.85rem;
  background-size: 16px 12px, calc(0.8em + 0.6rem) calc(0.8em + 0.6rem);
}
.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus {
  border-color: var(--bs-form-invalid-border-color);
  box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.25);
}

.was-validated .form-control-color:invalid, .form-control-color.is-invalid {
  width: calc(3rem + calc(1.6em + 1.2rem));
}

.was-validated .form-check-input:invalid, .form-check-input.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}
.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked {
  background-color: var(--bs-form-invalid-color);
}
.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.25);
}
.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
  color: var(--bs-form-invalid-color);
}

.form-check-inline .form-check-input ~ .invalid-feedback {
  margin-left: 0.5em;
}

.was-validated .input-group > .form-control:not(:focus):invalid, .input-group > .form-control:not(:focus).is-invalid,
.was-validated .input-group > .form-select:not(:focus):invalid,
.input-group > .form-select:not(:focus).is-invalid,
.was-validated .input-group > .form-floating:not(:focus-within):invalid,
.input-group > .form-floating:not(:focus-within).is-invalid {
  z-index: 4;
}

.btn {
  --bs-btn-padding-x: 1.2rem;
  --bs-btn-padding-y: 0.6rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 0.9375rem;
  --bs-btn-font-weight: 700;
  --bs-btn-line-height: 1.6;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 999px;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.2rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  box-shadow: var(--bs-btn-box-shadow);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}
.btn-check + .btn:hover {
  color: var(--bs-btn-color);
  background-color: var(--bs-btn-bg);
  border-color: var(--bs-btn-border-color);
}
.btn:focus-visible {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
  outline: 0;
  box-shadow: var(--bs-btn-box-shadow), var(--bs-btn-focus-box-shadow);
}
.btn-check:focus-visible + .btn {
  border-color: var(--bs-btn-hover-border-color);
  outline: 0;
  box-shadow: var(--bs-btn-box-shadow), var(--bs-btn-focus-box-shadow);
}
.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
  box-shadow: var(--bs-btn-active-shadow);
}
.btn-check:checked + .btn:focus-visible, :not(.btn-check) + .btn:active:focus-visible, .btn:first-child:active:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible {
  box-shadow: var(--bs-btn-active-shadow), var(--bs-btn-focus-box-shadow);
}
.btn-check:checked:focus-visible + .btn {
  box-shadow: var(--bs-btn-active-shadow), var(--bs-btn-focus-box-shadow);
}
.btn:disabled, .btn.disabled, fieldset:disabled .btn {
  color: var(--bs-btn-disabled-color);
  pointer-events: none;
  background-color: var(--bs-btn-disabled-bg);
  border-color: var(--bs-btn-disabled-border-color);
  opacity: var(--bs-btn-disabled-opacity);
  box-shadow: none;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #3d5aff;
  --bs-btn-border-color: #3d5aff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #344dd9;
  --bs-btn-hover-border-color: #3148cc;
  --bs-btn-focus-shadow-rgb: 90, 115, 255;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3148cc;
  --bs-btn-active-border-color: #2e44bf;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3d5aff;
  --bs-btn-disabled-border-color: #3d5aff;
}

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #3248c7;
  --bs-btn-border-color: #3248c7;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2b3da9;
  --bs-btn-hover-border-color: #283a9f;
  --bs-btn-focus-shadow-rgb: 81, 99, 207;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #283a9f;
  --bs-btn-active-border-color: #263695;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3248c7;
  --bs-btn-disabled-border-color: #3248c7;
}

.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #16a34a;
  --bs-btn-border-color: #16a34a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #138b3f;
  --bs-btn-hover-border-color: #12823b;
  --bs-btn-focus-shadow-rgb: 57, 177, 101;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #12823b;
  --bs-btn-active-border-color: #117a38;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #16a34a;
  --bs-btn-disabled-border-color: #16a34a;
}

.btn-info {
  --bs-btn-color: #fff;
  --bs-btn-bg: #3248c7;
  --bs-btn-border-color: #3248c7;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2b3da9;
  --bs-btn-hover-border-color: #283a9f;
  --bs-btn-focus-shadow-rgb: 81, 99, 207;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #283a9f;
  --bs-btn-active-border-color: #263695;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3248c7;
  --bs-btn-disabled-border-color: #3248c7;
}

.btn-warning {
  --bs-btn-color: #fff;
  --bs-btn-bg: #d97706;
  --bs-btn-border-color: #d97706;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b86505;
  --bs-btn-hover-border-color: #ae5f05;
  --bs-btn-focus-shadow-rgb: 223, 139, 43;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ae5f05;
  --bs-btn-active-border-color: #a35905;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d97706;
  --bs-btn-disabled-border-color: #d97706;
}

.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: #dc2626;
  --bs-btn-border-color: #dc2626;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #bb2020;
  --bs-btn-hover-border-color: #b01e1e;
  --bs-btn-focus-shadow-rgb: 225, 71, 71;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b01e1e;
  --bs-btn-active-border-color: #a51d1d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #dc2626;
  --bs-btn-disabled-border-color: #dc2626;
}

.btn-light {
  --bs-btn-color: #000;
  --bs-btn-bg: #fffaf5;
  --bs-btn-border-color: #fffaf5;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #d9d5d0;
  --bs-btn-hover-border-color: #ccc8c4;
  --bs-btn-focus-shadow-rgb: 217, 213, 208;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ccc8c4;
  --bs-btn-active-border-color: #bfbcb8;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #fffaf5;
  --bs-btn-disabled-border-color: #fffaf5;
}

.btn-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: #05001a;
  --bs-btn-border-color: #05001a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2b263c;
  --bs-btn-hover-border-color: #1e1a31;
  --bs-btn-focus-shadow-rgb: 43, 38, 60;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #373348;
  --bs-btn-active-border-color: #1e1a31;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #05001a;
  --bs-btn-disabled-border-color: #05001a;
}

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: #3d5aff;
  --bs-btn-border-color: #3d5aff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #344dd9;
  --bs-btn-hover-border-color: #3148cc;
  --bs-btn-focus-shadow-rgb: 90, 115, 255;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3148cc;
  --bs-btn-active-border-color: #2e44bf;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3d5aff;
  --bs-btn-disabled-border-color: #3d5aff;
}

.btn-outline-primary {
  --bs-btn-color: #3d5aff;
  --bs-btn-border-color: #3d5aff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3d5aff;
  --bs-btn-hover-border-color: #3d5aff;
  --bs-btn-focus-shadow-rgb: 61, 90, 255;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3d5aff;
  --bs-btn-active-border-color: #3d5aff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #3d5aff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #3d5aff;
  --bs-gradient: none;
}

.btn-outline-secondary {
  --bs-btn-color: #3248c7;
  --bs-btn-border-color: #3248c7;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3248c7;
  --bs-btn-hover-border-color: #3248c7;
  --bs-btn-focus-shadow-rgb: 50, 72, 199;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3248c7;
  --bs-btn-active-border-color: #3248c7;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #3248c7;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #3248c7;
  --bs-gradient: none;
}

.btn-outline-success {
  --bs-btn-color: #16a34a;
  --bs-btn-border-color: #16a34a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #16a34a;
  --bs-btn-hover-border-color: #16a34a;
  --bs-btn-focus-shadow-rgb: 22, 163, 74;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #16a34a;
  --bs-btn-active-border-color: #16a34a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #16a34a;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #16a34a;
  --bs-gradient: none;
}

.btn-outline-info {
  --bs-btn-color: #3248c7;
  --bs-btn-border-color: #3248c7;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3248c7;
  --bs-btn-hover-border-color: #3248c7;
  --bs-btn-focus-shadow-rgb: 50, 72, 199;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3248c7;
  --bs-btn-active-border-color: #3248c7;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #3248c7;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #3248c7;
  --bs-gradient: none;
}

.btn-outline-warning {
  --bs-btn-color: #d97706;
  --bs-btn-border-color: #d97706;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d97706;
  --bs-btn-hover-border-color: #d97706;
  --bs-btn-focus-shadow-rgb: 217, 119, 6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d97706;
  --bs-btn-active-border-color: #d97706;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #d97706;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #d97706;
  --bs-gradient: none;
}

.btn-outline-danger {
  --bs-btn-color: #dc2626;
  --bs-btn-border-color: #dc2626;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #dc2626;
  --bs-btn-hover-border-color: #dc2626;
  --bs-btn-focus-shadow-rgb: 220, 38, 38;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #dc2626;
  --bs-btn-active-border-color: #dc2626;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #dc2626;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #dc2626;
  --bs-gradient: none;
}

.btn-outline-light {
  --bs-btn-color: #fffaf5;
  --bs-btn-border-color: #fffaf5;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #fffaf5;
  --bs-btn-hover-border-color: #fffaf5;
  --bs-btn-focus-shadow-rgb: 255, 250, 245;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #fffaf5;
  --bs-btn-active-border-color: #fffaf5;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fffaf5;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fffaf5;
  --bs-gradient: none;
}

.btn-outline-dark {
  --bs-btn-color: #05001a;
  --bs-btn-border-color: #05001a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #05001a;
  --bs-btn-hover-border-color: #05001a;
  --bs-btn-focus-shadow-rgb: 5, 0, 26;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #05001a;
  --bs-btn-active-border-color: #05001a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #05001a;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #05001a;
  --bs-gradient: none;
}

.btn-outline-accent {
  --bs-btn-color: #3d5aff;
  --bs-btn-border-color: #3d5aff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3d5aff;
  --bs-btn-hover-border-color: #3d5aff;
  --bs-btn-focus-shadow-rgb: 61, 90, 255;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3d5aff;
  --bs-btn-active-border-color: #3d5aff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #3d5aff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #3d5aff;
  --bs-gradient: none;
}

.btn-link {
  --bs-btn-font-weight: 400;
  --bs-btn-color: var(--bs-link-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--bs-link-hover-color);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--bs-link-hover-color);
  --bs-btn-active-border-color: transparent;
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-border-color: transparent;
  --bs-btn-box-shadow: 0 0 0 #000;
  --bs-btn-focus-shadow-rgb: 90, 115, 255;
  text-decoration: none;
}
.btn-link:hover, .btn-link:focus-visible {
  text-decoration: none;
}
.btn-link:focus-visible {
  color: var(--bs-btn-color);
}
.btn-link:hover {
  color: var(--bs-btn-hover-color);
}

.btn-lg, .btn-group-lg > .btn {
  --bs-btn-padding-y: 0.85rem;
  --bs-btn-padding-x: 1.65rem;
  --bs-btn-font-size: 1.1rem;
  --bs-btn-border-radius: 999px;
}

.btn-sm, .btn-group-sm > .btn {
  --bs-btn-padding-y: 0.4rem;
  --bs-btn-padding-x: 0.8rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: 999px;
}

.fade {
  transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}
.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}
.collapsing.collapse-horizontal {
  width: 0;
  height: auto;
  transition: width 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing.collapse-horizontal {
    transition: none;
  }
}

.dropup,
.dropend,
.dropdown,
.dropstart,
.dropup-center,
.dropdown-center {
  position: relative;
}

.dropdown-toggle {
  white-space: nowrap;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  --bs-dropdown-zindex: 1000;
  --bs-dropdown-min-width: 10rem;
  --bs-dropdown-padding-x: 0.45rem;
  --bs-dropdown-padding-y: 0.45rem;
  --bs-dropdown-spacer: 0.125rem;
  --bs-dropdown-font-size: 0.875rem;
  --bs-dropdown-color: var(--bs-body-color);
  --bs-dropdown-bg: #ffffff;
  --bs-dropdown-border-color: #ebe4db;
  --bs-dropdown-border-radius: 1.1rem;
  --bs-dropdown-border-width: 1px;
  --bs-dropdown-inner-border-radius: calc(1.1rem - 1px);
  --bs-dropdown-divider-bg: #ebe4db;
  --bs-dropdown-divider-margin-y: 0.5rem;
  --bs-dropdown-box-shadow: 0 28px 60px -30px rgba(5, 0, 26, 0.28);
  --bs-dropdown-link-color: #241e3d;
  --bs-dropdown-link-hover-color: #05001a;
  --bs-dropdown-link-hover-bg: #fff5ea;
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #3d5aff;
  --bs-dropdown-link-disabled-color: var(--bs-tertiary-color);
  --bs-dropdown-item-padding-x: 0.8rem;
  --bs-dropdown-item-padding-y: 0.55rem;
  --bs-dropdown-header-color: #6c757d;
  --bs-dropdown-header-padding-x: 0.8rem;
  --bs-dropdown-header-padding-y: 0.45rem;
  position: absolute;
  z-index: var(--bs-dropdown-zindex);
  display: none;
  min-width: var(--bs-dropdown-min-width);
  padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
  margin: 0;
  font-size: var(--bs-dropdown-font-size);
  color: var(--bs-dropdown-color);
  text-align: left;
  list-style: none;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
  border-radius: var(--bs-dropdown-border-radius);
  box-shadow: var(--bs-dropdown-box-shadow);
}
.dropdown-menu[data-bs-popper] {
  top: 100%;
  left: 0;
  margin-top: var(--bs-dropdown-spacer);
}

.dropdown-menu-start {
  --bs-position: start;
}
.dropdown-menu-start[data-bs-popper] {
  right: auto;
  left: 0;
}

.dropdown-menu-end {
  --bs-position: end;
}
.dropdown-menu-end[data-bs-popper] {
  right: 0;
  left: auto;
}

@media (min-width: 576px) {
  .dropdown-menu-sm-start {
    --bs-position: start;
  }
  .dropdown-menu-sm-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-sm-end {
    --bs-position: end;
  }
  .dropdown-menu-sm-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 768px) {
  .dropdown-menu-md-start {
    --bs-position: start;
  }
  .dropdown-menu-md-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-md-end {
    --bs-position: end;
  }
  .dropdown-menu-md-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 992px) {
  .dropdown-menu-lg-start {
    --bs-position: start;
  }
  .dropdown-menu-lg-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-lg-end {
    --bs-position: end;
  }
  .dropdown-menu-lg-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1200px) {
  .dropdown-menu-xl-start {
    --bs-position: start;
  }
  .dropdown-menu-xl-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-xl-end {
    --bs-position: end;
  }
  .dropdown-menu-xl-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1400px) {
  .dropdown-menu-xxl-start {
    --bs-position: start;
  }
  .dropdown-menu-xxl-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-xxl-end {
    --bs-position: end;
  }
  .dropdown-menu-xxl-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
.dropup .dropdown-menu[data-bs-popper] {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: var(--bs-dropdown-spacer);
}
.dropup .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}
.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropend .dropdown-menu[data-bs-popper] {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: var(--bs-dropdown-spacer);
}
.dropend .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropend .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropend .dropdown-toggle::after {
  vertical-align: 0;
}

.dropstart .dropdown-menu[data-bs-popper] {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: var(--bs-dropdown-spacer);
}
.dropstart .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}
.dropstart .dropdown-toggle::after {
  display: none;
}
.dropstart .dropdown-toggle::before {
  display: inline-block;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}
.dropstart .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropstart .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-divider {
  height: 0;
  margin: var(--bs-dropdown-divider-margin-y) 0;
  overflow: hidden;
  border-top: 1px solid var(--bs-dropdown-divider-bg);
  opacity: 1;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-dropdown-link-color);
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--bs-dropdown-item-border-radius, 0);
}
.dropdown-item:hover, .dropdown-item:focus {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
}
.dropdown-item.active, .dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: var(--bs-dropdown-link-active-bg);
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: var(--bs-dropdown-link-disabled-color);
  pointer-events: none;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: block;
  padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--bs-dropdown-header-color);
  white-space: nowrap;
}

.dropdown-item-text {
  display: block;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  color: var(--bs-dropdown-link-color);
}

.dropdown-menu-dark {
  --bs-dropdown-color: #dee2e6;
  --bs-dropdown-bg: #343a40;
  --bs-dropdown-border-color: #ebe4db;
  --bs-dropdown-box-shadow: ;
  --bs-dropdown-link-color: #dee2e6;
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-divider-bg: #ebe4db;
  --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #3d5aff;
  --bs-dropdown-link-disabled-color: #adb5bd;
  --bs-dropdown-header-color: #adb5bd;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  flex: 1 1 auto;
}
.btn-group > .btn-check:checked + .btn,
.btn-group > .btn-check:focus + .btn,
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn-check:checked + .btn,
.btn-group-vertical > .btn-check:focus + .btn,
.btn-group-vertical > .btn:hover,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
  z-index: 1;
}

.btn-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.btn-toolbar .input-group {
  width: auto;
}

.btn-group {
  border-radius: 999px;
}
.btn-group > :not(.btn-check:first-child) + .btn,
.btn-group > .btn-group:not(:first-child) {
  margin-left: calc(-1 * var(--bs-border-width));
}
.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn.dropdown-toggle-split:first-child,
.btn-group > .btn-group:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:nth-child(n+3),
.btn-group > :not(.btn-check) + .btn,
.btn-group > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.dropdown-toggle-split {
  padding-right: 0.9rem;
  padding-left: 0.9rem;
}
.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after {
  margin-left: 0;
}
.dropstart .dropdown-toggle-split::before {
  margin-right: 0;
}

.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {
  padding-right: 0.6rem;
  padding-left: 0.6rem;
}

.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {
  padding-right: 1.2375rem;
  padding-left: 1.2375rem;
}

.btn-group.show .dropdown-toggle {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-group.show .dropdown-toggle.btn-link {
  box-shadow: none;
}

.btn-group-vertical {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group {
  width: 100%;
}
.btn-group-vertical > .btn:not(:first-child),
.btn-group-vertical > .btn-group:not(:first-child) {
  margin-top: calc(-1 * var(--bs-border-width));
}
.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group-vertical > .btn-group:not(:last-child) > .btn {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn:nth-child(n+3),
.btn-group-vertical > :not(.btn-check) + .btn,
.btn-group-vertical > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav {
  --bs-nav-link-padding-x: 1rem;
  --bs-nav-link-padding-y: 0.6rem;
  --bs-nav-link-font-weight: ;
  --bs-nav-link-color: var(--bs-link-color);
  --bs-nav-link-hover-color: var(--bs-link-color);
  --bs-nav-link-disabled-color: var(--bs-secondary-color);
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: var(--bs-nav-link-color);
  background: none;
  border: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .nav-link {
    transition: none;
  }
}
.nav-link:hover, .nav-link:focus {
  color: var(--bs-nav-link-hover-color);
}
.nav-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(61, 90, 255, 0.2);
}
.nav-link.disabled, .nav-link:disabled {
  color: var(--bs-nav-link-disabled-color);
  pointer-events: none;
  cursor: default;
}

.nav-tabs {
  --bs-nav-tabs-border-width: var(--bs-border-width);
  --bs-nav-tabs-border-color: var(--bs-border-color);
  --bs-nav-tabs-border-radius: var(--bs-border-radius);
  --bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);
  --bs-nav-tabs-link-active-color: var(--bs-emphasis-color);
  --bs-nav-tabs-link-active-bg: var(--hh-background-color-main);
  --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--hh-background-color-main);
  border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);
}
.nav-tabs .nav-link {
  margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
  border: var(--bs-nav-tabs-border-width) solid transparent;
  border-top-left-radius: var(--bs-nav-tabs-border-radius);
  border-top-right-radius: var(--bs-nav-tabs-border-radius);
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  isolation: isolate;
  border-color: var(--bs-nav-tabs-link-hover-border-color);
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--bs-nav-tabs-link-active-color);
  background-color: var(--bs-nav-tabs-link-active-bg);
  border-color: var(--bs-nav-tabs-link-active-border-color);
}
.nav-tabs .dropdown-menu {
  margin-top: calc(-1 * var(--bs-nav-tabs-border-width));
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav-pills {
  --bs-nav-pills-border-radius: 50rem;
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-pills-link-active-bg: #3d5aff;
}
.nav-pills .nav-link {
  border-radius: var(--bs-nav-pills-border-radius);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--bs-nav-pills-link-active-color);
  background-color: var(--bs-nav-pills-link-active-bg);
}

.nav-underline {
  --bs-nav-underline-gap: 1rem;
  --bs-nav-underline-border-width: 0.125rem;
  --bs-nav-underline-link-active-color: var(--bs-emphasis-color);
  gap: var(--bs-nav-underline-gap);
}
.nav-underline .nav-link {
  padding-right: 0;
  padding-left: 0;
  border-bottom: var(--bs-nav-underline-border-width) solid transparent;
}
.nav-underline .nav-link:hover, .nav-underline .nav-link:focus {
  border-bottom-color: currentcolor;
}
.nav-underline .nav-link.active,
.nav-underline .show > .nav-link {
  font-weight: 700;
  color: var(--bs-nav-underline-link-active-color);
  border-bottom-color: currentcolor;
}

.nav-fill > .nav-link,
.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.nav-justified > .nav-link,
.nav-justified .nav-item {
  flex-grow: 1;
  flex-basis: 0;
  text-align: center;
}

.nav-fill .nav-item .nav-link,
.nav-justified .nav-item .nav-link {
  width: 100%;
}

.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}

.navbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0.5rem;
  --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);
  --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);
  --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);
  --bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-padding-y: 0.4rem;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-nav-link-padding-x: 0.5rem;
  --bs-navbar-toggler-padding-y: 0.25rem;
  --bs-navbar-toggler-padding-x: 0.75rem;
  --bs-navbar-toggler-font-size: 1.25rem;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2836, 30, 61, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);
  --bs-navbar-toggler-border-radius: 999px;
  --bs-navbar-toggler-focus-width: 0.2rem;
  --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}
.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-sm,
.navbar > .container-md,
.navbar > .container-lg,
.navbar > .container-xl,
.navbar > .container-xxl {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  padding-top: var(--bs-navbar-brand-padding-y);
  padding-bottom: var(--bs-navbar-brand-padding-y);
  margin-right: var(--bs-navbar-brand-margin-end);
  font-size: var(--bs-navbar-brand-font-size);
  color: var(--bs-navbar-brand-color);
  white-space: nowrap;
}
.navbar-brand:hover, .navbar-brand:focus {
  color: var(--bs-navbar-brand-hover-color);
}

.navbar-nav {
  --bs-nav-link-padding-x: 0;
  --bs-nav-link-padding-y: 0.6rem;
  --bs-nav-link-font-weight: ;
  --bs-nav-link-color: var(--bs-navbar-color);
  --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
  --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--bs-navbar-active-color);
}
.navbar-nav .dropdown-menu {
  position: static;
}

.navbar-text {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  color: var(--bs-navbar-color);
}
.navbar-text a,
.navbar-text a:hover,
.navbar-text a:focus {
  color: var(--bs-navbar-active-color);
}

.navbar-collapse {
  flex-grow: 1;
  flex-basis: 100%;
  align-items: center;
}

.navbar-toggler {
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: var(--bs-navbar-color);
  background-color: transparent;
  border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
  border-radius: var(--bs-navbar-toggler-border-radius);
  transition: var(--bs-navbar-toggler-transition);
}
@media (prefers-reduced-motion: reduce) {
  .navbar-toggler {
    transition: none;
  }
}
.navbar-toggler:hover {
  text-decoration: none;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: var(--bs-navbar-toggler-icon-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-nav-scroll {
  max-height: var(--bs-scroll-height, 75vh);
  overflow-y: auto;
}

@media (min-width: 576px) {
  .navbar-expand-sm {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-sm .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-sm .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-sm .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
  .navbar-expand-sm .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-sm .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-sm .navbar-toggler {
    display: none;
  }
  .navbar-expand-sm .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    box-shadow: none;
    transition: none;
  }
  .navbar-expand-sm .offcanvas .offcanvas-header {
    display: none;
  }
  .navbar-expand-sm .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 768px) {
  .navbar-expand-md {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-md .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-md .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
  .navbar-expand-md .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-md .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-md .navbar-toggler {
    display: none;
  }
  .navbar-expand-md .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    box-shadow: none;
    transition: none;
  }
  .navbar-expand-md .offcanvas .offcanvas-header {
    display: none;
  }
  .navbar-expand-md .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
  .navbar-expand-lg .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  .navbar-expand-lg .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    box-shadow: none;
    transition: none;
  }
  .navbar-expand-lg .offcanvas .offcanvas-header {
    display: none;
  }
  .navbar-expand-lg .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 1200px) {
  .navbar-expand-xl {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-xl .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-xl .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
  .navbar-expand-xl .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-xl .navbar-toggler {
    display: none;
  }
  .navbar-expand-xl .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    box-shadow: none;
    transition: none;
  }
  .navbar-expand-xl .offcanvas .offcanvas-header {
    display: none;
  }
  .navbar-expand-xl .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 1400px) {
  .navbar-expand-xxl {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-xxl .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-xxl .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-xxl .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
  .navbar-expand-xxl .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-xxl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-xxl .navbar-toggler {
    display: none;
  }
  .navbar-expand-xxl .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    box-shadow: none;
    transition: none;
  }
  .navbar-expand-xxl .offcanvas .offcanvas-header {
    display: none;
  }
  .navbar-expand-xxl .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
.navbar-expand {
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.navbar-expand .navbar-nav {
  flex-direction: row;
}
.navbar-expand .navbar-nav .dropdown-menu {
  position: absolute;
}
.navbar-expand .navbar-nav .nav-link {
  padding-right: var(--bs-navbar-nav-link-padding-x);
  padding-left: var(--bs-navbar-nav-link-padding-x);
}
.navbar-expand .navbar-nav-scroll {
  overflow: visible;
}
.navbar-expand .navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}
.navbar-expand .navbar-toggler {
  display: none;
}
.navbar-expand .offcanvas {
  position: static;
  z-index: auto;
  flex-grow: 1;
  width: auto !important;
  height: auto !important;
  visibility: visible !important;
  background-color: transparent !important;
  border: 0 !important;
  transform: none !important;
  box-shadow: none;
  transition: none;
}
.navbar-expand .offcanvas .offcanvas-header {
  display: none;
}
.navbar-expand .offcanvas .offcanvas-body {
  display: flex;
  flex-grow: 0;
  padding: 0;
  overflow-y: visible;
}

.navbar-dark,
.navbar[data-bs-theme=dark] {
  --bs-navbar-color: rgba(255, 255, 255, 0.55);
  --bs-navbar-hover-color: rgba(255, 255, 255, 0.75);
  --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
  --bs-navbar-active-color: #fff;
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.card {
  --bs-card-spacer-y: 1.35rem;
  --bs-card-spacer-x: 1.4rem;
  --bs-card-title-spacer-y: 0.5rem;
  --bs-card-title-color: ;
  --bs-card-subtitle-color: ;
  --bs-card-border-width: var(--bs-border-width);
  --bs-card-border-color: #eee7de;
  --bs-card-border-radius: 1.5rem;
  --bs-card-box-shadow: ;
  --bs-card-inner-border-radius: calc(1.5rem - (var(--bs-border-width)));
  --bs-card-cap-padding-y: 0.675rem;
  --bs-card-cap-padding-x: 1.4rem;
  --bs-card-cap-bg: transparent;
  --bs-card-cap-color: ;
  --bs-card-height: ;
  --bs-card-color: ;
  --bs-card-bg: var(--bs-body-bg);
  --bs-card-img-overlay-padding: 1rem;
  --bs-card-group-margin: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: var(--bs-card-height);
  color: var(--bs-body-color);
  word-wrap: break-word;
  background-color: var(--bs-card-bg);
  background-clip: border-box;
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
  box-shadow: var(--bs-card-box-shadow);
}
.card > hr {
  margin-right: 0;
  margin-left: 0;
}
.card > .list-group {
  border-top: inherit;
  border-bottom: inherit;
}
.card > .list-group:first-child {
  border-top-width: 0;
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card > .list-group:last-child {
  border-bottom-width: 0;
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-header + .list-group,
.card > .list-group + .card-footer {
  border-top: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  color: var(--bs-card-color);
}

.card-title {
  margin-bottom: var(--bs-card-title-spacer-y);
  color: var(--bs-card-title-color);
}

.card-subtitle {
  margin-top: calc(-0.5 * var(--bs-card-title-spacer-y));
  margin-bottom: 0;
  color: var(--bs-card-subtitle-color);
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link + .card-link {
  margin-left: var(--bs-card-spacer-x);
}

.card-header {
  padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
  margin-bottom: 0;
  color: var(--bs-card-cap-color);
  background-color: var(--bs-card-cap-bg);
  border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.card-header:first-child {
  border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}

.card-footer {
  padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
  color: var(--bs-card-cap-color);
  background-color: var(--bs-card-cap-bg);
  border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.card-footer:last-child {
  border-radius: 0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);
}

.card-header-tabs {
  margin-right: calc(-0.5 * var(--bs-card-cap-padding-x));
  margin-bottom: calc(-1 * var(--bs-card-cap-padding-y));
  margin-left: calc(-0.5 * var(--bs-card-cap-padding-x));
  border-bottom: 0;
}
.card-header-tabs .nav-link.active {
  background-color: var(--bs-card-bg);
  border-bottom-color: var(--bs-card-bg);
}

.card-header-pills {
  margin-right: calc(-0.5 * var(--bs-card-cap-padding-x));
  margin-left: calc(-0.5 * var(--bs-card-cap-padding-x));
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: var(--bs-card-img-overlay-padding);
  border-radius: var(--bs-card-inner-border-radius);
}

.card-img,
.card-img-top,
.card-img-bottom {
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}

.card-group > .card {
  margin-bottom: var(--bs-card-group-margin);
}
@media (min-width: 576px) {
  .card-group {
    display: flex;
    flex-flow: row wrap;
  }
  .card-group > .card {
    flex: 1 0 0;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:last-child) > .card-img-top,
  .card-group > .card:not(:last-child) > .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:not(:last-child) > .card-img-bottom,
  .card-group > .card:not(:last-child) > .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:not(:first-child) > .card-img-top,
  .card-group > .card:not(:first-child) > .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:not(:first-child) > .card-img-bottom,
  .card-group > .card:not(:first-child) > .card-footer {
    border-bottom-left-radius: 0;
  }
}

.accordion {
  --bs-accordion-color: var(--bs-body-color);
  --bs-accordion-bg: var(--bs-body-bg);
  --bs-accordion-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-radius 0.15s ease;
  --bs-accordion-border-color: var(--bs-border-color);
  --bs-accordion-border-width: var(--bs-border-width);
  --bs-accordion-border-radius: var(--bs-border-radius);
  --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: var(--bs-body-color);
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23241e3d' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: 1.25rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23182466' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(61, 90, 255, 0.2);
  --bs-accordion-body-padding-x: 1.25rem;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: var(--bs-primary-text-emphasis);
  --bs-accordion-active-bg: var(--bs-primary-bg-subtle);
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
  font-size: 1rem;
  color: var(--bs-accordion-btn-color);
  text-align: left;
  background-color: var(--bs-accordion-btn-bg);
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: var(--bs-accordion-transition);
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button {
    transition: none;
  }
}
.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  background-color: var(--bs-accordion-active-bg);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-active-icon);
  transform: var(--bs-accordion-btn-icon-transform);
}
.accordion-button::after {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  margin-left: auto;
  content: "";
  background-image: var(--bs-accordion-btn-icon);
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  transition: var(--bs-accordion-btn-icon-transition);
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button::after {
    transition: none;
  }
}
.accordion-button:hover {
  z-index: 2;
}
.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-item {
  color: var(--bs-accordion-color);
  background-color: var(--bs-accordion-bg);
  border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}
.accordion-item:first-of-type {
  border-top-left-radius: var(--bs-accordion-border-radius);
  border-top-right-radius: var(--bs-accordion-border-radius);
}
.accordion-item:first-of-type > .accordion-header .accordion-button {
  border-top-left-radius: var(--bs-accordion-inner-border-radius);
  border-top-right-radius: var(--bs-accordion-inner-border-radius);
}
.accordion-item:not(:first-of-type) {
  border-top: 0;
}
.accordion-item:last-of-type {
  border-bottom-right-radius: var(--bs-accordion-border-radius);
  border-bottom-left-radius: var(--bs-accordion-border-radius);
}
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
  border-bottom-right-radius: var(--bs-accordion-inner-border-radius);
  border-bottom-left-radius: var(--bs-accordion-inner-border-radius);
}
.accordion-item:last-of-type > .accordion-collapse {
  border-bottom-right-radius: var(--bs-accordion-border-radius);
  border-bottom-left-radius: var(--bs-accordion-border-radius);
}

.accordion-body {
  padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
}

.accordion-flush > .accordion-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}
.accordion-flush > .accordion-item:first-child {
  border-top: 0;
}
.accordion-flush > .accordion-item:last-child {
  border-bottom: 0;
}
.accordion-flush > .accordion-item > .accordion-collapse,
.accordion-flush > .accordion-item > .accordion-header .accordion-button,
.accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {
  border-radius: 0;
}

.breadcrumb {
  --bs-breadcrumb-padding-x: 0;
  --bs-breadcrumb-padding-y: 0;
  --bs-breadcrumb-margin-bottom: 1rem;
  --bs-breadcrumb-bg: ;
  --bs-breadcrumb-border-radius: ;
  --bs-breadcrumb-divider-color: var(--bs-secondary-color);
  --bs-breadcrumb-item-padding-x: 0.5rem;
  --bs-breadcrumb-item-active-color: var(--bs-secondary-color);
  display: flex;
  flex-wrap: wrap;
  padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);
  margin-bottom: var(--bs-breadcrumb-margin-bottom);
  font-size: var(--bs-breadcrumb-font-size);
  list-style: none;
  background-color: var(--bs-breadcrumb-bg);
  border-radius: var(--bs-breadcrumb-border-radius);
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: var(--bs-breadcrumb-item-padding-x);
}
.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: var(--bs-breadcrumb-item-padding-x);
  color: var(--bs-breadcrumb-divider-color);
  content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */;
}
.breadcrumb-item.active {
  color: var(--bs-breadcrumb-item-active-color);
}

.pagination {
  --bs-pagination-padding-x: 0.75rem;
  --bs-pagination-padding-y: 0.375rem;
  --bs-pagination-font-size: 1rem;
  --bs-pagination-color: var(--bs-link-color);
  --bs-pagination-bg: var(--bs-body-bg);
  --bs-pagination-border-width: var(--bs-border-width);
  --bs-pagination-border-color: var(--bs-border-color);
  --bs-pagination-border-radius: var(--bs-border-radius);
  --bs-pagination-hover-color: var(--bs-link-hover-color);
  --bs-pagination-hover-bg: var(--bs-tertiary-bg);
  --bs-pagination-hover-border-color: var(--bs-border-color);
  --bs-pagination-focus-color: var(--bs-link-hover-color);
  --bs-pagination-focus-bg: var(--bs-secondary-bg);
  --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(61, 90, 255, 0.2);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: #3d5aff;
  --bs-pagination-active-border-color: #3d5aff;
  --bs-pagination-disabled-color: var(--bs-secondary-color);
  --bs-pagination-disabled-bg: var(--bs-secondary-bg);
  --bs-pagination-disabled-border-color: var(--bs-border-color);
  display: flex;
  padding-left: 0;
  list-style: none;
}

.page-link {
  position: relative;
  display: block;
  padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
  font-size: var(--bs-pagination-font-size);
  color: var(--bs-pagination-color);
  background-color: var(--bs-pagination-bg);
  border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .page-link {
    transition: none;
  }
}
.page-link:hover {
  z-index: 2;
  color: var(--bs-pagination-hover-color);
  background-color: var(--bs-pagination-hover-bg);
  border-color: var(--bs-pagination-hover-border-color);
}
.page-link:focus {
  z-index: 3;
  color: var(--bs-pagination-focus-color);
  background-color: var(--bs-pagination-focus-bg);
  outline: 0;
  box-shadow: var(--bs-pagination-focus-box-shadow);
}
.page-link.active, .active > .page-link {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: var(--bs-pagination-active-bg);
  border-color: var(--bs-pagination-active-border-color);
}
.page-link.disabled, .disabled > .page-link {
  color: var(--bs-pagination-disabled-color);
  pointer-events: none;
  background-color: var(--bs-pagination-disabled-bg);
  border-color: var(--bs-pagination-disabled-border-color);
}

.page-item:not(:first-child) .page-link {
  margin-left: calc(-1 * var(--bs-border-width));
}
.page-item:first-child .page-link {
  border-top-left-radius: var(--bs-pagination-border-radius);
  border-bottom-left-radius: var(--bs-pagination-border-radius);
}
.page-item:last-child .page-link {
  border-top-right-radius: var(--bs-pagination-border-radius);
  border-bottom-right-radius: var(--bs-pagination-border-radius);
}

.pagination-lg {
  --bs-pagination-padding-x: 1.5rem;
  --bs-pagination-padding-y: 0.75rem;
  --bs-pagination-font-size: 1.25rem;
  --bs-pagination-border-radius: var(--bs-border-radius-lg);
}

.pagination-sm {
  --bs-pagination-padding-x: 0.5rem;
  --bs-pagination-padding-y: 0.25rem;
  --bs-pagination-font-size: 0.875rem;
  --bs-pagination-border-radius: var(--bs-border-radius-sm);
}

.badge {
  --bs-badge-padding-x: 0.65rem;
  --bs-badge-padding-y: 0.35rem;
  --bs-badge-font-size: 0.6875rem;
  --bs-badge-font-weight: 700;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: 50rem;
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  color: var(--bs-badge-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
}
.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.alert {
  --bs-alert-bg: transparent;
  --bs-alert-padding-x: 1rem;
  --bs-alert-padding-y: 1rem;
  --bs-alert-margin-bottom: 1rem;
  --bs-alert-color: inherit;
  --bs-alert-border-color: transparent;
  --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);
  --bs-alert-border-radius: var(--bs-border-radius);
  --bs-alert-link-color: inherit;
  position: relative;
  padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
  margin-bottom: var(--bs-alert-margin-bottom);
  color: var(--bs-alert-color);
  background-color: var(--bs-alert-bg);
  border: var(--bs-alert-border);
  border-radius: var(--bs-alert-border-radius);
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
  color: var(--bs-alert-link-color);
}

.alert-dismissible {
  padding-right: 3rem;
}
.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
}

.alert-primary {
  --bs-alert-color: var(--bs-primary-text-emphasis);
  --bs-alert-bg: var(--bs-primary-bg-subtle);
  --bs-alert-border-color: var(--bs-primary-border-subtle);
  --bs-alert-link-color: var(--bs-primary-text-emphasis);
}

.alert-secondary {
  --bs-alert-color: var(--bs-secondary-text-emphasis);
  --bs-alert-bg: var(--bs-secondary-bg-subtle);
  --bs-alert-border-color: var(--bs-secondary-border-subtle);
  --bs-alert-link-color: var(--bs-secondary-text-emphasis);
}

.alert-success {
  --bs-alert-color: var(--bs-success-text-emphasis);
  --bs-alert-bg: var(--bs-success-bg-subtle);
  --bs-alert-border-color: var(--bs-success-border-subtle);
  --bs-alert-link-color: var(--bs-success-text-emphasis);
}

.alert-info {
  --bs-alert-color: var(--bs-info-text-emphasis);
  --bs-alert-bg: var(--bs-info-bg-subtle);
  --bs-alert-border-color: var(--bs-info-border-subtle);
  --bs-alert-link-color: var(--bs-info-text-emphasis);
}

.alert-warning {
  --bs-alert-color: var(--bs-warning-text-emphasis);
  --bs-alert-bg: var(--bs-warning-bg-subtle);
  --bs-alert-border-color: var(--bs-warning-border-subtle);
  --bs-alert-link-color: var(--bs-warning-text-emphasis);
}

.alert-danger {
  --bs-alert-color: var(--bs-danger-text-emphasis);
  --bs-alert-bg: var(--bs-danger-bg-subtle);
  --bs-alert-border-color: var(--bs-danger-border-subtle);
  --bs-alert-link-color: var(--bs-danger-text-emphasis);
}

.alert-light {
  --bs-alert-color: var(--bs-light-text-emphasis);
  --bs-alert-bg: var(--bs-light-bg-subtle);
  --bs-alert-border-color: var(--bs-light-border-subtle);
  --bs-alert-link-color: var(--bs-light-text-emphasis);
}

.alert-dark {
  --bs-alert-color: var(--bs-dark-text-emphasis);
  --bs-alert-bg: var(--bs-dark-bg-subtle);
  --bs-alert-border-color: var(--bs-dark-border-subtle);
  --bs-alert-link-color: var(--bs-dark-text-emphasis);
}

.alert-accent {
  --bs-alert-color: var(--bs-accent-text-emphasis);
  --bs-alert-bg: var(--bs-accent-bg-subtle);
  --bs-alert-border-color: var(--bs-accent-border-subtle);
  --bs-alert-link-color: var(--bs-accent-text-emphasis);
}

@keyframes progress-bar-stripes {
  0% {
    background-position-x: var(--bs-progress-height);
  }
}
.progress,
.progress-stacked {
  --bs-progress-height: 8px;
  --bs-progress-font-size: 0.75rem;
  --bs-progress-bg: var(--hh-background-color-page);
  --bs-progress-border-radius: 50rem;
  --bs-progress-box-shadow: none;
  --bs-progress-bar-color: #fff;
  --bs-progress-bar-bg: #3d5aff;
  --bs-progress-bar-transition: width 0.6s ease;
  display: flex;
  height: var(--bs-progress-height);
  overflow: hidden;
  font-size: var(--bs-progress-font-size);
  background-color: var(--bs-progress-bg);
  border-radius: var(--bs-progress-border-radius);
  box-shadow: var(--bs-progress-box-shadow);
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--bs-progress-bar-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--bs-progress-bar-bg);
  transition: var(--bs-progress-bar-transition);
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    transition: none;
  }
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: var(--bs-progress-height) var(--bs-progress-height);
}

.progress-stacked > .progress {
  overflow: visible;
}

.progress-stacked > .progress > .progress-bar {
  width: 100%;
}

.progress-bar-animated {
  animation: 1s linear infinite progress-bar-stripes;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar-animated {
    animation: none;
  }
}

.list-group {
  --bs-list-group-color: var(--bs-body-color);
  --bs-list-group-bg: var(--hh-background-color-main);
  --bs-list-group-border-color: var(--bs-border-color);
  --bs-list-group-border-width: 0;
  --bs-list-group-border-radius: var(--bs-border-radius);
  --bs-list-group-item-padding-x: 1rem;
  --bs-list-group-item-padding-y: 0.5rem;
  --bs-list-group-action-color: var(--bs-secondary-color);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-tertiary-bg);
  --bs-list-group-action-active-color: var(--bs-body-color);
  --bs-list-group-action-active-bg: var(--bs-secondary-bg);
  --bs-list-group-disabled-color: var(--bs-secondary-color);
  --bs-list-group-disabled-bg: var(--hh-background-color-main);
  --bs-list-group-active-color: var(--hh-text-color-highlight);
  --bs-list-group-active-bg: var(--hh-background-color-secondary);
  --bs-list-group-active-border-color: var(--hh-background-color-secondary);
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: var(--bs-list-group-border-radius);
}

.list-group-numbered {
  list-style-type: none;
  counter-reset: section;
}
.list-group-numbered > .list-group-item::before {
  content: counters(section, ".") ". ";
  counter-increment: section;
}

.list-group-item {
  position: relative;
  display: block;
  padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
  color: var(--bs-list-group-color);
  background-color: var(--bs-list-group-bg);
  border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}
.list-group-item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.list-group-item:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}
.list-group-item.disabled, .list-group-item:disabled {
  color: var(--bs-list-group-disabled-color);
  pointer-events: none;
  background-color: var(--bs-list-group-disabled-bg);
}
.list-group-item.active {
  z-index: 2;
  color: var(--bs-list-group-active-color);
  background-color: var(--bs-list-group-active-bg);
  border-color: var(--bs-list-group-active-border-color);
}
.list-group-item + .list-group-item {
  border-top-width: 0;
}
.list-group-item + .list-group-item.active {
  margin-top: calc(-1 * var(--bs-list-group-border-width));
  border-top-width: var(--bs-list-group-border-width);
}

.list-group-item-action {
  width: 100%;
  color: var(--bs-list-group-action-color);
  text-align: inherit;
}
.list-group-item-action:not(.active):hover, .list-group-item-action:not(.active):focus {
  z-index: 1;
  color: var(--bs-list-group-action-hover-color);
  text-decoration: none;
  background-color: var(--bs-list-group-action-hover-bg);
}
.list-group-item-action:not(.active):active {
  color: var(--bs-list-group-action-active-color);
  background-color: var(--bs-list-group-action-active-bg);
}

.list-group-horizontal {
  flex-direction: row;
}
.list-group-horizontal > .list-group-item:first-child:not(:last-child) {
  border-bottom-left-radius: var(--bs-list-group-border-radius);
  border-top-right-radius: 0;
}
.list-group-horizontal > .list-group-item:last-child:not(:first-child) {
  border-top-right-radius: var(--bs-list-group-border-radius);
  border-bottom-left-radius: 0;
}
.list-group-horizontal > .list-group-item.active {
  margin-top: 0;
}
.list-group-horizontal > .list-group-item + .list-group-item {
  border-top-width: var(--bs-list-group-border-width);
  border-left-width: 0;
}
.list-group-horizontal > .list-group-item + .list-group-item.active {
  margin-left: calc(-1 * var(--bs-list-group-border-width));
  border-left-width: var(--bs-list-group-border-width);
}

@media (min-width: 576px) {
  .list-group-horizontal-sm {
    flex-direction: row;
  }
  .list-group-horizontal-sm > .list-group-item:first-child:not(:last-child) {
    border-bottom-left-radius: var(--bs-list-group-border-radius);
    border-top-right-radius: 0;
  }
  .list-group-horizontal-sm > .list-group-item:last-child:not(:first-child) {
    border-top-right-radius: var(--bs-list-group-border-radius);
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-sm > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-sm > .list-group-item + .list-group-item {
    border-top-width: var(--bs-list-group-border-width);
    border-left-width: 0;
  }
  .list-group-horizontal-sm > .list-group-item + .list-group-item.active {
    margin-left: calc(-1 * var(--bs-list-group-border-width));
    border-left-width: var(--bs-list-group-border-width);
  }
}
@media (min-width: 768px) {
  .list-group-horizontal-md {
    flex-direction: row;
  }
  .list-group-horizontal-md > .list-group-item:first-child:not(:last-child) {
    border-bottom-left-radius: var(--bs-list-group-border-radius);
    border-top-right-radius: 0;
  }
  .list-group-horizontal-md > .list-group-item:last-child:not(:first-child) {
    border-top-right-radius: var(--bs-list-group-border-radius);
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-md > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-md > .list-group-item + .list-group-item {
    border-top-width: var(--bs-list-group-border-width);
    border-left-width: 0;
  }
  .list-group-horizontal-md > .list-group-item + .list-group-item.active {
    margin-left: calc(-1 * var(--bs-list-group-border-width));
    border-left-width: var(--bs-list-group-border-width);
  }
}
@media (min-width: 992px) {
  .list-group-horizontal-lg {
    flex-direction: row;
  }
  .list-group-horizontal-lg > .list-group-item:first-child:not(:last-child) {
    border-bottom-left-radius: var(--bs-list-group-border-radius);
    border-top-right-radius: 0;
  }
  .list-group-horizontal-lg > .list-group-item:last-child:not(:first-child) {
    border-top-right-radius: var(--bs-list-group-border-radius);
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-lg > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-lg > .list-group-item + .list-group-item {
    border-top-width: var(--bs-list-group-border-width);
    border-left-width: 0;
  }
  .list-group-horizontal-lg > .list-group-item + .list-group-item.active {
    margin-left: calc(-1 * var(--bs-list-group-border-width));
    border-left-width: var(--bs-list-group-border-width);
  }
}
@media (min-width: 1200px) {
  .list-group-horizontal-xl {
    flex-direction: row;
  }
  .list-group-horizontal-xl > .list-group-item:first-child:not(:last-child) {
    border-bottom-left-radius: var(--bs-list-group-border-radius);
    border-top-right-radius: 0;
  }
  .list-group-horizontal-xl > .list-group-item:last-child:not(:first-child) {
    border-top-right-radius: var(--bs-list-group-border-radius);
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-xl > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-xl > .list-group-item + .list-group-item {
    border-top-width: var(--bs-list-group-border-width);
    border-left-width: 0;
  }
  .list-group-horizontal-xl > .list-group-item + .list-group-item.active {
    margin-left: calc(-1 * var(--bs-list-group-border-width));
    border-left-width: var(--bs-list-group-border-width);
  }
}
@media (min-width: 1400px) {
  .list-group-horizontal-xxl {
    flex-direction: row;
  }
  .list-group-horizontal-xxl > .list-group-item:first-child:not(:last-child) {
    border-bottom-left-radius: var(--bs-list-group-border-radius);
    border-top-right-radius: 0;
  }
  .list-group-horizontal-xxl > .list-group-item:last-child:not(:first-child) {
    border-top-right-radius: var(--bs-list-group-border-radius);
    border-bottom-left-radius: 0;
  }
  .list-group-horizontal-xxl > .list-group-item.active {
    margin-top: 0;
  }
  .list-group-horizontal-xxl > .list-group-item + .list-group-item {
    border-top-width: var(--bs-list-group-border-width);
    border-left-width: 0;
  }
  .list-group-horizontal-xxl > .list-group-item + .list-group-item.active {
    margin-left: calc(-1 * var(--bs-list-group-border-width));
    border-left-width: var(--bs-list-group-border-width);
  }
}
.list-group-flush {
  border-radius: 0;
}
.list-group-flush > .list-group-item {
  border-width: 0 0 var(--bs-list-group-border-width);
}
.list-group-flush > .list-group-item:last-child {
  border-bottom-width: 0;
}

.list-group-item-primary {
  --bs-list-group-color: var(--bs-primary-text-emphasis);
  --bs-list-group-bg: var(--bs-primary-bg-subtle);
  --bs-list-group-border-color: var(--bs-primary-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-primary-border-subtle);
  --bs-list-group-active-color: var(--bs-primary-bg-subtle);
  --bs-list-group-active-bg: var(--bs-primary-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-primary-text-emphasis);
}

.list-group-item-secondary {
  --bs-list-group-color: var(--bs-secondary-text-emphasis);
  --bs-list-group-bg: var(--bs-secondary-bg-subtle);
  --bs-list-group-border-color: var(--bs-secondary-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);
  --bs-list-group-active-color: var(--bs-secondary-bg-subtle);
  --bs-list-group-active-bg: var(--bs-secondary-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-secondary-text-emphasis);
}

.list-group-item-success {
  --bs-list-group-color: var(--bs-success-text-emphasis);
  --bs-list-group-bg: var(--bs-success-bg-subtle);
  --bs-list-group-border-color: var(--bs-success-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-success-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-success-border-subtle);
  --bs-list-group-active-color: var(--bs-success-bg-subtle);
  --bs-list-group-active-bg: var(--bs-success-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-success-text-emphasis);
}

.list-group-item-info {
  --bs-list-group-color: var(--bs-info-text-emphasis);
  --bs-list-group-bg: var(--bs-info-bg-subtle);
  --bs-list-group-border-color: var(--bs-info-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-info-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-info-border-subtle);
  --bs-list-group-active-color: var(--bs-info-bg-subtle);
  --bs-list-group-active-bg: var(--bs-info-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-info-text-emphasis);
}

.list-group-item-warning {
  --bs-list-group-color: var(--bs-warning-text-emphasis);
  --bs-list-group-bg: var(--bs-warning-bg-subtle);
  --bs-list-group-border-color: var(--bs-warning-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-warning-border-subtle);
  --bs-list-group-active-color: var(--bs-warning-bg-subtle);
  --bs-list-group-active-bg: var(--bs-warning-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-warning-text-emphasis);
}

.list-group-item-danger {
  --bs-list-group-color: var(--bs-danger-text-emphasis);
  --bs-list-group-bg: var(--bs-danger-bg-subtle);
  --bs-list-group-border-color: var(--bs-danger-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-danger-border-subtle);
  --bs-list-group-active-color: var(--bs-danger-bg-subtle);
  --bs-list-group-active-bg: var(--bs-danger-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-danger-text-emphasis);
}

.list-group-item-light {
  --bs-list-group-color: var(--bs-light-text-emphasis);
  --bs-list-group-bg: var(--bs-light-bg-subtle);
  --bs-list-group-border-color: var(--bs-light-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-light-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-light-border-subtle);
  --bs-list-group-active-color: var(--bs-light-bg-subtle);
  --bs-list-group-active-bg: var(--bs-light-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-light-text-emphasis);
}

.list-group-item-dark {
  --bs-list-group-color: var(--bs-dark-text-emphasis);
  --bs-list-group-bg: var(--bs-dark-bg-subtle);
  --bs-list-group-border-color: var(--bs-dark-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-dark-border-subtle);
  --bs-list-group-active-color: var(--bs-dark-bg-subtle);
  --bs-list-group-active-bg: var(--bs-dark-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-dark-text-emphasis);
}

.list-group-item-accent {
  --bs-list-group-color: var(--bs-accent-text-emphasis);
  --bs-list-group-bg: var(--bs-accent-bg-subtle);
  --bs-list-group-border-color: var(--bs-accent-border-subtle);
  --bs-list-group-action-hover-color: var(--bs-emphasis-color);
  --bs-list-group-action-hover-bg: var(--bs-accent-border-subtle);
  --bs-list-group-action-active-color: var(--bs-emphasis-color);
  --bs-list-group-action-active-bg: var(--bs-accent-border-subtle);
  --bs-list-group-active-color: var(--bs-accent-bg-subtle);
  --bs-list-group-active-bg: var(--bs-accent-text-emphasis);
  --bs-list-group-active-border-color: var(--bs-accent-text-emphasis);
}

.btn-close {
  --bs-btn-close-color: #000;
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
  --bs-btn-close-opacity: 0.5;
  --bs-btn-close-hover-opacity: 0.75;
  --bs-btn-close-focus-shadow: 0 0 0 0.2rem rgba(61, 90, 255, 0.2);
  --bs-btn-close-focus-opacity: 1;
  --bs-btn-close-disabled-opacity: 0.25;
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: var(--bs-btn-close-color);
  background: transparent var(--bs-btn-close-bg) center/1em auto no-repeat;
  filter: var(--bs-btn-close-filter);
  border: 0;
  border-radius: 1rem;
  opacity: var(--bs-btn-close-opacity);
}
.btn-close:hover {
  color: var(--bs-btn-close-color);
  text-decoration: none;
  opacity: var(--bs-btn-close-hover-opacity);
}
.btn-close:focus {
  outline: 0;
  box-shadow: var(--bs-btn-close-focus-shadow);
  opacity: var(--bs-btn-close-focus-opacity);
}
.btn-close:disabled, .btn-close.disabled {
  pointer-events: none;
  user-select: none;
  opacity: var(--bs-btn-close-disabled-opacity);
}

.btn-close-white {
  --bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%);
}

:root,
[data-bs-theme=light] {
  --bs-btn-close-filter: ;
}

.toast {
  --bs-toast-zindex: 1090;
  --bs-toast-padding-x: 0.75rem;
  --bs-toast-padding-y: 0.5rem;
  --bs-toast-spacing: 32px;
  --bs-toast-max-width: 350px;
  --bs-toast-font-size: 0.875rem;
  --bs-toast-color: ;
  --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);
  --bs-toast-border-width: var(--bs-border-width);
  --bs-toast-border-color: var(--bs-border-color-translucent);
  --bs-toast-border-radius: var(--bs-border-radius);
  --bs-toast-box-shadow: var(--bs-box-shadow);
  --bs-toast-header-color: var(--bs-secondary-color);
  --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);
  --bs-toast-header-border-color: var(--bs-border-color-translucent);
  width: var(--bs-toast-max-width);
  max-width: 100%;
  font-size: var(--bs-toast-font-size);
  color: var(--bs-toast-color);
  pointer-events: auto;
  background-color: var(--bs-toast-bg);
  background-clip: padding-box;
  border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);
  box-shadow: var(--bs-toast-box-shadow);
  border-radius: var(--bs-toast-border-radius);
}
.toast.showing {
  opacity: 0;
}
.toast:not(.show) {
  display: none;
}

.toast-container {
  --bs-toast-zindex: 1090;
  position: absolute;
  z-index: var(--bs-toast-zindex);
  width: max-content;
  max-width: 100%;
  pointer-events: none;
}
.toast-container > :not(:last-child) {
  margin-bottom: var(--bs-toast-spacing);
}

.toast-header {
  display: flex;
  align-items: center;
  padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);
  color: var(--bs-toast-header-color);
  background-color: var(--bs-toast-header-bg);
  background-clip: padding-box;
  border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);
  border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
  border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
}
.toast-header .btn-close {
  margin-right: calc(-0.5 * var(--bs-toast-padding-x));
  margin-left: var(--bs-toast-padding-x);
}

.toast-body {
  padding: var(--bs-toast-padding-x);
  word-wrap: break-word;
}

.modal {
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-color: var(--bs-body-color);
  --bs-modal-bg: var(--bs-body-bg);
  --bs-modal-border-color: #ebe4db;
  --bs-modal-border-width: var(--bs-border-width);
  --bs-modal-border-radius: 1.75rem;
  --bs-modal-box-shadow: 0 40px 90px -40px rgba(5, 0, 26, 0.42);
  --bs-modal-inner-border-radius: calc(1.75rem - (var(--bs-border-width)));
  --bs-modal-header-padding-x: 1rem;
  --bs-modal-header-padding-y: 1rem;
  --bs-modal-header-padding: 1rem 1rem;
  --bs-modal-header-border-color: var(--bs-border-color);
  --bs-modal-header-border-width: var(--bs-border-width);
  --bs-modal-title-line-height: 1.6;
  --bs-modal-footer-gap: 0.5rem;
  --bs-modal-footer-bg: ;
  --bs-modal-footer-border-color: var(--bs-border-color);
  --bs-modal-footer-border-width: var(--bs-border-width);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: var(--bs-modal-margin);
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transform: translate(0, -50px);
  transition: transform 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  transform: none;
}
.modal.modal-static .modal-dialog {
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  height: calc(100% - var(--bs-modal-margin) * 2);
}
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--bs-modal-color);
  pointer-events: auto;
  background-color: var(--bs-modal-bg);
  background-clip: padding-box;
  border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
  border-radius: var(--bs-modal-border-radius);
  box-shadow: var(--bs-modal-box-shadow);
  outline: 0;
}

.modal-backdrop {
  --bs-backdrop-zindex: 1050;
  --bs-backdrop-bg: #000;
  --bs-backdrop-opacity: 0.5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-backdrop-zindex);
  width: 100vw;
  height: 100vh;
  background-color: var(--bs-backdrop-bg);
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: var(--bs-backdrop-opacity);
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: var(--bs-modal-header-padding);
  border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
  border-top-left-radius: var(--bs-modal-inner-border-radius);
  border-top-right-radius: var(--bs-modal-inner-border-radius);
}
.modal-header .btn-close {
  padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);
  margin-top: calc(-0.5 * var(--bs-modal-header-padding-y));
  margin-right: calc(-0.5 * var(--bs-modal-header-padding-x));
  margin-bottom: calc(-0.5 * var(--bs-modal-header-padding-y));
  margin-left: auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: var(--bs-modal-title-line-height);
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: var(--bs-modal-padding);
}

.modal-footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * 0.5);
  background-color: var(--bs-modal-footer-bg);
  border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
  border-bottom-right-radius: var(--bs-modal-inner-border-radius);
  border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}
.modal-footer > * {
  margin: calc(var(--bs-modal-footer-gap) * 0.5);
}

@media (min-width: 576px) {
  .modal {
    --bs-modal-margin: 1.75rem;
    --bs-modal-box-shadow: var(--bs-box-shadow);
  }
  .modal-dialog {
    max-width: var(--bs-modal-width);
    margin-right: auto;
    margin-left: auto;
  }
  .modal-sm {
    --bs-modal-width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    --bs-modal-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 1140px;
  }
}
.modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}
.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
  border-radius: 0;
}
.modal-fullscreen .modal-body {
  overflow-y: auto;
}

@media (max-width: 575.98px) {
  .modal-fullscreen-sm-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-sm-down .modal-header,
  .modal-fullscreen-sm-down .modal-footer {
    border-radius: 0;
  }
  .modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 767.98px) {
  .modal-fullscreen-md-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-md-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-md-down .modal-header,
  .modal-fullscreen-md-down .modal-footer {
    border-radius: 0;
  }
  .modal-fullscreen-md-down .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-lg-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-lg-down .modal-header,
  .modal-fullscreen-lg-down .modal-footer {
    border-radius: 0;
  }
  .modal-fullscreen-lg-down .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 1199.98px) {
  .modal-fullscreen-xl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-xl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-xl-down .modal-header,
  .modal-fullscreen-xl-down .modal-footer {
    border-radius: 0;
  }
  .modal-fullscreen-xl-down .modal-body {
    overflow-y: auto;
  }
}
@media (max-width: 1399.98px) {
  .modal-fullscreen-xxl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-xxl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-xxl-down .modal-header,
  .modal-fullscreen-xxl-down .modal-footer {
    border-radius: 0;
  }
  .modal-fullscreen-xxl-down .modal-body {
    overflow-y: auto;
  }
}
.tooltip {
  --bs-tooltip-zindex: 1080;
  --bs-tooltip-max-width: 400px;
  --bs-tooltip-padding-x: 0.5rem;
  --bs-tooltip-padding-y: 0.25rem;
  --bs-tooltip-margin: ;
  --bs-tooltip-font-size: 0.8rem;
  --bs-tooltip-color: var(--hh-primary-contrast);
  --bs-tooltip-bg: #05001a;
  --bs-tooltip-border-radius: 0.6rem;
  --bs-tooltip-opacity: 0.9;
  --bs-tooltip-arrow-width: 0.8rem;
  --bs-tooltip-arrow-height: 0.4rem;
  z-index: var(--bs-tooltip-zindex);
  display: block;
  margin: var(--bs-tooltip-margin);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: var(--bs-tooltip-font-size);
  word-wrap: break-word;
  opacity: 0;
}
.tooltip.show {
  opacity: var(--bs-tooltip-opacity);
}
.tooltip .tooltip-arrow {
  display: block;
  width: var(--bs-tooltip-arrow-width);
  height: var(--bs-tooltip-arrow-height);
}
.tooltip .tooltip-arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
  bottom: calc(-1 * var(--bs-tooltip-arrow-height));
}
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
  top: -1px;
  border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;
  border-top-color: var(--bs-tooltip-bg);
}

/* rtl:begin:ignore */
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {
  left: calc(-1 * var(--bs-tooltip-arrow-height));
  width: var(--bs-tooltip-arrow-height);
  height: var(--bs-tooltip-arrow-width);
}
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
  right: -1px;
  border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;
  border-right-color: var(--bs-tooltip-bg);
}

/* rtl:end:ignore */
.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {
  top: calc(-1 * var(--bs-tooltip-arrow-height));
}
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
  bottom: -1px;
  border-width: 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);
  border-bottom-color: var(--bs-tooltip-bg);
}

/* rtl:begin:ignore */
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {
  right: calc(-1 * var(--bs-tooltip-arrow-height));
  width: var(--bs-tooltip-arrow-height);
  height: var(--bs-tooltip-arrow-width);
}
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
  left: -1px;
  border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);
  border-left-color: var(--bs-tooltip-bg);
}

/* rtl:end:ignore */
.tooltip-inner {
  max-width: var(--bs-tooltip-max-width);
  padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);
  color: var(--bs-tooltip-color);
  text-align: center;
  background-color: var(--bs-tooltip-bg);
  border-radius: var(--bs-tooltip-border-radius);
}

.popover {
  --bs-popover-zindex: 1070;
  --bs-popover-max-width: 276px;
  --bs-popover-font-size: 0.875rem;
  --bs-popover-bg: var(--bs-body-bg);
  --bs-popover-border-width: 1px;
  --bs-popover-border-color: #ebe4db;
  --bs-popover-border-radius: 1rem;
  --bs-popover-inner-border-radius: calc(1rem - 1px);
  --bs-popover-box-shadow: 0 28px 60px -30px rgba(5, 0, 26, 0.28);
  --bs-popover-header-padding-x: 1rem;
  --bs-popover-header-padding-y: 0.5rem;
  --bs-popover-header-font-size: 1rem;
  --bs-popover-header-color: inherit;
  --bs-popover-header-bg: var(--bs-secondary-bg);
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: 1rem;
  --bs-popover-body-color: var(--bs-body-color);
  --bs-popover-arrow-width: 1rem;
  --bs-popover-arrow-height: 0.5rem;
  --bs-popover-arrow-border: var(--bs-popover-border-color);
  z-index: var(--bs-popover-zindex);
  display: block;
  max-width: var(--bs-popover-max-width);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: var(--bs-popover-font-size);
  word-wrap: break-word;
  background-color: var(--bs-popover-bg);
  background-clip: padding-box;
  border: var(--bs-popover-border-width) solid var(--bs-popover-border-color);
  border-radius: var(--bs-popover-border-radius);
  box-shadow: var(--bs-popover-box-shadow);
}
.popover .popover-arrow {
  display: block;
  width: var(--bs-popover-arrow-width);
  height: var(--bs-popover-arrow-height);
}
.popover .popover-arrow::before, .popover .popover-arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
  border-width: 0;
}

.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {
  bottom: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));
}
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before, .bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
  border-width: var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;
}
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {
  bottom: 0;
  border-top-color: var(--bs-popover-arrow-border);
}
.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
  bottom: var(--bs-popover-border-width);
  border-top-color: var(--bs-popover-bg);
}

/* rtl:begin:ignore */
.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {
  left: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));
  width: var(--bs-popover-arrow-height);
  height: var(--bs-popover-arrow-width);
}
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before, .bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
  border-width: calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;
}
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {
  left: 0;
  border-right-color: var(--bs-popover-arrow-border);
}
.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
  left: var(--bs-popover-border-width);
  border-right-color: var(--bs-popover-bg);
}

/* rtl:end:ignore */
.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {
  top: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));
}
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before, .bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
  border-width: 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);
}
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {
  top: 0;
  border-bottom-color: var(--bs-popover-arrow-border);
}
.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
  top: var(--bs-popover-border-width);
  border-bottom-color: var(--bs-popover-bg);
}
.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: var(--bs-popover-arrow-width);
  margin-left: calc(-0.5 * var(--bs-popover-arrow-width));
  content: "";
  border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-header-bg);
}

/* rtl:begin:ignore */
.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {
  right: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));
  width: var(--bs-popover-arrow-height);
  height: var(--bs-popover-arrow-width);
}
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before, .bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
  border-width: calc(var(--bs-popover-arrow-width) * 0.5) 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);
}
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {
  right: 0;
  border-left-color: var(--bs-popover-arrow-border);
}
.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
  right: var(--bs-popover-border-width);
  border-left-color: var(--bs-popover-bg);
}

/* rtl:end:ignore */
.popover-header {
  padding: var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);
  margin-bottom: 0;
  font-size: var(--bs-popover-header-font-size);
  color: var(--bs-popover-header-color);
  background-color: var(--bs-popover-header-bg);
  border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-border-color);
  border-top-left-radius: var(--bs-popover-inner-border-radius);
  border-top-right-radius: var(--bs-popover-inner-border-radius);
}
.popover-header:empty {
  display: none;
}

.popover-body {
  padding: var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);
  color: var(--bs-popover-body-color);
}

.carousel {
  position: relative;
}

.carousel.pointer-event {
  touch-action: pan-y;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
  transform: translateX(-100%);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  z-index: 1;
  opacity: 1;
}
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-start,
  .carousel-fade .active.carousel-item-end {
    transition: none;
  }
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  filter: var(--bs-carousel-control-icon-filter);
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}
.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")*/;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")*/;
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
}
.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: var(--bs-carousel-indicator-active-bg);
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-indicators [data-bs-target] {
    transition: none;
  }
}
.carousel-indicators .active {
  opacity: 1;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 1.25rem;
  left: 15%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: var(--bs-carousel-caption-color);
  text-align: center;
}

.carousel-dark {
  --bs-carousel-indicator-active-bg: #000;
  --bs-carousel-caption-color: #000;
  --bs-carousel-control-icon-filter: invert(1) grayscale(100);
}

:root,
[data-bs-theme=light] {
  --bs-carousel-indicator-active-bg: #fff;
  --bs-carousel-caption-color: #fff;
  --bs-carousel-control-icon-filter: ;
}

.spinner-grow,
.spinner-border {
  display: inline-block;
  flex-shrink: 0;
  width: var(--bs-spinner-width);
  height: var(--bs-spinner-height);
  vertical-align: var(--bs-spinner-vertical-align);
  border-radius: 50%;
  animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg) /* rtl:ignore */;
  }
}
.spinner-border {
  --bs-spinner-width: 2rem;
  --bs-spinner-height: 2rem;
  --bs-spinner-vertical-align: -0.125em;
  --bs-spinner-border-width: 0.25em;
  --bs-spinner-animation-speed: 0.75s;
  --bs-spinner-animation-name: spinner-border;
  border: var(--bs-spinner-border-width) solid currentcolor;
  border-right-color: transparent;
}

.spinner-border-sm {
  --bs-spinner-width: 1rem;
  --bs-spinner-height: 1rem;
  --bs-spinner-border-width: 0.2em;
}

@keyframes spinner-grow {
  0% {
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: none;
  }
}
.spinner-grow {
  --bs-spinner-width: 2rem;
  --bs-spinner-height: 2rem;
  --bs-spinner-vertical-align: -0.125em;
  --bs-spinner-animation-speed: 0.75s;
  --bs-spinner-animation-name: spinner-grow;
  background-color: currentcolor;
  opacity: 0;
}

.spinner-grow-sm {
  --bs-spinner-width: 1rem;
  --bs-spinner-height: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .spinner-border,
  .spinner-grow {
    --bs-spinner-animation-speed: 1.5s;
  }
}
.offcanvas, .offcanvas-xxl, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm {
  --bs-offcanvas-zindex: 1045;
  --bs-offcanvas-width: 400px;
  --bs-offcanvas-height: 30vh;
  --bs-offcanvas-padding-x: 1rem;
  --bs-offcanvas-padding-y: 1rem;
  --bs-offcanvas-color: var(--bs-body-color);
  --bs-offcanvas-bg: var(--bs-body-bg);
  --bs-offcanvas-border-width: var(--bs-border-width);
  --bs-offcanvas-border-color: #ebe4db;
  --bs-offcanvas-box-shadow: 0 40px 90px -40px rgba(5, 0, 26, 0.42);
  --bs-offcanvas-transition: transform 0.3s ease-in-out;
  --bs-offcanvas-title-line-height: 1.6;
}

@media (max-width: 575.98px) {
  .offcanvas-sm {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    box-shadow: var(--bs-offcanvas-box-shadow);
    transition: var(--bs-offcanvas-transition);
  }
}
@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {
  .offcanvas-sm {
    transition: none;
  }
}
@media (max-width: 575.98px) {
  .offcanvas-sm.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
  }
  .offcanvas-sm.offcanvas-end {
    top: 0;
    right: 0;
    width: var(--bs-offcanvas-width);
    border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(100%);
  }
  .offcanvas-sm.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(-100%);
  }
  .offcanvas-sm.offcanvas-bottom {
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(100%);
  }
  .offcanvas-sm.showing, .offcanvas-sm.show:not(.hiding) {
    transform: none;
  }
  .offcanvas-sm.showing, .offcanvas-sm.hiding, .offcanvas-sm.show {
    visibility: visible;
  }
}
@media (min-width: 576px) {
  .offcanvas-sm {
    --bs-offcanvas-height: auto;
    --bs-offcanvas-border-width: 0;
    background-color: transparent !important;
  }
  .offcanvas-sm .offcanvas-header {
    display: none;
  }
  .offcanvas-sm .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
    background-color: transparent !important;
  }
}

@media (max-width: 767.98px) {
  .offcanvas-md {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    box-shadow: var(--bs-offcanvas-box-shadow);
    transition: var(--bs-offcanvas-transition);
  }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .offcanvas-md {
    transition: none;
  }
}
@media (max-width: 767.98px) {
  .offcanvas-md.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
  }
  .offcanvas-md.offcanvas-end {
    top: 0;
    right: 0;
    width: var(--bs-offcanvas-width);
    border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(100%);
  }
  .offcanvas-md.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(-100%);
  }
  .offcanvas-md.offcanvas-bottom {
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(100%);
  }
  .offcanvas-md.showing, .offcanvas-md.show:not(.hiding) {
    transform: none;
  }
  .offcanvas-md.showing, .offcanvas-md.hiding, .offcanvas-md.show {
    visibility: visible;
  }
}
@media (min-width: 768px) {
  .offcanvas-md {
    --bs-offcanvas-height: auto;
    --bs-offcanvas-border-width: 0;
    background-color: transparent !important;
  }
  .offcanvas-md .offcanvas-header {
    display: none;
  }
  .offcanvas-md .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
    background-color: transparent !important;
  }
}

@media (max-width: 991.98px) {
  .offcanvas-lg {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    box-shadow: var(--bs-offcanvas-box-shadow);
    transition: var(--bs-offcanvas-transition);
  }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  .offcanvas-lg {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  .offcanvas-lg.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
  }
  .offcanvas-lg.offcanvas-end {
    top: 0;
    right: 0;
    width: var(--bs-offcanvas-width);
    border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(100%);
  }
  .offcanvas-lg.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(-100%);
  }
  .offcanvas-lg.offcanvas-bottom {
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(100%);
  }
  .offcanvas-lg.showing, .offcanvas-lg.show:not(.hiding) {
    transform: none;
  }
  .offcanvas-lg.showing, .offcanvas-lg.hiding, .offcanvas-lg.show {
    visibility: visible;
  }
}
@media (min-width: 992px) {
  .offcanvas-lg {
    --bs-offcanvas-height: auto;
    --bs-offcanvas-border-width: 0;
    background-color: transparent !important;
  }
  .offcanvas-lg .offcanvas-header {
    display: none;
  }
  .offcanvas-lg .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
    background-color: transparent !important;
  }
}

@media (max-width: 1199.98px) {
  .offcanvas-xl {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    box-shadow: var(--bs-offcanvas-box-shadow);
    transition: var(--bs-offcanvas-transition);
  }
}
@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  .offcanvas-xl {
    transition: none;
  }
}
@media (max-width: 1199.98px) {
  .offcanvas-xl.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
  }
  .offcanvas-xl.offcanvas-end {
    top: 0;
    right: 0;
    width: var(--bs-offcanvas-width);
    border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(100%);
  }
  .offcanvas-xl.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(-100%);
  }
  .offcanvas-xl.offcanvas-bottom {
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(100%);
  }
  .offcanvas-xl.showing, .offcanvas-xl.show:not(.hiding) {
    transform: none;
  }
  .offcanvas-xl.showing, .offcanvas-xl.hiding, .offcanvas-xl.show {
    visibility: visible;
  }
}
@media (min-width: 1200px) {
  .offcanvas-xl {
    --bs-offcanvas-height: auto;
    --bs-offcanvas-border-width: 0;
    background-color: transparent !important;
  }
  .offcanvas-xl .offcanvas-header {
    display: none;
  }
  .offcanvas-xl .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
    background-color: transparent !important;
  }
}

@media (max-width: 1399.98px) {
  .offcanvas-xxl {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    box-shadow: var(--bs-offcanvas-box-shadow);
    transition: var(--bs-offcanvas-transition);
  }
}
@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) {
  .offcanvas-xxl {
    transition: none;
  }
}
@media (max-width: 1399.98px) {
  .offcanvas-xxl.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
  }
  .offcanvas-xxl.offcanvas-end {
    top: 0;
    right: 0;
    width: var(--bs-offcanvas-width);
    border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(100%);
  }
  .offcanvas-xxl.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(-100%);
  }
  .offcanvas-xxl.offcanvas-bottom {
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateY(100%);
  }
  .offcanvas-xxl.showing, .offcanvas-xxl.show:not(.hiding) {
    transform: none;
  }
  .offcanvas-xxl.showing, .offcanvas-xxl.hiding, .offcanvas-xxl.show {
    visibility: visible;
  }
}
@media (min-width: 1400px) {
  .offcanvas-xxl {
    --bs-offcanvas-height: auto;
    --bs-offcanvas-border-width: 0;
    background-color: transparent !important;
  }
  .offcanvas-xxl .offcanvas-header {
    display: none;
  }
  .offcanvas-xxl .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
    background-color: transparent !important;
  }
}

.offcanvas {
  position: fixed;
  bottom: 0;
  z-index: var(--bs-offcanvas-zindex);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  color: var(--bs-offcanvas-color);
  visibility: hidden;
  background-color: var(--bs-offcanvas-bg);
  background-clip: padding-box;
  outline: 0;
  box-shadow: var(--bs-offcanvas-box-shadow);
  transition: var(--bs-offcanvas-transition);
}
@media (prefers-reduced-motion: reduce) {
  .offcanvas {
    transition: none;
  }
}
.offcanvas.offcanvas-start {
  top: 0;
  left: 0;
  width: var(--bs-offcanvas-width);
  border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
  transform: translateX(-100%);
}
.offcanvas.offcanvas-end {
  top: 0;
  right: 0;
  width: var(--bs-offcanvas-width);
  border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
  transform: translateX(100%);
}
.offcanvas.offcanvas-top {
  top: 0;
  right: 0;
  left: 0;
  height: var(--bs-offcanvas-height);
  max-height: 100%;
  border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
  transform: translateY(-100%);
}
.offcanvas.offcanvas-bottom {
  right: 0;
  left: 0;
  height: var(--bs-offcanvas-height);
  max-height: 100%;
  border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
  transform: translateY(100%);
}
.offcanvas.showing, .offcanvas.show:not(.hiding) {
  transform: none;
}
.offcanvas.showing, .offcanvas.hiding, .offcanvas.show {
  visibility: visible;
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.offcanvas-backdrop.fade {
  opacity: 0;
}
.offcanvas-backdrop.show {
  opacity: 0.5;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}
.offcanvas-header .btn-close {
  padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5);
  margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y));
  margin-right: calc(-0.5 * var(--bs-offcanvas-padding-x));
  margin-bottom: calc(-0.5 * var(--bs-offcanvas-padding-y));
  margin-left: auto;
}

.offcanvas-title {
  margin-bottom: 0;
  line-height: var(--bs-offcanvas-title-line-height);
}

.offcanvas-body {
  flex-grow: 1;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
  overflow-y: auto;
}

.placeholder {
  display: inline-block;
  min-height: 1em;
  vertical-align: middle;
  cursor: wait;
  background-color: currentcolor;
  opacity: 0.5;
}
.placeholder.btn::before {
  display: inline-block;
  content: "";
}

.placeholder-xs {
  min-height: 0.6em;
}

.placeholder-sm {
  min-height: 0.8em;
}

.placeholder-lg {
  min-height: 1.2em;
}

.placeholder-glow .placeholder {
  animation: placeholder-glow 2s ease-in-out infinite;
}

@keyframes placeholder-glow {
  50% {
    opacity: 0.2;
  }
}
.placeholder-wave {
  mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);
  mask-size: 200% 100%;
  animation: placeholder-wave 2s linear infinite;
}

@keyframes placeholder-wave {
  100% {
    mask-position: -200% 0%;
  }
}
.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.text-bg-primary {
  color: #fff !important;
  background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-secondary {
  color: #fff !important;
  background-color: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-success {
  color: #fff !important;
  background-color: RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-info {
  color: #fff !important;
  background-color: RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-warning {
  color: #fff !important;
  background-color: RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-danger {
  color: #fff !important;
  background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-light {
  color: #000 !important;
  background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-dark {
  color: #fff !important;
  background-color: RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-accent {
  color: #fff !important;
  background-color: RGBA(var(--bs-accent-rgb), var(--bs-bg-opacity, 1)) !important;
}

.link-primary {
  color: RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-primary:hover, .link-primary:focus {
  color: RGBA(49, 72, 204, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(49, 72, 204, var(--bs-link-underline-opacity, 1)) !important;
}

.link-secondary {
  color: RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-secondary:hover, .link-secondary:focus {
  color: RGBA(40, 58, 159, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(40, 58, 159, var(--bs-link-underline-opacity, 1)) !important;
}

.link-success {
  color: RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-success:hover, .link-success:focus {
  color: RGBA(18, 130, 59, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(18, 130, 59, var(--bs-link-underline-opacity, 1)) !important;
}

.link-info {
  color: RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-info:hover, .link-info:focus {
  color: RGBA(40, 58, 159, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(40, 58, 159, var(--bs-link-underline-opacity, 1)) !important;
}

.link-warning {
  color: RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-warning:hover, .link-warning:focus {
  color: RGBA(174, 95, 5, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(174, 95, 5, var(--bs-link-underline-opacity, 1)) !important;
}

.link-danger {
  color: RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-danger:hover, .link-danger:focus {
  color: RGBA(176, 30, 30, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(176, 30, 30, var(--bs-link-underline-opacity, 1)) !important;
}

.link-light {
  color: RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-light:hover, .link-light:focus {
  color: RGBA(255, 251, 247, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(255, 251, 247, var(--bs-link-underline-opacity, 1)) !important;
}

.link-dark {
  color: RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-dark:hover, .link-dark:focus {
  color: RGBA(4, 0, 21, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(4, 0, 21, var(--bs-link-underline-opacity, 1)) !important;
}

.link-accent {
  color: RGBA(var(--bs-accent-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-accent-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-accent:hover, .link-accent:focus {
  color: RGBA(49, 72, 204, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(49, 72, 204, var(--bs-link-underline-opacity, 1)) !important;
}

.link-body-emphasis {
  color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-body-emphasis:hover, .link-body-emphasis:focus {
  color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;
  text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important;
}

.focus-ring:focus {
  outline: 0;
  box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color);
}

.icon-link {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));
  text-underline-offset: 0.25em;
  backface-visibility: hidden;
}
.icon-link > .bi {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: currentcolor;
  transition: 0.2s ease-in-out transform;
}
@media (prefers-reduced-motion: reduce) {
  .icon-link > .bi {
    transition: none;
  }
}

.icon-link-hover:hover > .bi, .icon-link-hover:focus-visible > .bi {
  transform: var(--bs-icon-link-transform, translate3d(0.25em, 0, 0));
}

.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}
.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}

.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

.ratio-21x9 {
  --bs-aspect-ratio: 42.8571428571%;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.sticky-bottom {
  position: sticky;
  bottom: 0;
  z-index: 1020;
}

@media (min-width: 576px) {
  .sticky-sm-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .sticky-sm-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
  }
}
@media (min-width: 768px) {
  .sticky-md-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .sticky-md-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
  }
}
@media (min-width: 992px) {
  .sticky-lg-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .sticky-lg-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
  }
}
@media (min-width: 1200px) {
  .sticky-xl-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .sticky-xl-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
  }
}
@media (min-width: 1400px) {
  .sticky-xxl-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .sticky-xxl-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
  }
}
.hstack {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
}

.vstack {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-self: stretch;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.visually-hidden:not(caption),
.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
  position: absolute !important;
}
.visually-hidden *,
.visually-hidden-focusable:not(:focus):not(:focus-within) * {
  overflow: hidden !important;
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vr {
  display: inline-block;
  align-self: stretch;
  width: var(--bs-border-width);
  min-height: 1em;
  background-color: currentcolor;
  opacity: 0.25;
}

.align-baseline {
  vertical-align: baseline !important;
}

.align-top {
  vertical-align: top !important;
}

.align-middle {
  vertical-align: middle !important;
}

.align-bottom {
  vertical-align: bottom !important;
}

.align-text-bottom {
  vertical-align: text-bottom !important;
}

.align-text-top {
  vertical-align: text-top !important;
}

.float-start {
  float: left !important;
}

.float-end {
  float: right !important;
}

.float-none {
  float: none !important;
}

.object-fit-contain {
  object-fit: contain !important;
}

.object-fit-cover {
  object-fit: cover !important;
}

.object-fit-fill {
  object-fit: fill !important;
}

.object-fit-scale {
  object-fit: scale-down !important;
}

.object-fit-none {
  object-fit: none !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-100 {
  opacity: 1 !important;
}

.overflow-auto {
  overflow: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.overflow-visible {
  overflow: visible !important;
}

.overflow-scroll {
  overflow: scroll !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.overflow-x-visible {
  overflow-x: visible !important;
}

.overflow-x-scroll {
  overflow-x: scroll !important;
}

.overflow-y-auto {
  overflow-y: auto !important;
}

.overflow-y-hidden {
  overflow-y: hidden !important;
}

.overflow-y-visible {
  overflow-y: visible !important;
}

.overflow-y-scroll {
  overflow-y: scroll !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-grid {
  display: grid !important;
}

.d-inline-grid {
  display: inline-grid !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-none {
  display: none !important;
}

.shadow {
  box-shadow: var(--bs-box-shadow) !important;
}

.shadow-sm {
  box-shadow: var(--bs-box-shadow-sm) !important;
}

.shadow-lg {
  box-shadow: var(--bs-box-shadow-lg) !important;
}

.shadow-none {
  box-shadow: none !important;
}

.focus-ring-primary {
  --bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-secondary {
  --bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-success {
  --bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-info {
  --bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-warning {
  --bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-danger {
  --bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-light {
  --bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-dark {
  --bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity));
}

.focus-ring-accent {
  --bs-focus-ring-color: rgba(var(--bs-accent-rgb), var(--bs-focus-ring-opacity));
}

.position-static {
  position: static !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: sticky !important;
}

.top-0 {
  top: 0 !important;
}

.top-50 {
  top: 50% !important;
}

.top-100 {
  top: 100% !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.bottom-50 {
  bottom: 50% !important;
}

.bottom-100 {
  bottom: 100% !important;
}

.start-0 {
  left: 0 !important;
}

.start-50 {
  left: 50% !important;
}

.start-100 {
  left: 100% !important;
}

.end-0 {
  right: 0 !important;
}

.end-50 {
  right: 50% !important;
}

.end-100 {
  right: 100% !important;
}

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

.translate-middle-y {
  transform: translateY(-50%) !important;
}

.border {
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-top-0 {
  border-top: 0 !important;
}

.border-end {
  border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-end-0 {
  border-right: 0 !important;
}

.border-bottom {
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-bottom-0 {
  border-bottom: 0 !important;
}

.border-start {
  border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-start-0 {
  border-left: 0 !important;
}

.border-primary {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
}

.border-secondary {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;
}

.border-success {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
}

.border-info {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;
}

.border-warning {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;
}

.border-danger {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
}

.border-light {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;
}

.border-dark {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
}

.border-black {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important;
}

.border-white {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;
}

.border-primary-subtle {
  border-color: var(--bs-primary-border-subtle) !important;
}

.border-secondary-subtle {
  border-color: var(--bs-secondary-border-subtle) !important;
}

.border-success-subtle {
  border-color: var(--bs-success-border-subtle) !important;
}

.border-info-subtle {
  border-color: var(--bs-info-border-subtle) !important;
}

.border-warning-subtle {
  border-color: var(--bs-warning-border-subtle) !important;
}

.border-danger-subtle {
  border-color: var(--bs-danger-border-subtle) !important;
}

.border-light-subtle {
  border-color: var(--bs-light-border-subtle) !important;
}

.border-dark-subtle {
  border-color: var(--bs-dark-border-subtle) !important;
}

.border-accent-subtle {
  border-color: var(--bs-accent-border-subtle) !important;
}

.border-1 {
  border-width: 1px !important;
}

.border-2 {
  border-width: 2px !important;
}

.border-3 {
  border-width: 3px !important;
}

.border-4 {
  border-width: 4px !important;
}

.border-5 {
  border-width: 5px !important;
}

.border-opacity-10 {
  --bs-border-opacity: 0.1;
}

.border-opacity-25 {
  --bs-border-opacity: 0.25;
}

.border-opacity-50 {
  --bs-border-opacity: 0.5;
}

.border-opacity-75 {
  --bs-border-opacity: 0.75;
}

.border-opacity-100 {
  --bs-border-opacity: 1;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.mw-100 {
  max-width: 100% !important;
}

.vw-100 {
  width: 100vw !important;
}

.min-vw-100 {
  min-width: 100vw !important;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}

.mh-100 {
  max-height: 100% !important;
}

.vh-100 {
  height: 100vh !important;
}

.min-vh-100 {
  min-height: 100vh !important;
}

.flex-fill {
  flex: 1 1 auto !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-shrink-1 {
  flex-shrink: 1 !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.justify-content-evenly {
  justify-content: space-evenly !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.align-content-start {
  align-content: flex-start !important;
}

.align-content-end {
  align-content: flex-end !important;
}

.align-content-center {
  align-content: center !important;
}

.align-content-between {
  align-content: space-between !important;
}

.align-content-around {
  align-content: space-around !important;
}

.align-content-stretch {
  align-content: stretch !important;
}

.align-self-auto {
  align-self: auto !important;
}

.align-self-start {
  align-self: flex-start !important;
}

.align-self-end {
  align-self: flex-end !important;
}

.align-self-center {
  align-self: center !important;
}

.align-self-baseline {
  align-self: baseline !important;
}

.align-self-stretch {
  align-self: stretch !important;
}

.order-first {
  order: -1 !important;
}

.order-0 {
  order: 0 !important;
}

.order-1 {
  order: 1 !important;
}

.order-2 {
  order: 2 !important;
}

.order-3 {
  order: 3 !important;
}

.order-4 {
  order: 4 !important;
}

.order-5 {
  order: 5 !important;
}

.order-last {
  order: 6 !important;
}

.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mx-0 {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.mx-1 {
  margin-right: 0.25rem !important;
  margin-left: 0.25rem !important;
}

.mx-2 {
  margin-right: 0.5rem !important;
  margin-left: 0.5rem !important;
}

.mx-3 {
  margin-right: 1rem !important;
  margin-left: 1rem !important;
}

.mx-4 {
  margin-right: 1.5rem !important;
  margin-left: 1.5rem !important;
}

.mx-5 {
  margin-right: 3rem !important;
  margin-left: 3rem !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

.me-0 {
  margin-right: 0 !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.me-auto {
  margin-right: auto !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.px-1 {
  padding-right: 0.25rem !important;
  padding-left: 0.25rem !important;
}

.px-2 {
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

.px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.px-4 {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.px-5 {
  padding-right: 3rem !important;
  padding-left: 3rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pe-0 {
  padding-right: 0 !important;
}

.pe-1 {
  padding-right: 0.25rem !important;
}

.pe-2 {
  padding-right: 0.5rem !important;
}

.pe-3 {
  padding-right: 1rem !important;
}

.pe-4 {
  padding-right: 1.5rem !important;
}

.pe-5 {
  padding-right: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.ps-0 {
  padding-left: 0 !important;
}

.ps-1 {
  padding-left: 0.25rem !important;
}

.ps-2 {
  padding-left: 0.5rem !important;
}

.ps-3 {
  padding-left: 1rem !important;
}

.ps-4 {
  padding-left: 1.5rem !important;
}

.ps-5 {
  padding-left: 3rem !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.row-gap-0 {
  row-gap: 0 !important;
}

.row-gap-1 {
  row-gap: 0.25rem !important;
}

.row-gap-2 {
  row-gap: 0.5rem !important;
}

.row-gap-3 {
  row-gap: 1rem !important;
}

.row-gap-4 {
  row-gap: 1.5rem !important;
}

.row-gap-5 {
  row-gap: 3rem !important;
}

.column-gap-0 {
  column-gap: 0 !important;
}

.column-gap-1 {
  column-gap: 0.25rem !important;
}

.column-gap-2 {
  column-gap: 0.5rem !important;
}

.column-gap-3 {
  column-gap: 1rem !important;
}

.column-gap-4 {
  column-gap: 1.5rem !important;
}

.column-gap-5 {
  column-gap: 3rem !important;
}

.font-monospace {
  font-family: var(--bs-font-monospace) !important;
}

.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.fs-6 {
  font-size: 1rem !important;
}

.fst-italic {
  font-style: italic !important;
}

.fst-normal {
  font-style: normal !important;
}

.fw-lighter {
  font-weight: lighter !important;
}

.fw-light {
  font-weight: 300 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-bolder {
  font-weight: bolder !important;
}

.lh-1 {
  line-height: 1 !important;
}

.lh-sm {
  line-height: 1.25 !important;
}

.lh-base {
  line-height: 1.6 !important;
}

.lh-lg {
  line-height: 2 !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-underline {
  text-decoration: underline !important;
}

.text-decoration-line-through {
  text-decoration: line-through !important;
}

.text-lowercase {
  text-transform: lowercase !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.text-wrap {
  white-space: normal !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

/* rtl:begin:remove */
.text-break {
  word-wrap: break-word !important;
  word-break: break-word !important;
}

/* rtl:end:remove */
.text-primary {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

.text-secondary {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

.text-success {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.text-info {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
}

.text-warning {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}

.text-danger {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

.text-light {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.text-dark {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

.text-black {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
}

.text-white {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}

.text-body {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
}

.text-muted {
  --bs-text-opacity: 1;
  color: var(--bs-secondary-color) !important;
}

.text-black-50 {
  --bs-text-opacity: 1;
  color: rgba(0, 0, 0, 0.5) !important;
}

.text-white-50 {
  --bs-text-opacity: 1;
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-body-secondary {
  --bs-text-opacity: 1;
  color: var(--bs-secondary-color) !important;
}

.text-body-tertiary {
  --bs-text-opacity: 1;
  color: var(--bs-tertiary-color) !important;
}

.text-body-emphasis {
  --bs-text-opacity: 1;
  color: var(--bs-emphasis-color) !important;
}

.text-reset {
  --bs-text-opacity: 1;
  color: inherit !important;
}

.text-opacity-25 {
  --bs-text-opacity: 0.25;
}

.text-opacity-50 {
  --bs-text-opacity: 0.5;
}

.text-opacity-75 {
  --bs-text-opacity: 0.75;
}

.text-opacity-100 {
  --bs-text-opacity: 1;
}

.text-primary-emphasis {
  color: var(--bs-primary-text-emphasis) !important;
}

.text-secondary-emphasis {
  color: var(--bs-secondary-text-emphasis) !important;
}

.text-success-emphasis {
  color: var(--bs-success-text-emphasis) !important;
}

.text-info-emphasis {
  color: var(--bs-info-text-emphasis) !important;
}

.text-warning-emphasis {
  color: var(--bs-warning-text-emphasis) !important;
}

.text-danger-emphasis {
  color: var(--bs-danger-text-emphasis) !important;
}

.text-light-emphasis {
  color: var(--bs-light-text-emphasis) !important;
}

.text-dark-emphasis {
  color: var(--bs-dark-text-emphasis) !important;
}

.text-accent-emphasis {
  color: var(--bs-accent-text-emphasis) !important;
}

.link-opacity-10 {
  --bs-link-opacity: 0.1;
}

.link-opacity-10-hover:hover {
  --bs-link-opacity: 0.1;
}

.link-opacity-25 {
  --bs-link-opacity: 0.25;
}

.link-opacity-25-hover:hover {
  --bs-link-opacity: 0.25;
}

.link-opacity-50 {
  --bs-link-opacity: 0.5;
}

.link-opacity-50-hover:hover {
  --bs-link-opacity: 0.5;
}

.link-opacity-75 {
  --bs-link-opacity: 0.75;
}

.link-opacity-75-hover:hover {
  --bs-link-opacity: 0.75;
}

.link-opacity-100 {
  --bs-link-opacity: 1;
}

.link-opacity-100-hover:hover {
  --bs-link-opacity: 1;
}

.link-offset-1 {
  text-underline-offset: 0.125em !important;
}

.link-offset-1-hover:hover {
  text-underline-offset: 0.125em !important;
}

.link-offset-2 {
  text-underline-offset: 0.25em !important;
}

.link-offset-2-hover:hover {
  text-underline-offset: 0.25em !important;
}

.link-offset-3 {
  text-underline-offset: 0.375em !important;
}

.link-offset-3-hover:hover {
  text-underline-offset: 0.375em !important;
}

.link-underline-primary {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-secondary {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-success {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-info {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-warning {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-danger {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-light {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline-dark {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important;
}

.link-underline {
  --bs-link-underline-opacity: 1;
  text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important;
}

.link-underline-opacity-0 {
  --bs-link-underline-opacity: 0;
}

.link-underline-opacity-0-hover:hover {
  --bs-link-underline-opacity: 0;
}

.link-underline-opacity-10 {
  --bs-link-underline-opacity: 0.1;
}

.link-underline-opacity-10-hover:hover {
  --bs-link-underline-opacity: 0.1;
}

.link-underline-opacity-25 {
  --bs-link-underline-opacity: 0.25;
}

.link-underline-opacity-25-hover:hover {
  --bs-link-underline-opacity: 0.25;
}

.link-underline-opacity-50 {
  --bs-link-underline-opacity: 0.5;
}

.link-underline-opacity-50-hover:hover {
  --bs-link-underline-opacity: 0.5;
}

.link-underline-opacity-75 {
  --bs-link-underline-opacity: 0.75;
}

.link-underline-opacity-75-hover:hover {
  --bs-link-underline-opacity: 0.75;
}

.link-underline-opacity-100 {
  --bs-link-underline-opacity: 1;
}

.link-underline-opacity-100-hover:hover {
  --bs-link-underline-opacity: 1;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-secondary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-success {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.bg-info {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
}

.bg-warning {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

.bg-danger {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.bg-light {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.bg-dark {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.bg-black {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;
}

.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}

.bg-body {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
}

.bg-transparent {
  --bs-bg-opacity: 1;
  background-color: transparent !important;
}

.bg-body-secondary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;
}

.bg-body-tertiary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1;
}

.bg-opacity-25 {
  --bs-bg-opacity: 0.25;
}

.bg-opacity-50 {
  --bs-bg-opacity: 0.5;
}

.bg-opacity-75 {
  --bs-bg-opacity: 0.75;
}

.bg-opacity-100 {
  --bs-bg-opacity: 1;
}

.bg-primary-subtle {
  background-color: var(--bs-primary-bg-subtle) !important;
}

.bg-secondary-subtle {
  background-color: var(--bs-secondary-bg-subtle) !important;
}

.bg-success-subtle {
  background-color: var(--bs-success-bg-subtle) !important;
}

.bg-info-subtle {
  background-color: var(--bs-info-bg-subtle) !important;
}

.bg-warning-subtle {
  background-color: var(--bs-warning-bg-subtle) !important;
}

.bg-danger-subtle {
  background-color: var(--bs-danger-bg-subtle) !important;
}

.bg-light-subtle {
  background-color: var(--bs-light-bg-subtle) !important;
}

.bg-dark-subtle {
  background-color: var(--bs-dark-bg-subtle) !important;
}

.bg-accent-subtle {
  background-color: var(--bs-accent-bg-subtle) !important;
}

.bg-gradient {
  background-image: var(--bs-gradient) !important;
}

.user-select-all {
  user-select: all !important;
}

.user-select-auto {
  user-select: auto !important;
}

.user-select-none {
  user-select: none !important;
}

.pe-none {
  pointer-events: none !important;
}

.pe-auto {
  pointer-events: auto !important;
}

.rounded {
  border-radius: var(--bs-border-radius) !important;
}

.rounded-0 {
  border-radius: 0 !important;
}

.rounded-1 {
  border-radius: var(--bs-border-radius-sm) !important;
}

.rounded-2 {
  border-radius: var(--bs-border-radius) !important;
}

.rounded-3 {
  border-radius: var(--bs-border-radius-lg) !important;
}

.rounded-4 {
  border-radius: var(--bs-border-radius-xl) !important;
}

.rounded-5 {
  border-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: var(--bs-border-radius-pill) !important;
}

.rounded-top {
  border-top-left-radius: var(--bs-border-radius) !important;
  border-top-right-radius: var(--bs-border-radius) !important;
}

.rounded-top-0 {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.rounded-top-1 {
  border-top-left-radius: var(--bs-border-radius-sm) !important;
  border-top-right-radius: var(--bs-border-radius-sm) !important;
}

.rounded-top-2 {
  border-top-left-radius: var(--bs-border-radius) !important;
  border-top-right-radius: var(--bs-border-radius) !important;
}

.rounded-top-3 {
  border-top-left-radius: var(--bs-border-radius-lg) !important;
  border-top-right-radius: var(--bs-border-radius-lg) !important;
}

.rounded-top-4 {
  border-top-left-radius: var(--bs-border-radius-xl) !important;
  border-top-right-radius: var(--bs-border-radius-xl) !important;
}

.rounded-top-5 {
  border-top-left-radius: var(--bs-border-radius-xxl) !important;
  border-top-right-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-top-circle {
  border-top-left-radius: 50% !important;
  border-top-right-radius: 50% !important;
}

.rounded-top-pill {
  border-top-left-radius: var(--bs-border-radius-pill) !important;
  border-top-right-radius: var(--bs-border-radius-pill) !important;
}

.rounded-end {
  border-top-right-radius: var(--bs-border-radius) !important;
  border-bottom-right-radius: var(--bs-border-radius) !important;
}

.rounded-end-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.rounded-end-1 {
  border-top-right-radius: var(--bs-border-radius-sm) !important;
  border-bottom-right-radius: var(--bs-border-radius-sm) !important;
}

.rounded-end-2 {
  border-top-right-radius: var(--bs-border-radius) !important;
  border-bottom-right-radius: var(--bs-border-radius) !important;
}

.rounded-end-3 {
  border-top-right-radius: var(--bs-border-radius-lg) !important;
  border-bottom-right-radius: var(--bs-border-radius-lg) !important;
}

.rounded-end-4 {
  border-top-right-radius: var(--bs-border-radius-xl) !important;
  border-bottom-right-radius: var(--bs-border-radius-xl) !important;
}

.rounded-end-5 {
  border-top-right-radius: var(--bs-border-radius-xxl) !important;
  border-bottom-right-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-end-circle {
  border-top-right-radius: 50% !important;
  border-bottom-right-radius: 50% !important;
}

.rounded-end-pill {
  border-top-right-radius: var(--bs-border-radius-pill) !important;
  border-bottom-right-radius: var(--bs-border-radius-pill) !important;
}

.rounded-bottom {
  border-bottom-right-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

.rounded-bottom-0 {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.rounded-bottom-1 {
  border-bottom-right-radius: var(--bs-border-radius-sm) !important;
  border-bottom-left-radius: var(--bs-border-radius-sm) !important;
}

.rounded-bottom-2 {
  border-bottom-right-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

.rounded-bottom-3 {
  border-bottom-right-radius: var(--bs-border-radius-lg) !important;
  border-bottom-left-radius: var(--bs-border-radius-lg) !important;
}

.rounded-bottom-4 {
  border-bottom-right-radius: var(--bs-border-radius-xl) !important;
  border-bottom-left-radius: var(--bs-border-radius-xl) !important;
}

.rounded-bottom-5 {
  border-bottom-right-radius: var(--bs-border-radius-xxl) !important;
  border-bottom-left-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-bottom-circle {
  border-bottom-right-radius: 50% !important;
  border-bottom-left-radius: 50% !important;
}

.rounded-bottom-pill {
  border-bottom-right-radius: var(--bs-border-radius-pill) !important;
  border-bottom-left-radius: var(--bs-border-radius-pill) !important;
}

.rounded-start {
  border-bottom-left-radius: var(--bs-border-radius) !important;
  border-top-left-radius: var(--bs-border-radius) !important;
}

.rounded-start-0 {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

.rounded-start-1 {
  border-bottom-left-radius: var(--bs-border-radius-sm) !important;
  border-top-left-radius: var(--bs-border-radius-sm) !important;
}

.rounded-start-2 {
  border-bottom-left-radius: var(--bs-border-radius) !important;
  border-top-left-radius: var(--bs-border-radius) !important;
}

.rounded-start-3 {
  border-bottom-left-radius: var(--bs-border-radius-lg) !important;
  border-top-left-radius: var(--bs-border-radius-lg) !important;
}

.rounded-start-4 {
  border-bottom-left-radius: var(--bs-border-radius-xl) !important;
  border-top-left-radius: var(--bs-border-radius-xl) !important;
}

.rounded-start-5 {
  border-bottom-left-radius: var(--bs-border-radius-xxl) !important;
  border-top-left-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-start-circle {
  border-bottom-left-radius: 50% !important;
  border-top-left-radius: 50% !important;
}

.rounded-start-pill {
  border-bottom-left-radius: var(--bs-border-radius-pill) !important;
  border-top-left-radius: var(--bs-border-radius-pill) !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}

.z-n1 {
  z-index: -1 !important;
}

.z-0 {
  z-index: 0 !important;
}

.z-1 {
  z-index: 1 !important;
}

.z-2 {
  z-index: 2 !important;
}

.z-3 {
  z-index: 3 !important;
}

@media (min-width: 576px) {
  .float-sm-start {
    float: left !important;
  }
  .float-sm-end {
    float: right !important;
  }
  .float-sm-none {
    float: none !important;
  }
  .object-fit-sm-contain {
    object-fit: contain !important;
  }
  .object-fit-sm-cover {
    object-fit: cover !important;
  }
  .object-fit-sm-fill {
    object-fit: fill !important;
  }
  .object-fit-sm-scale {
    object-fit: scale-down !important;
  }
  .object-fit-sm-none {
    object-fit: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-grid {
    display: grid !important;
  }
  .d-sm-inline-grid {
    display: inline-grid !important;
  }
  .d-sm-table {
    display: table !important;
  }
  .d-sm-table-row {
    display: table-row !important;
  }
  .d-sm-table-cell {
    display: table-cell !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: inline-flex !important;
  }
  .d-sm-none {
    display: none !important;
  }
  .flex-sm-fill {
    flex: 1 1 auto !important;
  }
  .flex-sm-row {
    flex-direction: row !important;
  }
  .flex-sm-column {
    flex-direction: column !important;
  }
  .flex-sm-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-sm-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-sm-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-sm-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-sm-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-sm-shrink-1 {
    flex-shrink: 1 !important;
  }
  .flex-sm-wrap {
    flex-wrap: wrap !important;
  }
  .flex-sm-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-sm-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-sm-start {
    justify-content: flex-start !important;
  }
  .justify-content-sm-end {
    justify-content: flex-end !important;
  }
  .justify-content-sm-center {
    justify-content: center !important;
  }
  .justify-content-sm-between {
    justify-content: space-between !important;
  }
  .justify-content-sm-around {
    justify-content: space-around !important;
  }
  .justify-content-sm-evenly {
    justify-content: space-evenly !important;
  }
  .align-items-sm-start {
    align-items: flex-start !important;
  }
  .align-items-sm-end {
    align-items: flex-end !important;
  }
  .align-items-sm-center {
    align-items: center !important;
  }
  .align-items-sm-baseline {
    align-items: baseline !important;
  }
  .align-items-sm-stretch {
    align-items: stretch !important;
  }
  .align-content-sm-start {
    align-content: flex-start !important;
  }
  .align-content-sm-end {
    align-content: flex-end !important;
  }
  .align-content-sm-center {
    align-content: center !important;
  }
  .align-content-sm-between {
    align-content: space-between !important;
  }
  .align-content-sm-around {
    align-content: space-around !important;
  }
  .align-content-sm-stretch {
    align-content: stretch !important;
  }
  .align-self-sm-auto {
    align-self: auto !important;
  }
  .align-self-sm-start {
    align-self: flex-start !important;
  }
  .align-self-sm-end {
    align-self: flex-end !important;
  }
  .align-self-sm-center {
    align-self: center !important;
  }
  .align-self-sm-baseline {
    align-self: baseline !important;
  }
  .align-self-sm-stretch {
    align-self: stretch !important;
  }
  .order-sm-first {
    order: -1 !important;
  }
  .order-sm-0 {
    order: 0 !important;
  }
  .order-sm-1 {
    order: 1 !important;
  }
  .order-sm-2 {
    order: 2 !important;
  }
  .order-sm-3 {
    order: 3 !important;
  }
  .order-sm-4 {
    order: 4 !important;
  }
  .order-sm-5 {
    order: 5 !important;
  }
  .order-sm-last {
    order: 6 !important;
  }
  .m-sm-0 {
    margin: 0 !important;
  }
  .m-sm-1 {
    margin: 0.25rem !important;
  }
  .m-sm-2 {
    margin: 0.5rem !important;
  }
  .m-sm-3 {
    margin: 1rem !important;
  }
  .m-sm-4 {
    margin: 1.5rem !important;
  }
  .m-sm-5 {
    margin: 3rem !important;
  }
  .m-sm-auto {
    margin: auto !important;
  }
  .mx-sm-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .mx-sm-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  .mx-sm-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }
  .mx-sm-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  .mx-sm-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
  .mx-sm-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
  .mx-sm-auto {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  .my-sm-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .my-sm-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .my-sm-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .my-sm-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .my-sm-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-sm-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .my-sm-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
  .mt-sm-0 {
    margin-top: 0 !important;
  }
  .mt-sm-1 {
    margin-top: 0.25rem !important;
  }
  .mt-sm-2 {
    margin-top: 0.5rem !important;
  }
  .mt-sm-3 {
    margin-top: 1rem !important;
  }
  .mt-sm-4 {
    margin-top: 1.5rem !important;
  }
  .mt-sm-5 {
    margin-top: 3rem !important;
  }
  .mt-sm-auto {
    margin-top: auto !important;
  }
  .me-sm-0 {
    margin-right: 0 !important;
  }
  .me-sm-1 {
    margin-right: 0.25rem !important;
  }
  .me-sm-2 {
    margin-right: 0.5rem !important;
  }
  .me-sm-3 {
    margin-right: 1rem !important;
  }
  .me-sm-4 {
    margin-right: 1.5rem !important;
  }
  .me-sm-5 {
    margin-right: 3rem !important;
  }
  .me-sm-auto {
    margin-right: auto !important;
  }
  .mb-sm-0 {
    margin-bottom: 0 !important;
  }
  .mb-sm-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-sm-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-sm-3 {
    margin-bottom: 1rem !important;
  }
  .mb-sm-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-sm-5 {
    margin-bottom: 3rem !important;
  }
  .mb-sm-auto {
    margin-bottom: auto !important;
  }
  .ms-sm-0 {
    margin-left: 0 !important;
  }
  .ms-sm-1 {
    margin-left: 0.25rem !important;
  }
  .ms-sm-2 {
    margin-left: 0.5rem !important;
  }
  .ms-sm-3 {
    margin-left: 1rem !important;
  }
  .ms-sm-4 {
    margin-left: 1.5rem !important;
  }
  .ms-sm-5 {
    margin-left: 3rem !important;
  }
  .ms-sm-auto {
    margin-left: auto !important;
  }
  .p-sm-0 {
    padding: 0 !important;
  }
  .p-sm-1 {
    padding: 0.25rem !important;
  }
  .p-sm-2 {
    padding: 0.5rem !important;
  }
  .p-sm-3 {
    padding: 1rem !important;
  }
  .p-sm-4 {
    padding: 1.5rem !important;
  }
  .p-sm-5 {
    padding: 3rem !important;
  }
  .px-sm-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .px-sm-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }
  .px-sm-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  .px-sm-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .px-sm-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }
  .px-sm-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
  .py-sm-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-sm-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-sm-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-sm-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-sm-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .py-sm-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .pt-sm-0 {
    padding-top: 0 !important;
  }
  .pt-sm-1 {
    padding-top: 0.25rem !important;
  }
  .pt-sm-2 {
    padding-top: 0.5rem !important;
  }
  .pt-sm-3 {
    padding-top: 1rem !important;
  }
  .pt-sm-4 {
    padding-top: 1.5rem !important;
  }
  .pt-sm-5 {
    padding-top: 3rem !important;
  }
  .pe-sm-0 {
    padding-right: 0 !important;
  }
  .pe-sm-1 {
    padding-right: 0.25rem !important;
  }
  .pe-sm-2 {
    padding-right: 0.5rem !important;
  }
  .pe-sm-3 {
    padding-right: 1rem !important;
  }
  .pe-sm-4 {
    padding-right: 1.5rem !important;
  }
  .pe-sm-5 {
    padding-right: 3rem !important;
  }
  .pb-sm-0 {
    padding-bottom: 0 !important;
  }
  .pb-sm-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-sm-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-sm-3 {
    padding-bottom: 1rem !important;
  }
  .pb-sm-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-sm-5 {
    padding-bottom: 3rem !important;
  }
  .ps-sm-0 {
    padding-left: 0 !important;
  }
  .ps-sm-1 {
    padding-left: 0.25rem !important;
  }
  .ps-sm-2 {
    padding-left: 0.5rem !important;
  }
  .ps-sm-3 {
    padding-left: 1rem !important;
  }
  .ps-sm-4 {
    padding-left: 1.5rem !important;
  }
  .ps-sm-5 {
    padding-left: 3rem !important;
  }
  .gap-sm-0 {
    gap: 0 !important;
  }
  .gap-sm-1 {
    gap: 0.25rem !important;
  }
  .gap-sm-2 {
    gap: 0.5rem !important;
  }
  .gap-sm-3 {
    gap: 1rem !important;
  }
  .gap-sm-4 {
    gap: 1.5rem !important;
  }
  .gap-sm-5 {
    gap: 3rem !important;
  }
  .row-gap-sm-0 {
    row-gap: 0 !important;
  }
  .row-gap-sm-1 {
    row-gap: 0.25rem !important;
  }
  .row-gap-sm-2 {
    row-gap: 0.5rem !important;
  }
  .row-gap-sm-3 {
    row-gap: 1rem !important;
  }
  .row-gap-sm-4 {
    row-gap: 1.5rem !important;
  }
  .row-gap-sm-5 {
    row-gap: 3rem !important;
  }
  .column-gap-sm-0 {
    column-gap: 0 !important;
  }
  .column-gap-sm-1 {
    column-gap: 0.25rem !important;
  }
  .column-gap-sm-2 {
    column-gap: 0.5rem !important;
  }
  .column-gap-sm-3 {
    column-gap: 1rem !important;
  }
  .column-gap-sm-4 {
    column-gap: 1.5rem !important;
  }
  .column-gap-sm-5 {
    column-gap: 3rem !important;
  }
  .text-sm-start {
    text-align: left !important;
  }
  .text-sm-end {
    text-align: right !important;
  }
  .text-sm-center {
    text-align: center !important;
  }
}
@media (min-width: 768px) {
  .float-md-start {
    float: left !important;
  }
  .float-md-end {
    float: right !important;
  }
  .float-md-none {
    float: none !important;
  }
  .object-fit-md-contain {
    object-fit: contain !important;
  }
  .object-fit-md-cover {
    object-fit: cover !important;
  }
  .object-fit-md-fill {
    object-fit: fill !important;
  }
  .object-fit-md-scale {
    object-fit: scale-down !important;
  }
  .object-fit-md-none {
    object-fit: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-grid {
    display: grid !important;
  }
  .d-md-inline-grid {
    display: inline-grid !important;
  }
  .d-md-table {
    display: table !important;
  }
  .d-md-table-row {
    display: table-row !important;
  }
  .d-md-table-cell {
    display: table-cell !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-inline-flex {
    display: inline-flex !important;
  }
  .d-md-none {
    display: none !important;
  }
  .flex-md-fill {
    flex: 1 1 auto !important;
  }
  .flex-md-row {
    flex-direction: row !important;
  }
  .flex-md-column {
    flex-direction: column !important;
  }
  .flex-md-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-md-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-md-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-md-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-md-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-md-shrink-1 {
    flex-shrink: 1 !important;
  }
  .flex-md-wrap {
    flex-wrap: wrap !important;
  }
  .flex-md-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-md-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-md-start {
    justify-content: flex-start !important;
  }
  .justify-content-md-end {
    justify-content: flex-end !important;
  }
  .justify-content-md-center {
    justify-content: center !important;
  }
  .justify-content-md-between {
    justify-content: space-between !important;
  }
  .justify-content-md-around {
    justify-content: space-around !important;
  }
  .justify-content-md-evenly {
    justify-content: space-evenly !important;
  }
  .align-items-md-start {
    align-items: flex-start !important;
  }
  .align-items-md-end {
    align-items: flex-end !important;
  }
  .align-items-md-center {
    align-items: center !important;
  }
  .align-items-md-baseline {
    align-items: baseline !important;
  }
  .align-items-md-stretch {
    align-items: stretch !important;
  }
  .align-content-md-start {
    align-content: flex-start !important;
  }
  .align-content-md-end {
    align-content: flex-end !important;
  }
  .align-content-md-center {
    align-content: center !important;
  }
  .align-content-md-between {
    align-content: space-between !important;
  }
  .align-content-md-around {
    align-content: space-around !important;
  }
  .align-content-md-stretch {
    align-content: stretch !important;
  }
  .align-self-md-auto {
    align-self: auto !important;
  }
  .align-self-md-start {
    align-self: flex-start !important;
  }
  .align-self-md-end {
    align-self: flex-end !important;
  }
  .align-self-md-center {
    align-self: center !important;
  }
  .align-self-md-baseline {
    align-self: baseline !important;
  }
  .align-self-md-stretch {
    align-self: stretch !important;
  }
  .order-md-first {
    order: -1 !important;
  }
  .order-md-0 {
    order: 0 !important;
  }
  .order-md-1 {
    order: 1 !important;
  }
  .order-md-2 {
    order: 2 !important;
  }
  .order-md-3 {
    order: 3 !important;
  }
  .order-md-4 {
    order: 4 !important;
  }
  .order-md-5 {
    order: 5 !important;
  }
  .order-md-last {
    order: 6 !important;
  }
  .m-md-0 {
    margin: 0 !important;
  }
  .m-md-1 {
    margin: 0.25rem !important;
  }
  .m-md-2 {
    margin: 0.5rem !important;
  }
  .m-md-3 {
    margin: 1rem !important;
  }
  .m-md-4 {
    margin: 1.5rem !important;
  }
  .m-md-5 {
    margin: 3rem !important;
  }
  .m-md-auto {
    margin: auto !important;
  }
  .mx-md-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .mx-md-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  .mx-md-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }
  .mx-md-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  .mx-md-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
  .mx-md-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
  .mx-md-auto {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  .my-md-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .my-md-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .my-md-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .my-md-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .my-md-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-md-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .my-md-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
  .mt-md-0 {
    margin-top: 0 !important;
  }
  .mt-md-1 {
    margin-top: 0.25rem !important;
  }
  .mt-md-2 {
    margin-top: 0.5rem !important;
  }
  .mt-md-3 {
    margin-top: 1rem !important;
  }
  .mt-md-4 {
    margin-top: 1.5rem !important;
  }
  .mt-md-5 {
    margin-top: 3rem !important;
  }
  .mt-md-auto {
    margin-top: auto !important;
  }
  .me-md-0 {
    margin-right: 0 !important;
  }
  .me-md-1 {
    margin-right: 0.25rem !important;
  }
  .me-md-2 {
    margin-right: 0.5rem !important;
  }
  .me-md-3 {
    margin-right: 1rem !important;
  }
  .me-md-4 {
    margin-right: 1.5rem !important;
  }
  .me-md-5 {
    margin-right: 3rem !important;
  }
  .me-md-auto {
    margin-right: auto !important;
  }
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  .mb-md-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-md-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-md-3 {
    margin-bottom: 1rem !important;
  }
  .mb-md-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-md-5 {
    margin-bottom: 3rem !important;
  }
  .mb-md-auto {
    margin-bottom: auto !important;
  }
  .ms-md-0 {
    margin-left: 0 !important;
  }
  .ms-md-1 {
    margin-left: 0.25rem !important;
  }
  .ms-md-2 {
    margin-left: 0.5rem !important;
  }
  .ms-md-3 {
    margin-left: 1rem !important;
  }
  .ms-md-4 {
    margin-left: 1.5rem !important;
  }
  .ms-md-5 {
    margin-left: 3rem !important;
  }
  .ms-md-auto {
    margin-left: auto !important;
  }
  .p-md-0 {
    padding: 0 !important;
  }
  .p-md-1 {
    padding: 0.25rem !important;
  }
  .p-md-2 {
    padding: 0.5rem !important;
  }
  .p-md-3 {
    padding: 1rem !important;
  }
  .p-md-4 {
    padding: 1.5rem !important;
  }
  .p-md-5 {
    padding: 3rem !important;
  }
  .px-md-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .px-md-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }
  .px-md-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  .px-md-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .px-md-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }
  .px-md-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
  .py-md-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-md-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-md-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-md-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-md-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .py-md-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .pt-md-0 {
    padding-top: 0 !important;
  }
  .pt-md-1 {
    padding-top: 0.25rem !important;
  }
  .pt-md-2 {
    padding-top: 0.5rem !important;
  }
  .pt-md-3 {
    padding-top: 1rem !important;
  }
  .pt-md-4 {
    padding-top: 1.5rem !important;
  }
  .pt-md-5 {
    padding-top: 3rem !important;
  }
  .pe-md-0 {
    padding-right: 0 !important;
  }
  .pe-md-1 {
    padding-right: 0.25rem !important;
  }
  .pe-md-2 {
    padding-right: 0.5rem !important;
  }
  .pe-md-3 {
    padding-right: 1rem !important;
  }
  .pe-md-4 {
    padding-right: 1.5rem !important;
  }
  .pe-md-5 {
    padding-right: 3rem !important;
  }
  .pb-md-0 {
    padding-bottom: 0 !important;
  }
  .pb-md-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-md-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-md-3 {
    padding-bottom: 1rem !important;
  }
  .pb-md-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-md-5 {
    padding-bottom: 3rem !important;
  }
  .ps-md-0 {
    padding-left: 0 !important;
  }
  .ps-md-1 {
    padding-left: 0.25rem !important;
  }
  .ps-md-2 {
    padding-left: 0.5rem !important;
  }
  .ps-md-3 {
    padding-left: 1rem !important;
  }
  .ps-md-4 {
    padding-left: 1.5rem !important;
  }
  .ps-md-5 {
    padding-left: 3rem !important;
  }
  .gap-md-0 {
    gap: 0 !important;
  }
  .gap-md-1 {
    gap: 0.25rem !important;
  }
  .gap-md-2 {
    gap: 0.5rem !important;
  }
  .gap-md-3 {
    gap: 1rem !important;
  }
  .gap-md-4 {
    gap: 1.5rem !important;
  }
  .gap-md-5 {
    gap: 3rem !important;
  }
  .row-gap-md-0 {
    row-gap: 0 !important;
  }
  .row-gap-md-1 {
    row-gap: 0.25rem !important;
  }
  .row-gap-md-2 {
    row-gap: 0.5rem !important;
  }
  .row-gap-md-3 {
    row-gap: 1rem !important;
  }
  .row-gap-md-4 {
    row-gap: 1.5rem !important;
  }
  .row-gap-md-5 {
    row-gap: 3rem !important;
  }
  .column-gap-md-0 {
    column-gap: 0 !important;
  }
  .column-gap-md-1 {
    column-gap: 0.25rem !important;
  }
  .column-gap-md-2 {
    column-gap: 0.5rem !important;
  }
  .column-gap-md-3 {
    column-gap: 1rem !important;
  }
  .column-gap-md-4 {
    column-gap: 1.5rem !important;
  }
  .column-gap-md-5 {
    column-gap: 3rem !important;
  }
  .text-md-start {
    text-align: left !important;
  }
  .text-md-end {
    text-align: right !important;
  }
  .text-md-center {
    text-align: center !important;
  }
}
@media (min-width: 992px) {
  .float-lg-start {
    float: left !important;
  }
  .float-lg-end {
    float: right !important;
  }
  .float-lg-none {
    float: none !important;
  }
  .object-fit-lg-contain {
    object-fit: contain !important;
  }
  .object-fit-lg-cover {
    object-fit: cover !important;
  }
  .object-fit-lg-fill {
    object-fit: fill !important;
  }
  .object-fit-lg-scale {
    object-fit: scale-down !important;
  }
  .object-fit-lg-none {
    object-fit: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-grid {
    display: grid !important;
  }
  .d-lg-inline-grid {
    display: inline-grid !important;
  }
  .d-lg-table {
    display: table !important;
  }
  .d-lg-table-row {
    display: table-row !important;
  }
  .d-lg-table-cell {
    display: table-cell !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: inline-flex !important;
  }
  .d-lg-none {
    display: none !important;
  }
  .flex-lg-fill {
    flex: 1 1 auto !important;
  }
  .flex-lg-row {
    flex-direction: row !important;
  }
  .flex-lg-column {
    flex-direction: column !important;
  }
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-lg-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-lg-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-lg-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-lg-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-lg-shrink-1 {
    flex-shrink: 1 !important;
  }
  .flex-lg-wrap {
    flex-wrap: wrap !important;
  }
  .flex-lg-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-lg-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-lg-start {
    justify-content: flex-start !important;
  }
  .justify-content-lg-end {
    justify-content: flex-end !important;
  }
  .justify-content-lg-center {
    justify-content: center !important;
  }
  .justify-content-lg-between {
    justify-content: space-between !important;
  }
  .justify-content-lg-around {
    justify-content: space-around !important;
  }
  .justify-content-lg-evenly {
    justify-content: space-evenly !important;
  }
  .align-items-lg-start {
    align-items: flex-start !important;
  }
  .align-items-lg-end {
    align-items: flex-end !important;
  }
  .align-items-lg-center {
    align-items: center !important;
  }
  .align-items-lg-baseline {
    align-items: baseline !important;
  }
  .align-items-lg-stretch {
    align-items: stretch !important;
  }
  .align-content-lg-start {
    align-content: flex-start !important;
  }
  .align-content-lg-end {
    align-content: flex-end !important;
  }
  .align-content-lg-center {
    align-content: center !important;
  }
  .align-content-lg-between {
    align-content: space-between !important;
  }
  .align-content-lg-around {
    align-content: space-around !important;
  }
  .align-content-lg-stretch {
    align-content: stretch !important;
  }
  .align-self-lg-auto {
    align-self: auto !important;
  }
  .align-self-lg-start {
    align-self: flex-start !important;
  }
  .align-self-lg-end {
    align-self: flex-end !important;
  }
  .align-self-lg-center {
    align-self: center !important;
  }
  .align-self-lg-baseline {
    align-self: baseline !important;
  }
  .align-self-lg-stretch {
    align-self: stretch !important;
  }
  .order-lg-first {
    order: -1 !important;
  }
  .order-lg-0 {
    order: 0 !important;
  }
  .order-lg-1 {
    order: 1 !important;
  }
  .order-lg-2 {
    order: 2 !important;
  }
  .order-lg-3 {
    order: 3 !important;
  }
  .order-lg-4 {
    order: 4 !important;
  }
  .order-lg-5 {
    order: 5 !important;
  }
  .order-lg-last {
    order: 6 !important;
  }
  .m-lg-0 {
    margin: 0 !important;
  }
  .m-lg-1 {
    margin: 0.25rem !important;
  }
  .m-lg-2 {
    margin: 0.5rem !important;
  }
  .m-lg-3 {
    margin: 1rem !important;
  }
  .m-lg-4 {
    margin: 1.5rem !important;
  }
  .m-lg-5 {
    margin: 3rem !important;
  }
  .m-lg-auto {
    margin: auto !important;
  }
  .mx-lg-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .mx-lg-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  .mx-lg-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }
  .mx-lg-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  .mx-lg-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
  .mx-lg-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
  .mx-lg-auto {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  .my-lg-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .my-lg-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .my-lg-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .my-lg-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .my-lg-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-lg-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .my-lg-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  .mt-lg-1 {
    margin-top: 0.25rem !important;
  }
  .mt-lg-2 {
    margin-top: 0.5rem !important;
  }
  .mt-lg-3 {
    margin-top: 1rem !important;
  }
  .mt-lg-4 {
    margin-top: 1.5rem !important;
  }
  .mt-lg-5 {
    margin-top: 3rem !important;
  }
  .mt-lg-auto {
    margin-top: auto !important;
  }
  .me-lg-0 {
    margin-right: 0 !important;
  }
  .me-lg-1 {
    margin-right: 0.25rem !important;
  }
  .me-lg-2 {
    margin-right: 0.5rem !important;
  }
  .me-lg-3 {
    margin-right: 1rem !important;
  }
  .me-lg-4 {
    margin-right: 1.5rem !important;
  }
  .me-lg-5 {
    margin-right: 3rem !important;
  }
  .me-lg-auto {
    margin-right: auto !important;
  }
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  .mb-lg-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-lg-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-lg-3 {
    margin-bottom: 1rem !important;
  }
  .mb-lg-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-lg-5 {
    margin-bottom: 3rem !important;
  }
  .mb-lg-auto {
    margin-bottom: auto !important;
  }
  .ms-lg-0 {
    margin-left: 0 !important;
  }
  .ms-lg-1 {
    margin-left: 0.25rem !important;
  }
  .ms-lg-2 {
    margin-left: 0.5rem !important;
  }
  .ms-lg-3 {
    margin-left: 1rem !important;
  }
  .ms-lg-4 {
    margin-left: 1.5rem !important;
  }
  .ms-lg-5 {
    margin-left: 3rem !important;
  }
  .ms-lg-auto {
    margin-left: auto !important;
  }
  .p-lg-0 {
    padding: 0 !important;
  }
  .p-lg-1 {
    padding: 0.25rem !important;
  }
  .p-lg-2 {
    padding: 0.5rem !important;
  }
  .p-lg-3 {
    padding: 1rem !important;
  }
  .p-lg-4 {
    padding: 1.5rem !important;
  }
  .p-lg-5 {
    padding: 3rem !important;
  }
  .px-lg-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .px-lg-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }
  .px-lg-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  .px-lg-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .px-lg-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }
  .px-lg-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
  .py-lg-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-lg-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-lg-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-lg-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-lg-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .py-lg-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .pt-lg-0 {
    padding-top: 0 !important;
  }
  .pt-lg-1 {
    padding-top: 0.25rem !important;
  }
  .pt-lg-2 {
    padding-top: 0.5rem !important;
  }
  .pt-lg-3 {
    padding-top: 1rem !important;
  }
  .pt-lg-4 {
    padding-top: 1.5rem !important;
  }
  .pt-lg-5 {
    padding-top: 3rem !important;
  }
  .pe-lg-0 {
    padding-right: 0 !important;
  }
  .pe-lg-1 {
    padding-right: 0.25rem !important;
  }
  .pe-lg-2 {
    padding-right: 0.5rem !important;
  }
  .pe-lg-3 {
    padding-right: 1rem !important;
  }
  .pe-lg-4 {
    padding-right: 1.5rem !important;
  }
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  .pb-lg-0 {
    padding-bottom: 0 !important;
  }
  .pb-lg-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-lg-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-lg-3 {
    padding-bottom: 1rem !important;
  }
  .pb-lg-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-lg-5 {
    padding-bottom: 3rem !important;
  }
  .ps-lg-0 {
    padding-left: 0 !important;
  }
  .ps-lg-1 {
    padding-left: 0.25rem !important;
  }
  .ps-lg-2 {
    padding-left: 0.5rem !important;
  }
  .ps-lg-3 {
    padding-left: 1rem !important;
  }
  .ps-lg-4 {
    padding-left: 1.5rem !important;
  }
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  .gap-lg-0 {
    gap: 0 !important;
  }
  .gap-lg-1 {
    gap: 0.25rem !important;
  }
  .gap-lg-2 {
    gap: 0.5rem !important;
  }
  .gap-lg-3 {
    gap: 1rem !important;
  }
  .gap-lg-4 {
    gap: 1.5rem !important;
  }
  .gap-lg-5 {
    gap: 3rem !important;
  }
  .row-gap-lg-0 {
    row-gap: 0 !important;
  }
  .row-gap-lg-1 {
    row-gap: 0.25rem !important;
  }
  .row-gap-lg-2 {
    row-gap: 0.5rem !important;
  }
  .row-gap-lg-3 {
    row-gap: 1rem !important;
  }
  .row-gap-lg-4 {
    row-gap: 1.5rem !important;
  }
  .row-gap-lg-5 {
    row-gap: 3rem !important;
  }
  .column-gap-lg-0 {
    column-gap: 0 !important;
  }
  .column-gap-lg-1 {
    column-gap: 0.25rem !important;
  }
  .column-gap-lg-2 {
    column-gap: 0.5rem !important;
  }
  .column-gap-lg-3 {
    column-gap: 1rem !important;
  }
  .column-gap-lg-4 {
    column-gap: 1.5rem !important;
  }
  .column-gap-lg-5 {
    column-gap: 3rem !important;
  }
  .text-lg-start {
    text-align: left !important;
  }
  .text-lg-end {
    text-align: right !important;
  }
  .text-lg-center {
    text-align: center !important;
  }
}
@media (min-width: 1200px) {
  .float-xl-start {
    float: left !important;
  }
  .float-xl-end {
    float: right !important;
  }
  .float-xl-none {
    float: none !important;
  }
  .object-fit-xl-contain {
    object-fit: contain !important;
  }
  .object-fit-xl-cover {
    object-fit: cover !important;
  }
  .object-fit-xl-fill {
    object-fit: fill !important;
  }
  .object-fit-xl-scale {
    object-fit: scale-down !important;
  }
  .object-fit-xl-none {
    object-fit: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-grid {
    display: grid !important;
  }
  .d-xl-inline-grid {
    display: inline-grid !important;
  }
  .d-xl-table {
    display: table !important;
  }
  .d-xl-table-row {
    display: table-row !important;
  }
  .d-xl-table-cell {
    display: table-cell !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: inline-flex !important;
  }
  .d-xl-none {
    display: none !important;
  }
  .flex-xl-fill {
    flex: 1 1 auto !important;
  }
  .flex-xl-row {
    flex-direction: row !important;
  }
  .flex-xl-column {
    flex-direction: column !important;
  }
  .flex-xl-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-xl-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-xl-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-xl-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-xl-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-xl-shrink-1 {
    flex-shrink: 1 !important;
  }
  .flex-xl-wrap {
    flex-wrap: wrap !important;
  }
  .flex-xl-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-xl-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-xl-start {
    justify-content: flex-start !important;
  }
  .justify-content-xl-end {
    justify-content: flex-end !important;
  }
  .justify-content-xl-center {
    justify-content: center !important;
  }
  .justify-content-xl-between {
    justify-content: space-between !important;
  }
  .justify-content-xl-around {
    justify-content: space-around !important;
  }
  .justify-content-xl-evenly {
    justify-content: space-evenly !important;
  }
  .align-items-xl-start {
    align-items: flex-start !important;
  }
  .align-items-xl-end {
    align-items: flex-end !important;
  }
  .align-items-xl-center {
    align-items: center !important;
  }
  .align-items-xl-baseline {
    align-items: baseline !important;
  }
  .align-items-xl-stretch {
    align-items: stretch !important;
  }
  .align-content-xl-start {
    align-content: flex-start !important;
  }
  .align-content-xl-end {
    align-content: flex-end !important;
  }
  .align-content-xl-center {
    align-content: center !important;
  }
  .align-content-xl-between {
    align-content: space-between !important;
  }
  .align-content-xl-around {
    align-content: space-around !important;
  }
  .align-content-xl-stretch {
    align-content: stretch !important;
  }
  .align-self-xl-auto {
    align-self: auto !important;
  }
  .align-self-xl-start {
    align-self: flex-start !important;
  }
  .align-self-xl-end {
    align-self: flex-end !important;
  }
  .align-self-xl-center {
    align-self: center !important;
  }
  .align-self-xl-baseline {
    align-self: baseline !important;
  }
  .align-self-xl-stretch {
    align-self: stretch !important;
  }
  .order-xl-first {
    order: -1 !important;
  }
  .order-xl-0 {
    order: 0 !important;
  }
  .order-xl-1 {
    order: 1 !important;
  }
  .order-xl-2 {
    order: 2 !important;
  }
  .order-xl-3 {
    order: 3 !important;
  }
  .order-xl-4 {
    order: 4 !important;
  }
  .order-xl-5 {
    order: 5 !important;
  }
  .order-xl-last {
    order: 6 !important;
  }
  .m-xl-0 {
    margin: 0 !important;
  }
  .m-xl-1 {
    margin: 0.25rem !important;
  }
  .m-xl-2 {
    margin: 0.5rem !important;
  }
  .m-xl-3 {
    margin: 1rem !important;
  }
  .m-xl-4 {
    margin: 1.5rem !important;
  }
  .m-xl-5 {
    margin: 3rem !important;
  }
  .m-xl-auto {
    margin: auto !important;
  }
  .mx-xl-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .mx-xl-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  .mx-xl-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }
  .mx-xl-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  .mx-xl-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
  .mx-xl-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
  .mx-xl-auto {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  .my-xl-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .my-xl-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .my-xl-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .my-xl-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .my-xl-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-xl-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .my-xl-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
  .mt-xl-0 {
    margin-top: 0 !important;
  }
  .mt-xl-1 {
    margin-top: 0.25rem !important;
  }
  .mt-xl-2 {
    margin-top: 0.5rem !important;
  }
  .mt-xl-3 {
    margin-top: 1rem !important;
  }
  .mt-xl-4 {
    margin-top: 1.5rem !important;
  }
  .mt-xl-5 {
    margin-top: 3rem !important;
  }
  .mt-xl-auto {
    margin-top: auto !important;
  }
  .me-xl-0 {
    margin-right: 0 !important;
  }
  .me-xl-1 {
    margin-right: 0.25rem !important;
  }
  .me-xl-2 {
    margin-right: 0.5rem !important;
  }
  .me-xl-3 {
    margin-right: 1rem !important;
  }
  .me-xl-4 {
    margin-right: 1.5rem !important;
  }
  .me-xl-5 {
    margin-right: 3rem !important;
  }
  .me-xl-auto {
    margin-right: auto !important;
  }
  .mb-xl-0 {
    margin-bottom: 0 !important;
  }
  .mb-xl-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-xl-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-xl-3 {
    margin-bottom: 1rem !important;
  }
  .mb-xl-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-xl-5 {
    margin-bottom: 3rem !important;
  }
  .mb-xl-auto {
    margin-bottom: auto !important;
  }
  .ms-xl-0 {
    margin-left: 0 !important;
  }
  .ms-xl-1 {
    margin-left: 0.25rem !important;
  }
  .ms-xl-2 {
    margin-left: 0.5rem !important;
  }
  .ms-xl-3 {
    margin-left: 1rem !important;
  }
  .ms-xl-4 {
    margin-left: 1.5rem !important;
  }
  .ms-xl-5 {
    margin-left: 3rem !important;
  }
  .ms-xl-auto {
    margin-left: auto !important;
  }
  .p-xl-0 {
    padding: 0 !important;
  }
  .p-xl-1 {
    padding: 0.25rem !important;
  }
  .p-xl-2 {
    padding: 0.5rem !important;
  }
  .p-xl-3 {
    padding: 1rem !important;
  }
  .p-xl-4 {
    padding: 1.5rem !important;
  }
  .p-xl-5 {
    padding: 3rem !important;
  }
  .px-xl-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .px-xl-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }
  .px-xl-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  .px-xl-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .px-xl-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }
  .px-xl-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
  .py-xl-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-xl-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-xl-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-xl-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-xl-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .py-xl-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .pt-xl-0 {
    padding-top: 0 !important;
  }
  .pt-xl-1 {
    padding-top: 0.25rem !important;
  }
  .pt-xl-2 {
    padding-top: 0.5rem !important;
  }
  .pt-xl-3 {
    padding-top: 1rem !important;
  }
  .pt-xl-4 {
    padding-top: 1.5rem !important;
  }
  .pt-xl-5 {
    padding-top: 3rem !important;
  }
  .pe-xl-0 {
    padding-right: 0 !important;
  }
  .pe-xl-1 {
    padding-right: 0.25rem !important;
  }
  .pe-xl-2 {
    padding-right: 0.5rem !important;
  }
  .pe-xl-3 {
    padding-right: 1rem !important;
  }
  .pe-xl-4 {
    padding-right: 1.5rem !important;
  }
  .pe-xl-5 {
    padding-right: 3rem !important;
  }
  .pb-xl-0 {
    padding-bottom: 0 !important;
  }
  .pb-xl-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-xl-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-xl-3 {
    padding-bottom: 1rem !important;
  }
  .pb-xl-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-xl-5 {
    padding-bottom: 3rem !important;
  }
  .ps-xl-0 {
    padding-left: 0 !important;
  }
  .ps-xl-1 {
    padding-left: 0.25rem !important;
  }
  .ps-xl-2 {
    padding-left: 0.5rem !important;
  }
  .ps-xl-3 {
    padding-left: 1rem !important;
  }
  .ps-xl-4 {
    padding-left: 1.5rem !important;
  }
  .ps-xl-5 {
    padding-left: 3rem !important;
  }
  .gap-xl-0 {
    gap: 0 !important;
  }
  .gap-xl-1 {
    gap: 0.25rem !important;
  }
  .gap-xl-2 {
    gap: 0.5rem !important;
  }
  .gap-xl-3 {
    gap: 1rem !important;
  }
  .gap-xl-4 {
    gap: 1.5rem !important;
  }
  .gap-xl-5 {
    gap: 3rem !important;
  }
  .row-gap-xl-0 {
    row-gap: 0 !important;
  }
  .row-gap-xl-1 {
    row-gap: 0.25rem !important;
  }
  .row-gap-xl-2 {
    row-gap: 0.5rem !important;
  }
  .row-gap-xl-3 {
    row-gap: 1rem !important;
  }
  .row-gap-xl-4 {
    row-gap: 1.5rem !important;
  }
  .row-gap-xl-5 {
    row-gap: 3rem !important;
  }
  .column-gap-xl-0 {
    column-gap: 0 !important;
  }
  .column-gap-xl-1 {
    column-gap: 0.25rem !important;
  }
  .column-gap-xl-2 {
    column-gap: 0.5rem !important;
  }
  .column-gap-xl-3 {
    column-gap: 1rem !important;
  }
  .column-gap-xl-4 {
    column-gap: 1.5rem !important;
  }
  .column-gap-xl-5 {
    column-gap: 3rem !important;
  }
  .text-xl-start {
    text-align: left !important;
  }
  .text-xl-end {
    text-align: right !important;
  }
  .text-xl-center {
    text-align: center !important;
  }
}
@media (min-width: 1400px) {
  .float-xxl-start {
    float: left !important;
  }
  .float-xxl-end {
    float: right !important;
  }
  .float-xxl-none {
    float: none !important;
  }
  .object-fit-xxl-contain {
    object-fit: contain !important;
  }
  .object-fit-xxl-cover {
    object-fit: cover !important;
  }
  .object-fit-xxl-fill {
    object-fit: fill !important;
  }
  .object-fit-xxl-scale {
    object-fit: scale-down !important;
  }
  .object-fit-xxl-none {
    object-fit: none !important;
  }
  .d-xxl-inline {
    display: inline !important;
  }
  .d-xxl-inline-block {
    display: inline-block !important;
  }
  .d-xxl-block {
    display: block !important;
  }
  .d-xxl-grid {
    display: grid !important;
  }
  .d-xxl-inline-grid {
    display: inline-grid !important;
  }
  .d-xxl-table {
    display: table !important;
  }
  .d-xxl-table-row {
    display: table-row !important;
  }
  .d-xxl-table-cell {
    display: table-cell !important;
  }
  .d-xxl-flex {
    display: flex !important;
  }
  .d-xxl-inline-flex {
    display: inline-flex !important;
  }
  .d-xxl-none {
    display: none !important;
  }
  .flex-xxl-fill {
    flex: 1 1 auto !important;
  }
  .flex-xxl-row {
    flex-direction: row !important;
  }
  .flex-xxl-column {
    flex-direction: column !important;
  }
  .flex-xxl-row-reverse {
    flex-direction: row-reverse !important;
  }
  .flex-xxl-column-reverse {
    flex-direction: column-reverse !important;
  }
  .flex-xxl-grow-0 {
    flex-grow: 0 !important;
  }
  .flex-xxl-grow-1 {
    flex-grow: 1 !important;
  }
  .flex-xxl-shrink-0 {
    flex-shrink: 0 !important;
  }
  .flex-xxl-shrink-1 {
    flex-shrink: 1 !important;
  }
  .flex-xxl-wrap {
    flex-wrap: wrap !important;
  }
  .flex-xxl-nowrap {
    flex-wrap: nowrap !important;
  }
  .flex-xxl-wrap-reverse {
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-xxl-start {
    justify-content: flex-start !important;
  }
  .justify-content-xxl-end {
    justify-content: flex-end !important;
  }
  .justify-content-xxl-center {
    justify-content: center !important;
  }
  .justify-content-xxl-between {
    justify-content: space-between !important;
  }
  .justify-content-xxl-around {
    justify-content: space-around !important;
  }
  .justify-content-xxl-evenly {
    justify-content: space-evenly !important;
  }
  .align-items-xxl-start {
    align-items: flex-start !important;
  }
  .align-items-xxl-end {
    align-items: flex-end !important;
  }
  .align-items-xxl-center {
    align-items: center !important;
  }
  .align-items-xxl-baseline {
    align-items: baseline !important;
  }
  .align-items-xxl-stretch {
    align-items: stretch !important;
  }
  .align-content-xxl-start {
    align-content: flex-start !important;
  }
  .align-content-xxl-end {
    align-content: flex-end !important;
  }
  .align-content-xxl-center {
    align-content: center !important;
  }
  .align-content-xxl-between {
    align-content: space-between !important;
  }
  .align-content-xxl-around {
    align-content: space-around !important;
  }
  .align-content-xxl-stretch {
    align-content: stretch !important;
  }
  .align-self-xxl-auto {
    align-self: auto !important;
  }
  .align-self-xxl-start {
    align-self: flex-start !important;
  }
  .align-self-xxl-end {
    align-self: flex-end !important;
  }
  .align-self-xxl-center {
    align-self: center !important;
  }
  .align-self-xxl-baseline {
    align-self: baseline !important;
  }
  .align-self-xxl-stretch {
    align-self: stretch !important;
  }
  .order-xxl-first {
    order: -1 !important;
  }
  .order-xxl-0 {
    order: 0 !important;
  }
  .order-xxl-1 {
    order: 1 !important;
  }
  .order-xxl-2 {
    order: 2 !important;
  }
  .order-xxl-3 {
    order: 3 !important;
  }
  .order-xxl-4 {
    order: 4 !important;
  }
  .order-xxl-5 {
    order: 5 !important;
  }
  .order-xxl-last {
    order: 6 !important;
  }
  .m-xxl-0 {
    margin: 0 !important;
  }
  .m-xxl-1 {
    margin: 0.25rem !important;
  }
  .m-xxl-2 {
    margin: 0.5rem !important;
  }
  .m-xxl-3 {
    margin: 1rem !important;
  }
  .m-xxl-4 {
    margin: 1.5rem !important;
  }
  .m-xxl-5 {
    margin: 3rem !important;
  }
  .m-xxl-auto {
    margin: auto !important;
  }
  .mx-xxl-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .mx-xxl-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  .mx-xxl-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }
  .mx-xxl-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  .mx-xxl-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
  .mx-xxl-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
  .mx-xxl-auto {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  .my-xxl-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .my-xxl-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .my-xxl-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .my-xxl-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .my-xxl-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-xxl-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .my-xxl-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
  .mt-xxl-0 {
    margin-top: 0 !important;
  }
  .mt-xxl-1 {
    margin-top: 0.25rem !important;
  }
  .mt-xxl-2 {
    margin-top: 0.5rem !important;
  }
  .mt-xxl-3 {
    margin-top: 1rem !important;
  }
  .mt-xxl-4 {
    margin-top: 1.5rem !important;
  }
  .mt-xxl-5 {
    margin-top: 3rem !important;
  }
  .mt-xxl-auto {
    margin-top: auto !important;
  }
  .me-xxl-0 {
    margin-right: 0 !important;
  }
  .me-xxl-1 {
    margin-right: 0.25rem !important;
  }
  .me-xxl-2 {
    margin-right: 0.5rem !important;
  }
  .me-xxl-3 {
    margin-right: 1rem !important;
  }
  .me-xxl-4 {
    margin-right: 1.5rem !important;
  }
  .me-xxl-5 {
    margin-right: 3rem !important;
  }
  .me-xxl-auto {
    margin-right: auto !important;
  }
  .mb-xxl-0 {
    margin-bottom: 0 !important;
  }
  .mb-xxl-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-xxl-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-xxl-3 {
    margin-bottom: 1rem !important;
  }
  .mb-xxl-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-xxl-5 {
    margin-bottom: 3rem !important;
  }
  .mb-xxl-auto {
    margin-bottom: auto !important;
  }
  .ms-xxl-0 {
    margin-left: 0 !important;
  }
  .ms-xxl-1 {
    margin-left: 0.25rem !important;
  }
  .ms-xxl-2 {
    margin-left: 0.5rem !important;
  }
  .ms-xxl-3 {
    margin-left: 1rem !important;
  }
  .ms-xxl-4 {
    margin-left: 1.5rem !important;
  }
  .ms-xxl-5 {
    margin-left: 3rem !important;
  }
  .ms-xxl-auto {
    margin-left: auto !important;
  }
  .p-xxl-0 {
    padding: 0 !important;
  }
  .p-xxl-1 {
    padding: 0.25rem !important;
  }
  .p-xxl-2 {
    padding: 0.5rem !important;
  }
  .p-xxl-3 {
    padding: 1rem !important;
  }
  .p-xxl-4 {
    padding: 1.5rem !important;
  }
  .p-xxl-5 {
    padding: 3rem !important;
  }
  .px-xxl-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .px-xxl-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }
  .px-xxl-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  .px-xxl-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .px-xxl-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }
  .px-xxl-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
  .py-xxl-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-xxl-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-xxl-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-xxl-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-xxl-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .py-xxl-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .pt-xxl-0 {
    padding-top: 0 !important;
  }
  .pt-xxl-1 {
    padding-top: 0.25rem !important;
  }
  .pt-xxl-2 {
    padding-top: 0.5rem !important;
  }
  .pt-xxl-3 {
    padding-top: 1rem !important;
  }
  .pt-xxl-4 {
    padding-top: 1.5rem !important;
  }
  .pt-xxl-5 {
    padding-top: 3rem !important;
  }
  .pe-xxl-0 {
    padding-right: 0 !important;
  }
  .pe-xxl-1 {
    padding-right: 0.25rem !important;
  }
  .pe-xxl-2 {
    padding-right: 0.5rem !important;
  }
  .pe-xxl-3 {
    padding-right: 1rem !important;
  }
  .pe-xxl-4 {
    padding-right: 1.5rem !important;
  }
  .pe-xxl-5 {
    padding-right: 3rem !important;
  }
  .pb-xxl-0 {
    padding-bottom: 0 !important;
  }
  .pb-xxl-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-xxl-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-xxl-3 {
    padding-bottom: 1rem !important;
  }
  .pb-xxl-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-xxl-5 {
    padding-bottom: 3rem !important;
  }
  .ps-xxl-0 {
    padding-left: 0 !important;
  }
  .ps-xxl-1 {
    padding-left: 0.25rem !important;
  }
  .ps-xxl-2 {
    padding-left: 0.5rem !important;
  }
  .ps-xxl-3 {
    padding-left: 1rem !important;
  }
  .ps-xxl-4 {
    padding-left: 1.5rem !important;
  }
  .ps-xxl-5 {
    padding-left: 3rem !important;
  }
  .gap-xxl-0 {
    gap: 0 !important;
  }
  .gap-xxl-1 {
    gap: 0.25rem !important;
  }
  .gap-xxl-2 {
    gap: 0.5rem !important;
  }
  .gap-xxl-3 {
    gap: 1rem !important;
  }
  .gap-xxl-4 {
    gap: 1.5rem !important;
  }
  .gap-xxl-5 {
    gap: 3rem !important;
  }
  .row-gap-xxl-0 {
    row-gap: 0 !important;
  }
  .row-gap-xxl-1 {
    row-gap: 0.25rem !important;
  }
  .row-gap-xxl-2 {
    row-gap: 0.5rem !important;
  }
  .row-gap-xxl-3 {
    row-gap: 1rem !important;
  }
  .row-gap-xxl-4 {
    row-gap: 1.5rem !important;
  }
  .row-gap-xxl-5 {
    row-gap: 3rem !important;
  }
  .column-gap-xxl-0 {
    column-gap: 0 !important;
  }
  .column-gap-xxl-1 {
    column-gap: 0.25rem !important;
  }
  .column-gap-xxl-2 {
    column-gap: 0.5rem !important;
  }
  .column-gap-xxl-3 {
    column-gap: 1rem !important;
  }
  .column-gap-xxl-4 {
    column-gap: 1.5rem !important;
  }
  .column-gap-xxl-5 {
    column-gap: 3rem !important;
  }
  .text-xxl-start {
    text-align: left !important;
  }
  .text-xxl-end {
    text-align: right !important;
  }
  .text-xxl-center {
    text-align: center !important;
  }
}
@media (min-width: 1200px) {
  .fs-1 {
    font-size: 2.5rem !important;
  }
  .fs-2 {
    font-size: 2rem !important;
  }
  .fs-3 {
    font-size: 1.75rem !important;
  }
  .fs-4 {
    font-size: 1.5rem !important;
  }
}
@media print {
  .d-print-inline {
    display: inline !important;
  }
  .d-print-inline-block {
    display: inline-block !important;
  }
  .d-print-block {
    display: block !important;
  }
  .d-print-grid {
    display: grid !important;
  }
  .d-print-inline-grid {
    display: inline-grid !important;
  }
  .d-print-table {
    display: table !important;
  }
  .d-print-table-row {
    display: table-row !important;
  }
  .d-print-table-cell {
    display: table-cell !important;
  }
  .d-print-flex {
    display: flex !important;
  }
  .d-print-inline-flex {
    display: inline-flex !important;
  }
  .d-print-none {
    display: none !important;
  }
}
:root {
  --hh-text-color-main: #241e3d;
  --hh-text-color-default: #2d2748;
  --hh-text-color-secondary: #5c5675;
  --hh-text-color-highlight: #05001a;
  --hh-text-color-soft: #6c6685;
  --hh-text-color-soft2: #8a84a1;
  --hh-text-color-soft3: #c7c1d6;
  --hh-background-color-main: #ffffff;
  --hh-background-color-secondary: #fffdf9;
  --hh-background-color-page: #a9bffc;
  --hh-background-color-highlight: rgba(61, 90, 255, 0.12);
  --hh-background-color-highlight-soft: #f5f2ff;
  --hh-background3: #efe9df;
  --hh-background4: #e2d9cc;
  --hh-accent-contrast: #fff;
  --hh-primary-contrast: #fff;
  --hh-secondary-contrast: #fff;
  --hh-info-contrast: #fff;
  --hh-success-contrast: #fff;
  --hh-warning-contrast: #fff;
  --hh-danger-contrast: #fff;
  --hh-light-contrast: #000;
  --hh-dark-contrast: #fff;
  --hh-background-color-success: #f7fbf4;
  --hh-text-color-success: #84be5e;
  --hh-border-color-success: #97d271;
  --hh-background-color-warning: #fffbf7;
  --hh-text-color-warning: #e9b168;
  --hh-border-color-warning: #fdd198;
  --hh-background-color-danger: #fff6f6;
  --hh-text-color-danger: #ff8989;
  --hh-border-color-danger: #ff8989;
  --hh-mail-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, ’Helvetica Neue’, Helvetica, Arial, sans-serif;
  --hh-fixed-header-height: 130px;
  --hh-fixed-footer-height: 0px;
  --default: #e7e7e7;
  --primary: var(--bs-primary);
  --accent: var(--bs-accent);
  --info: var(--bs-info);
  --success: var(--bs-success);
  --warning: var(--bs-warning);
  --danger: var(--bs-danger);
  --link: var(--bs-link-color);
  --text-color-main: #241e3d;
  --text-color-default: #2d2748;
  --text-color-secondary: #5c5675;
  --text-color-highlight: #05001a;
  --text-color-soft: #6c6685;
  --text-color-soft2: #8a84a1;
  --text-color-soft3: #c7c1d6;
  --text-color-contrast: #fff;
  --hh-text-color-contrast: #fff;
  --background-color-main: #ffffff;
  --background-color-secondary: #fffdf9;
  --background-color-page: #a9bffc;
  --background-color-highlight: rgba(61, 90, 255, 0.12);
  --background-color-highlight-soft: #f5f2ff;
  --background3: #efe9df;
  --background4: #e2d9cc;
  --background-color-success: #f7fbf4;
  --text-color-success: #84be5e;
  --border-color-success: #97d271;
  --background-color-warning: #fffbf7;
  --text-color-warning: #e9b168;
  --border-color-warning: #fdd198;
  --background-color-danger: #fff6f6;
  --text-color-danger: #ff8989;
  --border-color-danger: #ff8989;
  --mail-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, ’Helvetica Neue’, Helvetica, Arial, sans-serif;
}

/**
Compatibility with Bootstrap 3

$deprecated since 1.18

TODO: Remove this file when Bootstrap 3 is no longer supported
 */
.label {
  text-transform: uppercase;
}

.label {
  text-transform: uppercase;
  display: inline-block;
  padding: 3px 5px 4px;
  font-weight: 600;
  font-size: 10px;
  color: var(--hh-text-color-contrast);
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: none;
}

.label-default {
  background: var(--hh-background-color-page);
  color: var(--hh-text-color-secondary) !important;
}

a.label-default:hover {
  background: #90adfb !important;
}

.label-info {
  background-color: var(--bs-accent);
}

a.label-info:hover {
  background: #2444ff !important;
}

.label-danger {
  background-color: var(--bs-danger);
}

a.label-danger:hover {
  background: #c82020 !important;
}

.label-success {
  background-color: var(--bs-success);
}

a.label-success:hover {
  background: #138d40 !important;
}

.label-warning {
  background-color: var(--bs-warning);
}

a.label-warning:hover {
  background: #c06905 !important;
}

.label-light {
  background-color: transparent;
  color: var(--hh-text-color-secondary);
  border: 1px solid #9d98b3;
}

.topic-label-list, .wall-entry-topics {
  margin-bottom: 10px;
}
.topic-label-list a, .wall-entry-topics a {
  margin-right: 4px;
}
.topic-label-list .label, .wall-entry-topics .label {
  padding: 5px;
  border-radius: 4px;
}

.markdown-render img.pull-right, [data-ui-markdown] img.pull-right, [data-ui-richtext] img.pull-right {
  margin: 5px 0 0 10px;
}
.markdown-render img.pull-left, [data-ui-markdown] img.pull-left, [data-ui-richtext] img.pull-left {
  margin: 5px 10px 0 0;
}

.media-list li {
  padding: 10px;
  border-bottom: 1px solid var(--hh-background-color-page);
  position: relative;
  border-left: 3px solid var(--hh-background-color-main);
}
.media-list li:hover, .media-list li.selected {
  background-color: var(--hh-background-color-secondary);
  border-left: 3px solid var(--bs-accent);
}
.media-list li.new {
  border-left: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-highlight);
}
.media-list li.new:hover {
  background-color: var(--hh-background-color-highlight-soft);
}
.media-list li a {
  color: var(--hh-text-color-main);
}

.media-list li.placeholder {
  font-size: 14px !important;
  border-bottom: none;
}

.media-list li.placeholder:hover {
  background: none !important;
  border-left: 3px solid var(--hh-background-color-main);
}

.media-left,
.media > .pull-left {
  padding-right: 0;
  margin-right: 10px;
}

.media:after {
  content: "";
  clear: both;
  display: block;
}

.media .time {
  font-size: 11px;
  color: var(--hh-text-color-soft);
}
.media .img-space {
  position: absolute;
  top: 35px;
  left: 35px;
}
.media .media-body {
  overflow: hidden !important;
  font-size: 13px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.media .media-body h4, .media .media-body .h4, .media .media-body h5, .media .media-body .h5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--hh-text-color-highlight);
}
.media .media-body h4 small, .media .media-body .h4 small, .media .media-body h4 .small, .media .media-body .h4 .small,
.media .media-body h4 small a,
.media .media-body .h4 small a,
.media .media-body h4 .small a,
.media .media-body .h4 .small a, .media .media-body h5 small, .media .media-body .h5 small, .media .media-body h5 .small, .media .media-body .h5 .small,
.media .media-body h5 small a,
.media .media-body .h5 small a,
.media .media-body h5 .small a,
.media .media-body .h5 .small a {
  font-size: 11px;
  color: var(--hh-text-color-soft);
}
.media .media-body h4 .content, .media .media-body .h4 .content, .media .media-body h5 .content, .media .media-body .h5 .content {
  margin-right: 35px;
}
.media .media-body .content a {
  word-break: break-all;
}
.media .media-body strong {
  color: var(--hh-text-color-highlight);
}
.media .media-body h5, .media .media-body .h5 {
  color: var(--hh-text-color-soft2);
  font-weight: 300;
  margin-top: 5px;
  margin-bottom: 5px;
  min-height: 15px;
}
.media .media-body .module-controls {
  font-size: 85%;
}
.media .align-center {
  align-content: center;
}

.activities {
  max-height: 400px;
  overflow: auto;
}
.activities li.activity-entry {
  padding: 0;
}
.activities li .media {
  position: relative;
  padding: 10px;
}
.activities li .media .img-space {
  position: absolute;
  top: 24px;
  left: 24px;
}
.activities li .media .media-body {
  max-width: 295px;
}

.help-block {
  color: var(--hh-text-color-soft);
  font-size: 13px;
}

.panel-body > .help-block {
  padding-right: 20px;
  margin-bottom: 20px;
}

.panel {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  border: none;
  background-color: var(--hh-background-color-main);
  box-shadow: 0 0 3px var(--hh-background3);
  border-radius: 4px;
  position: relative;
  margin-bottom: 15px;
}
.panel h1, .panel .h1 {
  font-size: 16px;
  font-weight: 300;
  margin-top: 0;
  color: var(--hh-text-color-highlight);
}
.panel .panel-heading {
  font-size: 16px;
  font-weight: 300;
  color: var(--hh-text-color-highlight);
  background-color: var(--hh-background-color-main);
  border: none;
  padding: 10px;
  margin: 0;
  border-radius: 4px;
}
.panel .panel-heading .heading-link {
  color: #6fdbe8 !important;
  font-size: 0.8em;
}
.panel .panel-heading .panel-title {
  margin: -4px 0 0;
  line-height: 1;
}
.panel .panel-heading .panel-title > button.btn-panel-title-action {
  background: none;
  border: none;
  font-size: 16px;
  padding: 0;
  text-decoration: none;
  font-weight: 300;
  display: inline;
  vertical-align: middle;
}
.panel .panel-body {
  padding: 10px;
  font-size: 13px;
}
.panel .panel-body p {
  color: var(--hh-text-color-main);
}
.panel .panel-body .usersearch-statuses,
.panel .panel-body .spacesearch-visibilities {
  padding-top: 5px;
  padding-bottom: 5px;
}
@media (min-width: 992px) {
  .panel .panel-body .usersearch-statuses,
  .panel .panel-body .spacesearch-visibilities {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
  }
}
.panel .statistics .entry {
  margin-left: 20px;
  font-size: 12px;
  color: var(--hh-text-color-highlight);
}
.panel .statistics .entry .count {
  font-weight: 600;
  font-size: 20px;
  line-height: 0.8em;
}

.panel-danger {
  border: 2px solid var(--bs-danger);
}
.panel-danger .panel-heading {
  color: var(--bs-danger);
}

.panel-success {
  border: 2px solid var(--bs-success);
}
.panel-success .panel-heading {
  color: var(--bs-success);
}

.panel-warning {
  border: 2px solid var(--bs-warning);
}
.panel-warning .panel-heading {
  color: var(--bs-warning);
}

.panel-info {
  border: 2px solid var(--bs-accent);
}
.panel-info .panel-heading {
  color: var(--bs-accent);
}

.panel-primary {
  border: 2px solid var(--bs-primary);
}
.panel-primary .panel-heading {
  color: var(--bs-primary);
}

.panel.profile {
  position: relative;
}
.panel.profile .controls {
  position: absolute;
  top: 10px;
  right: 10px;
}

.panel.groups .panel-body a img,
.panel.spaces .panel-body a img {
  margin-bottom: 5px;
}

.panel-profile .panel-profile-header {
  position: relative;
  border: 3px solid var(--hh-background-color-main);
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}
.panel-profile .panel-profile-header .img-profile-header-background {
  border-radius: 3px;
  min-height: 110px;
}
.panel-profile .panel-profile-header .img-profile-data {
  position: absolute;
  height: 100px;
  width: 100%;
  bottom: 0;
  left: 0;
  padding-left: 180px;
  padding-top: 30px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  color: var(--hh-text-color-contrast);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.38) 100%);
}
.panel-profile .panel-profile-header .img-profile-data h1, .panel-profile .panel-profile-header .img-profile-data .h1 {
  margin-bottom: 7px;
  max-width: 600px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.panel-profile .panel-profile-header .img-profile-data h1 a, .panel-profile .panel-profile-header .img-profile-data .h1 a {
  font-size: 30px;
  font-weight: 100;
  color: var(--hh-text-color-contrast);
}
.panel-profile .panel-profile-header .img-profile-data h2, .panel-profile .panel-profile-header .img-profile-data .h2 {
  font-size: 16px;
  font-weight: 400;
  margin-top: 0;
}
.panel-profile .panel-profile-header .img-profile-data h1.space a, .panel-profile .panel-profile-header .img-profile-data .space.h1 a {
  font-weight: 700;
}
.panel-profile .panel-profile-header .img-profile-data h2.space, .panel-profile .panel-profile-header .img-profile-data .space.h2 {
  font-size: 13px;
  font-weight: 300;
  max-width: 600px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-profile .panel-profile-header .profile-user-photo-container {
  position: absolute;
  bottom: -60px;
  left: 15px;
}
.panel-profile .panel-profile-header .profile-user-photo-container .profile-user-photo {
  border: 3px solid var(--hh-background-color-main);
  border-radius: 5px;
}
.panel-profile .panel-profile-header .profile-user-photo-container .profile-user-photo + .user-online-status {
  right: -5px;
  bottom: -5px;
}
.panel-profile .panel-profile-controls {
  padding-left: 148px;
}

.panel.pulse,
.panel.fadeIn {
  animation-duration: 200ms;
}

@media (max-width: 767.98px) {
  .panel-profile-controls {
    padding-left: 100px !important;
  }
  .panel-profile .panel-profile-header .img-profile-data h1, .panel-profile .panel-profile-header .img-profile-data .h1 {
    font-size: 20px !important;
    line-height: 20px;
    margin-bottom: 2px;
  }
}
@media (max-width: 575.98px) {
  .panel-profile-controls {
    padding-left: 0 !important;
    padding-top: 50px;
  }
}
.panel-body > .tab-menu {
  margin-left: -10px;
  margin-right: -10px;
}

.well-small {
  padding: 10px;
  border-radius: 3px;
}

.well {
  border: none;
  box-shadow: none;
  background-color: var(--hh-background-color-secondary);
  margin-bottom: 1px;
}
.well hr {
  margin: 10px 0;
  border-top: 1px solid var(--hh-background-color-secondary);
}
.well table > thead {
  font-size: 11px;
}

.modal.in {
  padding-right: 0 !important;
}

.modal-dialog-extra-small {
  width: 400px;
}

.modal-dialog-small {
  width: 500px;
}

.modal-dialog-normal {
  width: 600px;
}

.modal-dialog-medium {
  width: 768px;
}

.modal-dialog-large {
  width: 900px;
}

.sk-adjust-huener-three-bounce.sk-adjust-huener {
  margin: 0 auto;
  width: 70px;
  text-align: center;
}

.loader {
  padding: 30px 0;
}
.loader .sk-adjust-huener-three-bounce div, .loader .sk-adjust-huener-three-bounce span {
  width: 12px;
  height: 12px;
  background-color: var(--bs-accent);
  border-radius: 100%;
  display: inline-block;
  animation: sk-threeBounceDelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  animation-fill-mode: both;
}
.loader .sk-adjust-huener-three-bounce .sk-bounce1 {
  animation-delay: -0.32s;
}
.loader .sk-adjust-huener-three-bounce .sk-bounce2 {
  animation-delay: -0.16s;
}
@keyframes sk-threeBounceDelay {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.loader-modal {
  padding: 8px 0;
}

.loader-postform {
  padding: 9px 0;
}
.loader-postform .sk-adjust-huener-three-bounce.sk-adjust-huener {
  text-align: left;
  margin: 0;
}

.btn-default {
  background: var(--bs-light);
  color: var(--hh-text-color-default) !important;
}
.btn-default:hover, .btn-default:focus {
  background: #fff5eb;
  color: var(--hh-text-color-default);
  text-decoration: none;
}
.btn-default:active, .btn-default.active {
  outline: 0;
  background: #ffeddc;
}

.btn-default[disabled],
.btn-default.disabled {
  background: white;
}
.btn-default[disabled]:hover, .btn-default[disabled]:focus,
.btn-default.disabled:hover,
.btn-default.disabled:focus {
  background: white;
}
.btn-default[disabled]:active, .btn-default[disabled].active,
.btn-default.disabled:active,
.btn-default.disabled.active {
  background: white;
}

.btn-xs {
  padding: 1px 5px;
  font-size: 12px;
}

.btn-primary {
  --bs-btn-active-color: var(--bs-primary);
  --bs-btn-active-bg: var(--hh-primary-contrast);
  --bs-btn-active-border-color: var(--bs-primary);
}

.btn-info {
  --bs-btn-active-color: var(--bs-accent);
  --bs-btn-active-bg: var(--hh-primary-contrast);
  --bs-btn-active-border-color: var(--bs-accent);
}

/* Default */
.colorDefault {
  color: var(--bs-light);
}

.backgroundDefault {
  background: var(--bs-light);
}

.borderDefault {
  border-color: var(--bs-light);
}

/* Primary */
.colorPrimary {
  color: var(--bs-primary) !important;
}

.backgroundPrimary {
  background: var(--bs-primary) !important;
}

.borderPrimary {
  border-color: var(--bs-primary) !important;
}

/* Info */
.colorInfo {
  color: var(--bs-accent) !important;
}

.backgroundInfo {
  background: var(--bs-accent) !important;
}

.borderInfo {
  border-color: var(--bs-accent) !important;
}

/* Link */
.colorLink {
  color: var(--bs-link-color) !important;
}

/* Success */
.colorSuccess {
  color: var(--bs-success) !important;
}

.backgroundSuccess {
  background: var(--bs-success) !important;
}

.borderSuccess {
  border-color: var(--bs-success) !important;
}

/* Warning */
.colorWarning {
  color: var(--bs-warning) !important;
}

.backgroundWarning {
  background: var(--bs-warning) !important;
}

.borderWarning {
  border-color: var(--bs-warning) !important;
}

/* Danger */
.colorDanger {
  color: var(--bs-danger) !important;
}

.backgroundDanger {
  background: var(--bs-danger) !important;
}

.borderDanger {
  border-color: var(--bs-danger) !important;
}

/* Fonts */
.colorFont1 {
  color: var(--hh-text-color-soft3) !important;
}

.colorFont2 {
  color: var(--hh-text-color-secondary) !important;
}

.colorFont3 {
  color: var(--hh-text-color-highlight) !important;
}

.colorFont4 {
  color: var(--hh-text-color-soft) !important;
}

.colorFont5 {
  color: var(--hh-text-color-soft2) !important;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

html {
  scroll-padding-top: var(--hh-fixed-header-height);
}

body {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  padding-top: var(--hh-fixed-header-height);
  padding-bottom: var(--hh-mobile-app-safe-area-inset-bottom, env(safe-area-inset-bottom));
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
}
body a,
body a:hover,
body a:focus,
body a:active,
body a.active {
  text-decoration: none;
}

b, strong {
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
  opacity: 0.1;
}

.d-revert {
  display: revert !important;
}

.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  position: inherit;
}

.layout-nav-container {
  padding: 0 15px;
}
.layout-nav-container .left-navigation {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .layout-nav-container {
    padding: 0 0 0 15px;
  }
  .layout-nav-container .left-navigation {
    margin-bottom: 15px;
  }
}
h4, .h4 {
  font-size: 150%;
}

h5, .h5 {
  font-size: 1rem;
}

input[type=text],
input[type=password],
input[type=select] {
  /* Remove First */
  appearance: none;
}

.powered,
.powered a {
  color: color-mix(in srgb, var(--hh-primary-contrast) 80%, transparent) !important;
}

[data-ui-show-more] {
  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .layout-nav-container {
    padding: 0 15px;
  }
  :root {
    --hh-fixed-header-height: 120px;
  }
}
@media print {
  #topbar-first, #topbar-second {
    display: none;
  }
}
:focus-visible {
  outline: none;
}

button.ProseMirror-icon {
  color: inherit;
}

span.likeLinkContainer .like.disabled, span.likeLinkContainer .unlike.disabled {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: lightgrey;
}

.showMore {
  font-size: 13px;
}

.filter-toggle-link {
  font-size: 12px;
}
.filter-toggle-link::after {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: 0.1em;
  content: "";
  border-top: 0.4em solid;
  border-right: 0.4em solid transparent;
  border-bottom: 0;
  border-left: 0.4em solid transparent;
}
.filter-toggle-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: 2px;
}

.table-responsive {
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.bg-light {
  background-color: var(--hh-background-color-secondary) !important;
}

.navbar.topbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0;
}

.topbar {
  height: 50px;
  width: 100%;
}
.topbar ul.nav {
  float: left;
}
.topbar ul.nav > li {
  float: left;
}
.topbar ul.nav > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 20px;
}
.topbar .dropdown-footer {
  margin: 10px;
}
.topbar .dropdown-header {
  font-size: 18px;
  padding: 6px 16px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--hh-text-color-highlight);
}
.topbar .dropdown-header .dropdown-header-actions {
  float: right;
}
.topbar .dropdown-header .dropdown-header-actions a:hover, .topbar .dropdown-header .dropdown-header-actions button:hover {
  background: var(--bs-light);
}
.topbar .dropdown-header .dropdown-header-actions a i, .topbar .dropdown-header .dropdown-header-actions button i {
  margin: 0;
}

#topbar-first {
  background-color: var(--bs-primary);
  color: var(--hh-primary-contrast);
}
#topbar-first .topbar-brand {
  max-width: 40%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#topbar-first a.navbar-brand {
  height: 50px;
  padding: 5px;
}
#topbar-first a.navbar-brand img#img-logo {
  max-height: 40px;
}
#topbar-first a.navbar-brand-text {
  padding-top: 15px;
}
#topbar-first .nav > li > a:hover,
#topbar-first .nav > .open > a {
  background-color: #506bff;
}
#topbar-first .nav > .account {
  height: 50px;
  margin-left: 20px;
}
#topbar-first .nav > .account img {
  margin-left: 10px;
}
#topbar-first .nav > .account .dropdown-toggle {
  display: block;
  padding: 8px 5px;
  line-height: 1.1em;
  text-align: left;
}
#topbar-first .nav > .account .dropdown-toggle span {
  font-size: 12px;
}
#topbar-first .nav > .account .dropdown-toggle .user-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  min-height: 22px;
}
#topbar-first .nav > .account .dropdown-toggle #user-account-image {
  margin-bottom: 0;
}
#topbar-first .nav > .account .dropdown-toggle #user-account-image + .caret {
  float: right;
  margin: 12px 0 0 6px;
}
#topbar-first .dropdown-menu {
  border: none;
  border-radius: 8px;
  top: 105%;
}
#topbar-first .dropdown-menu .arrow {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 8px;
  left: 50%;
  margin-left: -18px;
  border-top-width: 0;
  border-bottom-color: var(--hh-primary-contrast);
  top: -8px;
  z-index: 1035;
}
#topbar-first .notifications {
  text-align: center;
}
#topbar-first .notifications .btn-group {
  position: relative;
  text-align: left;
}
#topbar-first .notifications .btn-group > a {
  padding: 5px 10px;
  margin: 10px 2px;
  display: inline-block;
  border-radius: 2px;
  text-decoration: none;
  text-align: left;
}
#topbar-first .notifications .btn-group > .badge {
  position: absolute;
  top: 4px;
  right: -2px;
}
#topbar-first .notifications .dropdown-toggle::after {
  display: none;
}
#topbar-first .notifications .dropdown-menu {
  width: 400px;
  margin-left: -173px;
}
#topbar-first .notifications .dropdown-menu .hh-list {
  max-height: 400px;
  overflow: auto;
}
#topbar-first .notifications .dropdown-menu .hh-list > div.d-flex, #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex {
  position: relative;
}
#topbar-first .notifications .dropdown-menu .hh-list > div.d-flex i.approval, #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex i.approval {
  position: absolute;
  left: 2px;
  top: 36px;
  font-size: 14px;
}
#topbar-first .notifications .dropdown-menu .hh-list > div.d-flex i.accepted, #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex i.accepted {
  color: #5cb85c;
}
#topbar-first .notifications .dropdown-menu .hh-list > div.d-flex i.declined, #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex i.declined {
  color: #d9534f;
}
#topbar-first .notifications .dropdown-menu .hh-list > div.d-flex.new, #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex.new {
  background-color: transparent;
  border-left: none;
}
* #topbar-first .notifications .dropdown-menu .hh-list > div.d-flex:not(.new) > a, #topbar-first .notifications .dropdown-menu .hh-list > div.d-flex:not(.new) > a strong, * #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex:not(.new) > a, #topbar-first .notifications .dropdown-menu .hh-list > a.d-flex:not(.new) > a strong {
  color: var(--hh-text-color-secondary);
}
#topbar-first .dropdown-footer {
  margin: 24px 16px 19px;
}
#topbar-first .dropdown-footer .btn {
  width: 100%;
}
#topbar-first a:not(.dropdown-menu a) {
  color: var(--hh-primary-contrast);
}
#topbar-first .caret {
  border-top-color: var(--hh-primary-contrast);
}
#topbar-first .btn-group > a {
  background-color: #5770ff;
}
#topbar-first .btn-enter {
  background-color: #5770ff;
  margin: 6px 0;
}
#topbar-first .btn-enter:hover {
  background-color: #667dff;
}
#topbar-first .hh-list > div, #topbar-first .hh-list > a {
  padding: 8px 16px;
  border-bottom: none;
  color: var(--hh-text-color-highlight);
}
#topbar-first .hh-list > div.new, #topbar-first .hh-list > a.new {
  border: none;
  background: none;
}
#topbar-first .hh-list > div.new:hover, #topbar-first .hh-list > a.new:hover {
  background-color: var(--hh-background-color-secondary) !important;
}
#topbar-first .hh-list > div.new time, #topbar-first .hh-list > a.new time {
  color: var(--bs-accent);
}
#topbar-first .hh-list > div:hover, #topbar-first .hh-list > a:hover {
  border-left: 3px solid transparent;
}
#topbar-first .hh-list > div.placeholder, #topbar-first .hh-list > a.placeholder {
  border-bottom: none;
}
#topbar-first .hh-list > div time, #topbar-first .hh-list > a time {
  font-size: 10px;
}
#topbar-first .hh-list > div i.accepted, #topbar-first .hh-list > a i.accepted {
  color: var(--bs-success) !important;
}
#topbar-first .hh-list > div i.declined, #topbar-first .hh-list > a i.declined {
  color: var(--bs-danger) !important;
}
#topbar-first .account .user-title {
  text-align: right;
}
#topbar-first .dropdown.account > a,
#topbar-first .dropdown.account.open > a,
#topbar-first .dropdown.account > a:hover,
#topbar-first .dropdown.account.open > a:hover {
  background-color: var(--bs-primary);
}

#topbar-second {
  top: 50px;
  background-color: var(--hh-background-color-main);
  z-index: 1029;
  background-image: none;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--hh-background3);
}
#topbar-second:not(.top-nav-ready) {
  overflow: hidden;
}
#topbar-second .dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
}
#topbar-second .dropdown-menu .dropdown-divider {
  margin: 0;
}
#topbar-second #space-menu-dropdown,
#topbar-second #search-menu-dropdown {
  width: 400px;
}
#topbar-second #space-menu-dropdown .hh-list,
#topbar-second #search-menu-dropdown .hh-list {
  max-height: 200px;
  overflow: auto;
}
@media (min-width: 768px) {
  #topbar-second #space-menu-dropdown .hh-list,
  #topbar-second #search-menu-dropdown .hh-list {
    max-height: 400px;
  }
}
#topbar-second #space-menu-dropdown form.dropdown-header,
#topbar-second #search-menu-dropdown form.dropdown-header {
  margin: 0;
  padding: 10px;
}
#topbar-second #space-menu-dropdown .search-reset,
#topbar-second #search-menu-dropdown .search-reset {
  position: absolute;
  color: var(--hh-background4);
  margin: 4px;
  top: 0px;
  right: 40px;
  z-index: 10;
  display: none;
  cursor: pointer;
}
#topbar-second .nav > li.nav-item > a.nav-link {
  display: block;
  padding: 7px 13px 0;
  text-decoration: none;
  text-shadow: none;
  font-weight: 600;
  font-size: 10px;
  min-height: 50px;
  text-transform: uppercase;
  text-align: center;
  border-bottom-color: transparent;
}
#topbar-second .nav > li.nav-item > a.nav-link.active, #topbar-second .nav > li.nav-item > a.nav-link:hover, #topbar-second .nav > li.nav-item > a.nav-link:active, #topbar-second .nav > li.nav-item > a.nav-link:focus {
  border-bottom: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-secondary);
  text-decoration: none;
}
#topbar-second .nav > li.nav-item > a.nav-link#space-menu {
  padding-right: 13px;
  border-right: 1px solid var(--hh-background-color-page);
}
#topbar-second .nav > li.nav-item > a.nav-link#space-menu .no-space {
  display: inline;
}
#topbar-second .nav > li.nav-item > a.nav-link#space-menu > .space-acronym,
#topbar-second .nav > li.nav-item > a.nav-link#space-menu > img {
  vertical-align: middle;
  margin: 2px 0;
}
#topbar-second .nav > li.nav-item > a.nav-link#space-menu:has(> .space-acronym, > img)::after {
  vertical-align: middle;
  margin-left: 0.5em;
}
#topbar-second .nav > li.nav-item > a.nav-link#search-menu {
  padding-top: 15px;
}
#topbar-second .nav > li.nav-item > a.nav-link#search-menu::after {
  display: none;
}
#topbar-second .nav > li.nav-item > a.nav-link .caret {
  border-top-color: var(--hh-text-color-secondary);
}
#topbar-second .nav > li.nav-item > a.nav-link i {
  font-size: 14px;
}
#topbar-second .nav > li.nav-item > ul > li > a {
  border-left: 3px solid var(--hh-background-color-main);
  background-color: var(--hh-background-color-main);
}
#topbar-second .nav > li.nav-item > ul > li > a:hover, #topbar-second .nav > li.nav-item > ul > li > a.active {
  border-left: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-secondary);
}
#topbar-second #space-menu-dropdown p.space-description {
  color: var(--hh-text-color-soft);
  font-size: 11px;
  margin: 0;
  font-weight: 400;
}

.login-container {
  background-color: var(--bs-primary);
  background-image: linear-gradient(to right, #3d5aff 0%, #7085ff 50%, #7085ff 100%), linear-gradient(to right, #5770ff 0%, #bdc6ff 51%, #a3b1ff 100%);
  background-size: 100% 100%;
  position: relative;
  padding-top: 40px;
}
.login-container #img-logo {
  max-width: 100%;
  padding: 0 16px;
  margin-bottom: 32px;
}
.login-container .text {
  color: var(--hh-primary-contrast);
  font-size: 12px;
  margin-bottom: 15px;
}
.login-container .text a {
  color: var(--hh-primary-contrast);
  text-decoration: underline;
}
.login-container h1, .login-container .h1,
.login-container h2,
.login-container .h2 {
  color: var(--hh-primary-contrast) !important;
}
.login-container .panel {
  box-shadow: 0 0 15px #627d92;
}
.login-container .panel .panel-heading,
.login-container .panel .panel-body {
  padding: 15px;
}
.login-container .panel h1, .login-container .panel .h1,
.login-container .panel h2,
.login-container .panel .h2 {
  color: var(--hh-text-color-main) !important;
}
.login-container select {
  color: var(--hh-text-color-highlight);
}
.login-container .container {
  text-align: center;
}
.login-container .container.container-registration, .login-container .container.container-login, .login-container .container.container-password {
  max-width: 500px;
  padding-left: 7px;
  padding-right: 7px;
}
.login-container .container .panel {
  text-align: left;
}

html.login-layout-background {
  height: 100%;
  margin: 0;
}
html.login-layout-background body.login-container {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#account-login-form .mb-3 {
  margin-bottom: 10px;
}

.login-container .language-chooser {
  margin-top: 15px;
}
.login-container .language-chooser .language-chooser-toggle {
  color: var(--hh-primary-contrast);
  opacity: 0.8;
}
.login-container .language-chooser .language-chooser-toggle:hover, .login-container .language-chooser .language-chooser-toggle:focus, .login-container .language-chooser .language-chooser-toggle[aria-expanded=true] {
  opacity: 1;
  background-color: color-mix(in srgb, var(--hh-primary-contrast) 8%, transparent);
}

.language-chooser .dropdown {
  position: relative;
}
.language-chooser .language-chooser-toggle {
  color: var(--bs-link-color);
  text-decoration: none;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.language-chooser .language-chooser-toggle:hover, .language-chooser .language-chooser-toggle:focus, .language-chooser .language-chooser-toggle[aria-expanded=true] {
  background-color: color-mix(in srgb, var(--bs-link-color) 8%, transparent);
}
.language-chooser .language-chooser-toggle .fa-globe {
  margin-right: 4px;
}
.language-chooser .language-chooser-menu {
  width: 280px;
  max-width: calc(100vw - 30px);
  margin-top: 8px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.language-chooser .language-chooser-menu .language-chooser-list {
  max-height: 240px;
  overflow-y: auto;
}
.language-chooser .language-chooser-menu .language-chooser-item {
  padding: 6px 12px;
  font-size: 13px;
  border-left: 3px solid transparent;
}
.language-chooser .language-chooser-menu .language-chooser-item.active {
  background-color: transparent;
  color: var(--hh-text-color-main);
  border-left-color: var(--bs-primary);
  font-weight: 500;
}
.language-chooser .language-chooser-menu .language-chooser-item:hover:not(.active), .language-chooser .language-chooser-menu .language-chooser-item:focus:not(.active) {
  background-color: color-mix(in srgb, var(--bs-link-color) 8%, transparent);
  color: var(--hh-text-color-main);
}

.dropdown-menu[data-popper-placement^=top] {
  --bs-dropdown-zindex: 1040;
}

@media (min-width: 576px) {
  .dropdown-menu li a {
    white-space: nowrap;
  }
}
@media (max-width: 767.98px) {
  .dropdown-menu li a small, .dropdown-menu li a .small {
    white-space: normal;
  }
}
.dropdown-menu li a i {
  margin-right: 5px;
  font-size: 14px;
  display: inline-block;
  width: 14px;
}
.dropdown-menu li a:not(.btn):hover, .dropdown-menu li a:not(.btn):visited, .dropdown-menu li a:not(.btn):hover, .dropdown-menu li a:not(.btn):focus {
  cursor: pointer;
}
.dropdown-menu li:hover,
.dropdown-menu li.selected {
  color: var(--hh-text-color-highlight);
}
.dropdown-menu li:first-child {
  margin-top: 3px;
}
.dropdown-menu li:last-child {
  margin-bottom: 3px;
}

.modal .dropdown-menu,
.panel .dropdown-menu,
.nav-tabs .dropdown-menu {
  border: 1px solid var(--hh-background3);
}
.modal .dropdown-menu li,
.panel .dropdown-menu li,
.nav-tabs .dropdown-menu li {
  border-left: 3px solid var(--hh-background-color-main);
}
.modal .dropdown-menu li:hover, .modal .dropdown-menu li.selected,
.panel .dropdown-menu li:hover,
.panel .dropdown-menu li.selected,
.nav-tabs .dropdown-menu li:hover,
.nav-tabs .dropdown-menu li.selected {
  border-left: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-secondary) !important;
}
.modal .dropdown-menu li .dropdown-divider,
.panel .dropdown-menu li .dropdown-divider,
.nav-tabs .dropdown-menu li .dropdown-divider {
  background-color: var(--hh-background-color-secondary);
  border-bottom: none;
  margin: 9px 1px !important;
}
.modal .dropdown-menu li a,
.panel .dropdown-menu li a,
.nav-tabs .dropdown-menu li a {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 15px;
}
.modal .dropdown-menu li a i,
.panel .dropdown-menu li a i,
.nav-tabs .dropdown-menu li a i {
  margin-right: 5px;
}
.modal .dropdown-menu li a:hover,
.panel .dropdown-menu li a:hover,
.nav-tabs .dropdown-menu li a:hover {
  background: none;
}

ul.contextMenu {
  border: 1px solid var(--hh-background3);
}
ul.contextMenu li {
  border-left: 3px solid var(--hh-background-color-main);
}
ul.contextMenu li:hover, ul.contextMenu li.selected {
  border-left: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-secondary) !important;
}
ul.contextMenu li .dropdown-divider {
  background-color: var(--hh-background-color-secondary);
  border-bottom: none;
  margin: 9px 1px !important;
}
ul.contextMenu li a {
  font-size: 14px;
  font-weight: 400;
  padding: 4px 15px;
}
ul.contextMenu li a i {
  margin-right: 5px;
}
ul.contextMenu li a:hover {
  background: none;
}

.content span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

#blueimp-gallery .slide img {
  max-height: 80%;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
  max-width: 100%;
  height: auto;
}

audio {
  min-height: 30px;
}

img {
  image-orientation: from-image;
}

.img-profile-space {
  position: relative;
}
.img-profile-space .img-space {
  position: absolute;
  top: 15px;
  left: 15px;
}

.rounded {
  border-radius: 3px;
}

.has-online-status {
  position: relative;
  display: inline-block;
  height: fit-content;
}
.has-online-status .user-online-status {
  aspect-ratio: 1/1;
  width: 30%;
  border-radius: 100%;
  position: absolute;
  right: -10%;
  bottom: -10%;
  border: 1px solid transparent;
}
.has-online-status .user-online-status.user-is-online {
  border-color: var(--hh-background-color-main);
  background-color: var(--bs-success);
}
.has-online-status.img-size-small .user-online-status {
  width: 10px;
  right: -3px;
  bottom: -3px;
}
.has-online-status.img-size-large .user-online-status {
  width: 20px;
  border-width: 2px;
}

.installer .logo {
  text-align: center;
}
.installer h2, .installer .h2 {
  font-weight: 100;
}
.installer .panel {
  margin-top: 50px;
}
.installer .panel h3, .installer .panel .h3 {
  margin-top: 0;
}
.installer .powered,
.installer .powered a {
  color: var(--hh-text-color-soft3) !important;
  margin-top: 10px;
  font-size: 12px;
}
.installer .fa {
  width: 18px;
}
.installer .check-ok {
  color: var(--bs-success);
}
.installer .check-warning {
  color: var(--bs-warning);
}
.installer .check-error {
  color: var(--bs-danger);
}
.installer .prerequisites-list ul {
  list-style: none;
  padding-left: 15px;
}
.installer .prerequisites-list ul li {
  padding-bottom: 5px;
}

.input-group .btn:not(.form-control) {
  border: none;
  box-shadow: none;
}

.input-group-text {
  border: none;
  background-color: var(--hh-background-color-page);
}

.input-color-group {
  flex-wrap: nowrap;
}
.input-color-group > div > label {
  display: none;
}
.input-color-group input {
  height: 36px;
}
.input-color-group div:first-child input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-color-group div:last-child {
  flex-grow: 1;
}
.input-color-group div:last-child input {
  margin-left: calc(-1 * var(--bs-border-width));
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-color-group input:focus {
  position: relative;
  z-index: 1;
}

.pagination-container ul.pagination {
  margin-top: 32px;
  justify-content: center;
}

.pagination > li:not(.active) > a,
.pagination > li:not(.active) > a:hover,
.pagination > li:not(.active) > a:focus {
  background-color: var(--hh-background-color-main);
}

.nav, .list-group {
  --hh-nav-icon-width: 20px;
}

.nav .nav-item > .nav-link > i {
  width: var(--hh-nav-icon-width);
}

.tab-sub-menu {
  padding-left: 10px;
}
.tab-sub-menu .nav-link:hover, .tab-sub-menu .nav-link:focus {
  background-color: var(--hh-background-color-secondary);
  border-bottom-color: var(--bs-nav-tabs-border-color);
}
.tab-sub-menu .nav-link.active {
  background-color: var(--hh-background-color-main);
  border-bottom-color: transparent;
}

.tab-menu {
  padding-top: 10px;
  background-color: var(--hh-background-color-main);
}
.tab-menu .nav-tabs {
  padding-left: 10px;
}
.tab-menu .nav-tabs .nav-link {
  padding-top: 12px;
  border-color: var(--bs-nav-tabs-border-color);
  border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);
  background-color: var(--hh-background-color-secondary);
  max-height: 41px;
  outline: none;
}
.tab-menu .nav-tabs .nav-link:hover, .tab-menu .nav-tabs .nav-link:focus {
  padding-top: 10px;
  border-top: 3px solid var(--bs-nav-tabs-border-color);
}
.tab-menu .nav-tabs .nav-link:hover {
  background-color: var(--hh-background-color-secondary);
}
.tab-menu .nav-tabs .nav-link.active {
  padding-top: 10px;
  border-top: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-main);
  border-bottom-color: transparent;
}

ul.tab-menu {
  padding-top: 10px;
  background-color: var(--hh-background-color-main);
  padding-left: 10px;
}

ul.tab-menu-settings .nav-link {
  padding-top: 12px;
  border-color: var(--bs-nav-tabs-border-color);
  border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);
  background-color: var(--hh-background-color-secondary);
  max-height: 41px;
  outline: none;
}
ul.tab-menu-settings .nav-link:hover, ul.tab-menu-settings .nav-link:focus {
  padding-top: 10px;
  border-top: 3px solid var(--bs-nav-tabs-border-color) !important;
}
ul.tab-menu-settings .nav-link:hover {
  background-color: var(--hh-background-color-secondary);
}
ul.tab-menu-settings .nav-link.active {
  padding-top: 10px;
  border-top: 3px solid var(--bs-accent) !important;
  background-color: var(--hh-background-color-main);
  border-bottom-color: transparent !important;
}

.nav-pills .dropdown-menu,
.nav-tabs .dropdown-menu,
.account .dropdown-menu {
  background-color: var(--bs-primary);
  border: none;
}
.nav-pills .dropdown-menu li,
.nav-tabs .dropdown-menu li,
.account .dropdown-menu li {
  border-left: 3px solid var(--bs-primary);
}
.nav-pills .dropdown-menu li:hover, .nav-pills .dropdown-menu li.selected,
.nav-tabs .dropdown-menu li:hover,
.nav-tabs .dropdown-menu li.selected,
.account .dropdown-menu li:hover,
.account .dropdown-menu li.selected {
  border-left: 3px solid var(--bs-accent);
  color: var(--hh-primary-contrast) !important;
  background-color: #2444ff !important;
}
.nav-pills .dropdown-menu li .dropdown-divider,
.nav-tabs .dropdown-menu li .dropdown-divider,
.account .dropdown-menu li .dropdown-divider {
  background-color: #2444ff;
  border-bottom: none;
  margin: 9px 1px !important;
}
.nav-pills .dropdown-menu li a, .nav-pills .dropdown-menu li a.link,
.nav-tabs .dropdown-menu li a,
.nav-tabs .dropdown-menu li a.link,
.account .dropdown-menu li a,
.account .dropdown-menu li a.link {
  color: var(--hh-primary-contrast);
  font-weight: 400;
  font-size: 13px;
  padding: 4px 15px;
}
.nav-pills .dropdown-menu li a i, .nav-pills .dropdown-menu li a.link i,
.nav-tabs .dropdown-menu li a i,
.nav-tabs .dropdown-menu li a.link i,
.account .dropdown-menu li a i,
.account .dropdown-menu li a.link i {
  margin-right: 0;
  font-size: 14px;
  display: inline-block;
  width: var(--hh-nav-icon-width);
}
.nav-pills .dropdown-menu li a:hover, .nav-pills .dropdown-menu li a:visited, .nav-pills .dropdown-menu li a:hover, .nav-pills .dropdown-menu li a:focus, .nav-pills .dropdown-menu li a.link:hover, .nav-pills .dropdown-menu li a.link:visited, .nav-pills .dropdown-menu li a.link:hover, .nav-pills .dropdown-menu li a.link:focus,
.nav-tabs .dropdown-menu li a:hover,
.nav-tabs .dropdown-menu li a:visited,
.nav-tabs .dropdown-menu li a:hover,
.nav-tabs .dropdown-menu li a:focus,
.nav-tabs .dropdown-menu li a.link:hover,
.nav-tabs .dropdown-menu li a.link:visited,
.nav-tabs .dropdown-menu li a.link:hover,
.nav-tabs .dropdown-menu li a.link:focus,
.account .dropdown-menu li a:hover,
.account .dropdown-menu li a:visited,
.account .dropdown-menu li a:hover,
.account .dropdown-menu li a:focus,
.account .dropdown-menu li a.link:hover,
.account .dropdown-menu li a.link:visited,
.account .dropdown-menu li a.link:hover,
.account .dropdown-menu li a.link:focus {
  background: none;
}
.nav-pills .nav-link.dropdown-toggle,
.nav-tabs .nav-link.dropdown-toggle,
.account .nav-link.dropdown-toggle {
  font-size: 16px;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

.nav-pills.preferences {
  position: absolute;
  right: 10px;
  top: 10px;
}
.nav-pills.preferences .dropdown .dropdown-toggle {
  padding: 4px 2px;
}
.nav-pills.preferences .dropdown .dropdown-toggle:hover {
  background-color: var(--hh-background-color-secondary);
}
.nav-pills.preferences .dropdown .dropdown-toggle::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  border: none;
}
.nav-pills.preferences .dropdown .dropdown-toggle:has(i)::after {
  display: none;
}
.nav-pills.preferences .dropdown .dropdown-toggle.show {
  color: var(--hh-primary-contrast);
  background-color: var(--bs-primary);
}
.nav-pills.preferences .dropdown .dropdown-toggle.show::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
}
.nav-pills.preferences li:first-of-type:has(> .dropdown-divider),
.nav-pills.preferences li:last-of-type:has(> .dropdown-divider) {
  display: none;
}

.dropdown-toggle.dropdown-toggle-no-caret::after {
  display: none;
}

.nav-tabs {
  margin-bottom: 10px;
}
.nav-tabs.tabs-center li {
  float: none;
  display: inline-block;
}
.nav-tabs.tabs-small li > a {
  padding: 5px 7px;
}
.nav-tabs > li.nav-item {
  font-weight: 600;
  font-size: 12px;
}
.nav-tabs > li.nav-item > a.nav-link, .nav-tabs > li.nav-item > a.nav-link[data-bs-toggle] {
  margin-right: 2px;
  color: var(--hh-text-color-main);
}
.nav-tabs > li.nav-item > a.nav-link.active, .nav-tabs > li.nav-item > a.nav-link:hover, .nav-tabs > li.nav-item > a.nav-link:focus {
  border-bottom-color: transparent;
  color: var(--hh-text-color-highlight);
}

.list-group a [class^=fa-],
.list-group a [class*=" fa-"] {
  display: inline-block;
  width: var(--hh-nav-icon-width);
}

.tab-content .tab-pane .mb-3 {
  margin-bottom: 5px;
}

.nav .caret,
.nav .caret:hover,
.nav .caret:active {
  border-top-color: var(--hh-text-color-highlight);
  border-bottom-color: var(--hh-text-color-highlight);
  height: 6.928px;
}

.nav li.dropdown > a:hover .caret,
.nav li.dropdown > a:active .caret {
  border-top-color: var(--hh-text-color-highlight);
  border-bottom-color: var(--hh-text-color-highlight);
}

.nav .open > a .caret,
.nav .open > a:hover .caret,
.nav .open > a:focus .caret {
  border-top-color: var(--hh-text-color-highlight);
  border-bottom-color: var(--hh-text-color-highlight);
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  border-color: #ededed;
}

.footer-nav {
  filter: opacity(0.6);
  font-size: 12px;
  text-align: center;
}
.footer-nav .select2-container {
  text-align: initial;
}

@media (max-width: 991.98px) {
  .controls-header {
    text-align: left !important;
  }
}
#contentFormMenu {
  display: none;
}
#contentFormMenu.menu-without-form a {
  border-radius: 4px;
}
#contentFormMenu .nav-tabs {
  margin-bottom: 0;
  border: none;
  float: right;
}
#contentFormMenu .nav-tabs > li.nav-item > a.nav-link {
  position: relative;
}
#contentFormMenu .nav-tabs > li.nav-item > a.nav-link, #contentFormMenu .nav-tabs > li.nav-item > a.nav-link.active {
  color: #7A7A7A;
  background: var(--hh-background-color-main);
  border-color: var(--hh-background-color-main);
}
#contentFormMenu .nav-tabs > li.nav-item > a.nav-link:hover, #contentFormMenu .nav-tabs > li.nav-item > a.nav-link.active {
  z-index: 1;
  color: var(--text-color-default);
}
#contentFormMenu:after {
  content: " ";
  clear: both;
  display: block;
}
#contentFormMenu .content-create-menu-more {
  padding-right: 3px;
}
#contentFormMenu .content-create-menu-more > i {
  border-radius: 4px 4px 0 0;
  background: var(--hh-background-color-main);
  padding: 10px 15px 11px;
  font-size: 18px;
}
#contentFormMenu .content-create-menu-more > i:hover {
  color: #333;
}
#contentFormMenu .content-create-menu-more .dropdown-menu {
  background-color: var(--hh-background-color-main);
  border: 1px solid #D7D7D7;
  border-radius: 4px;
}
#contentFormMenu .content-create-menu-more .dropdown-menu li {
  border-left-color: var(--hh-background-color-main);
}
#contentFormMenu .content-create-menu-more .dropdown-menu li:hover, #contentFormMenu .content-create-menu-more .dropdown-menu li.selected {
  border-left-color: var(--bs-accent);
  background-color: var(--hh-background-color-secondary) !important;
}
#contentFormMenu .content-create-menu-more .dropdown-menu li a {
  color: var(--hh-text-color-default);
}
@media (max-width: 575.98px) {
  #contentFormMenu .nav-tabs {
    display: flex;
    width: 100%;
  }
  #contentFormMenu .nav-tabs > li.nav-item {
    flex-grow: 1;
    text-align: center;
  }
  #contentFormMenu .nav-tabs > li.nav-item.content-create-menu-more {
    flex-grow: 0.3;
  }
  #contentFormMenu .nav-tabs > li.nav-item.content-create-menu-more > i.fa {
    width: 100%;
  }
}

/**
 * Dark Mode styles
 */
.btn {
  --hh-btn-gap: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: var(--hh-btn-gap);
  justify-content: center;
}
.btn:empty {
  min-height: calc(var(--bs-btn-font-size) * var(--bs-btn-line-height) + 2 * var(--bs-btn-padding-y) + 2 * var(--bs-btn-border-width));
}
.btn > .fa {
  line-height: inherit;
}
.btn.input {
  outline: none;
}

.btn.dropdown-toggle::after {
  margin-left: 0;
}

.btn-icon-only.dropdown-toggle {
  --hh-btn-gap: .255em;
}

.btn-sm, .btn-group-sm > .btn {
  --hh-btn-gap: 0.4rem;
}

.btn-lg, .btn-group-lg > .btn {
  --hh-btn-gap: 0.8rem;
}

.btn-group > .btn {
  --bs-btn-padding-x: 0.8rem;
}
.btn-group > .btn.btn-icon-only {
  --bs-btn-padding-x: 0.4rem;
}

.btn-group-sm > .btn {
  --bs-btn-padding-x: 0.4rem;
}
.btn-group-sm > .btn.btn-icon-only {
  --bs-btn-padding-x: 0.3rem;
}

.btn-group-lg > .btn {
  --bs-btn-padding-x: 1.2rem;
}
.btn-group-lg > .btn.btn-icon-only {
  --bs-btn-padding-x: 0.8rem;
}

.btn-outline-light {
  color: var(--text-color-highlight);
}

a.link:not(.link-icon-only) i.fa {
  margin-right: 0.4rem;
}
a.link.link-topic i.fa {
  margin-right: 0.2rem;
}

.link-light {
  color: var(--text-color-highlight) !important;
}

.is-invalid[aria-invalid=true] .form-check-input, .is-invalid[aria-invalid=true] .form-check-input:checked {
  border-color: var(--bs-form-invalid-border-color);
}
.is-invalid[aria-invalid=true] .form-check-input ~ .form-check-label {
  color: var(--bs-form-invalid-color);
}
.is-invalid[aria-invalid=true] .form-check-input ~ .invalid-feedback {
  display: block;
}

label {
  font-weight: 700;
}
label[required]:after {
  content: " *";
  color: var(--bs-accent);
}

.form-check-input:checked {
  background-color: transparent;
}

div.required > label:after {
  content: " *";
  color: var(--bs-accent);
}

.form-checkboxes-normal .radio label,
.form-checkboxes-normal .checkbox label {
  font-weight: 500;
}

.select2-container--humhub .select2-search--dropdown .select2-search__field, .select2-container--humhub .select2-selection, .grid-view .filters input,
.grid-view .filters select, .form-control {
  border: 2px solid var(--hh-background-color-page);
  box-shadow: none;
  min-height: 35px;
  background-color: var(--hh-background-color-main);
  font-size: 14px;
}
.select2-container--humhub .select2-search--dropdown .select2-search__field:focus, .select2-container--humhub .select2-selection:focus, .grid-view .filters input:focus,
.grid-view .filters select:focus, .form-control:focus {
  border: 2px solid var(--bs-accent);
  outline: 0;
  box-shadow: none;
  background-color: var(--hh-background-color-main);
}
.select2-container--humhub .select2-search--dropdown [readonly].select2-search__field, .select2-container--humhub [readonly].select2-selection, .grid-view .filters input[readonly],
.grid-view .filters select[readonly], [readonly].form-control {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}
.select2-container--humhub .select2-search--dropdown .form-search.select2-search__field, .select2-container--humhub .form-search.select2-selection, .grid-view .filters input.form-search,
.grid-view .filters select.form-search, .form-search.form-control {
  border-radius: 30px;
  padding-left: 34px;
}

.form-group-search {
  position: relative;
}
.form-group-search:before {
  font: 14px FontAwesome;
  content: "\f002";
  color: var(--hh-background-color-page);
  position: absolute;
  top: 10px;
  left: 13px;
}
.form-group-search .form-button-search {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 30px;
}

select.form-control:not([multiple]) {
  appearance: none;
  background-image: url("../img/select_arrow.png") !important;
  background-repeat: no-repeat;
  background-position: right 16px;
  overflow: hidden;
}

div.PendingRegistrations thead > tr > th > label, div.PendingRegistrations tbody > tr > td > label {
  margin-bottom: 0;
  height: 17px;
}

::placeholder {
  color: var(--hh-text-color-soft3) !important;
}

/* hide native password reveal icons */
input::-ms-clear, input::-ms-reveal {
  display: none;
}

.placeholder {
  padding: 10px;
  color: var(--hh-text-color-secondary);
}

input.placeholder,
textarea.placeholder {
  padding: 0 0 0 10px;
  color: var(--hh-text-color-secondary);
}

.invalid-feedback {
  font-size: 12px;
}

.form-text, .text-body-secondary {
  color: var(--hh-text-color-soft);
  font-size: 13px;
}

.panel-body > .text-body-secondary {
  padding-right: 20px;
  margin-bottom: 20px;
}

.hint-block {
  color: var(--hh-text-color-soft2) !important;
  font-size: 12px;
}

.hint-block:hover {
  color: var(--hh-text-color-secondary) !important;
  font-size: 12px;
}

a.input-field-addon {
  font-size: 12px;
  float: right;
  margin-top: -10px;
}

a.input-field-addon-sm {
  font-size: 11px;
  float: right;
  margin-top: -10px;
}

.timeZoneInputContainer {
  padding-top: 10px;
}

.timeZoneInputContainer ~ .form-text {
  margin: 0;
}

.radio input[type=radio],
.radio-inline input[type=radio],
.checkbox input[type=checkbox],
.checkbox-inline input[type=checkbox] {
  position: relative;
  margin-left: 0;
}

input[type=checkbox], input[type=radio] {
  -webkit-appearance: none;
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  min-height: auto;
  padding: 7px;
  margin: 0 6px 0 0;
  vertical-align: middle;
  background: var(--hh-background-color-main);
  border: 2px solid var(--hh-background3);
  border-radius: 3px;
  cursor: pointer;
}
input[type=checkbox]:disabled, input[type=radio]:disabled {
  background: var(--hh-background3) !important;
  border: 2px solid var(--hh-background3) !important;
  cursor: not-allowed;
}

input[type=checkbox]:focus {
  border: 2px solid var(--hh-text-color-highlight) !important;
  outline: none;
}
input[type=checkbox]:checked {
  border: 2px solid var(--bs-accent);
  background: var(--bs-accent);
  color: var(--hh-accent-contrast);
}
input[type=checkbox]:checked::after {
  content: "\f00c"; /* FontAwesome checkmark */
  font-family: "FontAwesome"; /* FontAwesome Font */
  font-size: 12px;
  position: absolute;
  top: -1px;
  left: 1px;
  color: var(--hh-accent-contrast);
}

input[type=radio] {
  border-radius: 50%;
}
input[type=radio]:checked {
  border: 2px solid var(--hh-background3);
  color: #99a1a7;
}
input[type=radio]:checked::after {
  content: " ";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  background: var(--bs-accent);
  text-shadow: none;
  left: 3px;
  font-size: 32px;
}

.form-check-label {
  cursor: pointer;
}

div.mb-3 div.checkbox .form-text {
  margin-left: 23px;
}
div.mb-3 div.checkbox .invalid-feedback:empty {
  display: none;
}

.radio-pills {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--bs-light);
  border-radius: 4px;
  width: fit-content;
}
.radio-pills div.radio {
  flex: 1;
  text-align: center;
  font-size: 12px;
  border-radius: 3px;
  background: var(--hh-background-color-main);
  box-shadow: none;
  margin: 0 !important;
  white-space: nowrap;
}
.radio-pills div.radio:hover, .radio-pills div.radio.active {
  background: var(--bs-light);
}
.radio-pills div.radio .fa {
  margin-right: 5px;
}
.radio-pills div.radio .fa.radio-pill-active-icon {
  display: none;
}
.radio-pills div.radio.active .fa.radio-pill-active-icon {
  display: inline;
}
.radio-pills div.radio label {
  font-weight: 600;
  padding: 2px 12px;
  line-height: 21px;
}
.radio-pills div.radio::after {
  content: " ";
  border-right: 1px solid var(--bs-light);
  position: absolute;
  top: 20%;
  height: 60%;
  left: 0;
  z-index: 1;
}
.radio-pills div.radio:first-child::after, .radio-pills div.radio:hover + div.radio::after, .radio-pills div.radio.active::after, .radio-pills div.radio.active + div.radio::after {
  display: none;
}
.radio-pills input[type=radio] {
  display: none;
}

.radio-pills-wide {
  width: auto;
}

altcha-widget.form-control {
  width: fit-content;
  padding: 0;
}
altcha-widget.form-control .altcha {
  border: none !important;
}

.errorMessage {
  color: var(--bs-danger);
  padding: 10px 0;
}

.error {
  border-color: var(--bs-danger) !important;
}

.bootstrap-timepicker-widget .form-control {
  padding: 0;
}

.humhub-pw-show {
  border-radius: 4px;
}
.humhub-pw-show:focus-visible {
  outline: 2px solid var(--bs-accent);
  outline-offset: -2px;
}

.form-collapsible-fields {
  margin-bottom: 12px;
  border-left: 3px solid var(--bs-primary);
  background-color: var(--hh-background-color-secondary);
}

.form-collapsible-fields-label {
  margin-bottom: 0;
  padding: 12px;
  cursor: pointer;
}
.form-collapsible-fields-label:focus-visible {
  border-left: 3px solid var(--bs-accent);
  margin-left: -3px;
}
.form-collapsible-fields-label label {
  margin-bottom: 0;
  cursor: pointer;
}

.form-collapsible-fields fieldset {
  padding-top: 15px;
  padding-left: 12px;
  padding-right: 12px;
}

.form-collapsible-fields-label .fa-plus {
  display: none;
}
.form-collapsible-fields-label.collapsed .fa-minus {
  display: none;
}
.form-collapsible-fields-label.collapsed .fa-plus {
  display: initial;
}

.content_create .richtext-create-input-group,
.content_edit .richtext-create-input-group {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}
.content_create .richtext-create-input-group > .mb-3,
.content_edit .richtext-create-input-group > .mb-3 {
  flex-grow: 1;
  width: 100%;
  margin-bottom: 0 !important;
}
.content_create .richtext-create-input-group > .mb-3 [data-ui-markdown],
.content_edit .richtext-create-input-group > .mb-3 [data-ui-markdown] {
  word-break: break-word !important;
}
.content_create .richtext-create-input-group > .mb-3 [data-ui-markdown] pre code,
.content_edit .richtext-create-input-group > .mb-3 [data-ui-markdown] pre code {
  display: block;
  width: 0;
}
.content_create .richtext-create-input-group .mb-3, .content_create .richtext-create-input-group .form-text,
.content_edit .richtext-create-input-group .mb-3,
.content_edit .richtext-create-input-group .form-text {
  margin: 0;
}
.content_create .richtext-create-buttons,
.content_edit .richtext-create-buttons {
  white-space: nowrap;
  padding-top: 6px;
}
.content_create .richtext-create-buttons .btn:not(.dropdown-toggle),
.content_edit .richtext-create-buttons .btn:not(.dropdown-toggle) {
  margin-left: 6px;
}
.content_create .richtext-create-buttons .btn.fileinput-button, .content_create .richtext-create-buttons .fileinput-button + .dropdown-toggle,
.content_edit .richtext-create-buttons .btn.fileinput-button,
.content_edit .richtext-create-buttons .fileinput-button + .dropdown-toggle {
  background: var(--hh-background-color-page);
  color: var(--hh-text-color-default) !important;
  border-color: var(--hh-background-color-page);
}
.content_create .richtext-create-buttons .btn.fileinput-button:hover, .content_create .richtext-create-buttons .btn.fileinput-button:focus, .content_create .richtext-create-buttons .fileinput-button + .dropdown-toggle:hover, .content_create .richtext-create-buttons .fileinput-button + .dropdown-toggle:focus,
.content_edit .richtext-create-buttons .btn.fileinput-button:hover,
.content_edit .richtext-create-buttons .btn.fileinput-button:focus,
.content_edit .richtext-create-buttons .fileinput-button + .dropdown-toggle:hover,
.content_edit .richtext-create-buttons .fileinput-button + .dropdown-toggle:focus {
  background: var(--hh-background3) !important;
  border-color: var(--hh-background3);
}
.content_create .richtext-create-buttons .btn.fileinput-button:active, .content_create .richtext-create-buttons .btn.fileinput-button.active, .content_create .richtext-create-buttons .fileinput-button + .dropdown-toggle:active, .content_create .richtext-create-buttons .fileinput-button + .dropdown-toggle.active,
.content_edit .richtext-create-buttons .btn.fileinput-button:active,
.content_edit .richtext-create-buttons .btn.fileinput-button.active,
.content_edit .richtext-create-buttons .fileinput-button + .dropdown-toggle:active,
.content_edit .richtext-create-buttons .fileinput-button + .dropdown-toggle.active {
  background: var(--hh-background4) !important;
  border-color: var(--hh-background4);
}
.content_create .richtext-create-buttons .btn.dropdown-toggle,
.content_edit .richtext-create-buttons .btn.dropdown-toggle {
  margin-left: 0;
}
.content_create .fileinput-button:active,
.content_edit .fileinput-button:active {
  box-shadow: none !important;
}

#choose-language-form {
  min-width: 150px;
}

#notification_overview_filter label {
  display: block;
}

.field-filterform-allfilter input[type=checkbox] {
  border-color: #ccc;
}
.field-filterform-allfilter input[type=checkbox]:checked {
  border-color: var(--bs-light);
  background: var(--bs-light);
}
.field-filterform-allfilter input[type=checkbox]:checked::after {
  color: var(--text-color-main);
}
.field-filterform-allfilter input[type=checkbox]:focus {
  border-color: #ccc !important;
}

#notification_overview_list .d-flex {
  border-left: none;
  background: none;
}
#notification_overview_list .d-flex:hover {
  border-left: none;
  background-color: var(--hh-background-color-secondary);
}
#notification_overview_list .d-flex.new time {
  color: var(--bs-accent);
}
* #notification_overview_list .d-flex:not(.new), #notification_overview_list .d-flex:not(.new) strong {
  color: var(--hh-text-color-secondary);
}

@media (max-width: 767.98px) {
  .notifications {
    position: static !important;
    transform: none !important;
  }
  .notifications .dropdown-menu {
    width: 300px !important;
    margin-left: 0 !important;
  }
  .notifications .dropdown-menu .arrow {
    margin-left: -142px !important;
  }
}
.badge-space {
  margin-top: 6px;
}

.badge-space-chooser {
  padding: 3px 5px;
  margin-left: 1px;
}

.badge {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  vertical-align: bottom;
  white-space: nowrap;
  text-shadow: none;
  background-color: var(--hh-background3);
  line-height: 1;
}
.badge:is(a):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent);
}
.badge.text-bg-accent {
  color: var(--hh-accent-contrast) !important;
}
.badge.text-bg-primary {
  color: var(--hh-primary-contrast) !important;
}
.badge.text-bg-secondary {
  color: var(--hh-secondary-contrast) !important;
}
.badge.text-bg-info {
  color: var(--hh-info-contrast) !important;
}
.badge.text-bg-success {
  color: var(--hh-success-contrast) !important;
}
.badge.text-bg-warning {
  color: var(--hh-warning-contrast) !important;
}
.badge.text-bg-danger {
  color: var(--hh-danger-contrast) !important;
}
.badge.text-bg-light {
  color: var(--hh-light-contrast) !important;
}
.badge.text-bg-dark {
  color: var(--hh-dark-contrast) !important;
}
.badge.badge-new {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bs-accent);
}
.badge.badge-new:empty {
  display: inline-block;
}

.popover .popover-title {
  background: none;
  border-bottom: none;
  color: var(--hh-text-color-highlight);
  font-weight: 300;
  font-size: 16px;
  padding: 15px;
}
.popover .popover-content {
  font-size: 13px;
  padding: 5px 15px;
  color: var(--hh-text-color-highlight);
}
.popover .popover-content img {
  max-width: 100%;
}
.popover .popover-navigation {
  padding: 15px;
}

.panel-profile .panel-profile-header .image-upload-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.panel-profile .panel-profile-header .image-upload-container #bannerfileupload {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
}
.panel-profile .panel-profile-header .img-profile-header-background {
  width: 100%;
  max-height: 192px;
}

@media print {
  .panel-profile {
    display: none;
  }
}
.profile-item {
  margin-top: 15px;
}

.hh-list {
  padding: 0;
}
.hh-list.dropdown-item:hover {
  background-color: inherit;
  color: inherit;
}
.hh-list > div:not(.stream-end), .hh-list > a:not(.stream-end) {
  padding: 10px;
  border-bottom: 1px solid var(--hh-background-color-page);
  position: relative;
  border-left: 3px solid var(--hh-background-color-main);
}
.hh-list > div:not(.stream-end):hover, .hh-list > div:not(.stream-end).selected, .hh-list > a:not(.stream-end):hover, .hh-list > a:not(.stream-end).selected {
  background-color: var(--hh-background-color-secondary);
  border-left: 3px solid var(--bs-accent);
}
.hh-list > div:not(.stream-end), .hh-list > div:not(.stream-end) a, .hh-list > a:not(.stream-end), .hh-list > a:not(.stream-end) a {
  color: var(--hh-text-color-main);
}
.hh-list > div:not(.stream-end).new, .hh-list > a:not(.stream-end).new {
  border-left: 3px solid var(--bs-accent);
  background-color: var(--hh-background-color-highlight);
}
.hh-list > div:not(.stream-end).new:hover, .hh-list > a:not(.stream-end).new:hover {
  background-color: var(--hh-background-color-highlight-soft);
}
.hh-list > div:not(.stream-end).placeholder, .hh-list > a:not(.stream-end).placeholder {
  font-size: 14px !important;
  border-bottom: none;
}
.hh-list > div:not(.stream-end).placeholder:hover, .hh-list > a:not(.stream-end).placeholder:hover {
  background: none !important;
  border-left: 3px solid var(--hh-background-color-main);
}
.hh-list > div:not(.stream-end) .badge-space-type, .hh-list > a:not(.stream-end) .badge-space-type {
  background-color: var(--hh-background-color-secondary);
  border: 1px solid var(--hh-background3);
  color: var(--hh-background4);
  padding: 3px 3px 2px 3px;
}
.hh-list > div:not(.stream-end) .flex-grow-1, .hh-list > a:not(.stream-end) .flex-grow-1 {
  font-size: 13px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.hh-list > div:not(.stream-end) h4, .hh-list > div:not(.stream-end) .h4, .hh-list > a:not(.stream-end) h4, .hh-list > a:not(.stream-end) .h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--hh-text-color-highlight);
}
.hh-list > div:not(.stream-end) h4 small, .hh-list > div:not(.stream-end) .h4 small, .hh-list > div:not(.stream-end) h4 .small, .hh-list > div:not(.stream-end) .h4 .small,
.hh-list > div:not(.stream-end) h4 small a,
.hh-list > div:not(.stream-end) .h4 small a,
.hh-list > div:not(.stream-end) h4 .small a,
.hh-list > div:not(.stream-end) .h4 .small a, .hh-list > a:not(.stream-end) h4 small, .hh-list > a:not(.stream-end) .h4 small, .hh-list > a:not(.stream-end) h4 .small, .hh-list > a:not(.stream-end) .h4 .small,
.hh-list > a:not(.stream-end) h4 small a,
.hh-list > a:not(.stream-end) .h4 small a,
.hh-list > a:not(.stream-end) h4 .small a,
.hh-list > a:not(.stream-end) .h4 .small a {
  font-size: 11px;
  color: var(--hh-text-color-soft);
}
.hh-list > div:not(.stream-end) h4 .content, .hh-list > div:not(.stream-end) .h4 .content, .hh-list > a:not(.stream-end) h4 .content, .hh-list > a:not(.stream-end) .h4 .content {
  margin-right: 35px;
}
.hh-list > div:not(.stream-end) h5, .hh-list > div:not(.stream-end) .h5, .hh-list > a:not(.stream-end) h5, .hh-list > a:not(.stream-end) .h5 {
  color: var(--hh-text-color-soft2);
  font-weight: 300;
  margin-top: 5px;
  margin-bottom: 5px;
  min-height: 15px;
}
.hh-list > div:not(.stream-end) .content a, .hh-list > a:not(.stream-end) .content a {
  word-break: break-all;
}
.hh-list > div:not(.stream-end) strong, .hh-list > a:not(.stream-end) strong {
  color: var(--hh-text-color-highlight);
}
.hh-list > div:not(.stream-end) .time, .hh-list > a:not(.stream-end) .time {
  font-size: 11px;
  color: var(--hh-text-color-soft);
}
.hh-list > div:not(.stream-end) .module-controls, .hh-list > a:not(.stream-end) .module-controls {
  font-size: 85%;
}
.hh-list > div:not(.stream-end) .content .files a, .hh-list > a:not(.stream-end) .content .files a {
  color: var(--hh-text-color-highlight);
}

.list-group-item {
  padding: 6px 15px;
  border-left: 3px solid var(--hh-background-color-main) !important;
  font-size: 12px;
  font-weight: 600;
}
.list-group-item i {
  font-size: 14px;
}

a.list-group-item.active, a.list-group-item:focus {
  z-index: 2;
  border-left: 3px solid var(--bs-accent) !important;
}
a.list-group-item:hover, a.list-group-item.active:hover, a.list-group-item.active:focus {
  background: inherit;
  color: inherit;
  border-left: none !important;
}
@media (hover: hover) and (pointer: fine) {
  a.list-group-item:hover, a.list-group-item.active:hover, a.list-group-item.active:focus {
    z-index: 2;
    border-left: 3px solid var(--bs-accent) !important;
  }
}

.panel a.list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.panel a.list-group-item:last-child {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.list-group-horizontal > .list-group-item.active {
  margin-top: auto;
}

@media (min-width: 576px) {
  .list-group-vertical-sm {
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .list-group-vertical-md {
    flex-direction: column;
  }
}
@media (min-width: 992px) {
  .list-group-vertical-lg {
    flex-direction: column;
  }
}
@media (min-width: 1200px) {
  .list-group-vertical-xl {
    flex-direction: column;
  }
}
@media (min-width: 1400px) {
  .list-group-vertical-xxl {
    flex-direction: column;
  }
}
@media (max-width: 991.98px) {
  .left-navigation .list-group-horizontal.list-group-vertical-lg {
    -webkit-overflow-scrolling: auto;
    white-space: nowrap;
    overflow-x: auto;
  }
  .list-group {
    margin-left: 4px;
    gap: 4px;
    flex-direction: row;
    overflow-x: auto;
  }
  .list-group .list-group-item {
    white-space: nowrap;
    border-radius: 3px !important;
    border-left: none !important;
    margin: 4px 0;
    margin-bottom: 4px !important;
  }
  .list-group a.list-group-item.active, .list-group a.list-group-item:focus {
    background: var(--bs-primary) !important;
    color: var(--hh-primary-contrast) !important;
    border-left: none !important;
  }
}
@media (max-width: 991.98px) and (hover: hover) and (pointer: fine) {
  .list-group a.list-group-item:hover, .list-group a.list-group-item.active:hover, .list-group a.list-group-item.active:focus {
    background: var(--bs-primary) !important;
    color: var(--hh-primary-contrast) !important;
    border-left: none !important;
  }
}
@media (min-width: 992px) {
  .list-group-vertical-lg > .list-group-item:first-child:not(:last-child) {
    border-bottom-left-radius: 0;
  }
}
.modal {
  --hh-modal-content-padding: calc(var(--bs-modal-padding) * 0.8);
  backdrop-filter: blur(2px);
  overflow-y: visible;
}
.modal .modal-dialog.fadeIn,
.modal .modal-dialog.pulse {
  animation-duration: 200ms;
}
.modal .modal-top {
  z-index: 999999 !important;
}
@media (max-width: 991.98px) {
  .modal .modal-dialog-large {
    width: auto !important;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
.modal .modal-title {
  font-size: 20px;
  color: var(--hh-text-color-highlight);
}
.modal .modal-title, .modal .modal-title strong {
  font-weight: 600;
}
.modal .modal-dialog {
  margin-bottom: calc(var(--hh-mobile-app-safe-area-inset-bottom, env(safe-area-inset-bottom)) + var(--bs-modal-margin));
}
.modal .modal-dialog, .modal .modal-content {
  min-width: 150px;
}
.modal .modal-content {
  box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
  border: none;
  background-color: var(--hh-background-color-main);
  padding: var(--hh-modal-content-padding);
}
.modal .modal-content .modal-header {
  border-bottom: none;
  text-align: center;
}
.modal .modal-content .modal-body {
  font-size: 13px;
}
.modal .modal-content .modal-footer, .modal .modal-content .modal-body-footer {
  margin-top: 0;
  border-top: none;
  text-align: center;
}
.modal .modal-content .modal-footer button, .modal .modal-content .modal-footer .btn, .modal .modal-content .modal-body-footer button, .modal .modal-content .modal-body-footer .btn {
  flex: 1;
}
.modal .modal-content .modal-footer hr, .modal .modal-content .modal-body-footer hr {
  margin-top: 0;
}
.modal .modal-content .modal-body-footer {
  display: flex;
  padding-top: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * 0.5);
}
.modal .modal-content .modal-body-footer > * {
  margin: calc(var(--bs-modal-footer-gap) * 0.5);
}
.modal .modal-dialog.modal-hh-fullscreen {
  display: flex;
  align-items: center;
  max-width: 100%;
  margin: 0 30px;
  height: 100vh;
}
.modal .modal-dialog.modal-hh-fullscreen .modal-content {
  overflow: hidden;
  padding: 0;
}
.modal .modal-dialog.modal-hh-fullscreen .modal-body {
  height: calc(100vh - 110px);
  padding: 0;
}
.modal .modal-dialog.modal-hh-fullscreen .modal-body > div, .modal .modal-dialog.modal-hh-fullscreen .modal-body > iframe, .modal .modal-dialog.modal-hh-fullscreen .modal-body > div > iframe {
  width: 100%;
  height: 100%;
}
@media (max-width: 767.98px) {
  .modal .modal-dialog.modal-hh-fullscreen {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }
  .modal .modal-dialog.modal-hh-fullscreen .modal-content {
    height: 100% !important;
    border-radius: 0;
  }
  .modal .modal-dialog.modal-hh-fullscreen .modal-body {
    height: calc(100vh - 57px);
  }
}

body.modal-open {
  height: 100vh;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.tooltip-inner {
  text-align: left;
  padding: 2px 8px 4px;
  font-weight: bold;
  white-space: pre-wrap;
}

.tooltip.in {
  opacity: 1;
}

.progress {
  margin-bottom: 15px;
}

.progress-bar-info {
  background-color: var(--bs-accent);
  box-shadow: none;
}

#nprogress .bar {
  height: 2px;
  background: #667dff;
}

table {
  margin-bottom: 0 !important;
}
table th {
  font-size: 11px;
  color: var(--hh-text-color-soft);
  font-weight: normal;
}
table .time {
  font-size: 12px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 10px 10px 10px 0;
}
.table > thead > tr > th select,
.table > tbody > tr > th select,
.table > tfoot > tr > th select,
.table > thead > tr > td select,
.table > tbody > tr > td select,
.table > tfoot > tr > td select {
  font-size: 12px;
  padding: 4px 8px;
  height: 30px;
  margin: 0;
}

.table-middle > thead > tr > th,
.table-middle > tbody > tr > th,
.table-middle > tfoot > tr > th,
.table-middle > thead > tr > td,
.table-middle > tbody > tr > td,
.table-middle > tfoot > tr > td {
  vertical-align: middle !important;
}

@media (max-width: 767.98px) {
  .table-responsive > .table > tbody > tr > td.notification-type {
    white-space: normal;
  }
}

.comment-container {
  border-radius: 3px;
}
.comment-container .comment .single-comment {
  position: relative !important;
  margin: -0.5rem;
}
.comment-container .comment .single-comment.d-flex > .flex-grow-1 {
  min-width: 0;
}
.comment-container .comment .single-comment > .nav-pills.preferences {
  right: 6px;
}
.comment-container .comment .single-comment > .nav-pills.preferences > .dropdown > .dropdown-toggle:not(.show) {
  visibility: hidden;
}
.comment-container .comment .single-comment:hover > .nav-pills.preferences > .dropdown > .dropdown-toggle {
  visibility: visible;
}
.comment-container .comment .single-comment:first-of-type > .nav-pills.preferences {
  top: 6px;
}
.comment-container .comment .single-comment .comment-message {
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.comment-container .comment .single-comment .comment-header-image {
  margin-right: 10px;
}
.comment-container .comment .single-comment .richtext-create-input-group .mb-3 {
  margin-bottom: 0 !important;
}
.comment-container .comment .single-comment .richtext-create-input-group.scrollActive .richtext-create-buttons {
  right: 22px;
}
.comment-container .comment .single-comment h4.comment-heading, .comment-container .comment .single-comment .comment-heading.h4 {
  font-size: 13px;
  padding-top: 1px;
  margin-bottom: 3px;
}
.comment-container .comment .single-comment h4.comment-heading a, .comment-container .comment .single-comment .comment-heading.h4 a {
  font-weight: 500;
}
.comment-container .comment .single-comment h4.comment-heading small, .comment-container .comment .single-comment .comment-heading.h4 small, .comment-container .comment .single-comment h4.comment-heading .small, .comment-container .comment .single-comment .comment-heading.h4 .small {
  font-weight: 400;
  font-size: 11px;
}
.comment-container .comment .single-comment [data-ui-richtext] pre, .comment-container .comment .single-comment [data-ui-richtext] pre code.hljs {
  background-color: #fff5e0;
}
.comment-container .comment .single-comment .nested-comments-root .ProseMirror-menubar-wrapper {
  z-index: 210;
}
.comment-container .comment .single-comment .nested-comments-root hr.comment-separator:not(:first-of-type) {
  display: inherit !important;
}
.comment-container .comment .single-comment .nested-comments-root .showMore {
  margin-top: 10px;
}
.comment-container .comment .single-comment .nested-comments-root div.comment .single-comment {
  position: relative !important;
}
.comment-container .comment .single-comment.comment-current {
  background: var(--hh-background-color-highlight);
  border-radius: 3px;
}
.comment-container .comment .single-comment.comment-current hr {
  position: relative;
  top: -6px;
}
.comment-container .comment .single-comment.comment-current:first-of-type {
  padding-top: 5px;
  margin-top: -5px;
}
.comment-container .comment .single-comment.comment-current .nested-comments-root .comment-container .showMore {
  margin-top: 0;
  padding-top: 5px;
}
.comment-container .comment.guest-mode .single-comment:last-child .wall-entry-controls {
  margin-bottom: 0;
  margin-left: 35px;
}
.comment-container .comment.guest-mode .single-comment:last-child hr {
  display: none;
}
.comment-container .comment .comment-blocked-user img[data-contentcontainer-id] {
  filter: grayscale(100%);
}
.comment-container .comment .showMore {
  padding-bottom: 1rem;
  text-align: center;
}
.comment-container .comment .jp-progress {
  background-color: #dbdcdd !important;
}
.comment-container .comment .jp-play-bar {
  background: #cacaca;
}
.comment-container .comment .post-file-list {
  background-color: #fffaef;
}
.comment-container .d-flex {
  overflow: visible;
}
.comment-container .comment_create .richtext-create-buttons {
  display: none;
}
.comment-container .comment_create:focus-within .richtext-create-buttons, .comment-container .comment_create:has(.file-preview-item) .richtext-create-buttons, .comment-container .comment_create:has(.ProseMirror):not(:has(.atwho-placeholder)) .richtext-create-buttons {
  display: block;
}
.comment-container hr {
  margin: 10px 0;
  border-top: 1px solid var(--hh-background-color-secondary);
}
.comment-container .comment > hr.comment-separator:first-of-type {
  display: none !important;
}
@media (max-width: 767.98px) {
  .comment-container .comment .post-files img {
    height: 100px;
  }
}

.grid-view img {
  width: 24px;
  height: 24px;
}

.grid-view .filters input,
.grid-view .filters select {
  border-radius: 4px;
  font-size: 12px;
  padding: 4px;
}

.grid-view {
  padding: 15px 0 0;
}
.grid-view img {
  border-radius: 3px;
}
.grid-view table th {
  font-size: 13px !important;
  font-weight: bold !important;
}
.grid-view table td {
  vertical-align: middle !important;
}
.grid-view table tr {
  font-size: 13px !important;
}
.grid-view table thead tr th:first-of-type {
  padding-left: 5px;
}
.grid-view table tbody tr {
  height: 50px;
}
.grid-view table tbody tr td:first-of-type {
  padding-left: 5px;
}
.grid-view table tbody tr:last-of-type td {
  border-bottom: none;
}
.grid-view .summary {
  font-size: 12px;
  color: var(--hh-text-color-soft3);
}

.permission-grid-editor {
  padding-top: 0px;
}

.detail-view td, .detail-view th {
  padding: 8px !important;
}

.detail-view th {
  font-size: 13px;
}

.oembed_snippet {
  margin-top: 10px;
  position: relative;
  padding-bottom: 55%;
  padding-top: 15px;
  overflow: hidden;
}
.oembed_snippet[data-oembed-provider=Twitter], .oembed_snippet[data-oembed-provider*="twitter.com"] {
  padding-bottom: 0 !important;
  padding-top: 0;
  margin-top: 0;
}
.oembed_snippet iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.oembed_confirmation {
  background: var(--hh-background-color-highlight-soft);
  border-radius: 4px;
  padding: 15px;
  line-height: 30px;
}
.oembed_confirmation i.fa {
  float: left;
  color: #02a0b0;
  background: #FFF;
  border-radius: 50%;
  font-size: 30px;
  line-height: 25px;
  margin-right: 15px;
}
.oembed_confirmation > div:not(.clearfix) {
  float: left;
}
.oembed_confirmation input[type=checkbox] {
  line-height: var(--bs-body-line-height);
}

#oembed-providers {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}
#oembed-providers .oembed-provider-container {
  padding: 0;
}
#oembed-providers .oembed-provider-container .oembed-provider {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0.25rem 0.5rem;
  margin: 0 0.5rem 0.5rem 0.5rem;
}
#oembed-providers .oembed-provider-container .oembed-provider .oembed-provider-name {
  display: flex;
  justify-content: center;
  align-items: center;
}

#endpoint-parameters {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.activities {
  max-height: 400px;
  overflow: auto;
}
.activities div.activity-entry {
  padding: 0;
}
.activities .d-flex {
  padding: 10px;
}

.contentForm_options {
  margin-top: 10px;
  min-height: 29px;
}
.contentForm_options .btn_container {
  position: relative;
}
.contentForm_options .btn_container .badge-container {
  position: absolute;
  right: 50px;
  top: 6px;
}

#content-topic-bar {
  margin-top: 5px;
  text-align: right;
}
#content-topic-bar .badge {
  margin-left: 4px;
}

.content-form-body .mb-3, .content-form-body .invalid-feedback {
  margin: 0 !important;
}
.content-form-body .field-contentForm_postTopicInput {
  margin-bottom: 0 !important;
}
.content-form-body .contentForm_options .mb-3 {
  margin-bottom: 15px !important;
}
.content-form-body .contentForm_options .mb-3 .checkbox label {
  padding-left: 22px;
}
.content-form-body .contentForm_options .mb-3 .checkbox label input[type=checkbox] {
  position: absolute;
  top: 4px;
  left: 0;
}
.content-form-body .contentForm_options .mb-3 .checkbox label input[type=checkbox]:focus {
  border-color: var(--hh-background3) !important;
}
.content-form-body .contentForm_options .mb-3 .checkbox label input[type=checkbox]:focus:checked {
  border-color: var(--bs-accent) !important;
}

.placeholder-empty-stream {
  background-image: url("../img/placeholder-postform-arrow.png");
  background-repeat: no-repeat;
  padding: 37px 0 0 70px;
  margin-left: 90px;
}

#streamUpdateBadge {
  text-align: center;
  z-index: 9999;
  margin-bottom: 15px;
  margin-top: 15px;
}
#streamUpdateBadge .badge {
  border-radius: 10px;
  font-size: 0.8em !important;
  padding: 5px 10px;
}

#wallStream .back_button_holder {
  padding-bottom: 15px;
}

.wall-entry {
  position: relative;
}
.wall-entry .panel .panel-body {
  padding: 10px;
}
.wall-entry .wall-entry-header {
  color: var(--hh-text-color-highlight);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--hh-background-color-page);
}
.wall-entry .wall-entry-header .img-space {
  top: 25px;
  left: 25px;
}
.wall-entry .wall-entry-header .stream-entry-icon-list {
  position: absolute;
  top: 0;
  right: 25px;
  display: inline-block;
  padding-top: 2px;
}
.wall-entry .wall-entry-header .stream-entry-icon-list i {
  padding-right: 5px;
}
.wall-entry .wall-entry-header .stream-entry-icon-list .icon-pin {
  color: var(--bs-danger);
}
.wall-entry .wall-entry-header .stream-entry-icon-list .fa-archive {
  color: var(--bs-warning);
}
.wall-entry .wall-entry-header .wall-entry-header-image {
  padding-right: 10px;
}
.wall-entry .wall-entry-header .wall-entry-header-image .fa {
  font-size: 2.39em;
  margin-top: 5px;
  color: var(--bs-accent);
}
.wall-entry .wall-entry-header .wall-entry-header-info {
  display: table-cell;
  padding-right: 30px;
  width: 100%;
}
.wall-entry .wall-entry-header .wall-entry-header-info h4, .wall-entry .wall-entry-header .wall-entry-header-info .h4 {
  font-size: 15px;
  padding-top: 1px;
  margin-bottom: 3px;
}
.wall-entry .wall-entry-header .wall-entry-header-info h5, .wall-entry .wall-entry-header .wall-entry-header-info .h5 {
  font-size: 12px;
}
.wall-entry .wall-entry-header .wall-entry-header-info i.archived {
  color: var(--bs-warning);
}
.wall-entry .wall-entry-header .preferences {
  position: absolute;
  right: 0;
  top: 0;
}
.wall-entry .wall-entry-header h4 i.fa-caret-right, .wall-entry .wall-entry-header .h4 i.fa-caret-right, .wall-entry .wall-entry-header h5 i.fa-caret-right, .wall-entry .wall-entry-header .h5 i.fa-caret-right {
  margin: 0 2px;
}
.wall-entry .wall-entry-header h4 .wall-entry-icons, .wall-entry .wall-entry-header .h4 .wall-entry-icons, .wall-entry .wall-entry-header h5 .wall-entry-icons, .wall-entry .wall-entry-header .h5 .wall-entry-icons {
  display: inline-block;
}
.wall-entry .wall-entry-header h4 .wall-entry-icons i, .wall-entry .wall-entry-header .h4 .wall-entry-icons i, .wall-entry .wall-entry-header h5 .wall-entry-icons i, .wall-entry .wall-entry-header .h5 .wall-entry-icons i {
  margin-right: 2px;
}
.wall-entry .wall-entry-header h4 .time, .wall-entry .wall-entry-header .h4 .time, .wall-entry .wall-entry-header h4 i, .wall-entry .wall-entry-header .h4 i, .wall-entry .wall-entry-header h4 span, .wall-entry .wall-entry-header .h4 span, .wall-entry .wall-entry-header h5 .time, .wall-entry .wall-entry-header .h5 .time, .wall-entry .wall-entry-header h5 i, .wall-entry .wall-entry-header .h5 i, .wall-entry .wall-entry-header h5 span, .wall-entry .wall-entry-header .h5 span {
  font-size: 11px;
}
.wall-entry .wall-entry-body {
  padding-left: 50px;
  padding-right: 50px;
}
.wall-entry .wall-entry-body .wall-entry-content {
  margin-bottom: 5px;
}
.wall-entry .wall-entry-body .wall-entry-content .post-short-text {
  font-size: 1.6em;
}
.wall-entry .wall-entry-body .wall-entry-content .post-short-text .emoji {
  width: 20px;
}
.wall-entry .wall-stream-footer .wall-stream-addons .files {
  margin-bottom: 5px;
}
.wall-entry .content img {
  max-width: 100%;
}
.wall-entry .well {
  margin-bottom: 0;
}
.wall-entry .well .comment .showMore a {
  font-size: 12px;
}
.wall-entry h4, .wall-entry .h4 {
  font-size: 14px;
  padding-top: 1px;
  margin-bottom: 3px;
}
.wall-entry h4 small, .wall-entry .h4 small, .wall-entry h4 .small, .wall-entry .h4 .small {
  font-weight: 400;
  font-size: 11px;
}
.wall-entry h4 .labels, .wall-entry .h4 .labels {
  padding-right: 32px;
}
.wall-entry h4 .viaLink, .wall-entry .h4 .viaLink {
  font-size: 13px;
}
.wall-entry h4 .viaLink i, .wall-entry .h4 .viaLink i {
  color: var(--hh-text-color-soft);
  padding-left: 4px;
  padding-right: 4px;
}
.wall-entry h5, .wall-entry .h5 {
  color: var(--hh-text-color-soft);
  font-size: 12px;
}
.wall-entry h5 a .time, .wall-entry .h5 a .time {
  color: var(--hh-text-color-soft);
  font-size: 12px;
  white-space: nowrap;
}
.wall-entry [data-ui-richtext] h1, .wall-entry [data-ui-richtext] .h1 {
  font-size: 1.45em;
  font-weight: normal;
}
.wall-entry [data-ui-richtext] h2, .wall-entry [data-ui-richtext] .h2 {
  font-size: 1.3em;
  font-weight: normal;
}
.wall-entry [data-ui-richtext] h3, .wall-entry [data-ui-richtext] .h3 {
  font-size: 1.2em;
  font-weight: normal;
}
.wall-entry [data-ui-richtext] h4, .wall-entry [data-ui-richtext] .h4 {
  font-size: 1.1em;
  font-weight: normal;
}
.wall-entry [data-ui-richtext] h5, .wall-entry [data-ui-richtext] .h5 {
  font-size: 1em;
  font-weight: normal;
}
.wall-entry [data-ui-richtext] h6, .wall-entry [data-ui-richtext] .h6 {
  font-size: 0.85em;
  font-weight: normal;
}

@media (max-width: 767.98px) {
  .wall-entry .wall-entry-body {
    padding-left: 0;
    padding-right: 0;
  }
  #wallStream .back_button_holder {
    padding-bottom: 5px;
    text-align: center;
  }
}
.wall-entry-controls a {
  font-size: 11px;
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--hh-text-color-soft);
  transition: color 0.3s;
}

#wall-stream-filter-nav {
  font-size: 12px;
  margin-bottom: 10px;
  padding-top: 2px;
  border-radius: 0 0 4px 4px;
}
#wall-stream-filter-nav .wall-stream-filter-root {
  margin: 0;
  border: 0 !important;
}
#wall-stream-filter-nav .wall-stream-filter-head {
  padding: 5px 5px 10px 5px;
  border-bottom: 1px solid var(--hh-background3);
}
#wall-stream-filter-nav .wall-stream-filter-body {
  overflow: hidden;
  background-color: var(--hh-background-color-secondary);
  border: 1px solid var(--hh-background3);
  border-top: 0;
  border-radius: 0 0 4px 4px;
}
#wall-stream-filter-nav hr {
  margin: 5px 0 0 0;
}
#wall-stream-filter-nav .topic-remove-label {
  float: left;
}
#wall-stream-filter-nav .topic-remove-label, #wall-stream-filter-nav .content-type-remove-label {
  margin-right: 6px;
}
#wall-stream-filter-nav .select2 {
  margin-bottom: 5px;
  margin-top: 2px;
}
#wall-stream-filter-nav .select2 .select2-search__field {
  height: 25px !important;
}
#wall-stream-filter-nav .select2 .select2-selection__choice {
  height: 23px !important;
}
#wall-stream-filter-nav .select2 .select2-selection__choice span, #wall-stream-filter-nav .select2 .select2-selection__choice i {
  line-height: 19px !important;
}
#wall-stream-filter-nav .select2 .select2-selection__choice .rounded {
  width: 18px !important;
  height: 18px !important;
}
#wall-stream-filter-nav .wall-stream-filter-bar {
  display: inline;
  float: right;
  white-space: normal;
}
#wall-stream-filter-nav .wall-stream-filter-bar .badge {
  height: 18px;
  padding-top: 4px;
  background-color: var(--hh-background-color-main);
}
#wall-stream-filter-nav .wall-stream-filter-bar .btn, #wall-stream-filter-nav .wall-stream-filter-bar .badge {
  box-shadow: 0 0 2px var(--hh-text-color-secondary);
}

@media (max-width: 767.98px) {
  #wall-stream-filter-nav {
    margin-bottom: 5px;
  }
  #wall-stream-filter-nav .wall-stream-filter-root {
    white-space: nowrap;
  }
  #wall-stream-filter-nav .wall-stream-filter-body {
    overflow: auto;
  }
}
.filter-root .filter-panel {
  padding-top: calc(var(--bs-gutter-x) * 0.5);
  padding-bottom: calc(var(--bs-gutter-x) * 0.5);
}
.filter-root .filter-panel .filter-block strong {
  margin-bottom: 5px;
}
.filter-root .filter-panel .filter-block ul.filter-list {
  list-style: none;
  padding: 0;
  margin: 0 0 5px;
}
.filter-root .filter-panel .filter-block ul.filter-list li {
  font-size: 12px;
  padding: 2px;
}
.filter-root .filter-panel .filter-block ul.filter-list li a.filterInput:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: 3px;
}
.filter-root .filter-panel div.filter-block:last-of-type ul.filter-list {
  margin: 0;
}
.filter-root .filter-panel + .filter-panel {
  border-left: 2px solid var(--hh-background-color-page);
}

.stream-entry-loader {
  float: right;
  margin-top: 5px;
}

.load-suppressed {
  margin-top: -17px;
  margin-bottom: 15px;
  text-align: center;
}
.load-suppressed a {
  display: inline-block;
  background-color: var(--hh-background-color-main);
  padding: 5px;
  border-radius: 0 0 4px 4px;
  border: 1px solid var(--hh-background3);
  font-size: 11px;
}
.load-suppressed a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: 0 0 4px 4px;
}

@media print {
  .wall-entry {
    page-break-inside: avoid;
  }
  #wall-stream-filter-nav,
  #contentFormBody {
    display: none;
  }
}
.space-owner {
  text-align: center;
  margin: 14px 0;
  font-size: 13px;
  color: var(--hh-text-color-secondary);
}

.space-member-sign {
  color: var(--bs-success);
  position: absolute;
  top: 42px;
  left: 42px;
  font-size: 16px;
  background: var(--hh-background-color-main);
  width: 24px;
  height: 24px;
  padding: 2px 3px 1px 4px;
  border-radius: 50px;
  border: 2px solid var(--bs-success);
}

#space-menu-dropdown i.type {
  font-size: 16px;
  color: #BFBFBF;
}

#space-menu-spaces [data-space-chooser-item] {
  cursor: pointer;
}

#space-menu-dropdown .input-group-text {
  border-radius: 0 4px 4px 0;
}

#space-menu-dropdown .input-group-text.focus {
  border-radius: 0 4px 4px 0;
  border: 2px solid var(--bs-accent);
  border-left: 0;
}

.input-group #space-menu-search {
  border-right: 0;
}

#space-menu-dropdown div:not(.input-group) > .search-reset {
  top: 10px !important;
  right: 15px !important;
}

#space-directory-link i {
  margin-right: 0;
}

.space-acronym {
  color: #fff;
  container-type: size;
  overflow: hidden;
}
.space-acronym span {
  font-size: 50cqw;
  white-space: nowrap;
}

.d-none-space-image {
  display: none !important;
}

.card-space .card-header .card-space-link {
  position: absolute;
  display: block;
  width: 100%;
  top: 0;
  left: 0;
  padding: 16px;
}
.card-space .card-header .card-icons {
  position: absolute;
  right: 16px;
  top: 85px;
}
.card-space .card-header .card-icons a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: 3px;
}
.card-space .card-body .card-space-link {
  display: block;
  margin: -16px;
  padding: 16px;
}
.card-space .card-body .card-space-link:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--accent);
  border-radius: 4px;
}

@media (max-width: 767.98px) {
  #space-menu > .title {
    display: none;
  }
  #space-menu-dropdown {
    width: 300px !important;
  }
}
.files,
#postFormFiles_list {
  padding-left: 0;
}

ul.files {
  list-style: none;
  margin: 0 0 5px;
  padding: 0;
}
ul.files li.file-preview-item {
  padding-left: 24px;
}
ul.files li.file-preview-item .file-fileInfo {
  padding-right: 20px;
}

.contentForm-upload-list {
  padding-left: 0;
}
.contentForm-upload-list li:first-child {
  margin-top: 10px;
}

.file_upload_remove_link,
.file_upload_remove_link:hover {
  color: var(--bs-danger);
  cursor: pointer;
}

.file-preview-item {
  text-overflow: ellipsis;
  overflow: hidden;
}

.post-files {
  margin-top: 10px;
  margin-bottom: 10px;
}
.post-files .col-media {
  padding: 4px !important;
}
.post-files img, .post-files video {
  vertical-align: top;
  border-radius: 4px;
  width: 100%;
  height: 100%;
}
.post-files img {
  height: 150px;
  object-fit: cover;
}
.post-files video {
  max-height: 576px;
  max-width: 1024px;
  background-color: var(--bs-body-bg);
}
.post-files .jp-audio {
  margin-bottom: 10px;
}
.post-files .col-12 img {
  height: 300px;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .post-files img,
  .post-files .col-12 img {
    height: 150px;
  }
  .post-files .col-lg-12 img {
    height: 300px;
  }
}
@media (min-width: 992px) {
  .post-files img,
  .post-files .col-12 img {
    height: 200px;
  }
  .post-files .col-xl-6 img {
    height: 300px;
  }
}

.post-file-list {
  padding: 10px;
  padding-bottom: 1px;
  margin-bottom: 10px !important;
}
.post-file-list a, .post-file-list a:active, .post-file-list a:focus, .post-file-list a:hover {
  color: var(--bs-accent);
}

body.device-mobile #wallStream .post-files {
  margin-top: 10px;
  display: flex;
  overflow-x: auto;
}
body.device-mobile #wallStream .post-files img {
  max-width: 190px;
  height: 100px;
  width: auto;
}

.file-preview-content {
  cursor: pointer;
}

.image-upload-container {
  position: relative;
}
.image-upload-container .image-upload-buttons {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: none;
}
.image-upload-container .image-upload-buttons .fileinput-button:focus-within {
  outline: 0;
  box-shadow: var(--bs-btn-box-shadow), var(--bs-btn-focus-box-shadow);
}
.image-upload-container:hover .image-upload-buttons, .image-upload-container:focus-within .image-upload-buttons {
  display: block;
}
.image-upload-container input[type=file] {
  position: absolute;
  opacity: 0;
}
.image-upload-container .image-upload-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: #f8f8f8;
}

.mime {
  background-repeat: no-repeat;
  background-position: 0 0;
  padding: 1px 0 4px 26px;
}

.mime-word {
  background-image: url("../img/mime/word.png");
}

.mime-excel {
  background-image: url("../img/mime/excel.png");
}

.mime-powerpoint {
  background-image: url("../img/mime/powerpoint.png");
}

.mime-pdf {
  background-image: url("../img/mime/pdf.png");
}

.mime-zip {
  background-image: url("../img/mime/zip.png");
}

.mime-image {
  background-image: url("../img/mime/image.png");
}

.mime-file {
  background-image: url("../img/mime/file.png");
}

.mime-photoshop {
  background-image: url("../img/mime/photoshop.png");
}

.mime-illustrator {
  background-image: url("../img/mime/illustrator.png");
}

.mime-video {
  background-image: url("../img/mime/video.png");
}

.mime-audio {
  background-image: url("../img/mime/audio.png");
}

@media (max-width: 575.98px) {
  .jp-current-time {
    margin-left: 0 !important;
  }
  .jp-audio {
    width: auto !important;
    margin-left: 0 !important;
  }
  .jp-audio .jp-controls {
    padding: 2px 12px 0 !important;
  }
  .jp-audio .jp-progress {
    left: 3px !important;
    top: 45px !important;
    width: 200px !important;
  }
  .jp-audio .jp-volume-controls {
    position: absolute !important;
    top: 15px !important;
    left: 170px !important;
  }
  .jp-audio .jp-time-holder {
    left: 3px !important;
    top: 60px !important;
    width: 200px !important;
  }
  .jp-audio .jp-toggles {
    left: 210px !important;
    top: 45px !important;
    width: auto !important;
  }
  .jp-playlist ul {
    padding: 0 0 0 0 !important;
  }
}
.jp-details, .jp-playlist {
  border-top: 1px solid var(--bs-accent);
}

.jp-audio, .jp-audio-stream, .jp-video {
  border: 1px solid var(--bs-accent);
}

ul.tour-list {
  list-style: none;
  margin-bottom: 0;
  padding-left: 10px;
}
ul.tour-list li {
  padding-top: 5px;
}
ul.tour-list li a .fa {
  width: 16px;
}
ul.tour-list li.completed a {
  text-decoration: line-through;
  color: var(--hh-text-color-soft);
}

.driver-active .panel-profile-header:has(> .driver-active-element) {
  overflow: visible !important;
}

.atwho-view {
  background: var(--hh-background-color-main);
  color: var(--hh-text-color-soft);
  border: 1px solid var(--hh-background3);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  display: none;
  font-size: 14px;
  font-weight: 400;
  margin-top: 18px;
  min-width: 120px;
  max-width: 265px;
  padding: 5px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 11110 !important;
}

.atwho-view ul {
  list-style: none;
  margin: auto;
  padding: 0;
}

.atwho-view ul li {
  border-left: 3px solid transparent;
  cursor: pointer;
  display: block;
  padding: 4px 15px 4px 8px;
}

.atwho-view ul li.hint {
  background: var(--hh-background-color-main) !important;
  border-left: 3px solid transparent !important;
  color: var(--hh-text-color-soft2);
  font-size: 12px;
}

.atwho-input.form-control {
  height: auto;
  min-height: 36px;
  padding-right: 95px;
  word-wrap: break-word;
}

.atwho-input p {
  padding: 0;
  margin: 0;
}

.atwho-emoji-entry {
  float: left;
  padding: 4px !important;
  margin: 0 !important;
  border: none !important;
}

.atwho-emoji-entry:hover, .atwho-emoji-entry:active, .atwho-emoji-entry:focus {
  padding: 4px !important;
  margin: 0 !important;
  border: none !important;
  background-color: var(--hh-background-color-secondary) !important;
  border-radius: 3px;
}

.atwho-view .cur {
  border-left: 3px solid #d6dcff;
  background-color: var(--hh-background-color-secondary) !important;
}

.atwho-view strong {
  background-color: #fdd8ae;
}

.atwho-view .cur strong {
  background-color: #fdd8ae;
}

.atwho-view small, .atwho-view .small {
  font-size: smaller;
  color: var(--hh-text-color-secondary);
  font-weight: normal;
}

.atwho-view .cur small, .atwho-view .cur .small {
  color: var(--bs-danger);
}

.atwho-view strong, .atwho-view b {
  font-weight: normal;
}

.atwho-view span {
  padding: 5px;
}

.md-editor.active {
  border: 2px solid var(--bs-accent) !important;
}

.md-editor textarea {
  padding: 10px !important;
}

.markdown-render, [data-ui-markdown], [data-ui-richtext] {
  line-height: 1.57;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
.markdown-render h1, .markdown-render .h1, .markdown-render h2, .markdown-render .h2, .markdown-render h3, .markdown-render .h3, .markdown-render h4, .markdown-render .h4, .markdown-render h5, .markdown-render .h5, .markdown-render h6, .markdown-render .h6, [data-ui-markdown] h1, [data-ui-markdown] .h1, [data-ui-markdown] h2, [data-ui-markdown] .h2, [data-ui-markdown] h3, [data-ui-markdown] .h3, [data-ui-markdown] h4, [data-ui-markdown] .h4, [data-ui-markdown] h5, [data-ui-markdown] .h5, [data-ui-markdown] h6, [data-ui-markdown] .h6, [data-ui-richtext] h1, [data-ui-richtext] .h1, [data-ui-richtext] h2, [data-ui-richtext] .h2, [data-ui-richtext] h3, [data-ui-richtext] .h3, [data-ui-richtext] h4, [data-ui-richtext] .h4, [data-ui-richtext] h5, [data-ui-richtext] .h5, [data-ui-richtext] h6, [data-ui-richtext] .h6 {
  margin: 1.2em 0 0.8em;
  color: var(--hh-text-color-main);
  font-weight: normal;
  text-align: start;
}
.markdown-render h1:first-child, .markdown-render .h1:first-child,
.markdown-render h2:first-child,
.markdown-render .h2:first-child,
.markdown-render h3:first-child,
.markdown-render .h3:first-child,
.markdown-render h4:first-child,
.markdown-render .h4:first-child,
.markdown-render h5:first-child,
.markdown-render .h5:first-child,
.markdown-render h6:first-child,
.markdown-render .h6:first-child, [data-ui-markdown] h1:first-child, [data-ui-markdown] .h1:first-child,
[data-ui-markdown] h2:first-child,
[data-ui-markdown] .h2:first-child,
[data-ui-markdown] h3:first-child,
[data-ui-markdown] .h3:first-child,
[data-ui-markdown] h4:first-child,
[data-ui-markdown] .h4:first-child,
[data-ui-markdown] h5:first-child,
[data-ui-markdown] .h5:first-child,
[data-ui-markdown] h6:first-child,
[data-ui-markdown] .h6:first-child, [data-ui-richtext] h1:first-child, [data-ui-richtext] .h1:first-child,
[data-ui-richtext] h2:first-child,
[data-ui-richtext] .h2:first-child,
[data-ui-richtext] h3:first-child,
[data-ui-richtext] .h3:first-child,
[data-ui-richtext] h4:first-child,
[data-ui-richtext] .h4:first-child,
[data-ui-richtext] h5:first-child,
[data-ui-richtext] .h5:first-child,
[data-ui-richtext] h6:first-child,
[data-ui-richtext] .h6:first-child {
  margin: 0 0 0.8em;
}
.markdown-render h1, .markdown-render .h1, [data-ui-markdown] h1, [data-ui-markdown] .h1, [data-ui-richtext] h1, [data-ui-richtext] .h1 {
  font-size: 1.7em;
}
.markdown-render h2, .markdown-render .h2, [data-ui-markdown] h2, [data-ui-markdown] .h2, [data-ui-richtext] h2, [data-ui-richtext] .h2 {
  font-size: 1.5em;
}
.markdown-render h3, .markdown-render .h3, [data-ui-markdown] h3, [data-ui-markdown] .h3, [data-ui-richtext] h3, [data-ui-richtext] .h3 {
  font-size: 1.2em;
}
.markdown-render h4, .markdown-render .h4, [data-ui-markdown] h4, [data-ui-markdown] .h4, [data-ui-richtext] h4, [data-ui-richtext] .h4 {
  font-size: 1.1em;
}
.markdown-render h5, .markdown-render .h5, [data-ui-markdown] h5, [data-ui-markdown] .h5, [data-ui-richtext] h5, [data-ui-richtext] .h5 {
  font-size: 1em;
}
.markdown-render h6, .markdown-render .h6, [data-ui-markdown] h6, [data-ui-markdown] .h6, [data-ui-richtext] h6, [data-ui-richtext] .h6 {
  font-size: 0.85em;
}
.markdown-render p, .markdown-render pre, .markdown-render blockquote, .markdown-render ul, .markdown-render ol, [data-ui-markdown] p, [data-ui-markdown] pre, [data-ui-markdown] blockquote, [data-ui-markdown] ul, [data-ui-markdown] ol, [data-ui-richtext] p, [data-ui-richtext] pre, [data-ui-richtext] blockquote, [data-ui-richtext] ul, [data-ui-richtext] ol {
  margin: 0 0 1.2em;
}
.markdown-render li ul, .markdown-render li ol, [data-ui-markdown] li ul, [data-ui-markdown] li ol, [data-ui-richtext] li ul, [data-ui-richtext] li ol {
  margin: 0;
}
.markdown-render p:last-child, [data-ui-markdown] p:last-child, [data-ui-richtext] p:last-child {
  margin: 0;
}
.markdown-render pre, [data-ui-markdown] pre, [data-ui-richtext] pre {
  padding: 0;
  border: none;
  background-color: var(--hh-background-color-secondary);
}
.markdown-render pre code, [data-ui-markdown] pre code, [data-ui-richtext] pre code {
  background-color: var(--hh-background-color-secondary);
  color: var(--hh-text-color-main);
}
.markdown-render code, [data-ui-markdown] code, [data-ui-richtext] code {
  background-color: white;
  color: var(--bs-code-color);
  padding: 4px 8px;
  border-radius: 4px;
}
.markdown-render blockquote, [data-ui-markdown] blockquote, [data-ui-richtext] blockquote {
  background-color: rgba(128, 128, 128, 0.05);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 15px 20px;
  font-size: 1em;
  border-left: 5px solid var(--bs-primary);
}
.markdown-render dt, .markdown-render dd, [data-ui-markdown] dt, [data-ui-markdown] dd, [data-ui-richtext] dt, [data-ui-richtext] dd {
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.45;
}
.markdown-render dt, [data-ui-markdown] dt, [data-ui-richtext] dt {
  font-weight: bold;
}
.markdown-render dd, [data-ui-markdown] dd, [data-ui-richtext] dd {
  margin-left: 40px;
}
.markdown-render pre, [data-ui-markdown] pre, [data-ui-richtext] pre {
  text-align: start;
  border: 0;
  padding: 10px 20px;
  border-radius: 0;
  border-left: 2px solid var(--bs-primary);
}
.markdown-render pre code, [data-ui-markdown] pre code, [data-ui-richtext] pre code {
  white-space: pre !important;
}
.markdown-render blockquote ul:last-child, .markdown-render blockquote ol:last-child, [data-ui-markdown] blockquote ul:last-child, [data-ui-markdown] blockquote ol:last-child, [data-ui-richtext] blockquote ul:last-child, [data-ui-richtext] blockquote ol:last-child {
  margin-bottom: 0;
}
.markdown-render ul, .markdown-render ol, [data-ui-markdown] ul, [data-ui-markdown] ol, [data-ui-richtext] ul, [data-ui-richtext] ol {
  margin-top: 0;
  padding-left: 30px;
  display: table;
}
.markdown-render ul li p, .markdown-render ol li p, [data-ui-markdown] ul li p, [data-ui-markdown] ol li p, [data-ui-richtext] ul li p, [data-ui-richtext] ol li p {
  overflow: visible !important;
}
.markdown-render ul li > p:first-child, .markdown-render ol li > p:first-child, [data-ui-markdown] ul li > p:first-child, [data-ui-markdown] ol li > p:first-child, [data-ui-richtext] ul li > p:first-child, [data-ui-richtext] ol li > p:first-child {
  display: inline;
}
.markdown-render .footnote, [data-ui-markdown] .footnote, [data-ui-richtext] .footnote {
  vertical-align: top;
  position: relative;
  top: -0.5em;
  font-size: 0.8em;
}
.markdown-render .emoji, [data-ui-markdown] .emoji, [data-ui-richtext] .emoji {
  width: 16px;
}
.markdown-render a,
.markdown-render a:visited, [data-ui-markdown] a,
[data-ui-markdown] a:visited, [data-ui-richtext] a,
[data-ui-richtext] a:visited {
  background-color: inherit;
  text-decoration: none;
}
.markdown-render a.header-anchor, [data-ui-markdown] a.header-anchor, [data-ui-richtext] a.header-anchor {
  color: var(--hh-text-color-main) !important;
}
.markdown-render a.not-found, [data-ui-markdown] a.not-found, [data-ui-richtext] a.not-found {
  color: var(--bs-warning);
}
.markdown-render li, [data-ui-markdown] li, [data-ui-richtext] li {
  border: 0 !important;
  background-color: transparent !important;
  padding: 0;
  margin: 5px 0;
}
.markdown-render img:not(.mx-auto), [data-ui-markdown] img:not(.mx-auto), [data-ui-richtext] img:not(.mx-auto) {
  max-width: 100%;
}
.markdown-render img.float-start, [data-ui-markdown] img.float-start, [data-ui-richtext] img.float-start {
  margin: 5px 10px 0 0;
}
.markdown-render img.float-end, [data-ui-markdown] img.float-end, [data-ui-richtext] img.float-end {
  margin: 5px 0 0 10px;
}
.markdown-render img.mx-auto, [data-ui-markdown] img.mx-auto, [data-ui-richtext] img.mx-auto {
  margin-top: 5px;
  margin-bottom: 5px;
}
.markdown-render img[width="100%"], [data-ui-markdown] img[width="100%"], [data-ui-richtext] img[width="100%"] {
  border-radius: 4px;
}
.markdown-render table, [data-ui-markdown] table, [data-ui-richtext] table {
  border: 1px solid var(--hh-background3);
  margin-bottom: 1.2em !important;
  font-size: 1em;
  width: 100%;
}
.markdown-render table tbody, [data-ui-markdown] table tbody, [data-ui-richtext] table tbody {
  vertical-align: top;
}
.markdown-render table th, .markdown-render table td, [data-ui-markdown] table th, [data-ui-markdown] table td, [data-ui-richtext] table th, [data-ui-richtext] table td {
  border: 1px solid var(--hh-background3) !important;
  box-sizing: border-box;
  position: relative;
}
.markdown-render table th, [data-ui-markdown] table th, [data-ui-richtext] table th {
  background-color: var(--bs-primary);
  color: var(--hh-primary-contrast) !important;
  font-size: 1em;
}
.markdown-render table th p, [data-ui-markdown] table th p, [data-ui-richtext] table th p {
  color: var(--hh-primary-contrast) !important;
}
.markdown-render table td, [data-ui-markdown] table td, [data-ui-richtext] table td {
  padding: 15px;
}
.markdown-render table th, [data-ui-markdown] table th, [data-ui-richtext] table th {
  padding: 10px 15px;
}

.layout-sidebar-container {
  padding: 0 15px 0 0;
}
.layout-sidebar-container > .panel > .panel-heading {
  padding-right: 30px;
}

@media (max-width: 991.98px) {
  .layout-sidebar-container {
    display: none;
  }
}
.ui-widget-header {
  border: none !important;
  background: var(--hh-background-color-main) !important;
  color: var(--hh-text-color-secondary) !important;
  font-weight: 300 !important;
}

.ui-widget-content {
  border: 1px solid #dddcda !important;
  border-radius: 0 !important;
  background: var(--hh-background-color-main);
  color: var(--hh-text-color-highlight) !important;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  opacity: 0.2;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
  background: var(--hh-background-color-main) !important;
  border: none;
  margin: 1px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border: none !important;
  background: var(--hh-background-color-secondary) !important;
  color: var(--hh-text-color-secondary) !important;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  border: none !important;
  border: 1px solid var(--hh-background4) !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
  border: 1px solid var(--bs-accent) !important;
  background: var(--accent) !important;
  color: var(--hh-accent-contrast) !important;
}

.status-bar-body {
  color: #fff;
  position: fixed;
  margin-bottom: var(--hh-mobile-app-safe-area-inset-bottom, env(safe-area-inset-bottom));
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding: 20px;
  z-index: 9999999;
  bottom: 0px;
  display: block;
  line-height: 20px;
}

.status-bar-close {
  color: #fff;
  font-weight: bold;
  font-size: 21px;
  cursor: pointer;
}

.status-bar-close:hover {
  color: #fff;
}

.status-bar-close i {
  vertical-align: top !important;
  padding-top: 3px;
}

.status-bar-content i {
  margin-right: 10px;
  font-size: 21px;
  vertical-align: middle;
}

.status-bar-content .showMore {
  float: right;
  margin-left: 10px;
  font-size: 0.7em;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
}

.status-bar-content .status-bar-details {
  text-align: left;
  font-size: 0.7em;
  margin-top: 20px;
  max-height: 200px;
  overflow: auto;
}

.status-bar-content span {
  vertical-align: middle;
}

.status-bar-content i.error, .status-bar-content i.fatal {
  color: var(--bs-danger);
}

.status-bar-content i.warning {
  color: var(--bs-warning);
}

.status-bar-content i.info, .status-bar-content i.debug {
  color: var(--bs-accent);
}

.status-bar-content i.success {
  color: #85CA2B;
}

.highlight {
  background-color: var(--hh-background-color-highlight);
}

.alert-default {
  color: var(--hh-text-color-highlight);
  background-color: var(--hh-background-color-secondary);
  border-color: var(--hh-background-color-page);
  font-size: 13px;
}
.alert-default .info {
  margin: 10px 0;
}

.alert-success {
  color: var(--hh-text-color-success);
  background-color: var(--hh-background-color-success);
  border-color: var(--hh-border-color-success);
}

.alert-warning {
  color: var(--hh-text-color-warning);
  background-color: var(--hh-background-color-warning);
  border-color: var(--hh-border-color-warning);
}

.alert-danger {
  color: var(--hh-text-color-danger);
  background-color: var(--hh-background-color-danger);
  border-color: var(--hh-border-color-danger);
}

.data-saved {
  padding-left: 10px;
}

img.bounceIn {
  animation-duration: 800ms;
}

.tags .tag {
  margin-top: 5px;
  border-radius: 2px;
  padding: 4px 8px;
  text-transform: uppercase;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#user-tags-panel .tags .tag {
  max-width: 250px;
}

.ProsemirrorEditor.fullscreen {
  height: calc(100vh - 3px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 9998;
}
.ProsemirrorEditor.fullscreen .ProseMirror-menubar-wrapper {
  height: 100%;
}
.ProsemirrorEditor.fullscreen .humhub-ui-richtext {
  max-height: none !important;
}
.ProsemirrorEditor.fullscreen .ProseMirror {
  height: calc(100% - 26px);
  position: static;
  overflow: auto;
}
.ProsemirrorEditor.fullscreen .ProseMirror-menubar {
  position: static !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.login-container .ProsemirrorEditor.fullscreen, .modal-dialog .ProsemirrorEditor.fullscreen {
  width: 100%;
  height: 100%;
}

/**
 * Menu defaults
 */
.ProsemirrorEditor .ProseMirror {
  padding-right: 12px;
}
.ProsemirrorEditor .ProseMirror.form-control {
  font-size: inherit;
}
.ProsemirrorEditor .ProseMirror-menu {
  margin: 0 -4px;
  line-height: 1;
}
.ProsemirrorEditor .ProseMirror-tooltip .ProseMirror-menu {
  width: fit-content;
  white-space: pre;
}
.ProsemirrorEditor .ProseMirror-menuitem {
  display: flex;
  margin-right: 0;
}
.ProsemirrorEditor .ProseMirror-menuseparator {
  border-right: 1px solid var(--hh-background3);
  margin-right: 1px;
}
.ProsemirrorEditor .ProseMirror-menu-group {
  display: flex;
  flex-wrap: wrap;
  min-height: 22px;
}
.ProsemirrorEditor .ProseMirror-menuitem .ProseMirror-menu-group {
  border-right: 1px solid var(--hh-background3);
}
.ProsemirrorEditor .ProseMirror-menuitem .ProseMirror-menu-group.last {
  border-right: none;
}
.ProsemirrorEditor .ProseMirror-menuitem .ProseMirror-icon {
  background: transparent;
}
.ProsemirrorEditor .ProseMirror-menuitem .seperator {
  border-right: 1px solid var(--hh-background3);
  border-radius: 0;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown, .ProsemirrorEditor .ProseMirror-menu-dropdown-menu {
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .ProsemirrorEditor .ProseMirror-menu-dropdown, .ProsemirrorEditor .ProseMirror-menu-dropdown-menu {
    white-space: normal !important;
  }
}
@media (max-width: 767.98px) {
  .ProsemirrorEditor .ProseMirror-menu-dropdown small, .ProsemirrorEditor .ProseMirror-menu-dropdown .small, .ProsemirrorEditor .ProseMirror-menu-dropdown-menu small, .ProsemirrorEditor .ProseMirror-menu-dropdown-menu .small {
    white-space: normal;
  }
}
.ProsemirrorEditor .ProseMirror-menu-dropdown {
  cursor: pointer;
  position: relative;
  padding-right: 14px !important;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-wrap {
  padding: 0;
  display: inline-block;
  position: relative;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown:after {
  content: "";
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  position: absolute;
  right: 4px;
  top: calc(50% - 2px);
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-menu, .ProsemirrorEditor .ProseMirror-menu-submenu {
  background: var(--hh-background-color-main);
  border: 1px solid var(--hh-text-color-soft2);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  color: var(--hh-text-color-highlight);
  position: absolute;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-menu .ProseMirror-menu-active, .ProsemirrorEditor .ProseMirror-menu-submenu .ProseMirror-menu-active {
  background: var(--hh-background-color-secondary);
  border-left: 2px solid var(--bs-accent);
  opacity: 1 !important;
  padding: 4px 7px 4px 5px;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-menu {
  margin-top: 2px;
  min-width: 6em;
  z-index: 15;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-item {
  cursor: pointer;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-item div[title],
.ProsemirrorEditor .ProseMirror-menu-dropdown-item a.ProseMirror-menu-trigger,
.ProsemirrorEditor .ProseMirror-menu-submenu-wrap {
  display: block;
  padding: 4px 7px;
}
.ProsemirrorEditor .ProseMirror-menu-dropdown-item:hover {
  background: var(--hh-background-color-secondary);
}
.ProsemirrorEditor .ProseMirror-menu-submenu-wrap {
  position: relative;
}
.ProsemirrorEditor .ProseMirror-menu-submenu-label:after {
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid currentColor;
  content: "";
  opacity: 0.6;
  position: absolute;
  right: 4px;
  top: calc(50% - 4px);
}
.ProsemirrorEditor .ProseMirror-menu-submenu {
  background: var(--hh-background-color-main);
  border-top-right-radius: 4px;
  display: none;
  min-width: 4em;
  left: 100%;
  top: 0;
}
.ProsemirrorEditor .ProseMirror-menu-disabled {
  opacity: 0.5;
}
.ProsemirrorEditor .ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu,
.ProsemirrorEditor .ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu {
  display: block;
}
.ProsemirrorEditor .ProseMirror-icon {
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 0 5px;
}
.ProsemirrorEditor .ProseMirror-icon.ProseMirror-menu-active {
  border-color: var(--hh-text-color-soft3);
}
.ProsemirrorEditor .ProseMirror-icon.ProseMirror-menu-tableOption svg, .ProsemirrorEditor .ProseMirror-icon.ProseMirror-menu-insertEmoji svg {
  padding-top: 1px;
  padding-left: 1px;
}
.ProsemirrorEditor .ProseMirror-menu-disabled.ProseMirror-icon {
  cursor: default;
}
.ProsemirrorEditor .ProseMirror-icon svg {
  fill: currentColor;
  height: 20px;
}
.ProsemirrorEditor .ProseMirror-icon span {
  vertical-align: text-top;
}
.ProsemirrorEditor .ProseMirror-editor-source {
  border: 2px solid var(--hh-background-color-page);
  border-radius: 0 4px 4px 4px;
  box-sizing: border-box;
  display: block;
  min-height: 36px;
  resize: none;
  overflow: auto;
  outline: none;
  padding: 7px 12px;
  width: 100%;
}
.ProsemirrorEditor .ProseMirror-editor-source:focus {
  border: 2px solid var(--bs-accent);
}

/**
 * Static plain editor style
 */
.ProsemirrorEditor.plainMenu .ProseMirror {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-top-width: 1px !important;
  min-height: 100px;
}
.ProsemirrorEditor.plainMenu .ProseMirror-menu-group,
.ProsemirrorEditor.plainMenu .ProseMirror-menuitem .ProseMirror-menu-group {
  padding: 2px;
}
.ProsemirrorEditor.plainMenu .ProseMirror-menubar ~ .ProseMirror-focused {
  border-color: var(--bs-accent) !important;
}
.ProsemirrorEditor.plainMenu .ProseMirror-textblock-dropdown {
  min-width: 3em;
}
.ProsemirrorEditor.plainMenu .ProseMirror-menubar {
  background: var(--hh-background-color-main);
  border: 1px solid var(--hh-background3);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-sizing: border-box;
  color: var(--hh-text-color-soft);
  position: relative;
  min-height: 1em;
  overflow: visible;
  padding: 2px 0;
  top: 0;
  left: 0;
  right: 0;
}

/**
 * Editor style attached at the top of input only visible on focus
 */
.ProsemirrorEditor.focusMenu .form-control:focus {
  border-top-left-radius: 0 !important;
}
.ProsemirrorEditor.focusMenu .ProseMirror-menubar {
  background: var(--hh-background-color-main);
  border: 1px solid var(--hh-text-color-soft2);
  border-bottom: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-sizing: border-box;
  color: var(--hh-text-color-soft);
  float: left;
  margin-top: -27px;
  min-height: 1em;
  overflow: visible;
  padding: 2px 0;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.ProsemirrorEditor {
  /* Make sure li selections wrap around markers */
  /* Add space around the hr to make clicking it easier */
  /* Give selected cells a blue overlay */
}
.ProsemirrorEditor .ProseMirror {
  position: relative;
  word-wrap: break-word;
  white-space: pre-wrap;
  font-variant-ligatures: none;
}
.ProsemirrorEditor .ProseMirror ul, .ProsemirrorEditor .ProseMirror ol {
  cursor: default;
}
.ProsemirrorEditor .ProseMirror pre {
  white-space: pre-wrap;
}
.ProsemirrorEditor .ProseMirror li {
  position: relative;
}
.ProsemirrorEditor .ProseMirror img {
  max-width: 100%;
}
.ProsemirrorEditor .ProseMirror-hideselection *::selection {
  background: transparent;
}
.ProsemirrorEditor .ProseMirror-selectednode {
  outline: 2px dashed #d6dcff;
}
.ProsemirrorEditor li.ProseMirror-selectednode {
  outline: none;
}
.ProsemirrorEditor li.ProseMirror-selectednode:after {
  content: "";
  position: absolute;
  left: -32px;
  right: -2px;
  top: -2px;
  bottom: -2px;
  border: 2px solid #d6dcff;
  pointer-events: none;
}
.ProsemirrorEditor .ProseMirror-textblock-dropdown {
  min-width: 3em;
}
.ProsemirrorEditor .ProseMirror-menu {
  margin: 0 -4px;
  line-height: 1;
}
.ProsemirrorEditor .ProseMirror-tooltip .ProseMirror-menu {
  width: fit-content;
  white-space: pre;
}
.ProsemirrorEditor .ProseMirror-gapcursor {
  display: none;
  pointer-events: none;
  position: absolute;
}
.ProsemirrorEditor .ProseMirror-gapcursor:after {
  content: "";
  display: block;
  position: absolute;
  top: -2px;
  width: 20px;
  border-top: 1px solid black;
  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
}
@keyframes ProseMirror-cursor-blink {
  to {
    visibility: hidden;
  }
}
.ProsemirrorEditor .ProseMirror-focused .ProseMirror-gapcursor {
  display: block;
}
.ProsemirrorEditor .ProseMirror-example-setup-style hr {
  padding: 2px 10px;
  border: none;
  margin: 1em 0;
}
.ProsemirrorEditor .ProseMirror-example-setup-style hr:after {
  content: "";
  display: block;
  height: 1px;
  background-color: silver;
  line-height: 2px;
}
.ProsemirrorEditor .ProseMirror-example-setup-style img {
  cursor: default;
}
.ProsemirrorEditor .ProseMirror p {
  margin-top: 1.2em;
}
.ProsemirrorEditor .ProseMirror p:first-child {
  margin: 0;
}
.ProsemirrorEditor .ProseMirror > p:first-child + * {
  margin-top: 1.2em;
}
.ProsemirrorEditor .ProsemirrorEditor {
  position: relative;
}
.ProsemirrorEditor .ProsemirrorEditor .ProseMirror {
  padding-right: 12px !important;
}
.ProsemirrorEditor .ProsemirrorEditor img {
  max-width: 100%;
}
.ProsemirrorEditor .ProseMirror h1:first-child, .ProsemirrorEditor .ProseMirror .h1:first-child,
.ProsemirrorEditor .ProseMirror h2:first-child,
.ProsemirrorEditor .ProseMirror .h2:first-child,
.ProsemirrorEditor .ProseMirror h3:first-child,
.ProsemirrorEditor .ProseMirror .h3:first-child,
.ProsemirrorEditor .ProseMirror h4:first-child,
.ProsemirrorEditor .ProseMirror .h4:first-child,
.ProsemirrorEditor .ProseMirror h5:first-child,
.ProsemirrorEditor .ProseMirror .h5:first-child,
.ProsemirrorEditor .ProseMirror h6:first-child,
.ProsemirrorEditor .ProseMirror .h6:first-child {
  margin-top: 10px;
}
.ProsemirrorEditor .ProseMirror [data-mention] {
  color: var(--bs-accent);
}
.ProsemirrorEditor .ProseMirror {
  outline: none;
}
.ProsemirrorEditor .ProseMirror [data-oembed] {
  font-size: 0;
}
.ProsemirrorEditor .ProseMirror iframe {
  pointer-events: none;
  display: block;
}
.ProsemirrorEditor .ProseMirror p {
  margin-bottom: 1em;
}
.ProsemirrorEditor .ProseMirror-textblock-dropdown {
  min-width: 3em;
}
.ProsemirrorEditor .ProseMirror .placeholder {
  padding: 0 !important;
  pointer-events: none;
  height: 0;
  display: block;
  min-height: 0;
}
.ProsemirrorEditor .ProseMirror:focus .placeholder {
  display: none;
}
.ProsemirrorEditor .ProseMirror .tableWrapper {
  overflow-x: auto;
}
.ProsemirrorEditor .ProseMirror .column-resize-handle {
  background-color: white;
  pointer-events: none;
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 20;
}
.ProsemirrorEditor .ProseMirror.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}
.ProsemirrorEditor .ProseMirror .selectedCell:after {
  background: rgba(200, 255, 255, 0.4);
  content: "";
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
}
.ProsemirrorEditor .ProseMirror-menubar-wrapper {
  position: relative;
  outline: none;
}
.ProsemirrorEditor .ProseMirror table {
  margin: 0;
}
.ProsemirrorEditor .ProseMirror .tableWrapper {
  margin: 1em 0;
}

.ProseMirror-prompt {
  background: var(--hh-background-color-main);
  border: 1px solid silver;
  border-radius: 3px;
  box-shadow: -0.5px 2px 5px rgba(0, 0, 0, 0.2);
  padding: 5px 10px 5px 15px;
  position: fixed;
  min-width: 300px;
  z-index: 999999;
}
.ProseMirror-prompt h5, .ProseMirror-prompt .h5 {
  font-weight: bold;
  font-size: 100%;
  margin: 15px 0;
}
.ProseMirror-prompt input {
  margin-bottom: 5px;
}

.ProseMirror-prompt-close {
  background: transparent;
  color: var(--hh-text-color-soft);
  padding: 0;
  position: absolute;
  left: 2px;
  top: 1px;
  border: none;
}

.ProseMirror-prompt-close:after {
  content: "✕";
  font-size: 12px;
}

.ProseMirror-invalid {
  background: #fdd8ae;
  border: 1px solid #f99119;
  border-radius: 4px;
  padding: 5px 10px;
  position: absolute;
  min-width: 10em;
}

.ProseMirror-prompt-buttons {
  margin: 15px 0;
  text-align: center;
}

[data-emoji-category] {
  max-height: 200px;
  display: block;
  position: relative;
  overflow: auto;
}
[data-emoji-category] .atwho-emoji-entry {
  width: 24px;
  height: 28px;
  overflow: hidden;
}
[data-emoji-category] .atwho-emoji-entry.cur {
  background-color: var(--hh-background-color-page) !important;
}

.emoji-nav {
  padding-top: 10px;
}
.emoji-nav .emoji-nav-item {
  border-top: 2px solid var(--hh-background-color-highlight);
}
.emoji-nav .emoji-nav-item.cur {
  border-left: 0;
  border-top: 2px solid var(--bs-accent);
}

[data-ui-markdown],
[data-ui-richtext] {
  overflow-x: auto;
  overflow-wrap: break-word;
}
[data-ui-markdown] a,
[data-ui-richtext] a {
  color: var(--bs-accent);
}

[data-ui-richtext]:not([data-ui-richtext-rendered]):not([data-edit]) {
  position: relative;
  min-height: calc(var(--bs-spinner-height, 2rem) + var(--bs-spinner-border-width, 0.25em) * 2);
  color: transparent;
  pointer-events: none;
  user-select: none;
}
[data-ui-richtext]:not([data-ui-richtext-rendered]):not([data-edit])::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bs-spinner-width, 2rem);
  height: var(--bs-spinner-height, 2rem);
  margin: calc(var(--bs-spinner-height, 2rem) / -2) 0 0 calc(var(--bs-spinner-width, 2rem) / -2);
  color: var(--bs-body-color);
  border: var(--bs-spinner-border-width, 0.25em) solid currentcolor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: var(--bs-spinner-animation-speed, 0.75s) linear infinite var(--bs-spinner-animation-name, spinner-border);
}

#wallStream [data-ui-markdown],
#wallStream [data-ui-richtext] {
  overflow-wrap: initial;
  word-break: initial;
  hyphens: initial;
}

@media (max-width: 575.98px) {
  .ProsemirrorEditor .ProseMirror-menu-dropdown-right {
    right: 0;
  }
}
@media (max-width: 767.98px) {
  .ProsemirrorEditor.focusMenu .form-control:focus {
    border-top-right-radius: 0 !important;
  }
  .ProsemirrorEditor.focusMenu .ProseMirror-menubar {
    min-height: 1em;
    margin-top: 0;
  }
  .ProsemirrorEditor.focusMenu .humhub-ui-richtext {
    margin-top: 0;
  }
}
/**
 * TODO: With Bootstrap 5, Mobile should be the default values
 * So we should move the values of this file to the default files.
 * And create a new _medium-devices.scss file to overwrite the values for larger screens
 * Or, instead of creating a new file, include the overwrites directly in the concerned SCSS files
 * See https://getbootstrap.com/docs/5.3/layout/breakpoints/#min-width
 */
@media (max-width: 767.98px) {
  :root {
    --hh-fixed-header-height: 105px;
  }
  #layout-content > .container, #layout-content > .container > .row {
    --bs-gutter-x: 2px;
  }
  #layout-content .table-responsive::-webkit-scrollbar,
  #layout-content .left-navigation .list-group::-webkit-scrollbar {
    -webkit-appearance: none;
  }
  #layout-content .table-responsive::-webkit-scrollbar:vertical,
  #layout-content .left-navigation .list-group::-webkit-scrollbar:vertical {
    width: 8px;
  }
  #layout-content .table-responsive::-webkit-scrollbar:horizontal,
  #layout-content .left-navigation .list-group::-webkit-scrollbar:horizontal {
    height: 8px;
  }
  #layout-content .table-responsive::-webkit-scrollbar-thumb,
  #layout-content .left-navigation .list-group::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid var(--hh-background-color-main);
  }
  #layout-content .table-responsive::-webkit-scrollbar-track,
  #layout-content .left-navigation .list-group::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: var(--hh-background-color-main);
  }
  #layout-content .panel {
    margin-bottom: 5px;
  }
  #layout-content .panel .statistics .entry {
    margin-left: 10px;
  }
  #layout-content .layout-nav-container {
    padding-left: 0;
    padding-right: 0;
  }
  #layout-content .layout-nav-container .panel-heading {
    display: none;
  }
  #layout-content .panel-profile-header #profilefileupload, #layout-content .panel-profile-header .profile-user-photo-container, #layout-content .panel-profile-header .space-acronym {
    height: 100px !important;
    width: 100px !important;
  }
  #layout-content .panel-profile-header .profile-user-photo {
    height: 95px !important;
    width: 95px !important;
  }
  #layout-content .image-upload-container .image-upload-buttons {
    right: 2px !important;
  }
  #layout-content .panel-profile .panel-profile-header .img-profile-header-background {
    min-height: 80px !important;
  }
  #layout-content .panel-profile .panel-profile-header .img-profile-data {
    padding-top: 50px !important;
    padding-left: 125px;
  }
  .dropdown-menu {
    max-width: 320px;
  }
  .dropdown-menu > li:not(.dropdown-header) a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  select.form-control:not([multiple]) {
    padding-right: 23px;
    width: auto;
  }
  .modal.in {
    padding-right: 0 !important;
  }
  .load-suppressed {
    margin-top: -8px;
    margin-bottom: 5px;
  }
  .ProsemirrorEditor .ProseMirror-menuitem {
    font-size: 1.2em !important;
  }
}
.icon-sm, .fa-sm {
  font-size: 0.875em;
}

.icon-lg, .fa-lg {
  font-size: 1.33333em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}

.icon-2x, .fa-2x {
  font-size: 2em;
}

.icon-3x, .fa-3x {
  font-size: 3em;
}

.icon-4x, .fa-4x {
  font-size: 4em;
}

.icon-5x, .fa-5x {
  font-size: 5em;
}

.icon-6x, .fa-6x {
  font-size: 6em;
}

.icon-7x, .fa-7x {
  font-size: 7em;
}

.icon-9x, .fa-9x {
  font-size: 9em;
}

.icon-10x, .fa-10x {
  font-size: 10em;
}

@media print {
  a[href]:after {
    content: none;
  }
  body {
    padding-top: 0;
  }
  pre, blockquote {
    page-break-inside: avoid;
  }
  .preferences,
  .layout-sidebar-container,
  .layout-nav-container,
  button {
    display: none !important;
  }
}
@media (min-width: 500px) {
  .container-cards.container-fluid .card, .container-cards.container-sm .card, .container-cards.container-md .card, .container-cards.container-lg .card, .container-cards.container-xl .card, .container-cards.container-xxl .card {
    width: 50%;
  }
}
@media (min-width: 1000px) {
  .container-cards.container-fluid .card, .container-cards.container-sm .card, .container-cards.container-md .card, .container-cards.container-lg .card, .container-cards.container-xl .card, .container-cards.container-xxl .card {
    width: 33.33333333%;
  }
}
@media (min-width: 1300px) {
  .container-cards.container-fluid .card, .container-cards.container-sm .card, .container-cards.container-md .card, .container-cards.container-lg .card, .container-cards.container-xl .card, .container-cards.container-xxl .card {
    width: 25%;
  }
}
@media (min-width: 1600px) {
  .container-cards.container-fluid .card, .container-cards.container-sm .card, .container-cards.container-md .card, .container-cards.container-lg .card, .container-cards.container-xl .card, .container-cards.container-xxl .card {
    width: 20%;
  }
}
@media (min-width: 1900px) {
  .container-cards.container-fluid .card, .container-cards.container-sm .card, .container-cards.container-md .card, .container-cards.container-lg .card, .container-cards.container-xl .card, .container-cards.container-xxl .card {
    width: 16.66666667%;
  }
}
.container-cards .form-search {
  clear: both;
}
.container-cards .form-search > .d-flex > .flex-fill {
  flex-basis: 0 !important;
  min-width: 200px;
}
.container-cards .form-search .form-search-filter-keyword {
  position: relative;
}
.container-cards .form-search .form-search-filter-keyword input[type=text] {
  padding-right: 26px;
}
.container-cards .form-search .form-search-filter-keyword .form-button-search {
  position: absolute;
  right: 3px;
  bottom: 6px;
}
.container-cards .form-search .form-control.form-search-filter {
  width: 100%;
  height: 40px;
  margin: 3px 0 0;
  padding: 8px 30px 10px 8px;
  border-radius: 4px;
  border: solid 1px #c5c5c5;
}
.container-cards .form-search .form-button-search {
  background: none;
  border: 0;
  font-size: 16px;
  top: initial;
  bottom: 9px;
}
.container-cards .form-search .form-search-field-info {
  display: block;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 991px) {
  .container-cards .form-search > .d-flex > .flex-fill {
    min-width: 240px;
  }
}
@media (max-width: 548px) {
  .container-cards .form-search .form-search-action.form-search-action-toggle-more {
    display: initial;
  }
}
@media (max-width: 382px) {
  .container-cards .form-search > .d-flex > .flex-fill {
    min-width: 200px;
  }
}
.container-cards .form-search-action {
  margin-top: auto;
}
.container-cards .form-search-action .btn {
  width: 35px;
  height: 35px;
  padding: 0;
  font-size: 20px;
}
.container-cards .form-search-action.form-search-action-toggle-more {
  display: none;
}
.container-cards .form-search-action.form-search-action-toggle-more .btn:not(.collapsed) {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
  box-shadow: var(--bs-btn-active-shadow);
}
.container-cards .form-search-filter-tags {
  padding-top: 21px;
}
.container-cards .form-search-filter-tags button {
  margin: 10px 10px 0 0;
}
.container-cards .directory-filters-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px -10px -10px;
  padding: 20px 5px;
  color: #000;
  border-radius: 0 0 4px 4px;
  font-size: 14px;
}
.container-cards .directory-filters-footer.directory-filters-footer-warning {
  background: #FFC107;
}
.container-cards .directory-filters-footer.directory-filters-footer-info {
  background: #d9edf7;
  border: 1px solid #bce8f1;
}
.container-cards .directory-filters-footer .filter-footer-icon {
  font-size: 35px;
  line-height: 25px;
  text-align: center;
  color: #435F6F;
  background: #FFF;
  height: 25px;
  border-radius: 50%;
  margin-right: 32px;
  vertical-align: middle;
}
.container-cards .cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.container-cards .cards-no-results {
  color: #000;
  font-size: 16px;
  line-height: 34px;
}
.container-cards .card {
  border: none;
  display: flex;
  flex-direction: row;
}
.container-cards .card .card-panel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 15px 0;
  border-radius: 4px;
  box-shadow: 0 0 3px var(--hh-background3);
  background-color: var(--hh-background-color-main);
}
.container-cards .card .card-panel.card-archived {
  filter: opacity(60%);
}
.container-cards .card .card-icons > * {
  color: var(--bs-accent);
}
.container-cards .card .card-icons > * .fa {
  margin-right: 0.4rem;
}
.container-cards .card .card-icons > * span {
  font: 12px "Open Sans", sans-serif;
  font-weight: 600;
}
.container-cards .card .card-bg-image {
  width: 100%;
  height: 86px;
  background-color: #cfcfcf;
  background-size: cover;
  background-position: center;
  border-radius: 4px 4px 0 0;
}
.container-cards .card .card-status {
  font-size: 13px;
  font-weight: bold;
  padding: 5px 12px;
  color: #FFF;
  max-height: 30px;
}
.container-cards .card .card-status.card-status-professional {
  background: #415F6E;
}
.container-cards .card .card-status.card-status-official, .container-cards .card .card-status.card-status-partner {
  background: #90A1AA;
}
.container-cards .card .card-status.card-status-deprecated {
  background: #EB0000;
}
.container-cards .card .card-status.card-status-featured {
  background: var(--bs-primary);
  color: var(--hh-primary-contrast);
}
.container-cards .card .card-status.card-status-new {
  background: #21A1B3;
}
.container-cards .card .card-status.card-status-community {
  background: transparent;
  color: var(--bs-secondary-color);
  border: 1px solid var(--bs-border-color);
  box-sizing: border-box;
}
.container-cards .card .card-header {
  position: absolute;
  padding: 16px;
  display: table;
  width: 100%;
  border-bottom: none;
  background-color: transparent;
}
.container-cards .card .card-header .card-image-wrapper {
  display: table-cell;
  width: 98px;
}
.container-cards .card .card-header .profile-user-photo,
.container-cards .card .card-header .space-acronym {
  border: 2px solid var(--hh-background-color-main);
}
.container-cards .card .card-header .card-status {
  position: absolute;
  right: 16px;
  background: var(--bs-primary);
}
.container-cards .card .card-header .card-icons {
  display: table-cell;
  padding: 3px 0 2px 5px;
  text-align: right;
  vertical-align: bottom;
  font-size: 16px;
}
.container-cards .card .card-header .card-icons .fa {
  color: var(--bs-accent);
}
.container-cards .card .card-header .card-icons .fa.fa-mobile-phone {
  font-size: 22px;
  line-height: 15px;
  position: relative;
  top: 2px;
}
.container-cards .card .card-status-none + .card-header {
  border-radius: 4px 4px 0 0;
}
.container-cards .card .card-body {
  flex-grow: 1;
  padding: 44px 16px 24px 16px;
  overflow: auto;
}
.container-cards .card .card-body .card-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
}
.container-cards .card .card-body .card-title a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: 2px;
}
.container-cards .card .card-body .card-details {
  margin-top: 8px;
  color: #57646c;
}
.container-cards .card .card-body .card-details a {
  color: var(--bs-accent);
  text-decoration: underline;
}
.container-cards .card .card-body .card-details a:hover {
  text-decoration: none;
}
.container-cards .card .card-body .card-tags {
  margin-top: 20px;
}
.container-cards .card .card-footer {
  padding: 0 16px 20px;
  border-top: none;
  background-color: transparent;
}
.container-cards .card .card-footer a.btn {
  float: left;
  margin: 0 8px 4px 0;
  white-space: normal;
  hyphens: none;
}
.container-cards .card .card-footer a.btn:last-child {
  margin-right: 0;
}
.container-cards .card .card-footer .btn-group {
  margin: 0 8px 4px 0;
}
.container-cards .card .card-footer .btn-group a.btn {
  margin: 0;
}

.container-modules .modules-type {
  font-size: 16px;
  font-weight: bold;
  color: var(--hh-text-color-highlight);
  margin: 70px 0 40px;
}
.container-modules .row.cards {
  margin-top: 40px;
}
.container-modules .card-module .card-panel {
  background: none;
  overflow: hidden;
}
.container-modules .card-module .card-panel > div:not(.card-status) {
  background-color: var(--hh-background-color-main);
}
.container-modules .card-module .card-panel > .card-status {
  min-height: 30px;
}
.container-modules .card-module .card-header {
  position: relative;
  border-bottom: none;
}
.container-modules .card-module .card-body {
  padding-top: 8px;
  font-size: 13px;
  color: var(--hh-text-color-secondary);
}
.container-modules .card-module .card-body > div {
  padding-bottom: 8px;
}
.container-modules .card-module .card-body > div:last-child {
  padding-bottom: 0;
}
.container-modules .card-module .card-title {
  color: var(--hh-text-color-highlight);
}
.container-modules .card-module .card-footer {
  padding-bottom: 14px;
}
.container-modules .card-module .card-footer a.btn {
  float: none;
}
.container-modules .card-module .card-footer.text-end a.btn {
  margin-left: 8px;
  margin-right: 0;
}
.container-modules .card-module .card-footer.text-end a.btn:first-child {
  margin-left: 0;
}
@media (max-width: 575.98px) {
  .container-modules .card {
    width: 100%;
  }
}

.container-content-modules {
  width: 100%;
  padding: 0 18px 5px 5px;
}
@media (min-width: 768px) {
  .container-content-modules {
    padding: 0 12px 5px 0;
  }
}
.container-content-modules h4, .container-content-modules .h4 {
  font-size: 16px;
  color: var(--hh-text-color-highlight);
}
.container-content-modules .card {
  width: 100%;
  padding-right: 3px;
}
.container-content-modules .card .card-panel {
  margin-top: 3px;
}
@media (min-width: 460px) {
  .container-content-modules .card {
    width: 50%;
  }
}
@media (min-width: 656px) {
  .container-content-modules .card {
    width: 33.33333333%;
  }
}
@media (min-width: 1200px) {
  .container-content-modules .card {
    width: 25%;
  }
}
@media (min-width: 460px) {
  .container-content-modules.container-content-modules-col-3 .card {
    width: 50%;
  }
}
@media (min-width: 656px) {
  .container-content-modules.container-content-modules-col-3 .card {
    width: 33.33333333%;
  }
}

.container-create-space-modules.container-cards {
  width: 100%;
  padding: 0;
}
.container-create-space-modules.container-cards .row.cards {
  margin-top: 0;
}
.container-create-space-modules.container-cards .card .card-panel > div {
  background: #F5F5F5;
}

@media (min-width: 500px) {
  .container-modules.container-fluid .container-module-updates .card, .container-modules.container-sm .container-module-updates .card, .container-modules.container-md .container-module-updates .card, .container-modules.container-lg .container-module-updates .card, .container-modules.container-xl .container-module-updates .card, .container-modules.container-xxl .container-module-updates .card {
    width: 33.33333333%;
  }
}
@media (min-width: 1000px) {
  .container-modules.container-fluid .container-module-updates .card, .container-modules.container-sm .container-module-updates .card, .container-modules.container-md .container-module-updates .card, .container-modules.container-lg .container-module-updates .card, .container-modules.container-xl .container-module-updates .card, .container-modules.container-xxl .container-module-updates .card {
    width: 25%;
  }
}
@media (min-width: 1300px) {
  .container-modules.container-fluid .container-module-updates .card, .container-modules.container-sm .container-module-updates .card, .container-modules.container-md .container-module-updates .card, .container-modules.container-lg .container-module-updates .card, .container-modules.container-xl .container-module-updates .card, .container-modules.container-xxl .container-module-updates .card {
    width: 20%;
  }
}
@media (min-width: 1600px) {
  .container-modules.container-fluid .container-module-updates .card, .container-modules.container-sm .container-module-updates .card, .container-modules.container-md .container-module-updates .card, .container-modules.container-lg .container-module-updates .card, .container-modules.container-xl .container-module-updates .card, .container-modules.container-xxl .container-module-updates .card {
    width: 16.66666667%;
  }
}
@media (min-width: 1900px) {
  .container-modules.container-fluid .container-module-updates .card, .container-modules.container-sm .container-module-updates .card, .container-modules.container-md .container-module-updates .card, .container-modules.container-lg .container-module-updates .card, .container-modules.container-xl .container-module-updates .card, .container-modules.container-xxl .container-module-updates .card {
    width: 12.5%;
  }
}

.container-module-updates {
  background: var(--bs-primary);
  color: var(--hh-primary-contrast);
  margin-top: 30px;
  padding: 16px 10px 2px;
  border-radius: 4px;
}
.container-module-updates .row.cards {
  margin-right: -1px;
  margin-top: 0;
}
.container-module-updates .modules-type {
  margin: 10px 0 30px;
  color: var(--hh-primary-contrast);
}
.container-module-updates .card {
  padding-right: 1px;
  background-color: transparent;
}
.container-module-updates .card .card-panel {
  margin-top: 0;
}
.container-module-updates .card .card-panel > div:not(.card-status) {
  background: var(--hh-background-color-main);
}
.container-module-updates .card .card-panel .card-header {
  padding: 12px;
}
.container-module-updates .card .card-panel .card-body {
  padding: 4px 12px 20px;
}
.container-module-updates .card .card-panel .card-body .card-title {
  font-size: 14px;
}
.container-module-updates .card .card-panel .card-footer {
  padding: 0 12px 12px;
}
.container-module-updates .card .card-panel .card-footer .btn-info {
  border-radius: 4px;
  color: var(--bs-primary) !important;
}
.container-module-updates .card .card-panel .card-footer .btn-info.active {
  border-color: #FFF;
}
.container-module-updates .card .card-panel .card-footer .btn-info:not(.active) {
  padding: 0 4px;
  border: 1px solid #FFF;
  background: var(--bs-primary);
  color: var(--hh-primary-contrast) !important;
}
.container-module-updates .card .card-panel .card-footer .btn-info:not(.active):hover, .container-module-updates .card .card-panel .card-footer .btn-info:not(.active):active {
  background: #0a2fff !important;
}
.container-module-updates .card .card-panel .card-footer .btn-info[data-update-status=failed] {
  border-color: #fc314f;
}

.modules-group {
  margin-bottom: 25px;
}
.modules-group > strong {
  display: block;
  margin-bottom: 13px;
}
.modules-group .module-row {
  border-top: 1px solid #ddd;
  margin: 0 0 16px 0;
}
.modules-group .module-row > div {
  padding-top: 16px;
}
.modules-group .module-row > div small, .modules-group .module-row > div .small {
  color: var(--hh-text-color-soft2);
}
.modules-group .module-row .module-actions {
  white-space: nowrap;
  text-align: right;
}
.modules-group .module-row .module-actions .btn:not(:first-child) {
  margin-left: 14px;
}

.modules-updates-info {
  border-radius: 3px;
  border: 1px solid var(--hh-border-color-warning);
  background: var(--hh-background-color-warning);
  color: var(--hh-text-color-warning);
  padding: 14px 20px 14px 25px;
  margin: 20px 10px 10px;
  font-size: 11px;
  line-height: 20px;
}
.modules-updates-info strong {
  font-size: 13px;
}
.modules-updates-info .btn {
  margin-top: 8px;
}

#dropdown-search.dropdown-menu {
  left: auto;
  right: 0;
  max-width: 100%;
  min-width: 400px;
  padding: 0;
  border: none;
  border-radius: 8px;
  top: 115%;
}
#dropdown-search.dropdown-menu.show {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--hh-fixed-header-height) - var(--hh-mobile-app-safe-area-inset-bottom, env(safe-area-inset-bottom)));
}
@media (max-width: 767.98px) {
  #dropdown-search.dropdown-menu.show {
    max-height: calc(100vh - 15px - var(--hh-fixed-header-height) - var(--hh-mobile-app-safe-area-inset-bottom, env(safe-area-inset-bottom)));
  }
}
#dropdown-search.dropdown-menu .dropdown-header {
  font-size: 20px;
  font-weight: 600;
  color: var(--hh-text-color-highlight);
  padding: 24px 24px 16px;
  margin: 0;
  flex: 0 0 auto;
}
#dropdown-search.dropdown-menu .dropdown-header .arrow {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 8px;
  right: 10px;
  margin-left: -18px;
  border-top-width: 0;
  border-bottom-color: var(--hh-background4);
  top: -8px;
  z-index: 1035;
}
#dropdown-search.dropdown-menu .dropdown-header .arrow:after {
  position: absolute;
  border-color: transparent;
  border-style: solid;
  border-width: 8px;
  content: " ";
  top: 1px;
  margin-left: -8px;
  border-top-width: 0;
  border-bottom-color: var(--hh-background-color-main);
  z-index: 1035;
}
#dropdown-search.dropdown-menu .dropdown-header #dropdown-search-close {
  float: right;
  font-size: 18px;
  cursor: pointer;
}
#dropdown-search.dropdown-menu .dropdown-search-form {
  position: relative;
  padding: 0 16px 16px;
  flex: 0 1 auto;
}
#dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-keyword {
  background: var(--hh-background-color-secondary);
  border-color: var(--hh-background-color-secondary);
  border-radius: 6px;
  padding-left: 32px;
  font-weight: 500;
}
#dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-keyword:-webkit-autofill, #dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-keyword:-webkit-autofill:hover, #dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-keyword:-webkit-autofill:focus, #dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-keyword:-webkit-autofill:active {
  -webkit-text-fill-color: var(--hh-text-color-secondary) !important;
  -webkit-box-shadow: 0 0 0 30px var(--hh-background-color-secondary) inset !important;
}
#dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-button {
  position: absolute;
  padding: 5px 10px;
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--hh-text-color-secondary) !important;
  box-shadow: none;
}
#dropdown-search.dropdown-menu .dropdown-search-form .dropdown-search-button:active {
  box-shadow: none;
}
#dropdown-search.dropdown-menu .dropdown-search-list {
  list-style: none;
  padding: 0 16px 24px;
  flex: 0 1 auto;
}
#dropdown-search.dropdown-menu .dropdown-search-list > li:first-child {
  margin-top: 0;
  padding-top: 0;
}
#dropdown-search.dropdown-menu .search-provider {
  display: none;
  padding-top: 16px;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-title {
  padding: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--hh-text-color-highlight);
}
#dropdown-search.dropdown-menu .search-provider .search-provider-title > span {
  font-size: 14px;
}
#dropdown-search.dropdown-menu .search-provider:hover {
  color: inherit;
}
#dropdown-search.dropdown-menu .search-provider.provider-searched {
  display: block;
}
#dropdown-search.dropdown-menu .search-provider.provider-searching .search-provider-title, #dropdown-search.dropdown-menu .search-provider.provider-searching .search-provider-content {
  float: left;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content > .hh-loader {
  margin-top: 10px;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content > .hh-loader .spinner-border {
  width: 1rem;
  height: 1rem;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record {
  display: flex;
  align-items: center;
  padding: 8px;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record:hover, #dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record:focus {
  background: var(--hh-background-color-secondary);
  border-radius: 3px;
  outline: none;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record .search-provider-record-image {
  width: 36px;
  flex: 0 0 36px;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record .search-provider-record-image > i.fa {
  font-size: 25px;
  color: var(--bs-accent);
  background: var(--hh-background-color-secondary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record .search-provider-record-text {
  padding-left: 16px;
  flex: 1;
  min-width: 0;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record .search-provider-record-text > span {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record .search-provider-record-text > span:first-child {
  font-size: 14px;
  font-weight: 500;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-content a.search-provider-record .search-provider-record-text > span:last-child {
  font-size: 12px;
  font-weight: 400;
  color: var(--hh-text-color-soft);
}
#dropdown-search.dropdown-menu .search-provider .search-provider-no-results {
  padding: 8px;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-actions {
  padding: 16px 8px 0;
}
#dropdown-search.dropdown-menu .search-provider .search-provider-actions .btn {
  width: 100%;
  font-size: 12px;
}

.dropdown.search-menu .dropdown-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 990;
  background: rgba(5, 0, 26, 0.15);
}
.dropdown.search-menu #search-menu.show {
  background: var(--hh-background-color-main);
  border-bottom: 3px solid var(--bs-accent);
  z-index: 1000;
  position: relative;
}

@media (max-width: 575.98px) {
  .dropdown.search-menu {
    position: initial;
  }
  #dropdown-search.dropdown-menu {
    width: 100%;
    min-width: initial;
  }
  #dropdown-search.dropdown-menu .dropdown-header .arrow {
    right: 25px;
  }
}
.search-results-header {
  color: var(--hh-text-color-highlight);
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 0 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--hh-background3);
}

.select2-container--humhub {
  display: block;
  /*------------------------------------*\
          #COMMON STYLES
  \*------------------------------------*/
  /**
   * Search field in the Select2 dropdown.
   */
  /**
   * No outline for all search fields - in the dropdown
   * and inline in multi Select2s.
   */
  /**
   * Adjust Select2's choices hover and selected styles to match
   * humhub 3's default dropdown styles.
   *
   * $see http://gethumhub.com/components/#dropdowns
   */
  /**
   * Clear the selection.
   */
  /**
   * Address disabled Select2 styles.
   *
   * $see https://select2.github.io/examples.html#disabled
   * $see http://gethumhub.com/css/#forms-control-disabled
   */
  /*------------------------------------*\
          #DROPDOWN
  \*------------------------------------*/
  /**
   * Dropdown border color and box-shadow.
   */
  /**
   * Limit the dropdown height.
   *
   * Fix for browser zoom > 100%:
   * The height is also capped relative to the viewport (vh) so the
   * options list always fits above or below the field - even when
   * the browser zoom level is above 100%, which shrinks the
   * effective viewport height in CSS pixels. Without this, Select2
   * can end up unable to find enough room in either direction and
   * flip its position back and forth on every scroll/resize event,
   * making the dropdown flicker open and immediately close.
   */
  /*------------------------------------*\
          #SINGLE SELECT2
  \*------------------------------------*/
  /*------------------------------------*\
      #MULTIPLE SELECT2
  \*------------------------------------*/
  /**
   * Address humhub control sizing classes
   *
   * 1. Reset humhub defaults.
   * 2. Adjust the dropdown arrow button icon position.
   *
   * $see http://gethumhub.com/css/#forms-control-sizes
   */
  /* 1 */
  /*------------------------------------*\
      #RTL SUPPORT
  \*------------------------------------*/
}
.select2-container--humhub .picker-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  position: relative;
  top: 3px;
}
.select2-container--humhub .select2-selection {
  outline: 0;
  min-height: 35px;
  font-size: 14px;
  background-color: var(--hh-background-color-main);
}
.select2-container--humhub .picker-content {
  display: flex;
  flex-direction: column;
  margin-left: 5px;
  overflow: hidden;
}
.select2-container--humhub .picker-subtext {
  color: var(--hh-text-color-soft);
}
.select2-container--humhub .select2-search__field {
  outline: 0;
}
.select2-container--humhub .select2-search__field::placeholder {
  color: var(--bs-secondary-color);
  font-weight: normal;
}
.select2-container--humhub .select2-results__option--highlighted[aria-selected] {
  background-color: var(--hh-background-color-secondary) !important;
}
.select2-container--humhub .select2-results__option {
  /**
   * Disabled results.
   *
   * $see https://select2.github.io/examples.html#disabled-results
   */
  /**
   * Hover state.
   */
  /**
   * Selected state.
   */
}
.select2-container--humhub .select2-results__option[role=group] {
  padding: 0;
}
.select2-container--humhub .select2-results__option[aria-disabled=true] {
  color: var(--bs-tertiary-color);
  cursor: not-allowed;
}
.select2-container--humhub .select2-results__option[aria-selected=true] {
  background-color: #fff5ea;
  color: #05001a;
  border-left: 3px solid transparent;
}
.select2-container--humhub .select2-results__option[aria-selected=false] {
  border-left: 3px solid transparent;
}
.select2-container--humhub .select2-results__option--highlighted[aria-selected] {
  background-color: var(--bs-secondary);
  border-left: 3px solid var(--bs-accent);
  color: var(--hh-text-color-highlight);
}
.select2-container--humhub .select2-results__option .select2-results__option {
  padding: 0.375rem 0.75rem;
}
.select2-container--humhub .select2-results__option .select2-results__option .select2-results__group {
  padding-left: 0;
}
.select2-container--humhub .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -0.75rem;
  padding-left: 1.5rem;
}
.select2-container--humhub .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -1.5rem;
  padding-left: 2.25rem;
}
.select2-container--humhub .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -2.25rem;
  padding-left: 3rem;
}
.select2-container--humhub .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -3rem;
  padding-left: 3.75rem;
}
.select2-container--humhub .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -3.75rem;
  padding-left: 4.5rem;
}
.select2-container--humhub .select2-results__group {
  color: #6c757d;
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: nowrap;
}
.select2-container--humhub.select2-container--focus .select2-selection, .select2-container--humhub.select2-container--open .select2-selection {
  border: 2px solid var(--bs-accent);
  outline: 0;
  box-shadow: none;
}
.select2-container--humhub.select2-container--open {
  /**
   * Make the dropdown arrow point up while the dropdown is visible.
   */
  /**
   * Handle border radii of the container when the dropdown is showing.
   */
}
.select2-container--humhub.select2-container--open .select2-selection .select2-selection__arrow b {
  border-color: transparent transparent var(--bs-body-color) transparent;
  border-width: 0 0.3em 0.3em 0.3em;
}
.select2-container--humhub .select2-selection__clear {
  color: var(--bs-body-color);
  cursor: pointer;
  float: right;
  font-weight: bold;
  position: absolute;
  right: 0.2rem;
  top: 0;
}
.select2-container--humhub .select2-selection__clear:hover {
  color: #333;
}
.select2-container--humhub .select2-selection__clear:focus-visible {
  outline: 2px solid var(--bs-accent);
  outline-offset: 1px;
  border-radius: 2px;
}
.select2-container--humhub.select2-container--disabled .select2-selection {
  border-color: #dfd8cf;
  box-shadow: none;
  background-color: var(--bs-secondary-bg);
}
.select2-container--humhub.select2-container--disabled .select2-selection,
.select2-container--humhub.select2-container--disabled .select2-search__field {
  cursor: not-allowed;
}
.select2-container--humhub.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
  background-color: #6c757d;
}
.select2-container--humhub.select2-container--disabled .select2-selection__clear,
.select2-container--humhub.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove {
  display: none;
}
.select2-container--humhub .select2-dropdown {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  border-color: var(--hh-background3);
  overflow-x: hidden;
  margin-top: 0;
}
.select2-container--humhub .select2-results > .select2-results__options {
  max-height: min(400px, 40vh);
  overflow-y: auto;
}
.select2-container--humhub .select2-selection--single {
  height: calc(calc(1.6em + 1.2rem + calc(var(--bs-border-width) * 2)) + 2px);
  min-height: calc(calc(1.6em + 1.2rem + calc(var(--bs-border-width) * 2)) + 2px);
  line-height: 1.6;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  background-color: var(--hh-background-color-main);
  border-radius: var(--bs-border-radius);
  /**
   * Adjust the single Select2's dropdown arrow button appearance.
   */
}
.select2-container--humhub .select2-selection--single .select2-selection__arrow {
  position: absolute;
  bottom: 0;
  right: 0.75rem;
  top: 0;
  width: 0.3em;
}
.select2-container--humhub .select2-selection--single .select2-selection__arrow b {
  border-color: var(--bs-body-color) transparent transparent transparent;
  border-style: solid;
  border-width: 0.3em 0.3em 0 0.3em;
  height: 0;
  left: 0;
  margin-left: -0.3em;
  margin-top: -0.15em;
  position: absolute;
  top: 50%;
  width: 0;
}
.select2-container--humhub .select2-selection--single .select2-selection__rendered {
  color: var(--bs-body-color);
  padding: 0;
}
.select2-container--humhub .select2-selection--single .select2-selection__placeholder {
  color: var(--bs-secondary-color);
}
.select2-container--humhub .select2-selection--multiple {
  min-height: calc(1.6em + 1.2rem + calc(var(--bs-border-width) * 2));
  border-radius: var(--bs-border-radius);
  /**
   * Make Multi Select2's choices match humhub 3's default button styles.
   */
  /**
   * Minus 2px borders.
   */
  /**
   * Clear the selection.
   */
}
.select2-container--humhub .select2-selection--multiple .picker-color {
  top: 4px;
  margin-left: 3px;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__rendered {
  box-sizing: border-box;
  display: block;
  line-height: 1.6;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__placeholder {
  color: var(--bs-secondary-color);
  float: left;
  margin-top: 5px;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice {
  color: var(--bs-body-color);
  border-radius: 4px;
  cursor: default;
  float: left;
  padding: 0 0.375rem;
  background-color: var(--bs-accent);
  color: var(--hh-accent-contrast);
  border-radius: 3px;
  font-size: 12px !important;
  padding: 0 5px 2px 2px;
  float: left;
  margin: 2px;
  height: 28px;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice img, .select2-container--humhub .select2-selection--multiple .select2-selection__choice div {
  margin-right: 5px;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice span.no-image {
  line-height: 27px;
  padding-left: 5px;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice i {
  margin: 0px 2px;
  line-height: 27px;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice .picker-close {
  cursor: pointer;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice .picker-close:focus-visible {
  outline: 2px solid var(--hh-accent-contrast);
  outline-offset: 1px;
  border-radius: 2px;
}
.select2-container--humhub .select2-selection--multiple .select2-search--inline .select2-search__field {
  background: transparent;
  padding: 0 5px;
  width: auto !important;
  height: calc(calc(1.6em + 1.2rem + calc(var(--bs-border-width) * 2)) - 2px);
  line-height: 30px;
  margin-top: 0;
  min-width: 5em;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice__remove {
  color: #999;
  cursor: pointer;
  display: none;
  font-weight: bold;
  margin-right: 0.375rem;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #333;
}
.select2-container--humhub .select2-selection--multiple .select2-selection__clear {
  margin-top: 0.375rem;
}
.select2-container--humhub.input-sm, .select2-container--humhub.input-lg {
  border-radius: 0;
  font-size: 12px;
  height: auto;
  line-height: 1;
  padding: 0;
}
.select2-container--humhub.input-sm .select2-selection--single, .input-group-sm .select2-container--humhub .select2-selection--single, .form-group-sm .select2-container--humhub .select2-selection--single {
  border-radius: 0.75rem;
  font-size: 0.875rem;
  height: calc(1.6em + 0.5rem + calc(var(--bs-border-width) * 2));
  line-height: 1.25;
  padding: 0.25rem 1.75rem 0.5rem;
  /* 2 */
}
.select2-container--humhub.input-sm .select2-selection--single .select2-selection__arrow b, .input-group-sm .select2-container--humhub .select2-selection--single .select2-selection__arrow b, .form-group-sm .select2-container--humhub .select2-selection--single .select2-selection__arrow b {
  margin-left: -0.25rem;
}
.select2-container--humhub.input-sm .select2-selection--multiple, .input-group-sm .select2-container--humhub .select2-selection--multiple, .form-group-sm .select2-container--humhub .select2-selection--multiple {
  min-height: calc(1.6em + 0.5rem + calc(var(--bs-border-width) * 2));
}
.select2-container--humhub.input-sm .select2-selection--multiple .select2-selection__choice, .input-group-sm .select2-container--humhub .select2-selection--multiple .select2-selection__choice, .form-group-sm .select2-container--humhub .select2-selection--multiple .select2-selection__choice {
  font-size: 0.875rem;
  line-height: 1.25;
  margin: -0.75rem 0 0 0.25rem;
  padding: 0 0.25rem;
}
.select2-container--humhub.input-sm .select2-selection--multiple .select2-search--inline .select2-search__field, .input-group-sm .select2-container--humhub .select2-selection--multiple .select2-search--inline .select2-search__field, .form-group-sm .select2-container--humhub .select2-selection--multiple .select2-search--inline .select2-search__field {
  padding: 0 0.5rem;
  font-size: 0.875rem;
  height: calc(calc(1.6em + 0.5rem + calc(var(--bs-border-width) * 2)) - 2px);
  line-height: 1.25;
}
.select2-container--humhub.input-sm .select2-selection--multiple .select2-selection__clear, .input-group-sm .select2-container--humhub .select2-selection--multiple .select2-selection__clear, .form-group-sm .select2-container--humhub .select2-selection--multiple .select2-selection__clear {
  margin-top: 0.25rem;
}
.select2-container--humhub.input-lg .select2-selection--single, .input-group-lg .select2-container--humhub .select2-selection--single, .form-group-lg .select2-container--humhub .select2-selection--single {
  border-radius: 1.375rem;
  font-size: 1.25rem;
  height: calc(1.6em + 1rem + calc(var(--bs-border-width) * 2));
  line-height: 2;
  padding: 0.5rem 2rem 0.5rem 1rem;
  /* 1 */
}
.select2-container--humhub.input-lg .select2-selection--single .select2-selection__arrow, .input-group-lg .select2-container--humhub .select2-selection--single .select2-selection__arrow, .form-group-lg .select2-container--humhub .select2-selection--single .select2-selection__arrow {
  width: 0.3em;
}
.select2-container--humhub.input-lg .select2-selection--single .select2-selection__arrow b, .input-group-lg .select2-container--humhub .select2-selection--single .select2-selection__arrow b, .form-group-lg .select2-container--humhub .select2-selection--single .select2-selection__arrow b {
  border-width: 0.3em 0.3em 0 0.3em;
  margin-left: -0.3em;
  margin-left: -0.5rem;
  margin-top: -0.15em;
}
.select2-container--humhub.input-lg .select2-selection--multiple, .input-group-lg .select2-container--humhub .select2-selection--multiple, .form-group-lg .select2-container--humhub .select2-selection--multiple {
  min-height: calc(1.6em + 1rem + calc(var(--bs-border-width) * 2));
}
.select2-container--humhub.input-lg .select2-selection--multiple .select2-selection__choice, .input-group-lg .select2-container--humhub .select2-selection--multiple .select2-selection__choice, .form-group-lg .select2-container--humhub .select2-selection--multiple .select2-selection__choice {
  font-size: 1.25rem;
  line-height: 2;
  border-radius: 4px;
  margin: -0.5rem 0 0 0.5rem;
  padding: 0 0.5rem;
}
.select2-container--humhub.input-lg .select2-selection--multiple .select2-search--inline .select2-search__field, .input-group-lg .select2-container--humhub .select2-selection--multiple .select2-search--inline .select2-search__field, .form-group-lg .select2-container--humhub .select2-selection--multiple .select2-search--inline .select2-search__field {
  padding: 0 1rem;
  font-size: 1.25rem;
  height: calc(calc(1.6em + 1rem + calc(var(--bs-border-width) * 2)) - 2px);
  line-height: 2;
}
.select2-container--humhub.input-lg .select2-selection--multiple .select2-selection__clear, .input-group-lg .select2-container--humhub .select2-selection--multiple .select2-selection__clear, .form-group-lg .select2-container--humhub .select2-selection--multiple .select2-selection__clear {
  margin-top: 0.5rem;
}
.select2-container--humhub.input-lg.select2-container--open .select2-selection--single {
  /**
   * Make the dropdown arrow point up while the dropdown is visible.
   */
}
.select2-container--humhub.input-lg.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #ebe4db transparent;
  border-width: 0 0.3em 0.3em 0.3em;
}
.input-group-lg .select2-container--humhub.select2-container--open .select2-selection--single {
  /**
   * Make the dropdown arrow point up while the dropdown is visible.
   */
}
.input-group-lg .select2-container--humhub.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #ebe4db transparent;
  border-width: 0 0.3em 0.3em 0.3em;
}
.select2-container--humhub[dir=rtl] {
  /**
   * Single Select2
   *
   * 1. Makes sure that .select2-selection__placeholder is positioned
   *    correctly.
   */
  /**
   * Multiple Select2
   */
}
.select2-container--humhub[dir=rtl] .select2-selection--single {
  padding-left: 1.75rem;
  padding-right: 0.75rem;
}
.select2-container--humhub[dir=rtl] .select2-selection--single .select2-selection__rendered {
  padding-right: 0;
  padding-left: 0;
  text-align: right; /* 1 */
}
.select2-container--humhub[dir=rtl] .select2-selection--single .select2-selection__clear {
  float: left;
}
.select2-container--humhub[dir=rtl] .select2-selection--single .select2-selection__arrow {
  left: 0.75rem;
  right: auto;
}
.select2-container--humhub[dir=rtl] .select2-selection--single .select2-selection__arrow b {
  margin-left: 0;
}
.select2-container--humhub[dir=rtl] .select2-selection--multiple .select2-selection__choice,
.select2-container--humhub[dir=rtl] .select2-selection--multiple .select2-selection__placeholder {
  float: right;
}
.select2-container--humhub[dir=rtl] .select2-selection--multiple .select2-selection__choice {
  margin-left: 0;
  margin-right: 0.375rem;
}
.select2-container--humhub[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto;
}

/*------------------------------------*\
    #ADDITIONAL GOODIES
\*------------------------------------*/
/**
 * Address humhub's validation states
 *
 * If a Select2 widget parent has one of humhub's validation state modifier
 * classes, adjust Select2's border colors and focus states accordingly.
 * You may apply said classes to the Select2 dropdown (body > .select2-container)
 * via JavaScript match humhubs' to make its styles match.
 *
 * $see http://gethumhub.com/css/#forms-control-validation
 */
.has-warning.select2-dropdown, .has-warning.select2-selection {
  border-color: #d97706;
}
.has-warning.select2-container--focus .select2-selection, .has-warning.select2-container--open .select2-selection {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #faa94b;
  border-color: #a75c05;
}
.has-warning.select2-drop.select2-drop-above {
  border-top-color: #a75c05;
}

.is-invalid.select2-dropdown, .is-invalid.select2-selection {
  border-color: #dc2626;
}
.is-invalid.select2-container--focus .select2-selection, .is-invalid.select2-container--open .select2-selection {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ea7e7e;
  border-color: #b21d1d;
}
.is-invalid.select2-drop.select2-drop-above {
  border-top-color: #b21d1d;
}

.has-success.select2-dropdown, .has-success.select2-selection {
  border-color: #16a34a;
}
.has-success.select2-container--focus .select2-selection, .has-success.select2-container--open .select2-selection {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #3be479;
  border-color: #107636;
}
.has-success.select2-drop.select2-drop-above {
  border-top-color: #107636;
}

/**
 * Select2 widgets in humhub Input Groups
 *
 * When Select2 widgets are combined with other elements using humhubs
 * "Input Group" component, we don't want specific edges of the Select2
 * container to have a border-radius.
 *
 * Use .select2-humhub-prepend and .select2-humhub-append on
 * a humhub 3 .input-group to let the contained Select2 widget know which
 * edges should not be rounded as they are directly followed by another element.
 *
 * $see http://gethumhub.com/components/#input-groups
 */
/**
 * Mimick humhubs .input-group .form-control styles.
 */
.input-group .select2-container--humhub {
  display: table;
  table-layout: fixed;
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
}

.input-group.select2-humhub-prepend .select2-container--humhub .select2-selection {
  border-radius: 0;
}

.input-group.select2-humhub-append .select2-container--humhub .select2-selection {
  border-radius: 0;
}

/**
 * Adjust alignment of humhub buttons in humhub Input Groups to address
 * Multi Select2's height which - depending on how many elements have been selected -
 * may grow taller than its initial size.
 *
 * $see http://gethumhub.com/components/#input-groups
 */
.select2-humhub-append .select2-container--humhub,
.select2-humhub-append .input-group,
.select2-humhub-append .input-group .btn,
.select2-humhub-prepend .select2-container--humhub,
.select2-humhub-prepend .input-group,
.select2-humhub-prepend .input-group .btn {
  vertical-align: top;
}

.select2-humhub-append.input-group .select2-container {
  margin-left: initial !important;
}
.select2-humhub-append.input-group .select2-container .select2-selection {
  border-top-left-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

/**
 * Temporary fix for https://github.com/select2/select2-humhub-theme/issues/9
 *
 * Provides `!important` for certain properties of the class applied to the
 * original `<select>` element to hide it.
 *
 * $see https://github.com/select2/select2/pull/3301
 * $see https://github.com/fk/select2/commit/31830c7b32cb3d8e1b12d5b434dee40a6e753ada
 */
.form-control.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
}

/**
 * Dark Mode styles
 */
/**
 * Define or overwrite your CSS root variables here.
 * Prefix your variables with --hh and the theme name to avoid conflicts
 * E.g., if the theme is "My Theme": --hh-mt-my-variable: #fff;
**/
/**
 * Define your mixins within this file.
**/
/**
 * Define or overwrite your theme selectors within this file.
**/
/**
 * Modern — CSS custom properties
 * Palette:
 *   - Azul Tutu:              #05001a
 *   - Azul Taxa Zero:         #3d5aff
 *   - Verdinho do Tutu:       #d0ff00 (apenas gradiente suave / acentos visuais, nunca em texto)
 *   - Azul Zero Dívidas:      #3248c7 (fundo tema escuro)
 *   - Branco Paz de Espírito: #fffaf5 (superfícies claras e textos no tema escuro)
 */
:root {
  --tutu-dark: #05001a;
  --tutu-primary: #3d5aff;
  --tutu-lime: #d0ff00;
  --tutu-blue-bg: #3248c7;
  --tutu-light-bg: #fffaf5;
  --modern-primary: #3d5aff;
  --modern-primary-strong: #3248c7;
  --modern-accent: #3d5aff;
  --modern-cyan: #3248c7;
  --modern-peach: #d97706;
  --modern-pink: #dc2626;
  --modern-gradient: linear-gradient(135deg, #3d5aff 0%, #3248c7 72%, #5570ff 100%);
  --modern-gradient-lime: linear-gradient(135deg, rgba(208, 255, 0, 0.30) 0%, rgba(208, 255, 0, 0.10) 48%, rgba(61, 90, 255, 0.14) 100%);
  --modern-gradient-soft: linear-gradient(135deg, rgba(61, 90, 255, 0.14) 0%, rgba(208, 255, 0, 0.22) 100%);
  --modern-gradient-pink: linear-gradient(135deg, #f43f5e 0%, #dc2626 100%);
  --modern-canvas:
      radial-gradient(880px 560px at 100% 0%, rgba(208, 255, 0, 0.26) 0%, rgba(208, 255, 0, 0) 52%),
      radial-gradient(980px 700px at 0% 100%, rgba(50, 72, 199, 0.44) 0%, rgba(50, 72, 199, 0) 62%),
      radial-gradient(860px 600px at 18% 12%, rgba(61, 90, 255, 0.28) 0%, rgba(61, 90, 255, 0) 58%),
      linear-gradient(135deg, #9eb6fb 0%, #b9cbff 48%, #98b1f8 100%);
  --modern-surface: #ffffff;
  --modern-surface-muted: #f1f4ff;
  --modern-page: #a9bffc;
  --modern-border: #d5dff7;
  --modern-border-strong: #bacaf2;
  --modern-glass: rgba(255, 255, 255, 0.90);
  --modern-glass-strong: rgba(255, 255, 255, 0.97);
  --modern-ink: #05001a;
  --modern-ink-soft: #1f1938;
  --modern-ink-muted: #4b4566;
  --modern-ink-faint: #746e8f;
  --modern-radius-xs: 10px;
  --modern-radius-sm: 14px;
  --modern-radius: 18px;
  --modern-radius-lg: 24px;
  --modern-radius-xl: 28px;
  --modern-shadow-xs: 0 2px 8px rgba(5, 0, 26, 0.08);
  --modern-shadow-card: 0 22px 48px -22px rgba(5, 0, 26, 0.30), 0 2px 8px rgba(5, 0, 26, 0.08);
  --modern-shadow-card-hover: 0 32px 64px -24px rgba(5, 0, 26, 0.38), 0 4px 12px rgba(5, 0, 26, 0.10);
  --modern-shadow-pop: 0 32px 70px -28px rgba(5, 0, 26, 0.40);
  --modern-shadow-glow: 0 14px 30px -12px rgba(61, 90, 255, 0.56);
  --modern-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --modern-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --modern-header-height: 0px;
  --modern-nav-height: 0px;
  --modern-header-total: 0px;
  --hh-fixed-header-height: var(--modern-header-total);
}

:root[data-modern-theme=dark] {
  color-scheme: dark;
  --modern-primary: #3d5aff;
  --modern-primary-strong: #9eb4ff;
  --modern-accent: #9eb4ff;
  --modern-cyan: #9eb4ff;
  --modern-gradient: linear-gradient(135deg, #3d5aff 0%, #3248c7 65%, #5b74ff 100%);
  --modern-gradient-lime: linear-gradient(135deg, rgba(208, 255, 0, 0.22) 0%, rgba(61, 90, 255, 0.24) 55%, rgba(5, 0, 26, 0) 100%);
  --modern-gradient-soft: linear-gradient(135deg, rgba(208, 255, 0, 0.15) 0%, rgba(61, 90, 255, 0.28) 100%);
  --modern-page: #3248c7;
  --modern-canvas:
      radial-gradient(920px 600px at 100% 0%, rgba(208, 255, 0, 0.22) 0%, rgba(208, 255, 0, 0) 54%),
      radial-gradient(880px 660px at 0% 100%, rgba(5, 0, 26, 0.65) 0%, rgba(5, 0, 26, 0) 64%),
      radial-gradient(760px 520px at 12% 10%, rgba(61, 90, 255, 0.48) 0%, rgba(61, 90, 255, 0) 60%),
      linear-gradient(145deg, #3248c7 0%, #2a3eb5 55%, #1d2b8a 100%);
  --modern-surface: #0b0624;
  --modern-surface-muted: #151038;
  --modern-border: rgba(255, 250, 245, 0.14);
  --modern-border-strong: rgba(255, 250, 245, 0.26);
  --modern-glass: rgba(5, 0, 26, 0.80);
  --modern-glass-strong: rgba(5, 0, 26, 0.94);
  --modern-ink: #fffaf5;
  --modern-ink-soft: rgba(255, 250, 245, 0.90);
  --modern-ink-muted: rgba(255, 250, 245, 0.72);
  --modern-ink-faint: rgba(255, 250, 245, 0.52);
  --modern-shadow-xs: 0 2px 8px rgba(5, 0, 26, 0.30);
  --modern-shadow-card: 0 28px 64px -28px rgba(5, 0, 26, 0.72), 0 2px 8px rgba(5, 0, 26, 0.38);
  --modern-shadow-card-hover: 0 38px 80px -28px rgba(5, 0, 26, 0.85), 0 4px 12px rgba(5, 0, 26, 0.45);
  --modern-shadow-pop: 0 32px 70px -26px rgba(5, 0, 26, 0.85);
  --modern-shadow-glow: 0 14px 32px -12px rgba(61, 90, 255, 0.55);
  --bs-body-bg: #3248c7;
  --bs-body-color: #fffaf5;
  --bs-heading-color: #fffaf5;
  --bs-emphasis-color: #fffaf5;
  --bs-secondary-color: rgba(255, 250, 245, 0.75);
  --bs-tertiary-color: rgba(255, 250, 245, 0.56);
  --bs-secondary-bg: #151038;
  --bs-tertiary-bg: #0b0624;
  --bs-border-color: rgba(255, 250, 245, 0.14);
  --bs-link-color: #9eb4ff;
  --bs-link-hover-color: #c7d5ff;
  --bs-accent: #9eb4ff;
  --bs-card-bg: #0b0624;
  --bs-card-border-color: rgba(255, 250, 245, 0.14);
  --bs-dropdown-bg: #05001a;
  --bs-dropdown-border-color: rgba(255, 250, 245, 0.16);
  --bs-dropdown-link-color: #fffaf5;
  --bs-dropdown-link-hover-color: #ffffff;
  --bs-dropdown-link-hover-bg: rgba(61, 90, 255, 0.30);
  --bs-modal-bg: #0b0624;
  --bs-table-bg: transparent;
  --bs-table-color: #fffaf5;
  --bs-table-border-color: rgba(255, 250, 245, 0.12);
  --bs-table-hover-bg: rgba(61, 90, 255, 0.18);
  --hh-text-color-main: #fffaf5;
  --hh-text-color-default: rgba(255, 250, 245, 0.90);
  --hh-text-color-secondary: rgba(255, 250, 245, 0.72);
  --hh-text-color-highlight: #fffaf5;
  --hh-text-color-soft: rgba(255, 250, 245, 0.66);
  --hh-text-color-soft2: rgba(255, 250, 245, 0.52);
  --hh-text-color-soft3: rgba(255, 250, 245, 0.36);
  --hh-background-color-main: #0b0624;
  --hh-background-color-secondary: #151038;
  --hh-background-color-page: #3248c7;
  --hh-background-color-highlight: rgba(61, 90, 255, 0.24);
  --hh-background-color-highlight-soft: rgba(61, 90, 255, 0.16);
}

@media (max-width: 767.98px) {
  :root {
    --modern-header-height: 0px;
    --modern-nav-height: 0px;
    --modern-header-total: 0px;
    --hh-fixed-header-height: 0px;
    --modern-shadow-card: 0 20px 44px -24px rgba(5, 0, 26, 0.30), 0 2px 6px rgba(5, 0, 26, 0.08);
  }
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400 900;
  font-display: block;
  src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2");
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--modern-font-body);
  background-color: var(--modern-page);
  background-image: var(--modern-canvas);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.005em;
}

h1,
.h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--modern-font-display);
  color: var(--modern-ink);
  letter-spacing: -0.03em;
}

a {
  transition: color 0.16s ease;
}

hr {
  border-color: var(--modern-border);
  opacity: 1;
}

::selection {
  background: rgba(59, 109, 255, 0.22);
}

:focus-visible {
  outline: 2px solid var(--modern-primary);
  outline-offset: 2px;
}

.navbar.topbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
}

#topbar-first {
  top: 12px;
  left: 14px;
  right: 14px;
  width: auto;
  height: var(--modern-header-height);
  border-radius: 22px;
  background: var(--modern-glass);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: var(--modern-ink);
  box-shadow: 0 22px 48px -28px rgba(45, 80, 160, 0.42), 0 2px 8px rgba(45, 80, 160, 0.05);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}
#topbar-first .container {
  display: flex;
  align-items: center;
  height: var(--modern-header-height);
  padding: 0 1rem;
}
#topbar-first .topbar-brand {
  display: flex;
  align-items: center;
  height: var(--modern-header-height);
}
#topbar-first a.navbar-brand {
  height: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
}
#topbar-first a.navbar-brand img#img-logo {
  max-height: 34px;
  width: auto;
  border-radius: 10px;
}
#topbar-first .navbar-brand-text {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  font-family: var(--modern-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--modern-ink);
}
#topbar-first .navbar-brand-text::before {
  content: var(--modern-brand-initial, "H");
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #cfe0ff;
  background: #e5efff;
  color: var(--modern-primary);
  font-family: var(--modern-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
#topbar-first .topbar-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}
#topbar-first .topbar-actions > .nav,
#topbar-first .nav {
  display: flex;
  align-items: center;
  float: none;
  gap: 4px;
}
#topbar-first .nav > li {
  float: none;
}
#topbar-first .nav > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  line-height: 1.2;
  border-radius: 12px;
  color: var(--modern-ink-muted);
  transition: background-color 0.18s ease, color 0.18s ease;
}
#topbar-first .nav > li > a:hover,
#topbar-first .nav > .open > a {
  background-color: var(--modern-surface-muted);
  color: var(--modern-primary-strong);
}
#topbar-first a:not(.dropdown-menu a) {
  color: var(--modern-ink);
}
#topbar-first .nav > .account {
  height: auto;
  margin-left: 10px;
}
#topbar-first .nav > .account > a,
#topbar-first .nav > .account.open > a {
  background: transparent !important;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
}
#topbar-first .nav > .account > a:hover,
#topbar-first .nav > .account.open > a:hover {
  background: var(--modern-surface-muted) !important;
}
#topbar-first .account .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  line-height: 1.15;
}
#topbar-first .account .dropdown-toggle::after {
  content: "\f0d7";
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 0 0 -2px;
  border: 0;
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--modern-ink-muted);
  vertical-align: middle;
}
#topbar-first .account .user-title {
  order: 1;
  text-align: left;
  max-width: 180px;
}
#topbar-first .account .user-title strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--modern-ink);
}
#topbar-first .account .user-title span {
  display: none;
}
#topbar-first .account #user-account-image {
  order: 0;
  margin: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e9f1ff;
  object-fit: cover;
}
#topbar-first .account .caret {
  display: none;
}
#topbar-first .notifications {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--modern-header-height);
  gap: 6px;
}
#topbar-first .notifications .btn-group {
  display: flex;
  align-items: center;
}
#topbar-first .notifications .btn-group > a,
#topbar-first .notifications .nav-link,
#topbar-first .notifications #icon-notifications {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--modern-surface-muted);
  color: var(--modern-primary-strong);
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.08);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
#topbar-first .notifications .btn-group > a:hover,
#topbar-first .notifications .nav-link:hover,
#topbar-first .notifications #icon-notifications:hover {
  background: #e9f1ff;
  color: var(--modern-primary);
  transform: translateY(-1px);
}
#topbar-first .notifications .btn-group > .badge,
#topbar-first .notifications #badge-notifications {
  background: var(--modern-gradient-pink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.42rem;
  box-shadow: 0 0 0 2px #ffffff;
}
#topbar-first .notifications .dropdown-toggle::after {
  display: none;
}
#topbar-first .notifications .dropdown-menu {
  width: min(420px, 100vw - 24px);
  margin-top: 8px;
  margin-left: 0;
  left: 50%;
  transform: translateX(-50%);
}
#topbar-first .dropdown-menu {
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius);
  box-shadow: var(--modern-shadow-pop);
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  padding: 0.45rem;
}
#topbar-first .dropdown-menu .arrow {
  display: none;
}
#topbar-first .dropdown-menu .dropdown-header {
  color: var(--modern-ink);
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-family: var(--modern-font-display);
  font-weight: 800;
}
#topbar-first .dropdown-menu .hh-list > div,
#topbar-first .dropdown-menu .hh-list > a {
  color: var(--modern-ink-soft);
  border-radius: var(--modern-radius-xs);
  padding: 0.65rem 0.8rem;
}
#topbar-first .dropdown-menu .hh-list > div:hover,
#topbar-first .dropdown-menu .hh-list > a:hover {
  background: var(--modern-surface-muted) !important;
}
#topbar-first .dropdown-menu .hh-list > div.new time,
#topbar-first .dropdown-menu .hh-list > a.new time {
  color: var(--modern-accent);
}
#topbar-first .dropdown-menu .hh-list > div:not(.new) > a,
#topbar-first .dropdown-menu .hh-list > div:not(.new) strong,
#topbar-first .dropdown-menu .hh-list > a:not(.new) > a,
#topbar-first .dropdown-menu .hh-list > a:not(.new) strong {
  color: var(--modern-ink-muted);
}
#topbar-first .dropdown-menu .dropdown-footer {
  padding: 0.5rem 0.4rem 0.2rem;
}
#topbar-first .dropdown-menu .dropdown-footer .btn {
  width: 100%;
}
#topbar-first .dropdown-toggle::after {
  display: none;
}

#topbar-second {
  top: 82px;
  left: 14px;
  right: 14px;
  width: auto;
  height: var(--modern-nav-height);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -30px rgba(45, 80, 160, 0.42), 0 1px 4px rgba(45, 80, 160, 0.04);
}
#topbar-second .container {
  display: flex;
  align-items: center;
  height: var(--modern-nav-height);
  padding: 0 0.85rem;
}
#topbar-second #top-menu-nav,
#topbar-second #search-menu-nav,
#topbar-second .nav {
  display: flex;
  align-items: center;
  float: none;
  gap: 3px;
}
#topbar-second #search-menu-nav {
  margin-left: auto;
}
#topbar-second .nav > li {
  float: none;
}
#topbar-second .nav > li.nav-item > a.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  margin: 6px 2px;
  padding: 5px 14px;
  border: 0 !important;
  border-radius: 14px;
  background: transparent;
  color: var(--modern-ink-muted);
  font-family: var(--modern-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.15;
  text-transform: none;
  text-shadow: none;
  letter-spacing: 0;
  transition: color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
#topbar-second .nav > li.nav-item > a.nav-link br {
  display: none;
}
#topbar-second .nav > li.nav-item > a.nav-link i {
  font-size: 1rem;
  line-height: 1.1;
  color: currentColor;
  transition: color 0.16s ease;
}
#topbar-second .nav > li.nav-item > a.nav-link:hover, #topbar-second .nav > li.nav-item > a.nav-link:focus, #topbar-second .nav > li.nav-item > a.nav-link:active {
  background: var(--modern-surface-muted);
  color: var(--modern-primary-strong);
  border: 0 !important;
}
#topbar-second .nav > li.nav-item > a.nav-link.active {
  background: #e9f1ff;
  color: var(--modern-primary-strong);
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.12);
}
#topbar-second #space-menu {
  flex-direction: row;
  gap: 8px;
  min-height: 42px;
  margin: 7px 8px 7px 0;
  padding: 4px 12px 4px 5px;
  border: 1px solid var(--modern-border) !important;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
}
#topbar-second #space-menu > img,
#topbar-second #space-menu > .space-acronym,
#topbar-second #space-menu > .current-space-image {
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}
#topbar-second #space-menu .no-space {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.1;
}
#topbar-second #space-menu .no-space br {
  display: none;
}
#topbar-second #space-menu .no-space i {
  font-size: 1rem;
  color: var(--modern-primary-strong);
}
#topbar-second #space-menu::after {
  content: "\f0d7";
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 -2px 0 0;
  border: 0;
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 0.65rem;
  line-height: 1;
  color: var(--modern-ink-faint);
  vertical-align: middle;
}
#topbar-second #space-menu:hover {
  background: #e9f1ff;
}
#topbar-second #search-menu {
  flex-direction: row;
  min-width: 44px;
  padding: 0 14px;
  font-size: 0.95rem;
}
#topbar-second #search-menu::after {
  display: none;
}
#topbar-second #search-menu i {
  font-size: 1rem;
}
#topbar-second .dropdown-menu {
  margin-top: 12px;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius);
  box-shadow: var(--modern-shadow-pop);
  padding: 0.45rem;
}
#topbar-second .dropdown-menu .dropdown-header {
  padding: 0.7rem 0.8rem;
  margin: 0;
  font-family: var(--modern-font-display);
  font-weight: 800;
}
#topbar-second .dropdown-menu .hh-list > div,
#topbar-second .dropdown-menu .hh-list > a {
  border-radius: var(--modern-radius-xs);
  padding: 0.6rem 0.75rem;
}
#topbar-second .dropdown-menu .hh-list > div:hover,
#topbar-second .dropdown-menu .hh-list > a:hover {
  background-color: var(--modern-surface-muted) !important;
}
#topbar-second .dropdown-menu .dropdown-footer {
  padding: 0.5rem 0.4rem 0.2rem;
}
#topbar-second .dropdown-menu .dropdown-footer .btn {
  width: 100%;
}
#topbar-second #space-menu-dropdown,
#topbar-second #search-menu-dropdown,
#topbar-second #dropdown-search {
  width: min(420px, 100vw - 24px);
}
#topbar-second #dropdown-search .dropdown-search-form {
  padding: 0.25rem 0.4rem 0.5rem;
}

.dropdown-menu {
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius);
  box-shadow: var(--modern-shadow-pop);
  padding: 0.45rem;
  background: var(--modern-surface);
}
.dropdown-menu .dropdown-header {
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-weight: 800;
  border: 0;
}
.dropdown-menu .dropdown-divider {
  border-color: var(--modern-border);
  opacity: 1;
  margin: 0.35rem 0.3rem;
}
.dropdown-menu li {
  border-left: 0 !important;
}
.dropdown-menu li:first-child {
  margin-top: 0;
}
.dropdown-menu li:last-child {
  margin-bottom: 0;
}
.dropdown-menu li a,
.dropdown-menu li a.dropdown-item,
.dropdown-menu li .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--modern-radius-xs);
  color: var(--modern-ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: normal;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown-menu li a i,
.dropdown-menu li a.dropdown-item i,
.dropdown-menu li .dropdown-item i {
  width: 1.15rem;
  margin-right: 0;
  color: var(--modern-ink-muted);
  text-align: center;
}
.dropdown-menu li a:hover, .dropdown-menu li a:focus,
.dropdown-menu li a.dropdown-item:hover,
.dropdown-menu li a.dropdown-item:focus,
.dropdown-menu li .dropdown-item:hover,
.dropdown-menu li .dropdown-item:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
}
.dropdown-menu li:hover, .dropdown-menu li.selected {
  border-left: 0 !important;
  background: transparent !important;
}
.dropdown-menu li:hover > a, .dropdown-menu li.selected > a {
  background: var(--modern-surface-muted);
}

.account .dropdown-menu,
.nav-pills .dropdown-menu,
.nav-tabs .dropdown-menu {
  background: var(--modern-surface);
  border: 1px solid var(--modern-border);
}
.account .dropdown-menu li,
.nav-pills .dropdown-menu li,
.nav-tabs .dropdown-menu li {
  border-left: 0 !important;
}
.account .dropdown-menu li:hover, .account .dropdown-menu li.selected,
.nav-pills .dropdown-menu li:hover,
.nav-pills .dropdown-menu li.selected,
.nav-tabs .dropdown-menu li:hover,
.nav-tabs .dropdown-menu li.selected {
  border-left: 0 !important;
  background: transparent !important;
}
.account .dropdown-menu li a,
.account .dropdown-menu li a.link,
.account .dropdown-menu li a.dropdown-item,
.account .dropdown-menu li .dropdown-item,
.nav-pills .dropdown-menu li a,
.nav-pills .dropdown-menu li a.link,
.nav-pills .dropdown-menu li a.dropdown-item,
.nav-pills .dropdown-menu li .dropdown-item,
.nav-tabs .dropdown-menu li a,
.nav-tabs .dropdown-menu li a.link,
.nav-tabs .dropdown-menu li a.dropdown-item,
.nav-tabs .dropdown-menu li .dropdown-item {
  color: var(--modern-ink-soft) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem !important;
}
.account .dropdown-menu li a i,
.account .dropdown-menu li a.link i,
.account .dropdown-menu li a.dropdown-item i,
.account .dropdown-menu li .dropdown-item i,
.nav-pills .dropdown-menu li a i,
.nav-pills .dropdown-menu li a.link i,
.nav-pills .dropdown-menu li a.dropdown-item i,
.nav-pills .dropdown-menu li .dropdown-item i,
.nav-tabs .dropdown-menu li a i,
.nav-tabs .dropdown-menu li a.link i,
.nav-tabs .dropdown-menu li a.dropdown-item i,
.nav-tabs .dropdown-menu li .dropdown-item i {
  margin-right: 0.4rem;
  color: var(--modern-ink-muted);
}
.account .dropdown-menu li a:hover, .account .dropdown-menu li a:focus,
.account .dropdown-menu li a.link:hover,
.account .dropdown-menu li a.link:focus,
.account .dropdown-menu li a.dropdown-item:hover,
.account .dropdown-menu li a.dropdown-item:focus,
.account .dropdown-menu li .dropdown-item:hover,
.account .dropdown-menu li .dropdown-item:focus,
.nav-pills .dropdown-menu li a:hover,
.nav-pills .dropdown-menu li a:focus,
.nav-pills .dropdown-menu li a.link:hover,
.nav-pills .dropdown-menu li a.link:focus,
.nav-pills .dropdown-menu li a.dropdown-item:hover,
.nav-pills .dropdown-menu li a.dropdown-item:focus,
.nav-pills .dropdown-menu li .dropdown-item:hover,
.nav-pills .dropdown-menu li .dropdown-item:focus,
.nav-tabs .dropdown-menu li a:hover,
.nav-tabs .dropdown-menu li a:focus,
.nav-tabs .dropdown-menu li a.link:hover,
.nav-tabs .dropdown-menu li a.link:focus,
.nav-tabs .dropdown-menu li a.dropdown-item:hover,
.nav-tabs .dropdown-menu li a.dropdown-item:focus,
.nav-tabs .dropdown-menu li .dropdown-item:hover,
.nav-tabs .dropdown-menu li .dropdown-item:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-ink) !important;
}

.modal-content {
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-xl);
  box-shadow: var(--modern-shadow-pop);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--modern-border);
  padding: 1.2rem 1.5rem;
}
.modal-header .modal-title {
  font-family: var(--modern-font-display);
  font-weight: 800;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid var(--modern-border);
  padding: 1rem 1.5rem;
}

.tooltip-inner {
  border-radius: 9px;
  padding: 0.4rem 0.65rem;
  font-weight: 500;
}

.popover {
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius);
  box-shadow: var(--modern-shadow-pop);
}
.popover .popover-header {
  font-family: var(--modern-font-display);
  font-weight: 800;
  border-bottom-color: var(--modern-border);
}

.btn {
  border-radius: 999px;
  font-family: var(--modern-font-body);
  font-weight: 700;
  letter-spacing: 0.005em;
  padding: 0.6rem 1.15rem;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn > .fa,
.btn > .fas,
.btn > .far {
  line-height: 1;
}

.btn-primary {
  background: var(--modern-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--modern-shadow-glow);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  background: linear-gradient(135deg, #2f5fe8 0%, #2f8fe8 55%, #2fa8e0 135%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 34px -14px rgba(59, 109, 255, 0.7);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #7ad4ff 100%);
  border-color: transparent;
  color: var(--modern-ink);
  box-shadow: 0 12px 26px -14px rgba(56, 189, 248, 0.8);
}
.btn-accent:hover, .btn-accent:focus, .btn-accent:active {
  background: linear-gradient(135deg, #22a8e6 0%, #5ac6f7 100%);
  border-color: transparent;
  color: var(--modern-ink);
  transform: translateY(-1px);
}

.btn-success {
  background: var(--modern-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--modern-shadow-glow);
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
  background: linear-gradient(135deg, #2f5fe8 0%, #2f8fe8 55%, #2fa8e0 135%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 34px -14px rgba(59, 109, 255, 0.7);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #d92d20 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(217, 45, 32, 0.6);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background: linear-gradient(135deg, #d92d20 0%, #b42318 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.btn-warning {
  background: linear-gradient(135deg, #ffb648 0%, #ff9a1f 100%);
  border-color: transparent;
  color: var(--modern-ink);
  box-shadow: 0 12px 26px -14px rgba(255, 154, 31, 0.55);
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background: linear-gradient(135deg, #ff9a1f 0%, #f08400 100%);
  border-color: transparent;
  color: var(--modern-ink);
  transform: translateY(-1px);
}

.btn-info {
  background: linear-gradient(135deg, #43c6f5 0%, #7ad4ff 100%);
  border-color: transparent;
  color: var(--modern-ink);
  box-shadow: 0 12px 26px -14px rgba(67, 198, 245, 0.6);
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
  background: linear-gradient(135deg, #22a8e6 0%, #5ac6f7 100%);
  border-color: transparent;
  color: var(--modern-ink);
  transform: translateY(-1px);
}

.btn-light,
.btn-default {
  background: #fff;
  border: 1px solid var(--modern-border);
  color: var(--modern-ink-soft);
  box-shadow: var(--modern-shadow-xs);
}
.btn-light:hover, .btn-light:focus, .btn-light:active,
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background: var(--modern-surface-muted);
  border-color: var(--modern-border-strong);
  color: var(--modern-primary-strong);
}

.btn-secondary {
  background: var(--modern-surface-muted);
  border-color: transparent;
  color: var(--modern-ink-soft);
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background: #e9f1ff;
  color: var(--modern-primary-strong);
}

.btn-outline-secondary {
  border-color: var(--modern-border-strong);
  color: var(--modern-ink-soft);
}
.btn-outline-secondary:hover {
  background: var(--modern-surface-muted);
  border-color: var(--modern-border-strong);
  color: var(--modern-primary-strong);
}

.btn-icon-only,
.btn.btn-icon-only {
  border-radius: var(--modern-radius-sm);
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-group > .btn:first-child {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.btn-group > .btn:last-child {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.btn-group > .btn.btn-icon-only {
  border-radius: 50%;
}

.btn-sm, .btn-group-sm > .btn {
  padding: 0.42rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.btn-lg, .btn-group-lg > .btn {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
  border-radius: 999px;
}

label {
  color: var(--modern-ink-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

.form-control,
.form-select,
select.form-control,
textarea.form-control {
  background-color: var(--modern-surface-muted);
  border: 1px solid transparent;
  border-radius: var(--modern-radius-sm);
  color: var(--modern-ink);
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  font-size: 0.9375rem;
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.06);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.form-control::placeholder,
.form-select::placeholder,
select.form-control::placeholder,
textarea.form-control::placeholder {
  color: var(--modern-ink-faint) !important;
}
.form-control:focus, .form-control:focus-visible,
.form-select:focus,
.form-select:focus-visible,
select.form-control:focus,
select.form-control:focus-visible,
textarea.form-control:focus,
textarea.form-control:focus-visible {
  background-color: #fff;
  border-color: #a9c6ff;
  box-shadow: 0 0 0 4px rgba(59, 109, 255, 0.13);
  outline: 0;
}
.form-control:disabled, .form-control[readonly],
.form-select:disabled,
.form-select[readonly],
select.form-control:disabled,
select.form-control[readonly],
textarea.form-control:disabled,
textarea.form-control[readonly] {
  background-color: #edf4ff;
  color: var(--modern-ink-muted);
}

.form-select,
select.form-control:not([multiple]) {
  border-radius: var(--modern-radius-sm);
  background-position: right 0.9rem center;
}

.form-control-sm,
.form-select-sm {
  min-height: 36px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8125rem;
  border-radius: var(--modern-radius-xs);
}

.form-control-lg,
.form-select-lg {
  min-height: 52px;
  padding: 0.8rem 1.1rem;
  font-size: 1rem;
}

.input-group-text {
  background: var(--modern-surface-muted);
  border: 1px solid transparent;
  border-radius: var(--modern-radius-sm);
  color: var(--modern-ink-muted);
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.06);
}

.form-check-input {
  border-color: var(--modern-border-strong);
  background-color: var(--modern-surface-muted);
}
.form-check-input:checked {
  background-color: var(--modern-primary);
  border-color: var(--modern-primary);
}
.form-check-input:focus {
  border-color: #a9c6ff;
  box-shadow: 0 0 0 4px rgba(59, 109, 255, 0.13);
}

.form-group-search::before {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  color: var(--modern-ink-faint);
  left: 14px;
  top: 12px;
}

.form-search,
input.form-search {
  border-radius: 999px !important;
  padding-left: 2.35rem;
}

input[type=checkbox]:checked::after {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
}

.panel,
.card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--modern-radius-xl);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.panel {
  margin-bottom: 1.35rem;
}
.panel h1, .panel .h1 {
  color: var(--modern-ink);
  font-weight: 800;
}
.panel .panel-heading {
  padding: 1.15rem 1.45rem 0.9rem;
  border-bottom: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-xl) var(--modern-radius-xl) 0 0;
  background: transparent;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panel .panel-heading .panel-title {
  font-family: var(--modern-font-display);
  font-weight: 800;
}
.panel .panel-heading .heading-link {
  color: var(--modern-primary) !important;
  font-size: 0.75rem;
  font-weight: 700;
}
.panel .panel-body {
  padding: 1.35rem 1.45rem;
  font-size: 0.9375rem;
  color: var(--modern-ink-soft);
}
.panel .panel-body p {
  color: var(--modern-ink-soft);
}

.wall-entry .panel {
  border-radius: var(--modern-radius-xl);
}
.wall-entry .panel:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--modern-shadow-card-hover);
}
.wall-entry .panel .panel-body {
  padding: 1.35rem 1.45rem;
}
.wall-entry .wall-entry-header {
  border-bottom: 0;
  margin-bottom: 0.85rem;
  padding-bottom: 0;
}
.wall-entry .wall-entry-header h4, .wall-entry .wall-entry-header .h4 {
  font-family: var(--modern-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--modern-ink);
  letter-spacing: -0.02em;
}
.wall-entry .wall-entry-header h5, .wall-entry .wall-entry-header .h5,
.wall-entry .wall-entry-header h5 a .time,
.wall-entry .wall-entry-header .time,
.wall-entry .wall-entry-header i,
.wall-entry .wall-entry-header span {
  color: var(--modern-ink-muted);
}
.wall-entry .wall-entry-header .wall-entry-header-image .fa {
  font-size: 2.1em;
  color: var(--modern-primary);
}
.wall-entry .wall-entry-header img,
.wall-entry .wall-entry-header .img-rounded {
  box-shadow: 0 0 0 3px #eaf2ff;
}
.wall-entry .wall-entry-body .wall-entry-content {
  color: var(--modern-ink-soft);
  font-size: 1rem;
  line-height: 1.68;
}
.wall-entry .wall-entry-body .wall-entry-content .post-short-text {
  font-family: var(--modern-font-display);
  font-weight: 700;
}
.wall-entry .wall-entry-body .wall-entry-content img,
.wall-entry .wall-entry-body .wall-entry-content .img-responsive {
  border-radius: var(--modern-radius);
}

.wall-entry-footer .wall-entry-controls,
.wall-entry-body > .wall-entry-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--modern-border);
  font-size: 0;
}
.wall-entry-footer .wall-entry-controls a,
.wall-entry-footer .wall-entry-controls button,
.wall-entry-body > .wall-entry-controls a,
.wall-entry-body > .wall-entry-controls button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: transparent;
  border: 0;
}
.wall-entry-footer .wall-entry-controls a:hover,
.wall-entry-footer .wall-entry-controls button:hover,
.wall-entry-body > .wall-entry-controls a:hover,
.wall-entry-body > .wall-entry-controls button:hover {
  color: var(--modern-primary);
  background: var(--modern-surface-muted);
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"],
.wall-entry-footer .wall-entry-controls .likeAnchor,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"],
.wall-entry-body > .wall-entry-controls .likeAnchor {
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--modern-border);
  background: var(--modern-surface-muted);
  font-size: 0;
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"]::before,
.wall-entry-footer .wall-entry-controls .likeAnchor::before,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"]::before,
.wall-entry-body > .wall-entry-controls .likeAnchor::before {
  display: inline-block;
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--modern-primary-strong);
  order: 0;
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"]::after,
.wall-entry-footer .wall-entry-controls .likeAnchor::after,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"]::after,
.wall-entry-body > .wall-entry-controls .likeAnchor::after {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
  order: 1;
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"]:hover,
.wall-entry-footer .wall-entry-controls .likeAnchor:hover,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"]:hover,
.wall-entry-body > .wall-entry-controls .likeAnchor:hover {
  background: #e9f1ff;
  border-color: #cfe0ff;
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"] .comment-count,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"] .comment-count {
  order: 2;
  font-size: 0.8rem;
  color: var(--modern-ink-muted);
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"]::before,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"]::before {
  content: "\f086";
  font-weight: 400;
}
.wall-entry-footer .wall-entry-controls .link[data-action-click="comment.toggleComment"]::after,
.wall-entry-body > .wall-entry-controls .link[data-action-click="comment.toggleComment"]::after {
  content: "Comentar";
}
.wall-entry-footer .wall-entry-controls .likeAnchor::before,
.wall-entry-body > .wall-entry-controls .likeAnchor::before {
  content: "\f164";
  font-weight: 900;
}
.wall-entry-footer .wall-entry-controls .likeAnchor::after,
.wall-entry-body > .wall-entry-controls .likeAnchor::after {
  content: "Curtir";
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer,
.wall-entry-body > .wall-entry-controls .likeLinkContainer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--modern-border);
  border-radius: 999px;
  background: var(--modern-surface-muted);
  font-size: 0;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer:hover,
.wall-entry-body > .wall-entry-controls .likeLinkContainer:hover {
  background: #e9f1ff;
  border-color: #cfe0ff;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer > .likeAnchor,
.wall-entry-body > .wall-entry-controls .likeLinkContainer > .likeAnchor {
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer > .likeAnchor:hover,
.wall-entry-body > .wall-entry-controls .likeLinkContainer > .likeAnchor:hover {
  background: transparent;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer > .likeAnchor::before,
.wall-entry-body > .wall-entry-controls .likeLinkContainer > .likeAnchor::before {
  order: 0;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer > .likeAnchor::after,
.wall-entry-body > .wall-entry-controls .likeLinkContainer > .likeAnchor::after {
  order: 1;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer > a:not(.likeAnchor),
.wall-entry-body > .wall-entry-controls .likeLinkContainer > a:not(.likeAnchor) {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer > a:not(.likeAnchor):hover,
.wall-entry-body > .wall-entry-controls .likeLinkContainer > a:not(.likeAnchor):hover {
  background: transparent;
}
.wall-entry-footer .wall-entry-controls .likeLinkContainer .likeCount,
.wall-entry-body > .wall-entry-controls .likeLinkContainer .likeCount {
  order: 2;
  font-size: 0.8rem;
  color: var(--modern-ink-muted);
}

.comment .wall-entry-controls {
  display: flex;
  align-items: center;
  margin-top: 0.3rem;
  padding-top: 0;
  border-top: 0;
  font-size: 0;
}
.comment .wall-entry-controls .link[data-action-click="comment.toggleComment"] {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
}
.comment .wall-entry-controls .link[data-action-click="comment.toggleComment"]::before {
  content: none;
}
.comment .wall-entry-controls .link[data-action-click="comment.toggleComment"]::after {
  content: "Responder";
  order: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--modern-primary);
}
.comment .wall-entry-controls .link[data-action-click="comment.toggleComment"] .comment-count {
  display: none;
}
.comment .wall-entry-controls .likeAnchor,
.comment .wall-entry-controls .likeLinkContainer {
  display: none;
}

.well,
.comment {
  border: 1px solid transparent;
  border-radius: var(--modern-radius);
  background: var(--modern-surface-muted);
}

.comment {
  padding: 0.85rem 1rem;
}
.comment img,
.comment .img-rounded {
  box-shadow: 0 0 0 3px #fff;
}

.comment-entry .media-body,
.comment-entry .comment-message {
  font-size: 0.9rem;
}

#wallStream .back_button_holder {
  margin-bottom: 0.5rem;
}

#contentFormBody:not(#contentFormBodyModal),
#contentFormBodyModal:not(#contentFormBodyModal) {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
#contentFormBody:not(#contentFormBodyModal)::before,
#contentFormBodyModal:not(#contentFormBodyModal)::before {
  content: var(--modern-account-initial, "U");
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #e5efff;
  color: var(--modern-primary);
  border: 1px solid #cfe0ff;
  font-family: var(--modern-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}
#contentFormBody:not(#contentFormBodyModal) > form,
#contentFormBodyModal:not(#contentFormBodyModal) > form {
  flex: 1 1 auto;
  min-width: 0;
}
#contentFormBody .ProseMirror,
#contentFormBodyModal .ProseMirror {
  min-height: 58px;
  padding: 0.85rem 1rem;
  border-radius: var(--modern-radius) !important;
  border: 1px solid transparent;
  background: var(--modern-surface-muted);
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.07);
}
#contentFormBody:focus-within .ProseMirror,
#contentFormBodyModal:focus-within .ProseMirror {
  background: #fff;
  border-color: #a9c6ff;
  box-shadow: 0 0 0 4px rgba(59, 109, 255, 0.1);
}
#contentFormBody .ProseMirror-menubar,
#contentFormBodyModal .ProseMirror-menubar {
  border-radius: var(--modern-radius-sm);
  background: #fff;
  border: 1px solid var(--modern-border);
}
#contentFormBody .contentForm_options,
#contentFormBodyModal .contentForm_options {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
#contentFormBody .contentForm_options > hr,
#contentFormBodyModal .contentForm_options > hr {
  display: none;
}
#contentFormBody .contentForm_options .btn_container,
#contentFormBodyModal .contentForm_options .btn_container {
  display: contents;
}
#contentFormBody .contentForm_options .btn_container > .btn-group,
#contentFormBodyModal .contentForm_options .btn_container > .btn-group {
  order: 0;
  margin: 0;
}
#contentFormBody .contentForm_options #post_submit_button,
#contentFormBodyModal .contentForm_options #post_submit_button {
  order: 3;
  margin-left: 0;
  background: var(--modern-gradient);
  color: #fff;
  box-shadow: var(--modern-shadow-glow);
}
#contentFormBody .contentForm_options #post_submit_button:hover, #contentFormBody .contentForm_options #post_submit_button:focus, #contentFormBody .contentForm_options #post_submit_button:active,
#contentFormBodyModal .contentForm_options #post_submit_button:hover,
#contentFormBodyModal .contentForm_options #post_submit_button:focus,
#contentFormBodyModal .contentForm_options #post_submit_button:active {
  background: linear-gradient(135deg, #2f5fe8 0%, #2f8fe8 55%, #2fa8e0 135%);
  color: #fff;
}
#contentFormBody .contentForm_options .float-end,
#contentFormBodyModal .contentForm_options .float-end {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  float: none !important;
  margin: 0 0 0 auto;
}
#contentFormBody .contentForm_options .badge-container,
#contentFormBodyModal .contentForm_options .badge-container {
  position: static;
  margin: 0;
}
#contentFormBody .contentForm_options .nav-pills,
#contentFormBodyModal .contentForm_options .nav-pills {
  position: static;
  margin: 0;
}
#contentFormBody .btn,
#contentFormBodyModal .btn {
  box-shadow: none;
}

#wall-stream-filter-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px -26px rgba(45, 80, 160, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#wall-stream-filter-nav .wall-stream-filter-head {
  border-bottom: 0;
  padding: 0.15rem 0.35rem;
}
#wall-stream-filter-nav .wall-stream-filter-body {
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
#wall-stream-filter-nav .nav-pills {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.layout-sidebar-container .panel {
  border-radius: var(--modern-radius-lg);
}
.layout-sidebar-container .panel > .panel-heading {
  padding: 1.05rem 1.25rem;
  font-family: var(--modern-font-body);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--modern-ink-muted);
  background: transparent;
  border-bottom: 1px solid var(--modern-border);
}
.layout-sidebar-container .panel > .panel-body {
  padding: 1.1rem 1.25rem;
}
.layout-sidebar-container .panel-body {
  font-size: 0.875rem;
}
.layout-sidebar-container .media,
.layout-sidebar-container .activity,
.layout-sidebar-container .hh-list > div {
  padding: 0.5rem 0;
}
.layout-sidebar-container img.img-rounded,
.layout-sidebar-container .img-rounded {
  box-shadow: 0 0 0 3px #eaf2ff;
}

.modern-about-card .panel-body,
.modern-members-card .panel-body {
  padding: 1.1rem 1.25rem;
}

.modern-about-card p {
  margin: 0 0 0.9rem;
  color: var(--modern-ink-soft);
  line-height: 1.6;
}

.modern-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.modern-about-tags .badge {
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.modern-badge-soft {
  background: #e9f2ff !important;
  color: #2f6bff !important;
}

.modern-badge-sky {
  background: #e3f5ff !important;
  color: #1f8fe0 !important;
}

.modern-members {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.modern-members img,
.modern-members .img-rounded {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.modern-member-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.modern-member-more:hover {
  background: #e9f1ff;
  color: var(--modern-primary);
}

.modern-members-card .panel-heading .badge {
  margin-left: 0.35rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0;
  text-transform: none;
}

.nav-tabs {
  border-bottom: 0;
  gap: 0.25rem;
}

.tab-menu {
  background: var(--modern-surface);
  border-radius: var(--modern-radius-lg);
  box-shadow: var(--modern-shadow-card);
  padding: 0.4rem;
  margin-bottom: 1.35rem;
}
.tab-menu .nav-tabs {
  padding: 0;
  border-bottom: 0;
  gap: 0.2rem;
}
.tab-menu .nav-tabs .nav-link,
.tab-menu > .nav-tabs .nav-link {
  max-height: none;
  padding: 0.7rem 1.1rem;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--modern-ink-muted);
  font-family: var(--modern-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.tab-menu .nav-tabs .nav-link:hover, .tab-menu .nav-tabs .nav-link:focus,
.tab-menu > .nav-tabs .nav-link:hover,
.tab-menu > .nav-tabs .nav-link:focus {
  color: var(--modern-primary-strong);
  background: var(--modern-surface-muted) !important;
}
.tab-menu .nav-tabs .nav-link.active,
.tab-menu > .nav-tabs .nav-link.active {
  color: var(--modern-primary-strong);
  background: #e9f1ff !important;
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.1);
}

ul.tab-menu,
.tab-menu-settings {
  background: var(--modern-surface);
  border-radius: var(--modern-radius-lg);
}

.nav-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.nav-pills .nav-link {
  border-radius: 999px;
  padding: 0.48rem 1rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--modern-ink-muted);
}
.nav-pills .nav-link:hover {
  background: #e9f1ff;
  color: var(--modern-primary-strong);
}
.nav-pills .nav-link.active {
  background: var(--modern-gradient);
  color: #fff;
  box-shadow: 0 10px 20px -14px rgba(59, 109, 255, 0.8);
}

.panel .nav-pills,
.tab-menu .nav-pills,
.dropdown-menu .nav-pills {
  background: transparent;
  box-shadow: none;
}

.pagination {
  gap: 0.3rem;
}
.pagination .page-link {
  border: 1px solid var(--modern-border);
  border-radius: 12px;
  color: var(--modern-ink-soft);
  font-weight: 700;
  padding: 0.48rem 0.8rem;
}
.pagination .page-link:hover {
  background: var(--modern-surface-muted);
  border-color: var(--modern-border-strong);
  color: var(--modern-primary);
}
.pagination .page-item.active .page-link {
  background: var(--modern-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px -14px rgba(59, 109, 255, 0.8);
}
.pagination .page-item.disabled .page-link {
  background: transparent;
  border-color: var(--modern-border);
  color: var(--modern-ink-faint);
}

.badge {
  font-family: var(--modern-font-body);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  vertical-align: middle;
  background: #e3eeff;
  color: var(--modern-primary-strong);
}

.text-bg-primary {
  background: #e9f1ff !important;
  color: var(--modern-primary-strong) !important;
}

.badge-space,
.badge-space-chooser {
  margin-top: 0;
}

.list-group-item {
  border: 1px solid var(--modern-border);
  padding: 0.8rem 1rem;
  color: var(--modern-ink-soft);
}
.list-group-item:first-child {
  border-top-left-radius: var(--modern-radius-sm);
  border-top-right-radius: var(--modern-radius-sm);
}
.list-group-item:last-child {
  border-bottom-left-radius: var(--modern-radius-sm);
  border-bottom-right-radius: var(--modern-radius-sm);
}
.list-group-item.active {
  background: #e9f1ff;
  border-color: #d9e8ff;
  color: var(--modern-primary-strong);
}

.card {
  overflow: hidden;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--modern-shadow-card-hover);
  transform: translateY(-2px);
}
.card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--modern-border);
  font-family: var(--modern-font-display);
  font-weight: 800;
}
.card .card-footer {
  background: transparent;
  border-top: 1px solid var(--modern-border);
}

.container-cards .card {
  border-radius: var(--modern-radius-lg);
}

.panel-profile {
  border-radius: var(--modern-radius-xl);
  overflow: hidden;
}
.panel-profile .panel-profile-header {
  border: 0;
  border-radius: 0;
}
.panel-profile .panel-profile-header .img-profile-header-background {
  border-radius: 0;
  min-height: 160px;
}
.panel-profile .panel-profile-header .img-profile-data {
  border-radius: 0;
  background: linear-gradient(to bottom, rgba(22, 35, 61, 0) 0%, rgba(22, 35, 61, 0.12) 45%, rgba(22, 35, 61, 0.5) 100%);
  padding-top: 44px;
}
.panel-profile .panel-profile-header .profile-usermenu {
  border-radius: 0 0 var(--modern-radius-xl) var(--modern-radius-xl);
}

#space-header-controls-menu .dropdown-menu {
  min-width: 244px;
  max-width: min(320px, 100vw - 32px);
  z-index: 1060;
}
#space-header-controls-menu .dropdown-item {
  white-space: normal;
  line-height: 1.35;
  padding-right: 1rem;
}

.space-acronym,
.img-space {
  border-radius: 50%;
}

.img-rounded,
img.img-rounded {
  border-radius: 50%;
}

.badge.bg-success,
.text-bg-success {
  background-color: var(--bs-success) !important;
}

body.login-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 0 !important;
  background-color: var(--modern-page);
}
body.login-container:not(.login-layout-background) {
  background-image: var(--modern-canvas);
  background-attachment: fixed;
}
body.login-container > .container:first-of-type,
body.login-container > .container-login {
  margin-top: auto;
  margin-bottom: auto;
}

.login-container {
  padding-top: 0;
}
.login-container h1#app-title, .login-container #app-title.h1 {
  font-family: var(--modern-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--modern-ink) !important;
  text-shadow: 0 12px 40px rgba(255, 255, 255, 0.55);
}
.login-container #img-logo {
  border-radius: var(--modern-radius);
  filter: drop-shadow(0 20px 45px rgba(45, 80, 160, 0.3));
}
.login-container .panel {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 44px 90px -38px rgba(30, 60, 130, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.login-container #login-form.panel .panel-heading {
  padding: 1.85rem 2rem 0.4rem;
  border: 0;
  background: transparent;
  text-align: center;
}
.login-container #login-form.panel .panel-heading strong {
  font-family: var(--modern-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--modern-ink) !important;
}
.login-container #login-form.panel .panel-body {
  padding: 1.1rem 2rem 2rem;
}
.login-container #login-form.panel p.mb-2 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}
.login-container #auth-choice-panel .panel-body {
  padding: 1.1rem 1.5rem;
}
.login-container .text {
  color: var(--modern-ink-muted);
}
.login-container .text a {
  color: var(--modern-primary-strong);
  text-decoration: none;
  font-weight: 700;
}
.login-container .text a:hover {
  text-decoration: underline;
}
.login-container .language-chooser .language-chooser-toggle {
  color: var(--modern-ink-muted);
  opacity: 0.95;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #bcd0ea transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #bcd0ea;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #a5bfdd;
  background-clip: content-box;
}

.modern-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1035;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 88px;
  padding: 1.9rem 0 1.6rem;
  border: 0;
  border-right: 1px solid var(--modern-border);
  border-radius: 0;
  background: var(--modern-surface);
  box-shadow: 14px 0 40px -34px rgba(22, 35, 61, 0.45);
}

.modern-rail-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  border-radius: 15px;
  background: var(--modern-gradient);
  color: #fff;
  font-family: var(--modern-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(59, 109, 255, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.modern-rail-brand:hover, .modern-rail-brand:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgb(59, 109, 255);
}

.modern-rail-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8b98ad;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.modern-rail-item:hover, .modern-rail-item:focus-visible {
  color: var(--modern-primary);
  background: #eef4ff;
  outline: none;
}
.modern-rail-item.is-active, .modern-rail-item.is-active:hover, .modern-rail-item.is-active:focus-visible {
  color: #fff;
  background: var(--modern-gradient);
  box-shadow: 0 12px 22px -12px rgba(47, 107, 255, 0.9);
}

.modern-rail-sep {
  display: none;
  width: 30px;
  height: 1px;
  margin: 0.3rem 0 0.1rem;
  background: rgba(22, 35, 61, 0.1);
}

.modern-rail-sep-top {
  margin: 0.1rem 0 0.2rem;
}

.modern-rail-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.modern-rail-account-toggle {
  border-radius: 50%;
}
.modern-rail-account-toggle::after {
  display: none;
}
.modern-rail-account-toggle:hover, .modern-rail-account-toggle:focus-visible {
  background: transparent;
  transform: none;
}

.modern-rail-avatar-img {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
}
.modern-rail-avatar-img img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--modern-surface);
  box-shadow: 0 0 0 1px rgba(22, 35, 61, 0.12);
  transition: box-shadow 0.18s ease;
}
.modern-rail-avatar-img::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--modern-surface);
}

.modern-rail-account-toggle:hover .modern-rail-avatar-img img,
.modern-rail-account-toggle:focus-visible .modern-rail-avatar-img img,
.modern-rail-account.show .modern-rail-avatar-img img {
  box-shadow: 0 0 0 2px rgba(47, 107, 255, 0.35);
}

.modern-rail .modern-rail-account .modern-rail-menu[data-bs-popper] {
  position: absolute;
  top: auto !important;
  right: auto !important;
  bottom: 0 !important;
  left: calc(100% + 36px) !important;
  height: auto !important;
  margin: 0 !important;
  min-width: 232px;
  padding: 0.4rem;
  border: 1px solid var(--modern-border);
  border-radius: 18px;
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-pop);
}

.modern-rail-menu-header {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.75rem 0.6rem;
  white-space: normal;
}
.modern-rail-menu-header strong {
  color: var(--modern-ink);
  font-size: 0.86rem;
}
.modern-rail-menu-header span {
  color: var(--modern-ink-muted);
  font-size: 0.72rem;
}

.modern-rail-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  color: var(--modern-ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}
.modern-rail-menu .dropdown-item i {
  width: 16px;
  color: var(--modern-ink-muted);
  text-align: center;
}
.modern-rail-menu .dropdown-item:hover, .modern-rail-menu .dropdown-item:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
}
.modern-rail-menu .dropdown-item:hover i, .modern-rail-menu .dropdown-item:focus i {
  color: var(--modern-primary);
}

.modern-rail-menu .dropdown-divider {
  margin: 0.35rem 0.4rem;
  border-color: var(--modern-border);
}

@media (min-width: 992px) {
  .modern-rail {
    display: flex;
  }
  body:has(.modern-rail) #main-content {
    padding-left: 112px;
  }
}
@media (max-width: 991.98px) {
  .modern-rail {
    display: flex;
    top: auto;
    right: auto;
    bottom: 12px;
    left: 50%;
    width: auto;
    max-width: calc(100vw - 24px);
    flex-direction: row;
    gap: 0.2rem;
    padding: 0.42rem 0.5rem;
    border: 1px solid rgba(22, 35, 61, 0.07);
    border-radius: 24px;
    box-shadow: 0 26px 50px -26px rgba(22, 35, 61, 0.32), 0 2px 10px rgba(22, 35, 61, 0.05);
    transform: translateX(-50%);
  }
  .modern-rail-brand,
  .modern-rail-sep {
    display: none;
  }
  .modern-rail-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.95rem;
  }
  .modern-rail-avatar-img img {
    width: 36px;
    height: 36px;
  }
  .modern-rail .modern-rail-account .modern-rail-menu[data-bs-popper] {
    right: 0 !important;
    bottom: calc(100% + 12px) !important;
    left: auto !important;
  }
  body:has(.modern-rail) #main-content {
    padding-left: 0;
    padding-bottom: 84px;
  }
}
@media (max-width: 991.98px) {
  #topbar-second .nav > li.nav-item > a.nav-link {
    padding: 5px 11px;
    font-size: 0.68rem;
  }
  .layout-sidebar-container .panel {
    margin-bottom: 1.15rem;
  }
}
@media (max-width: 767.98px) {
  #topbar-first {
    top: 8px;
    left: 8px;
    right: 8px;
    border-radius: 18px;
  }
  #topbar-second {
    top: 72px;
    left: 8px;
    right: 8px;
    height: var(--modern-nav-height);
    border-radius: 16px;
  }
  #topbar-second .container {
    height: var(--modern-nav-height);
    padding: 0 0.6rem;
  }
  #topbar-second #top-menu-nav > li.nav-item > a.nav-link {
    min-height: 40px;
    padding: 4px 8px;
    font-size: 0;
  }
  #topbar-second #top-menu-nav > li.nav-item > a.nav-link i {
    font-size: 1rem;
  }
  #topbar-second #top-menu-nav > li.nav-item > a.nav-link#space-menu {
    font-size: inherit;
    padding: 3px 9px 3px 4px;
  }
  #topbar-second #space-menu {
    min-height: 40px;
    padding: 3px 9px 3px 4px;
  }
  .panel .panel-body,
  .wall-entry .panel .panel-body {
    padding: 1.1rem 1.15rem;
  }
  .panel .panel-heading {
    padding: 1rem 1.15rem 0.8rem;
  }
  .panel,
  .card {
    border-radius: var(--modern-radius-lg);
  }
  .login-container {
    padding-top: 3vh;
  }
  .login-container #login-form.panel .panel-heading {
    padding: 1.45rem 1.35rem 0.3rem;
  }
  .login-container #login-form.panel .panel-body {
    padding: 1rem 1.35rem 1.55rem;
  }
}
.modules-group .module-row > div small,
.modules-group .module-row > div .small {
  color: var(--modern-ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
main#main-content {
  padding-top: 1.15rem;
}

@media (min-width: 992px) {
  body:has(.dashboard-wall-stream) #main-content {
    padding-top: 1.75rem;
  }
  body:has(.dashboard-wall-stream) #layout-content > .container {
    max-width: 1180px;
  }
  body:has(.dashboard-wall-stream) #layout-content > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.5rem;
    margin-right: 0;
    margin-left: 0;
  }
  body:has(.dashboard-wall-stream) #layout-content > .container > .row > * {
    width: auto;
    max-width: none;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
  }
}
@media (max-width: 767.98px) {
  main#main-content {
    padding-top: 0.9rem;
  }
}
.space-layout-container .row,
.profile-layout-container .row {
  --bs-gutter-x: 1.75rem;
}

.panel-body > .tab-menu {
  margin-left: 0;
  margin-right: 0;
}

.footer-nav {
  margin-top: 1.25rem;
  color: var(--modern-ink-muted);
  font-size: 0.75rem;
  line-height: 1.9;
}
.footer-nav a {
  color: var(--modern-ink-muted);
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--modern-primary-strong);
}

.powered,
.powered a {
  color: var(--modern-ink-faint) !important;
}

.layout-nav-container .left-navigation,
.col-lg-3 > .left-navigation {
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}
.layout-nav-container .left-navigation > .panel-heading,
.col-lg-3 > .left-navigation > .panel-heading {
  margin: 0;
  padding: 0.7rem 0.85rem 0.45rem;
  border: 0;
  background: transparent;
  color: var(--modern-ink-muted);
  font-family: var(--modern-font-body);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.layout-nav-container .left-navigation > .panel-heading strong,
.col-lg-3 > .left-navigation > .panel-heading strong {
  color: var(--modern-ink);
  font-weight: 800;
}
.layout-nav-container .left-navigation > .panel-heading hr,
.col-lg-3 > .left-navigation > .panel-heading hr {
  display: none;
}
.layout-nav-container .left-navigation .list-group,
.col-lg-3 > .left-navigation .list-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0.15rem 0;
  overflow: visible;
}
.layout-nav-container .left-navigation .list-group-item,
.col-lg-3 > .left-navigation .list-group-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 !important;
  padding: 0.55rem 0.62rem;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: normal;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.layout-nav-container .left-navigation .list-group-item i,
.layout-nav-container .left-navigation .list-group-item .fa,
.layout-nav-container .left-navigation .list-group-item .fa-solid,
.layout-nav-container .left-navigation .list-group-item .fa-regular,
.col-lg-3 > .left-navigation .list-group-item i,
.col-lg-3 > .left-navigation .list-group-item .fa,
.col-lg-3 > .left-navigation .list-group-item .fa-solid,
.col-lg-3 > .left-navigation .list-group-item .fa-regular {
  flex: 0 0 auto;
  width: 1rem;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: currentColor;
}
.layout-nav-container .left-navigation .list-group-item:hover, .layout-nav-container .left-navigation .list-group-item:focus,
.col-lg-3 > .left-navigation .list-group-item:hover,
.col-lg-3 > .left-navigation .list-group-item:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-primary-strong);
}
.layout-nav-container .left-navigation .list-group-item.active, .layout-nav-container .left-navigation .list-group-item.selected,
.col-lg-3 > .left-navigation .list-group-item.active,
.col-lg-3 > .left-navigation .list-group-item.selected {
  background: #e9f1ff;
  color: var(--modern-primary-strong);
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.14);
}
.layout-nav-container .left-navigation .list-group-item .badge,
.col-lg-3 > .left-navigation .list-group-item .badge {
  margin-left: auto;
}

@media (max-width: 991.98px) {
  .layout-nav-container {
    padding-right: 0;
    padding-left: 0;
  }
  .layout-nav-container .left-navigation,
  .col-lg-3 > .left-navigation {
    margin-bottom: 1rem;
    padding: 0.35rem;
    border-radius: 18px;
  }
  .layout-nav-container .left-navigation > .panel-heading,
  .col-lg-3 > .left-navigation > .panel-heading {
    display: none;
  }
  .layout-nav-container .left-navigation .list-group,
  .col-lg-3 > .left-navigation .list-group {
    flex-direction: row;
    gap: 0.2rem;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .layout-nav-container .left-navigation .list-group-item,
  .col-lg-3 > .left-navigation .list-group-item {
    flex: 0 0 auto;
    padding: 0.45rem 0.85rem;
    border-radius: 999px !important;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}
.panel > .tab-menu {
  margin: 0;
  padding: 0.4rem 1rem 0;
  border-radius: 0;
  background: var(--modern-surface);
  border-top: 1px solid var(--modern-border);
  border-bottom: 1px solid var(--modern-border);
  box-shadow: none;
}
.panel > .tab-menu .nav-tabs {
  gap: 0.15rem;
  padding: 0;
  border-bottom: 0;
}
.panel > .tab-menu .nav-tabs .nav-link {
  max-height: none;
  padding: 0.62rem 0.95rem 0.68rem;
  border: 0 !important;
  border-radius: 12px 12px 0 0;
  background: transparent !important;
  color: var(--modern-ink-muted);
  font-family: var(--modern-font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.panel > .tab-menu .nav-tabs .nav-link:hover, .panel > .tab-menu .nav-tabs .nav-link:focus {
  color: var(--modern-primary-strong);
  background: var(--modern-surface-muted) !important;
}
.panel > .tab-menu .nav-tabs .nav-link.active {
  color: var(--modern-primary-strong);
  background: var(--modern-surface-muted) !important;
  box-shadow: inset 0 -3px 0 var(--modern-primary);
}

.panel > .tab-menu ~ .panel-body h4, .panel > .tab-menu ~ .panel-body .h4 {
  margin: 0 0 0.3rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panel > .tab-menu ~ .panel-body > h4:not(:first-child), .panel > .tab-menu ~ .panel-body > .h4:not(:first-child) {
  margin-top: 1.6rem;
}
.panel > .tab-menu ~ .panel-body > .text-body-secondary {
  color: var(--modern-ink-muted) !important;
  font-size: 0.875rem;
  line-height: 1.55;
}
.panel > .tab-menu ~ .panel-body hr {
  margin: 1.4rem 0;
  border-color: var(--modern-border);
  opacity: 1;
}

.form-collapsible-fields {
  margin-bottom: 0.9rem;
  border: 1px solid var(--modern-border) !important;
  border-left: 1px solid var(--modern-border) !important;
  border-radius: var(--modern-radius);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-xs);
  overflow: hidden;
}
.form-collapsible-fields .form-collapsible-fields-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.form-collapsible-fields .form-collapsible-fields-label:hover {
  background: #eef5ff;
  color: var(--modern-primary-strong);
}
.form-collapsible-fields .form-collapsible-fields-label .fa-plus,
.form-collapsible-fields .form-collapsible-fields-label .fa-minus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9px;
  background: #e4eeff;
  color: var(--modern-primary-strong);
  font-size: 0.66rem;
  line-height: 1;
}
.form-collapsible-fields .form-collapsible-fields-label .fa-plus {
  display: none;
}
.form-collapsible-fields .form-collapsible-fields-label.collapsed .fa-minus {
  display: none;
}
.form-collapsible-fields .form-collapsible-fields-label.collapsed .fa-plus {
  display: inline-flex;
}
.form-collapsible-fields .form-collapsible-fields-label label {
  margin: 0;
  color: currentColor;
  font-family: var(--modern-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.form-collapsible-fields fieldset {
  padding: 1rem 1rem 0.4rem !important;
  border-top: 1px solid var(--modern-border);
}
.form-collapsible-fields fieldset .form-group:last-child {
  margin-bottom: 0.85rem;
}

@media (max-width: 767.98px) {
  .panel > .tab-menu {
    padding: 0.3rem 0.6rem 0;
  }
  .panel > .tab-menu .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .panel > .tab-menu .nav-tabs .nav-link {
    flex: 0 0 auto;
    padding: 0.5rem 0.72rem 0.55rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .form-collapsible-fields .form-collapsible-fields-label {
    padding: 0.7rem 0.8rem;
  }
}
.panel-profile {
  margin-bottom: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--modern-radius-xl);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: visible;
}
.panel-profile .panel-profile-header {
  border: 0 !important;
  border-radius: 0;
  margin: 0;
}
.panel-profile .panel-profile-header .image-upload-container {
  border-radius: var(--modern-radius-xl) var(--modern-radius-xl) 0 0;
  background: linear-gradient(135deg, #3b6dff 0%, #4f8dff 55%, #43c6f5 100%);
}
.panel-profile .panel-profile-header .img-profile-header-background {
  width: 100%;
  max-height: 220px;
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--modern-radius-xl) var(--modern-radius-xl) 0 0 !important;
  background: linear-gradient(135deg, #3b6dff 0%, #4f8dff 55%, #43c6f5 100%);
}
.panel-profile .panel-profile-header .img-profile-header-background[src*=default_banner] {
  opacity: 0;
}
.panel-profile .panel-profile-header .img-profile-data {
  height: 118px;
  padding: 3.4rem 1.75rem 1rem 190px;
  border-radius: 0;
  background: linear-gradient(to bottom, rgba(22, 35, 61, 0) 0%, rgba(22, 35, 61, 0.2) 45%, rgba(22, 35, 61, 0.66) 100%);
}
.panel-profile .panel-profile-header .img-profile-data h1, .panel-profile .panel-profile-header .img-profile-data .h1,
.panel-profile .panel-profile-header .img-profile-data h1 a,
.panel-profile .panel-profile-header .img-profile-data .h1 a {
  max-width: 100%;
  color: #fff;
  font-family: var(--modern-font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(10, 25, 60, 0.3);
}
.panel-profile .panel-profile-header .img-profile-data h1.space a, .panel-profile .panel-profile-header .img-profile-data .space.h1 a {
  font-weight: 800;
}
.panel-profile .panel-profile-header .img-profile-data h2, .panel-profile .panel-profile-header .img-profile-data .h2,
.panel-profile .panel-profile-header .img-profile-data h2.space {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--modern-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
}
.panel-profile .panel-profile-header .profile-user-photo-container {
  left: 26px;
  bottom: -46px;
  border-radius: 26px;
}
.panel-profile .panel-profile-header .profile-user-photo-container .profile-user-photo {
  border: 4px solid #fff !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 38px -18px rgba(45, 80, 160, 0.55);
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover;
}
.panel-profile .panel-profile-controls {
  padding-top: 0.35rem;
  padding-left: 172px;
}
.panel-profile .panel-profile-controls > .container {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
.panel-profile .panel-profile-controls .row {
  --bs-gutter-x: 0;
}
.panel-profile .panel-profile-controls .statistics {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.panel-profile .panel-profile-controls .statistics .entry {
  float: none;
  margin: 0;
  text-align: left;
}
.panel-profile .panel-profile-controls .statistics .entry .count {
  display: block;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}
.panel-profile .panel-profile-controls .statistics .entry .count.link-accent {
  color: var(--modern-primary-strong);
}
.panel-profile .panel-profile-controls .statistics .entry .title {
  display: block;
  margin-top: 0.15rem;
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.panel-profile .panel-profile-controls .controls-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}
.panel-profile .panel-profile-controls .controls-header .btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
}

.panel-profile > .panel-body {
  padding: 1.25rem 1.45rem;
}

@media (max-width: 991.98px) {
  .panel-profile .panel-profile-header .img-profile-data {
    padding-left: 160px;
  }
  .panel-profile .panel-profile-controls {
    padding-left: 1.45rem;
    padding-top: 0.75rem;
  }
}
@media (max-width: 767.98px) {
  .panel-profile {
    border-radius: var(--modern-radius-lg);
  }
  .panel-profile .panel-profile-header .image-upload-container {
    border-radius: var(--modern-radius-lg) var(--modern-radius-lg) 0 0;
  }
  .panel-profile .panel-profile-header .img-profile-header-background {
    min-height: 150px !important;
    max-height: 170px;
    border-radius: var(--modern-radius-lg) var(--modern-radius-lg) 0 0 !important;
  }
  .panel-profile .panel-profile-header .img-profile-data {
    height: auto;
    padding: 3.4rem 1.1rem 1rem;
  }
  .panel-profile .panel-profile-header h1, .panel-profile .panel-profile-header .h1,
  .panel-profile .panel-profile-header h1 a,
  .panel-profile .panel-profile-header .h1 a {
    font-size: 1.3rem !important;
    line-height: 1.25;
    white-space: normal;
  }
  .panel-profile .panel-profile-header .profile-user-photo-container {
    left: 16px;
    bottom: -36px;
    width: 88px !important;
    height: 88px !important;
  }
  .panel-profile .panel-profile-header .profile-user-photo {
    width: 84px !important;
    height: 84px !important;
    border-width: 3px !important;
  }
  .panel-profile .panel-profile-controls {
    padding: 2.4rem 1.05rem 0.35rem;
  }
  .panel-profile .panel-profile-controls .statistics {
    gap: 1.15rem;
    flex-wrap: wrap;
  }
  .panel-profile .panel-profile-controls .statistics .entry .count {
    font-size: 1rem;
  }
  .panel-profile .panel-profile-controls .controls-header {
    margin-top: 0.6rem;
    justify-content: flex-start;
  }
}
.container-cards .card {
  display: flex;
  flex-direction: row;
}

.cards > .card,
.container-cards .cards > .card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.cards > .card:hover,
.container-cards .cards > .card:hover {
  border: 0;
  box-shadow: none;
  transform: none;
}

.cards .card-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0.75rem 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cards .card-panel:hover {
  box-shadow: var(--modern-shadow-card-hover);
  transform: translateY(-2px);
}
.cards .card-panel.card-archived {
  filter: none;
  opacity: 0.6;
}
.cards .card-panel .card-bg-image {
  height: 96px;
  border-radius: 0;
  background-color: transparent;
  background-image: linear-gradient(135deg, #3b6dff 0%, #4f8dff 55%, #43c6f5 100%);
  background-position: center;
  background-size: cover;
}
.cards .card-panel .card-header {
  padding: 14px 16px 0;
  border: 0;
  background: transparent;
}
.cards .card-panel .card-header .profile-user-photo,
.cards .card-panel .card-header .space-acronym {
  border: 3px solid var(--modern-surface);
  border-radius: 22px;
  box-shadow: 0 12px 26px -14px rgba(45, 80, 160, 0.5);
}
.cards .card-panel .card-header .card-icons {
  color: var(--modern-primary);
}
.cards .card-panel .card-body {
  padding: 42px 18px 16px;
}
.cards .card-panel .card-body .card-title {
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cards .card-panel .card-body .card-title a {
  color: inherit;
}
.cards .card-panel .card-body .card-details {
  margin-top: 0.4rem;
  color: var(--modern-ink-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.cards .card-panel .card-body .card-tags {
  margin-top: 0.85rem;
}
.cards .card-panel .card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 18px 18px;
  border: 0;
  background: transparent;
}
.cards .card-panel .card-footer .btn {
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
}
.cards .card-panel .card-footer .btn-group {
  margin: 0;
}
.cards .card-panel .card-status {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  max-height: none;
}

.cards-no-results {
  color: var(--modern-ink-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cards .card-space .card-panel .card-header .card-icons {
  top: 62px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.32);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: right;
}
.cards .card-space .card-panel .card-header .card-icons .fa,
.cards .card-space .card-panel .card-header .card-icons a,
.cards .card-space .card-panel .card-header .card-icons span {
  color: #fff;
}
.cards .card-space .card-panel .card-header .card-icons .fa {
  margin-right: 0.15rem;
}

.cards .card-space .card-panel .card-header .card-status {
  top: 16px;
  right: 16px;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.34);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  max-height: none;
}

.panel-body .form-search .form-control,
.panel-body .form-search .form-select {
  background-color: var(--modern-surface);
  border-radius: 999px;
}
.panel-body .form-search .form-search-field-info {
  color: var(--modern-ink-muted);
}

.hh-list > a {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  color: var(--modern-ink-soft);
  transition: background-color 0.16s ease;
}
.hh-list > a:hover {
  background: var(--modern-surface-muted);
}
.hh-list > a.new {
  background: #f2f7ff;
  box-shadow: inset 3px 0 0 var(--modern-primary);
}
.hh-list > a .time,
.hh-list > a time {
  color: var(--modern-ink-faint);
  font-size: 0.75rem;
}
.hh-list > a h4, .hh-list > a .h4 {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-body);
  font-size: 0.9rem;
  font-weight: 700;
}
.hh-list > a h5, .hh-list > a .h5 {
  margin: 0.1rem 0 0;
  color: var(--modern-ink-muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.hh-list .badge-new {
  display: inline-block;
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: var(--modern-primary);
}
.hh-list .img-space {
  border: 2px solid var(--modern-surface);
  border-radius: 8px;
}

.notification-overview .hh-list > a + a {
  border-top: 1px solid var(--modern-border);
  border-radius: 0;
}

.table {
  --bs-table-border-color: var(--modern-border);
}
.table > :not(caption) > * > * {
  padding: 0.7rem 0.75rem;
}
.table > thead th {
  border-bottom: 1px solid var(--modern-border);
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table > tbody td {
  color: var(--modern-ink-soft);
  vertical-align: middle;
}
.table > tbody tr:hover {
  background: var(--modern-surface-muted);
}

.grid-view .summary {
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
}

.alert {
  padding: 0.9rem 1.1rem;
  border: 0;
  border-radius: var(--modern-radius);
  color: var(--modern-ink-soft);
  font-weight: 500;
}

.alert-success {
  background: #e6faf3;
  color: #0f7a5c;
}

.alert-info {
  background: #e7f4ff;
  color: #1667a8;
}

.alert-warning {
  background: #fff4e0;
  color: #996315;
}

.alert-danger,
.alert-error {
  background: #ffe9ee;
  color: #b02a4d;
}

.error h2, .error .h2 {
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.user-online-status {
  border: 2px solid var(--modern-surface) !important;
  background: var(--bs-success);
}

.pagination-container {
  margin-top: 0.5rem;
}

.space-acronym {
  font-family: var(--modern-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.blog-layout {
  padding-bottom: 4rem;
}

.blog-page {
  --blog-card-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.blog-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl);
  background: radial-gradient(620px 240px at 100% 0%, rgba(67, 198, 245, 0.22), transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(59, 109, 255, 0.14), transparent 62%), var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}
.blog-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--modern-gradient);
  opacity: 0.08;
  pointer-events: none;
}

.blog-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.blog-hero-copy h1, .blog-hero-copy .h1 {
  margin: 0.35rem 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.blog-hero-copy p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--modern-primary);
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.blog-eyebrow i {
  font-size: 0.8rem;
}

.blog-hero-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.72rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--modern-gradient);
  box-shadow: var(--modern-shadow-glow);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.blog-hero-cta:hover, .blog-hero-cta:focus {
  color: #fff;
  transform: translateY(-1px);
}

.blog-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--modern-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.blog-alert i {
  font-size: 1rem;
}

.blog-alert--success {
  border: 1px solid rgba(52, 168, 83, 0.22);
  background: rgba(52, 168, 83, 0.1);
  color: #1d7a42;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--modern-border);
  border-radius: 999px;
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--modern-shadow-xs);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.blog-filter i {
  color: var(--modern-ink-muted);
}
.blog-filter:hover, .blog-filter:focus {
  border-color: rgba(59, 109, 255, 0.35);
  color: var(--modern-primary);
  text-decoration: none;
  transform: translateY(-1px);
}
.blog-filter:hover i, .blog-filter:focus i {
  color: var(--modern-primary);
}
.blog-filter.is-active {
  border-color: transparent;
  background: var(--modern-gradient);
  color: #fff;
  box-shadow: var(--modern-shadow-glow);
}
.blog-filter.is-active i {
  color: #fff;
}

.blog-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.7rem;
  font-weight: 800;
}
.blog-filter.is-active .blog-filter-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--blog-card-radius);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--modern-shadow-card-hover);
}

.blog-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 158px;
  background: var(--modern-gradient-soft);
  overflow: hidden;
}
.blog-card--news .blog-card-media {
  background: linear-gradient(135deg, rgba(59, 109, 255, 0.18), rgba(67, 198, 245, 0.1));
}
.blog-card--tutorial .blog-card-media {
  background: linear-gradient(135deg, rgba(255, 182, 72, 0.24), rgba(255, 143, 184, 0.12));
}
.blog-card--video .blog-card-media {
  background: linear-gradient(135deg, rgba(126, 87, 255, 0.22), rgba(59, 109, 255, 0.12));
}

.blog-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--modern-primary);
  font-size: 1.55rem;
  box-shadow: 0 12px 24px -14px rgba(30, 60, 130, 0.5);
}
.blog-card--tutorial .blog-card-icon {
  color: #d98518;
}
.blog-card--video .blog-card-icon {
  color: #6d4bff;
}

.blog-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-thumb.is-broken {
  display: none;
}

.blog-card-type {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.72);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.blog-card-visibility {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(22, 35, 61, 0.72);
  color: #fff;
  font-size: 0.72rem;
  backdrop-filter: blur(6px);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.blog-card-title {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover, .blog-card-title a:focus {
  color: var(--modern-primary);
}

.blog-card-excerpt {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.65rem;
  color: var(--modern-ink-muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.blog-card-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.blog-card-author > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-card-avatar img,
.blog-single-avatar img {
  border-radius: 50%;
  object-fit: cover;
}

.blog-card-dot {
  color: var(--modern-ink-faint);
}

.blog-card-views {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  color: var(--modern-ink-faint);
}

.blog-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 1.4rem;
  align-items: stretch;
}

.blog-spotlight-main {
  position: relative;
  min-height: 390px;
  border-radius: calc(var(--blog-card-radius) + 4px);
  background: var(--modern-gradient);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
  isolation: isolate;
}
.blog-spotlight-main--news {
  background: linear-gradient(135deg, #1c2b55, #3b6dff 60%, #43c6f5);
}
.blog-spotlight-main--tutorial {
  background: linear-gradient(135deg, #7a3f00, #ffb648 60%, #ff8fb8);
}
.blog-spotlight-main--video {
  background: linear-gradient(135deg, #241a55, #7e57ff 60%, #3b6dff);
}

.blog-spotlight-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
}
.blog-spotlight-link:hover, .blog-spotlight-link:focus {
  color: #fff;
  text-decoration: none;
}

.blog-spotlight-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-spotlight-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 4.2rem;
  text-shadow: 0 24px 48px rgba(8, 16, 38, 0.55);
}

.blog-spotlight-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-spotlight-img.is-broken {
  display: none;
}

.blog-spotlight-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 38, 0) 30%, rgba(10, 18, 38, 0.85) 100%);
}

.blog-spotlight-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem 1.7rem 1.75rem;
}

.blog-spotlight-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-spotlight-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.blog-spotlight-category i {
  font-size: 0.72rem;
}

.blog-spotlight-private {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.blog-spotlight-copy h2, .blog-spotlight-copy .h2 {
  max-width: 92%;
  margin: 0;
  color: #fff;
  font-family: var(--modern-font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.blog-spotlight-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-spotlight-unfeature {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  margin: 0;
}
.blog-spotlight-unfeature button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.18s ease;
}
.blog-spotlight-unfeature button i {
  color: #ffd66b;
}
.blog-spotlight-unfeature button:hover, .blog-spotlight-unfeature button:focus {
  background: rgba(255, 255, 255, 0.3);
}

.blog-latest {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--blog-card-radius) + 4px);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
.blog-latest h2, .blog-latest .h2 {
  margin: 0 0 0.85rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.blog-latest ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-latest-item a {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--modern-border);
  text-decoration: none;
}
.blog-latest-item:first-child a {
  padding-top: 0;
  border-top: 0;
}

.blog-latest-thumb {
  position: relative;
  display: flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--modern-gradient-soft);
  color: var(--modern-primary);
  overflow: hidden;
}
.blog-latest-thumb i {
  font-size: 1.1rem;
}
.blog-latest-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-latest-thumb img.is-broken {
  display: none;
}
.blog-latest-thumb--tutorial {
  background: linear-gradient(135deg, rgba(255, 182, 72, 0.24), rgba(255, 143, 184, 0.12));
  color: #d98518;
}
.blog-latest-thumb--video {
  background: linear-gradient(135deg, rgba(126, 87, 255, 0.22), rgba(59, 109, 255, 0.12));
  color: #6d4bff;
}

.blog-latest-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.blog-latest-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--modern-ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.blog-latest-item a:hover .blog-latest-title, .blog-latest-item a:focus .blog-latest-title {
  color: var(--modern-primary);
}

.blog-latest-meta {
  color: var(--modern-ink-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.blog-latest-private {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--modern-primary-strong);
  font-weight: 800;
}

.blog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.2rem;
}
.blog-section-head h2, .blog-section-head .h2 {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.blog-pagination {
  display: flex;
  justify-content: center;
}
.blog-pagination .pagination {
  gap: 0.35rem;
  margin: 0.25rem 0 0;
}
.blog-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--modern-border);
  border-radius: 12px;
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-weight: 700;
  box-shadow: var(--modern-shadow-xs);
}
.blog-pagination .active > .page-link {
  border-color: transparent;
  background: var(--modern-gradient);
  color: #fff;
}

.blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 3.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  text-align: center;
}
.blog-empty h2, .blog-empty .h2 {
  margin: 0.35rem 0 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.blog-empty p {
  max-width: 440px;
  margin: 0 0 0.5rem;
  color: var(--modern-ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.blog-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: var(--modern-gradient-soft);
  color: var(--modern-primary);
  font-size: 1.6rem;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  color: var(--modern-ink-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.blog-back:hover, .blog-back:focus {
  color: var(--modern-primary);
  text-decoration: none;
}

.blog-single-card {
  padding: 1.9rem 2rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.blog-single-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.blog-single-head h1, .blog-single-head .h1 {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.blog-single-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-badge--news {
  background: rgba(59, 109, 255, 0.12);
  color: var(--modern-primary-strong);
}

.blog-badge--tutorial {
  background: rgba(255, 182, 72, 0.18);
  color: #b26f00;
}

.blog-badge--video {
  background: rgba(126, 87, 255, 0.14);
  color: #5b3dcc;
}

.blog-badge--featured {
  background: rgba(255, 182, 72, 0.2);
  color: #a86800;
}
.blog-badge--featured i {
  color: #e09a13;
}

.blog-badge--public {
  background: rgba(59, 109, 255, 0.12);
  color: var(--modern-primary-strong);
}

.blog-badge--private {
  background: rgba(22, 35, 61, 0.1);
  color: #3b4a6b;
}
.blog-badge--private i {
  color: #5a6b8c;
}

.blog-single-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-single-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-single-actions form {
  margin: 0;
}

.blog-single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-single-author {
  color: var(--modern-ink-soft);
  font-weight: 700;
}

.blog-video {
  margin: 1.5rem 0 0;
  border-radius: var(--modern-radius);
  overflow: hidden;
  background: #0d1526;
}
.blog-video video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #0d1526;
}

.blog-single-cover {
  display: block;
  width: 100%;
  max-height: 420px;
  margin-top: 1.4rem;
  border-radius: var(--modern-radius);
  object-fit: cover;
}

.blog-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.blog-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-single-summary {
  margin: 1.5rem 0 0;
  padding: 0.95rem 1.15rem;
  border-left: 3px solid var(--modern-primary);
  border-radius: 0 var(--modern-radius-sm) var(--modern-radius-sm) 0;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

.blog-body {
  margin-top: 1.35rem;
  color: var(--modern-ink-soft);
  font-size: 0.94rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}
.blog-body > :first-child {
  margin-top: 0;
}
.blog-body h1, .blog-body .h1,
.blog-body h2,
.blog-body .h2,
.blog-body h3,
.blog-body .h3,
.blog-body h4,
.blog-body .h4 {
  margin: 1.6rem 0 0.65rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.blog-body h2, .blog-body .h2 {
  font-size: 1.35rem;
}
.blog-body h3, .blog-body .h3 {
  font-size: 1.12rem;
}
.blog-body p,
.blog-body ul,
.blog-body ol {
  margin: 0 0 1rem;
}
.blog-body a {
  color: var(--modern-primary);
  font-weight: 600;
}
.blog-body img,
.blog-body video {
  max-width: 100%;
  height: auto;
  border-radius: var(--modern-radius-sm);
}
.blog-body blockquote {
  margin: 1.1rem 0;
  padding: 0.75rem 1.1rem;
  border-left: 3px solid var(--modern-primary);
  border-radius: 0 var(--modern-radius-sm) var(--modern-radius-sm) 0;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
}
.blog-body code {
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: var(--modern-surface-muted);
  color: #b12a5b;
  font-size: 0.86em;
}
.blog-body pre {
  padding: 1rem 1.15rem;
  border-radius: var(--modern-radius-sm);
  background: #101a2d;
  color: #dce7fb;
  overflow-x: auto;
}
.blog-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}
.blog-body table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
}
.blog-body table th,
.blog-body table td {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--modern-border);
  text-align: left;
}
.blog-body table th {
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
  font-weight: 700;
}
.blog-body hr {
  margin: 1.6rem 0;
  border-color: var(--modern-border);
}

.blog-editor-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.25rem 0.25rem 0;
}
.blog-editor-head h1, .blog-editor-head .h1 {
  margin: 0.2rem 0 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.blog-editor-head p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.9rem;
}

.blog-convert-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(59, 109, 255, 0.18);
  border-radius: var(--modern-radius-sm);
  background: var(--modern-gradient-soft);
  color: var(--modern-ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}
.blog-convert-note > i {
  margin-top: 0.12rem;
  color: var(--modern-primary);
  font-size: 1.05rem;
}
.blog-convert-note strong {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--modern-ink);
  font-weight: 700;
}

.blog-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
}

.blog-form-main,
.blog-side-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.blog-form-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.blog-side-card {
  position: sticky;
  top: 1.25rem;
}
.blog-side-card h2, .blog-side-card .h2 {
  margin: 0 0 0.9rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.blog-side-card .form-group {
  margin-bottom: 0.9rem;
}

.blog-form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0.4rem;
  color: var(--modern-ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-form-label i {
  color: var(--modern-primary);
}

.blog-video-fields {
  padding-top: 0.85rem;
  border-top: 1px dashed var(--modern-border);
}
.blog-video-fields.is-hidden {
  display: none !important;
}

.blog-current-video {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--modern-radius-sm);
  background: var(--modern-surface-muted);
  font-size: 0.78rem;
}
.blog-current-video > span {
  color: var(--modern-ink-soft);
  font-weight: 700;
}
.blog-current-video a {
  color: var(--modern-primary);
  font-weight: 700;
}
.blog-current-video small, .blog-current-video .small {
  color: var(--modern-ink-muted);
}

.blog-current-cover {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.blog-current-cover img {
  width: 100%;
  max-height: 130px;
  border-radius: var(--modern-radius-sm);
  object-fit: cover;
}
.blog-current-cover small, .blog-current-cover .small {
  color: var(--modern-ink-muted);
  font-size: 0.72rem;
}

.blog-form-help {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--modern-border);
}
.blog-form-help p {
  margin: 0 0 0.35rem;
  color: var(--modern-ink-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.blog-form-help strong {
  color: var(--modern-ink-soft);
}

.blog-markdown-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.6;
}

.blog-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.25rem;
}

@media (max-width: 991.98px) {
  .blog-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-spotlight {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-spotlight-main {
    min-height: 320px;
  }
  .blog-side-card {
    position: static;
  }
  .blog-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .blog-single-card {
    padding: 1.4rem 1.25rem 1.7rem;
  }
}
@media (max-width: 575.98px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-spotlight-main {
    min-height: 290px;
  }
  .blog-spotlight-copy {
    padding: 1.25rem 1.2rem 1.35rem;
  }
  .blog-spotlight-copy h2, .blog-spotlight-copy .h2 {
    max-width: 100%;
  }
  .blog-single-topline {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-card-views {
    margin-left: 0;
  }
}
.space-assign-panel > .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.space-assign-chooser {
  max-width: 620px;
  margin: 0.5rem auto 1rem;
  padding: 2.4rem 2rem 2rem;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-lg);
  background: radial-gradient(420px 180px at 100% 0%, rgba(67, 198, 245, 0.14), transparent 65%), var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  text-align: center;
}
.space-assign-chooser h4, .space-assign-chooser .h4 {
  margin: 0.9rem 0 0.4rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.space-assign-chooser p {
  max-width: 420px;
  margin: 0 auto 1.4rem;
  color: var(--modern-ink-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.space-assign-chooser-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--modern-gradient);
  box-shadow: var(--modern-shadow-glow);
  color: #fff;
  font-size: 1.5rem;
}

.space-assign-chooser-field {
  max-width: 420px;
  margin: 0 auto 1rem;
  text-align: left;
}

.space-assign-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius);
  background: radial-gradient(360px 140px at 0% 0%, rgba(59, 109, 255, 0.1), transparent 70%), var(--modern-surface-muted);
  box-shadow: var(--modern-shadow-xs);
}

.space-assign-toolbar-space {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.space-assign-eyebrow {
  color: var(--modern-ink-faint);
  font-family: var(--modern-font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.space-assign-space-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.space-assign-space-name i {
  color: var(--modern-primary);
  font-size: 0.95rem;
}

.space-assign-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.space-assign-card {
  margin-bottom: 1.35rem;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-xs);
  overflow: hidden;
}
.space-assign-card:last-child {
  margin-bottom: 0;
}

.space-assign-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem 0.9rem;
  border-bottom: 1px solid var(--modern-border);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.9), rgba(255, 255, 255, 0));
}
.space-assign-card-head h4, .space-assign-card-head .h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.space-assign-card-head h4 i, .space-assign-card-head .h4 i {
  color: var(--modern-primary);
  font-size: 0.9rem;
}
.space-assign-card-head p {
  max-width: 720px;
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.space-assign-card-body {
  padding: 1.15rem 1.35rem 1.35rem;
}

.space-assign-count {
  flex: 0 0 auto;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 109, 255, 0.1);
  color: var(--modern-primary);
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.space-assign-form-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.space-assign-check {
  margin-top: 0.35rem;
}
.space-assign-check .help-block {
  margin: 0.15rem 0 0 1.5rem;
  color: var(--modern-ink-faint);
  font-size: 0.8rem;
  line-height: 1.45;
}

.space-assign-table {
  margin: 1rem 0 0;
}
.space-assign-table > :not(caption) > * > * {
  padding: 0.72rem 0.65rem;
  border-bottom-color: var(--modern-border);
  vertical-align: middle;
}
.space-assign-table thead th {
  padding-top: 0.4rem;
  color: var(--modern-ink-faint);
  font-family: var(--modern-font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.space-assign-table tbody tr {
  transition: background-color 0.15s ease;
}
.space-assign-table tbody tr:hover {
  background: var(--modern-surface-muted);
}
.space-assign-table tbody tr:last-child > * {
  border-bottom: 0;
}
.space-assign-table .form-select {
  min-width: 150px;
}

.space-assign-person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.space-assign-avatar {
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--modern-surface), 0 0 0 3px var(--modern-border);
}

.space-assign-person-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.space-assign-person-name {
  overflow: hidden;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.space-assign-person-name:hover {
  color: var(--modern-primary);
}

.space-assign-person-meta {
  overflow: hidden;
  color: var(--modern-ink-faint);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.space-assign-inline-form {
  margin: 0;
}
.space-assign-inline-form .input-group {
  flex-wrap: nowrap;
}

.space-assign-pagination {
  margin: 1.1rem 0 0;
}

.space-assign-group-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.space-assign-group-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-sm);
  background: var(--modern-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.space-assign-group-item:hover {
  border-color: var(--modern-border-strong);
  box-shadow: var(--modern-shadow-xs);
}
.space-assign-group-item form {
  margin-left: auto;
}

.space-assign-group-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(59, 109, 255, 0.1);
  color: var(--modern-primary);
  font-size: 0.9rem;
}

.space-assign-group-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.space-assign-group-text strong {
  overflow: hidden;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.space-assign-group-text span {
  overflow: hidden;
  color: var(--modern-ink-faint);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.space-assign-empty {
  margin: 1rem 0 0;
  padding: 1.25rem 1rem;
  border: 1px dashed var(--modern-border-strong);
  border-radius: var(--modern-radius-sm);
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.88rem;
  text-align: center;
}

.space-assign-note {
  margin: 0.9rem 0 0;
  color: var(--modern-ink-faint);
  font-size: 0.78rem;
  line-height: 1.5;
}
.space-assign-note i {
  margin-right: 0.3rem;
}

@media (max-width: 767.98px) {
  .space-assign-card-head {
    flex-direction: column;
  }
  .space-assign-form-actions {
    justify-content: flex-start;
  }
  .space-assign-group-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .space-assign-group-item form {
    margin-left: 0;
  }
}
.modern-rail-chat {
  position: relative;
}

.modern-rail-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--modern-gradient-pink);
  box-shadow: 0 0 0 2px var(--modern-surface);
  color: #fff;
  font-family: var(--modern-font-body);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  pointer-events: none;
}
.modern-rail-badge[hidden] {
  display: none !important;
}

.chat-page {
  --chat-radius: 28px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  height: calc(100vh - 1.15rem);
  min-height: 540px;
}
.chat-page [hidden] {
  display: none !important;
}

.chat-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  height: 100%;
  max-height: 1020px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--chat-radius);
  background: var(--modern-surface);
  box-shadow: 0 38px 90px -46px rgba(30, 60, 130, 0.5), 0 2px 8px rgba(30, 60, 130, 0.05);
  overflow: hidden;
}

.chat-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--modern-border);
  background: var(--modern-surface);
}

.chat-sidebar-top {
  padding: 1.15rem 1.2rem 0.4rem;
}

.chat-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.68rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f2f7ff;
  color: var(--modern-ink-faint);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.chat-search:focus-within {
  border-color: rgba(59, 109, 255, 0.35);
  background: var(--modern-surface);
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.1);
}
.chat-search i {
  font-size: 0.8rem;
}
.chat-search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--modern-ink);
  font-size: 0.83rem;
  outline: none;
}
.chat-search input::placeholder {
  color: var(--modern-ink-faint);
}
.chat-search input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.chat-sidebar-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 0.85rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chat-sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}
.chat-sidebar-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.12);
}

.chat-recent {
  padding: 0.85rem 1.2rem 0.1rem;
}
.chat-recent .chat-list-label {
  display: block;
  padding: 0 0 0.45rem;
}

.chat-recent-strip {
  display: flex;
  gap: 0.65rem;
  padding: 0.2rem 0.1rem 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.chat-recent-strip::-webkit-scrollbar {
  display: none;
}

.chat-recent-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
}
.chat-recent-item:hover, .chat-recent-item:focus-visible {
  text-decoration: none;
  outline: none;
}

.chat-recent-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 2px;
  border-radius: 50%;
  background: var(--modern-surface);
  box-shadow: 0 0 0 1.5px var(--modern-border-strong);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.chat-recent-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.chat-recent-item:hover .chat-recent-avatar,
.chat-recent-item:focus-visible .chat-recent-avatar {
  box-shadow: 0 0 0 2px rgba(59, 109, 255, 0.45);
  transform: translateY(-1px);
}

.chat-recent-item.is-active .chat-recent-avatar {
  box-shadow: 0 0 0 2px var(--modern-primary);
}

.chat-recent-name {
  max-width: 54px;
  overflow: hidden;
  color: var(--modern-ink-faint);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-recent-item.is-active .chat-recent-name {
  color: var(--modern-primary);
  font-weight: 700;
}

.chat-recent-unread {
  position: absolute;
  top: -3px;
  right: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid var(--modern-surface);
  border-radius: 999px;
  background: var(--modern-gradient-pink);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
}

.chat-recent-online {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--modern-surface);
  border-radius: 50%;
  background: #2ecc71;
}

.chat-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem 0.35rem;
}
.chat-list-head .chat-list-label {
  padding: 0;
}

.chat-list-label {
  color: var(--modern-ink-faint);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chat-list-label-inline {
  display: none;
}

.chat-sidebar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(59, 109, 255, 0.1);
  color: var(--modern-primary);
  font-size: 0.68rem;
  font-weight: 800;
}

.chat-lists {
  display: flex;
  flex-direction: column;
  padding: 0 0.7rem;
}

.chat-list-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.chat-list-block + .chat-list-block {
  margin-top: 0.85rem;
}
.chat-list-block > .chat-list-label {
  padding: 0.45rem 0.55rem 0.25rem;
}
.chat-list-block.chat-block-empty {
  display: none;
}

.chat-list-empty {
  margin: 0.15rem 0.55rem 0.4rem;
  color: var(--modern-ink-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.chat-person-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.08rem 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.chat-person-row:hover, .chat-person-row:focus-visible {
  background: #f5f8ff;
  color: inherit;
  text-decoration: none;
  outline: none;
  transform: translateY(-1px);
}
.chat-person-row.is-active, .chat-person-row.is-active:hover, .chat-person-row.is-active:focus-visible {
  background: var(--modern-gradient);
  box-shadow: 0 16px 30px -18px rgba(47, 107, 255, 0.95);
  color: #fff;
  transform: none;
}
.chat-person-row.is-active strong,
.chat-person-row.is-active .chat-person-preview,
.chat-person-row.is-active .chat-person-time, .chat-person-row.is-active:hover strong,
.chat-person-row.is-active:hover .chat-person-preview,
.chat-person-row.is-active:hover .chat-person-time, .chat-person-row.is-active:focus-visible strong,
.chat-person-row.is-active:focus-visible .chat-person-preview,
.chat-person-row.is-active:focus-visible .chat-person-time {
  color: #fff;
}
.chat-person-row.is-active .chat-person-preview,
.chat-person-row.is-active .chat-person-time, .chat-person-row.is-active:hover .chat-person-preview,
.chat-person-row.is-active:hover .chat-person-time, .chat-person-row.is-active:focus-visible .chat-person-preview,
.chat-person-row.is-active:focus-visible .chat-person-time {
  opacity: 0.82;
}
.chat-person-row.is-active .chat-unread-pill, .chat-person-row.is-active:hover .chat-unread-pill, .chat-person-row.is-active:focus-visible .chat-unread-pill {
  background: #fff;
  color: var(--modern-primary);
}

.chat-row-hidden {
  display: none !important;
}

.chat-person-avatar {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 50%;
}
.chat-person-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-person-main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 auto;
  min-width: 0;
}
.chat-person-main strong {
  overflow: hidden;
  color: var(--modern-ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-person-preview {
  overflow: hidden;
  color: var(--modern-ink-muted);
  font-size: 0.73rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-person-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex: 0 0 auto;
  color: var(--modern-ink-faint);
  font-size: 0.66rem;
}
.chat-person-meta i {
  font-size: 0.82rem;
}

.chat-person-time {
  color: var(--modern-ink-faint);
  white-space: nowrap;
}

.chat-unread-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--modern-gradient-pink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--modern-surface);
}

.chat-thread-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--modern-border);
  background: var(--modern-surface);
}

.chat-thread-avatar {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 50%;
}
.chat-thread-avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-thread-identity {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.chat-thread-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--modern-ink-faint);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.2;
}
.chat-thread-status .chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7c3d6;
}
.chat-thread-status.is-online {
  color: #1fa971;
}
.chat-thread-status.is-online .chat-status-dot {
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.16);
}

.chat-thread-name {
  overflow: hidden;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-thread-name:hover, .chat-thread-name:focus {
  color: var(--modern-primary);
  text-decoration: none;
}

.chat-thread-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid var(--modern-border);
  border-radius: 50%;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.chat-thread-profile:hover, .chat-thread-profile:focus-visible {
  background: #eef4ff;
  color: var(--modern-primary);
  text-decoration: none;
}

.chat-thread-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 0;
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(520px 300px at 100% 0%, rgba(67, 198, 245, 0.045), transparent 70%), var(--modern-surface);
}
.chat-thread-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-thread-messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(22, 35, 61, 0.12);
}

.chat-thread-empty-text {
  margin: auto;
  padding: 1.5rem;
  color: var(--modern-ink-muted);
  font-size: 0.84rem;
  text-align: center;
}

.chat-thread-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2.5rem 2rem;
  text-align: center;
}
.chat-thread-empty h2, .chat-thread-empty .h2 {
  margin: 0.7rem 0 0.1rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.chat-thread-empty p {
  max-width: 340px;
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.chat-thread-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--modern-gradient-soft);
  color: var(--modern-primary);
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(59, 109, 255, 0.12);
}

.chat-message {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 76%;
}
.chat-message.is-own {
  align-self: flex-end;
  justify-content: flex-end;
}
.chat-message.is-other {
  align-self: flex-start;
}

.chat-message-avatar {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 50%;
}
.chat-message-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-message-content {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.chat-message.is-own .chat-message-content {
  align-items: flex-end;
}

.chat-message-time {
  padding: 0 0.3rem;
  color: var(--modern-ink-faint);
  font-size: 0.62rem;
  line-height: 1;
}

.chat-bubble {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 18px;
  box-shadow: var(--modern-shadow-xs);
}
.is-other .chat-bubble {
  border: 1px solid var(--modern-border);
  border-bottom-left-radius: 6px;
  background: #f4f7fc;
  color: var(--modern-ink-soft);
}
.is-own .chat-bubble {
  border-bottom-right-radius: 6px;
  background: var(--modern-gradient);
  color: #fff;
  box-shadow: 0 14px 26px -18px rgba(47, 107, 255, 0.9);
}
.has-attachment .chat-bubble {
  padding: 0.35rem;
}

.chat-bubble-body {
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

.has-attachment .chat-bubble-body {
  padding: 0.2rem 0.45rem 0.15rem;
}

.chat-attachment-image {
  display: block;
  max-width: 320px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
}
.chat-attachment-image img {
  display: block;
  width: 100%;
  max-width: 320px;
  max-height: 320px;
  border-radius: 14px;
  object-fit: cover;
  background: #e9f0fb;
}
.chat-attachment-image:hover, .chat-attachment-image:focus-visible {
  text-decoration: none;
}

.is-other .chat-attachment-image img {
  background: #fff;
}

.chat-attachment-audio {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.chat-attachment-audio audio {
  width: 260px;
  max-width: 100%;
  height: 40px;
  border-radius: 999px;
}

.chat-audio-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.35rem;
  color: var(--modern-ink-muted);
  font-size: 0.65rem;
  font-weight: 600;
}
.is-own .chat-audio-duration {
  color: rgba(255, 255, 255, 0.85);
}

.chat-composer {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin: 0.65rem 1.15rem 0;
  padding: 0.35rem 0.4rem 0.35rem 0.45rem;
  border: 1px solid var(--modern-border);
  border-radius: 24px;
  background: #fbfdff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.chat-composer:focus-within {
  border-color: rgba(59, 109, 255, 0.35);
  background: var(--modern-surface);
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.1);
}
.chat-composer textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 38px;
  max-height: 140px;
  padding: 0.5rem 0.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--modern-ink);
  font-size: 0.86rem;
  line-height: 1.45;
  resize: none;
}
.chat-composer textarea::placeholder {
  color: var(--modern-ink-faint);
}
.chat-composer textarea:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.chat-composer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  margin-bottom: 1px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--modern-ink-faint);
  font-size: 0.95rem;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.chat-composer-btn:hover, .chat-composer-btn:focus-visible {
  background: #eef4ff;
  color: var(--modern-primary);
  outline: none;
}
.chat-composer-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.chat-composer-btn.chat-attach {
  background: #eaf1ff;
  color: var(--modern-primary);
  font-size: 0.9rem;
}
.chat-composer-btn.chat-attach:hover, .chat-composer-btn.chat-attach:focus-visible {
  background: #dde9ff;
}
.chat-composer-btn.chat-voice.is-recording {
  background: #ffe9ee;
  color: #e2445c;
  animation: chatVoicePulse 1.2s ease-in-out infinite;
}

.chat-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--modern-gradient);
  box-shadow: 0 12px 24px -14px rgba(47, 107, 255, 0.9);
  color: #fff;
  font-size: 0.9rem;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.chat-send:hover, .chat-send:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}
.chat-send:disabled {
  opacity: 0.55;
  transform: none;
  cursor: default;
}

.chat-emoji-panel {
  position: absolute;
  right: 3.1rem;
  bottom: calc(100% + 10px);
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.1rem;
  width: 296px;
  max-width: calc(100vw - 90px);
  max-height: 208px;
  padding: 0.5rem;
  border: 1px solid var(--modern-border);
  border-radius: 18px;
  background: var(--modern-surface);
  box-shadow: 0 26px 54px -26px rgba(30, 60, 130, 0.4);
  overflow-y: auto;
}

.chat-emoji-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.14s ease;
}
.chat-emoji-item:hover, .chat-emoji-item:focus-visible {
  background: #eef4ff;
  outline: none;
}

.chat-recording {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.45rem 1.35rem 0;
  color: #d93a5f;
  font-size: 0.76rem;
}

.chat-recording-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2445c;
  animation: chatVoicePulse 1.1s ease-in-out infinite;
}

.chat-recording-cancel {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--modern-primary);
  font-size: 0.74rem;
  font-weight: 700;
}
.chat-recording-cancel:hover, .chat-recording-cancel:focus-visible {
  text-decoration: underline;
  outline: none;
}

.chat-composer-status,
.chat-composer-error {
  margin: 0;
  padding: 0.4rem 1.35rem 0;
  font-size: 0.76rem;
  font-weight: 600;
}

.chat-composer-status {
  color: var(--modern-ink-muted);
}

.chat-composer-error {
  color: #d93a5f;
}

.chat-composer-hint {
  margin: 0;
  padding: 0.15rem 1.35rem 0.75rem;
  color: var(--modern-ink-faint);
  font-size: 0.65rem;
}

@keyframes chatVoicePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
@media (max-width: 1200px) {
  .chat-card {
    grid-template-columns: 318px minmax(0, 1fr);
  }
}
@media (max-width: 991.98px) {
  .chat-page {
    height: auto;
    min-height: 0;
    padding: 0 0.65rem 96px;
  }
  .chat-card {
    grid-template-columns: minmax(0, 1fr);
    height: calc(100dvh - 128px);
    min-height: 480px;
  }
  .chat-card:not(.has-thread) .chat-thread {
    display: none;
  }
  .chat-card.has-thread .chat-sidebar {
    display: none;
  }
  .chat-back {
    display: inline-flex;
  }
  .chat-thread-head {
    padding: 0.8rem 1rem;
  }
  .chat-thread-messages {
    padding: 1.1rem 1rem;
  }
  .chat-composer {
    margin: 0.55rem 0.85rem 0;
  }
  .chat-composer-hint {
    padding-bottom: 0.65rem;
  }
}
.chat-back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--modern-border);
  border-radius: 50%;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  text-decoration: none;
}
.chat-back:hover, .chat-back:focus-visible {
  color: var(--modern-primary);
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .chat-page {
    padding: 0 0.4rem 92px;
  }
  .chat-message {
    max-width: 88%;
  }
  .chat-thread-messages {
    gap: 0.75rem;
    padding: 0.9rem 0.8rem;
  }
  .chat-thread-avatar img {
    width: 40px;
    height: 40px;
  }
  .chat-composer {
    margin: 0.5rem 0.6rem 0;
    border-radius: 20px;
  }
  .chat-composer-btn {
    width: 32px;
    height: 32px;
  }
  .chat-send {
    width: 38px;
    height: 38px;
  }
  .chat-emoji-panel {
    right: 0.2rem;
    width: min(296px, 100vw - 60px);
  }
  .chat-composer-hint {
    display: none;
  }
}
.chat-channel-tabs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.chat-channel-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--modern-border);
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.chat-channel-tab:hover {
  border-color: rgba(61, 90, 255, 0.35);
  color: #3d5aff;
}
.chat-channel-tab.is-active {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  border-color: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 8px 18px -10px rgba(61, 90, 255, 0.78);
}
.chat-channel-tab--whatsapp.is-active {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 8px 18px -10px rgba(22, 163, 74, 0.75);
}

.chat-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.68rem;
  font-weight: 800;
}

.chat-channel-gear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  border: 1px solid var(--modern-border);
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  text-decoration: none;
}
.chat-channel-gear:hover {
  border-color: #3d5aff;
  color: #3d5aff;
}

.chat-cw-status-pills {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.chat-cw-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--modern-border);
  background: var(--modern-surface);
  color: var(--modern-ink-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}
.chat-cw-pill:hover {
  color: #3d5aff;
  border-color: rgba(61, 90, 255, 0.35);
}
.chat-cw-pill.is-active {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
}

.chat-cw-demo-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0.9rem 0.2rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(208, 255, 0, 0.3);
  border: 1px solid rgba(5, 0, 26, 0.14);
  color: #05001a;
  font-size: 0.74rem;
  font-weight: 700;
}
.chat-cw-demo-banner a {
  margin-left: auto;
  color: #3248c7;
  text-decoration: underline;
}

.chat-cw-setup-card {
  margin: 1rem;
  padding: 1.4rem 1.15rem;
  border-radius: 18px;
  border: 1.5px dashed var(--modern-border-strong);
  background: var(--modern-surface-muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.chat-cw-setup-card h3, .chat-cw-setup-card .h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}
.chat-cw-setup-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--modern-ink-muted);
  line-height: 1.45;
}

.chat-cw-setup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #16a34a;
  color: #ffffff;
  font-size: 1.4rem;
}

.chat-cw-error-box {
  margin: 0.65rem 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.chat-cw-avatar {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 100%);
  color: #fffaf5;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.chat-cw-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-cw-avatar-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-cw-badge-icon {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  border: 2px solid var(--modern-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
}

.chat-unread-pill--wa {
  background: #16a34a !important;
  color: #ffffff !important;
}

.chat-thread-empty-icon--wa {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #ffffff !important;
}

.chat-cw-thread-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
  font-weight: 600;
}

.chat-cw-state-tag {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}
.chat-cw-state-tag.is-open {
  background: #dcfce7;
  color: #166534;
}
.chat-cw-state-tag.is-pending {
  background: #fef3c7;
  color: #92400e;
}
.chat-cw-state-tag.is-resolved {
  background: #e2e8f0;
  color: #334155;
}

.chat-cw-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.chat-cw-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface);
  color: var(--modern-ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.chat-cw-action-btn:hover {
  border-color: #16a34a;
  background: #16a34a;
  color: #ffffff;
}

.chat-send--wa {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

.chat-cw-composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem 1.35rem 0.65rem;
}

.chat-cw-private-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
  cursor: pointer;
}
.chat-cw-private-toggle input {
  margin: 0;
}

.chat-message.is-private-note .chat-bubble {
  background: #fef3c7 !important;
  color: #78350f !important;
  border: 1px solid #fcd34d;
}

.chat-cw-activity {
  display: flex;
  justify-content: center;
  margin: 0.35rem 0;
}
.chat-cw-activity span {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.chat-cw-video {
  max-width: 280px;
  border-radius: 12px;
  display: block;
}

.chat-cw-file {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: rgba(5, 0, 26, 0.08);
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.cw-config-page {
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cw-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.cw-config-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.cw-test-feedback {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
}
.cw-test-feedback.is-ok {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #14532d;
}
.cw-test-feedback.is-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.cw-config-help h2, .cw-config-help .h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}
.cw-config-help ol {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--modern-ink-soft);
  line-height: 1.5;
}

.cw-webhook-box,
.cw-env-hint {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
}
.cw-webhook-box code,
.cw-env-hint code {
  word-break: break-all;
  color: #3248c7;
  font-weight: 600;
}

:root[data-modern-theme=dark] .chat-channel-tab:not(.is-active),
:root[data-modern-theme=dark] .chat-channel-gear,
:root[data-modern-theme=dark] .chat-cw-pill:not(.is-active),
:root[data-modern-theme=dark] .chat-cw-action-btn,
:root[data-modern-theme=dark] .chat-cw-setup-card,
:root[data-modern-theme=dark] .cw-webhook-box,
:root[data-modern-theme=dark] .cw-env-hint {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-cw-pill.is-active {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .chat-cw-demo-banner {
  background: rgba(208, 255, 0, 0.92);
  color: #05001a;
}
:root[data-modern-theme=dark] .cw-webhook-box code,
:root[data-modern-theme=dark] .cw-env-hint code {
  color: #9eb4ff;
}

@media (max-width: 991px) {
  .cw-config-grid {
    grid-template-columns: 1fr;
  }
}
body:has(.chat-page--ref) main#main-content {
  padding-top: 0;
  padding-bottom: 0;
}

.chat-page--ref {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.75rem 1.05rem 0.85rem;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  box-sizing: border-box;
}

.chat-top-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px -22px rgba(5, 0, 26, 0.35);
  flex-shrink: 0;
}

.chat-top-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.52rem 1.05rem;
  border-radius: 12px;
  color: #40567a;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.chat-top-tab:hover, .chat-top-tab:focus {
  background: #f2f6ff;
  color: #05001a;
  text-decoration: none;
}
.chat-top-tab.is-active {
  background: #05001a;
  color: #fffaf5;
  box-shadow: 0 10px 22px -12px rgba(5, 0, 26, 0.72);
}
.chat-top-tab.chat-top-tab--wa.is-active {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(22, 163, 74, 0.75);
}

.chat-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #3d5aff;
  color: #fffaf5;
  font-size: 0.68rem;
  font-weight: 800;
}

.chat-top-tab.is-active .chat-tab-badge {
  background: #d0ff00;
  color: #05001a;
}

.chat-tab-badge--wa {
  background: #16a34a;
  color: #ffffff;
}

.chat-top-switcher-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-top-action {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid #e2ebfa;
  border-radius: 11px;
  background: #f8fbff;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.chat-top-action:hover, .chat-top-action:focus {
  background: #eef4ff;
  color: #05001a;
  text-decoration: none;
}

.chat-card--ref {
  display: grid;
  grid-template-columns: 58px 330px minmax(0, 1fr) 304px;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  height: 100%;
  max-height: none;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 64px -40px rgba(5, 0, 26, 0.42);
  overflow: hidden;
}

.chat-mini-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  border-right: 1px solid #eef2f8;
  background: #ffffff;
}

.chat-mini-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #05001a 0%, #3d5aff 100%);
  color: #fffaf5;
  font-size: 0.96rem;
}

.chat-card--ref.is-channel-whatsapp .chat-mini-brand {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.chat-mini-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.chat-mini-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #7c8daa;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat-mini-btn:hover, .chat-mini-btn:focus {
  background: #f2f6ff;
  color: #3d5aff;
  text-decoration: none;
}
.chat-mini-btn.is-active {
  background: #e9f0ff;
  color: #3d5aff;
}
.chat-mini-btn.is-active::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: #3d5aff;
}
.chat-mini-btn.chat-mini-btn--wa.is-active {
  background: #e6f9ef;
  color: #16a34a;
}
.chat-mini-btn.chat-mini-btn--wa.is-active::after {
  background: #16a34a;
}

.chat-mini-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d5aff;
  border: 1.5px solid #ffffff;
}

.chat-mini-dot--wa {
  background: #16a34a;
}

.chat-mini-me img {
  display: block;
  border-radius: 50%;
  border: 2px solid #eef2f8;
}

.chat-sidebar--ref {
  border-right: 0;
  background: #ffffff;
}

.chat-sidebar-header {
  padding: 0.9rem 1.05rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.chat-sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-sidebar-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #05001a;
  font-size: 0.98rem;
  font-weight: 800;
}
.chat-sidebar-title i {
  color: #3d5aff;
}

.chat-card--ref.is-channel-whatsapp .chat-sidebar-title i {
  color: #16a34a;
}

.chat-me-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.05rem 0;
}

.chat-me-avatar {
  display: inline-flex;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(61, 90, 255, 0.25), rgba(208, 255, 0, 0.5));
  margin-bottom: 0.35rem;
}
.chat-me-avatar img {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.chat-sidebar--ref .chat-cw-status-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.28rem;
  margin-top: 0;
}

.chat-sidebar--ref .chat-cw-pill {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.3rem 0.48rem;
  font-size: 0.72rem;
  white-space: nowrap;
}

.chat-me-name {
  color: #05001a;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
}

.chat-me-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.32rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.chat-me-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.chat-me-status.is-online, .chat-me-status.is-wa {
  background: #e6f9ef;
  color: #15803d;
}
.chat-me-status.is-online .dot, .chat-me-status.is-wa .dot {
  background: #16a34a;
}
.chat-me-status.is-warn {
  background: #fef3c7;
  color: #92400e;
}
.chat-me-status.is-warn .dot {
  background: #d97706;
}

.chat-search--ref {
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  background: #f4f6fb;
  border: 1px solid #edf1f8;
}

.chat-list-head--ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 1.15rem 0.45rem;
}

.chat-add-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: #e9f0ff;
  color: #3d5aff;
  font-size: 0.72rem;
  cursor: pointer;
}
.chat-add-chat-btn:hover {
  background: #3d5aff;
  color: #fffaf5;
}

.chat-list-label--section {
  display: block;
  padding: 0.85rem 1.15rem 0.35rem;
}

.chat-list-subcount {
  color: #7c8daa;
  font-size: 0.72rem;
  font-weight: 700;
}

.chat-sidebar--ref .chat-person-row {
  margin: 0.12rem 0.65rem;
  padding: 0.6rem 0.65rem;
  border-radius: 14px;
  border: 1px solid transparent;
}
.chat-sidebar--ref .chat-person-row:hover {
  background: #f6f8fd;
}
.chat-sidebar--ref .chat-person-row.is-active, .chat-sidebar--ref .chat-person-row.is-active:hover, .chat-sidebar--ref .chat-person-row.is-active:focus-visible {
  background: #eef3ff;
  border-color: rgba(61, 90, 255, 0.22);
  box-shadow: none;
  color: #05001a;
}
.chat-sidebar--ref .chat-person-row.is-active strong, .chat-sidebar--ref .chat-person-row.is-active:hover strong, .chat-sidebar--ref .chat-person-row.is-active:focus-visible strong {
  color: #05001a;
}
.chat-sidebar--ref .chat-person-row.is-active .chat-person-preview, .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-preview, .chat-sidebar--ref .chat-person-row.is-active:focus-visible .chat-person-preview {
  color: #475569;
  opacity: 1;
}
.chat-sidebar--ref .chat-person-row.is-active .chat-person-time, .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-time, .chat-sidebar--ref .chat-person-row.is-active:focus-visible .chat-person-time {
  color: #64748b;
  opacity: 1;
}

.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active,
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover {
  background: #e9fbf1;
  border-color: rgba(22, 163, 74, 0.26);
  color: #052e16;
}
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active strong,
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover strong {
  color: #052e16;
}
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active .chat-person-preview,
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-preview {
  color: #166534;
  opacity: 0.92;
}
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active .chat-person-time,
.chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-time {
  color: #15803d;
  opacity: 0.9;
}

.chat-thread--ref {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin: 0.55rem 0;
  border-radius: 18px;
  background: #f2f5fc;
  border: 1px solid #e7edf8;
  overflow: hidden;
}

.chat-thread-head--ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(5, 0, 26, 0.06);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.chat-thread-head-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.chat-thread-head-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.chat-view-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 3px;
  border-radius: 11px;
  background: #e8eef9;
}

.chat-view-pill {
  padding: 0.36rem 0.78rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f7190;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat-view-pill.is-active {
  background: #ffffff;
  color: #3248c7;
  box-shadow: 0 4px 10px -6px rgba(5, 0, 26, 0.25);
}

.chat-card--ref.is-channel-whatsapp .chat-view-pill.is-active {
  color: #15803d;
}

.chat-center-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.chat-thread--ref .chat-thread-messages {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.1rem 1.2rem 0.6rem;
  background: transparent;
}

.chat-thread--ref .chat-message-time {
  color: #7c8daa;
  font-size: 0.69rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.chat-thread--ref .chat-message.is-other .chat-bubble {
  background: #ffffff;
  color: #1e2d45;
  border: 1px solid rgba(5, 0, 26, 0.05);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 6px 18px -12px rgba(5, 0, 26, 0.22);
}

.chat-thread--ref .chat-message.is-own .chat-bubble {
  background: #dce4ff;
  color: #05001a;
  border: 1px solid rgba(61, 90, 255, 0.14);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 6px 18px -12px rgba(61, 90, 255, 0.3);
}

.chat-card--ref.is-channel-whatsapp .chat-thread--ref .chat-message.is-own:not(.is-private-note) .chat-bubble {
  background: #dcfce7;
  color: #052e16;
  border-color: rgba(22, 163, 74, 0.18);
}

.chat-composer-shell {
  padding: 0.45rem 1rem 0.85rem;
  background: transparent;
}

.chat-composer--ref {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 !important;
  padding: 0.42rem 0.48rem 0.42rem 0.95rem !important;
  border: 1px solid rgba(5, 0, 26, 0.07) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 26px -18px rgba(5, 0, 26, 0.28);
}
.chat-composer--ref textarea {
  flex: 1 1 auto;
  min-height: 24px;
  max-height: 110px;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: #05001a;
  font-size: 0.85rem;
  resize: none;
  outline: none;
}

.chat-send--ref {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px;
  border-radius: 11px !important;
  background: #3d5aff !important;
  color: #fffaf5 !important;
  box-shadow: 0 8px 18px -10px rgba(61, 90, 255, 0.8);
}

.chat-participants-view {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow-y: auto;
}
.chat-participants-view h3, .chat-participants-view .h3 {
  margin: 0 0 0.2rem;
  color: #05001a;
  font-size: 0.94rem;
  font-weight: 800;
}

.chat-participant-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(5, 0, 26, 0.07);
  border-radius: 16px;
  background: #ffffff;
}

.chat-participant-info {
  flex: 1;
  min-width: 0;
}
.chat-participant-info strong {
  display: block;
  color: #05001a;
  font-size: 0.88rem;
  font-weight: 800;
}
.chat-participant-info span {
  display: block;
  color: #5f7190;
  font-size: 0.75rem;
}

.chat-participant-role {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.7rem;
  font-weight: 800;
}
.chat-participant-role.is-wa {
  background: #e6f9ef;
  color: #15803d;
}

.chat-info-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #ffffff;
}

.chat-info-head {
  padding: 1.05rem 1.2rem 0.6rem;
}
.chat-info-head h2, .chat-info-head .h2 {
  margin: 0;
  color: #05001a;
  font-size: 0.94rem;
  font-weight: 800;
}

.chat-info-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.35rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.chat-info-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.25rem 0;
}
.chat-info-hero h3, .chat-info-hero .h3 {
  margin: 0.6rem 0 0.15rem;
  color: #05001a;
  font-size: 0.98rem;
  font-weight: 800;
}
.chat-info-hero p {
  margin: 0;
  color: #7c8daa;
  font-size: 0.75rem;
  font-weight: 600;
}

.chat-info-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3ff;
  color: #3d5aff;
  box-shadow: 0 12px 24px -16px rgba(5, 0, 26, 0.35);
}
.chat-info-avatar.is-wa {
  background: #e6f9ef;
  color: #16a34a;
}
.chat-info-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-info-initial {
  font-size: 1.65rem;
  font-weight: 800;
}

.chat-info-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.chat-info-stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.78rem;
  border-radius: 15px;
}
.chat-info-stat small, .chat-info-stat .small {
  display: block;
  color: #5f7190;
  font-size: 0.67rem;
  font-weight: 700;
}
.chat-info-stat strong {
  display: block;
  color: #05001a;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
}

.chat-info-stat--files {
  background: #e9f0ff;
}
.chat-info-stat--files .chat-info-stat-icon {
  color: #3d5aff;
}

.chat-card--ref.is-channel-whatsapp .chat-info-stat--files {
  background: #e6f9ef;
}
.chat-card--ref.is-channel-whatsapp .chat-info-stat--files .chat-info-stat-icon {
  color: #16a34a;
}

.chat-info-stat--links {
  background: #f4f6fb;
}
.chat-info-stat--links .chat-info-stat-icon {
  color: #5f7190;
}

.chat-info-stat-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.chat-file-types-head {
  color: #7c8daa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chat-file-types {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.chat-file-type-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chat-file-type-row:hover {
  background: #f6f8fd;
}
.chat-file-type-row.is-active {
  background: #eef3ff;
  border-color: rgba(61, 90, 255, 0.22);
}
.chat-file-type-row.is-active .chat-ft-arrow {
  transform: rotate(90deg);
  color: #3d5aff;
}

.chat-ft-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  font-size: 0.96rem;
}

.chat-ft-icon--doc {
  background: #eceeff;
  color: #3d5aff;
}

.chat-ft-icon--photo {
  background: #fef4d6;
  color: #d97706;
}

.chat-ft-icon--audio {
  background: #e0f4ff;
  color: #0284c7;
}

.chat-ft-icon--other {
  background: #ffe8ec;
  color: #e11d48;
}

.chat-ft-copy {
  flex: 1;
  min-width: 0;
}
.chat-ft-copy strong {
  display: block;
  color: #05001a;
  font-size: 0.82rem;
  font-weight: 800;
}
.chat-ft-copy small, .chat-ft-copy .small {
  display: block;
  color: #7c8daa;
  font-size: 0.7rem;
  font-weight: 600;
}

.chat-ft-arrow {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: transform 0.15s ease;
}

.chat-shared-drawer {
  padding: 0.65rem;
  border-radius: 14px;
  background: #f6f8fd;
  border: 1px solid #e7edf8;
}

.chat-shared-empty {
  margin: 0;
  color: #7c8daa;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.45rem 0;
}

.chat-shared-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.chat-shared-thumb {
  aspect-ratio: 1;
  border-radius: 9px;
  overflow: hidden;
  display: block;
  background: #05001a;
}
.chat-shared-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-shared-audio-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.45rem;
}
.chat-shared-audio-row small, .chat-shared-audio-row .small {
  color: #5f7190;
  font-size: 0.7rem;
  font-weight: 700;
}
.chat-shared-audio-row audio {
  width: 100%;
  height: 32px;
}

.chat-shared-link-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.55rem;
  border-radius: 9px;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.chat-shared-link-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-shared-link-item:hover {
  background: #ffffff;
  text-decoration: none;
}

.chat-info-drive-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.58rem 0.85rem;
  border: 1px solid #dce6f8;
  border-radius: 12px;
  background: #f8fbff;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.chat-info-drive-link:hover {
  background: #eef3ff;
  color: #05001a;
  text-decoration: none;
}

:root[data-modern-theme=dark] .chat-top-switcher,
:root[data-modern-theme=dark] .chat-card--ref,
:root[data-modern-theme=dark] .chat-mini-rail,
:root[data-modern-theme=dark] .chat-sidebar--ref,
:root[data-modern-theme=dark] .chat-info-panel {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-mini-rail {
  border-right-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .chat-top-tab:not(.is-active) {
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .chat-top-tab:not(.is-active):hover {
  background: rgba(61, 90, 255, 0.22);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-top-tab.is-active:not(.chat-top-tab--wa) {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-top-action,
:root[data-modern-theme=dark] .chat-info-drive-link,
:root[data-modern-theme=dark] .chat-search--ref,
:root[data-modern-theme=dark] .chat-participant-card,
:root[data-modern-theme=dark] .chat-shared-drawer {
  background: #05001a;
  border-color: rgba(255, 250, 245, 0.15);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-sidebar-title,
:root[data-modern-theme=dark] .chat-me-name,
:root[data-modern-theme=dark] .chat-info-head h2,
:root[data-modern-theme=dark] .chat-info-head .h2,
:root[data-modern-theme=dark] .chat-info-hero h3,
:root[data-modern-theme=dark] .chat-info-hero .h3,
:root[data-modern-theme=dark] .chat-info-stat strong,
:root[data-modern-theme=dark] .chat-ft-copy strong,
:root[data-modern-theme=dark] .chat-participants-view h3,
:root[data-modern-theme=dark] .chat-participants-view .h3,
:root[data-modern-theme=dark] .chat-participant-info strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-thread--ref {
  background: #05001a;
  border-color: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .chat-thread-head--ref {
  background: rgba(11, 6, 36, 0.85);
  border-bottom-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .chat-view-pills {
  background: rgba(255, 250, 245, 0.08);
}
:root[data-modern-theme=dark] .chat-view-pill {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .chat-view-pill.is-active {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-view-pill.is-active {
  background: #16a34a;
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-thread--ref .chat-message.is-other .chat-bubble {
  background: #140f36;
  border-color: rgba(255, 250, 245, 0.12);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-thread--ref .chat-message.is-own .chat-bubble {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-thread--ref .chat-message.is-own:not(.is-private-note) .chat-bubble {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-composer--ref {
  background: #120c32 !important;
  border-color: rgba(255, 250, 245, 0.16) !important;
}
:root[data-modern-theme=dark] .chat-composer--ref textarea {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row:hover {
  background: rgba(61, 90, 255, 0.14);
}
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active {
  background: rgba(61, 90, 255, 0.28);
  border-color: rgba(158, 180, 255, 0.35);
}
:root[data-modern-theme=dark] .chat-info-stat--files {
  background: rgba(61, 90, 255, 0.24);
}
:root[data-modern-theme=dark] .chat-info-stat--links {
  background: rgba(255, 250, 245, 0.07);
}
:root[data-modern-theme=dark] .chat-file-type-row:hover {
  background: rgba(255, 250, 245, 0.06);
}
:root[data-modern-theme=dark] .chat-file-type-row.is-active {
  background: rgba(61, 90, 255, 0.24);
}
:root[data-modern-theme=dark] .chat-info-hero p,
:root[data-modern-theme=dark] .chat-info-stat small,
:root[data-modern-theme=dark] .chat-info-stat .small,
:root[data-modern-theme=dark] .chat-ft-copy small,
:root[data-modern-theme=dark] .chat-ft-copy .small,
:root[data-modern-theme=dark] .chat-participant-info span {
  color: rgba(255, 250, 245, 0.7);
}
:root[data-modern-theme=dark] .chat-shared-link-item,
:root[data-modern-theme=dark] .chat-top-action,
:root[data-modern-theme=dark] .chat-info-drive-link {
  color: #9eb4ff;
}

@media (max-width: 1279px) {
  .chat-card--ref {
    grid-template-columns: 56px 280px minmax(0, 1fr);
  }
  .chat-info-panel {
    display: none;
  }
  .chat-thread--ref {
    margin-right: 0.75rem;
  }
}
@media (max-width: 991px) {
  .chat-card--ref {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .chat-mini-rail {
    display: none;
  }
  .chat-top-switcher-right {
    display: none;
  }
}
@media (max-width: 767px) {
  .chat-page--ref {
    padding: 0.45rem 0.65rem 0.85rem;
  }
  .chat-card--ref {
    grid-template-columns: minmax(0, 1fr);
  }
  .chat-thread--ref {
    margin: 0;
    border-radius: 0;
    border: 0;
  }
  .chat-card--ref:not(.has-thread) .chat-thread--ref {
    display: none;
  }
  .chat-card--ref.has-thread .chat-sidebar--ref {
    display: none;
  }
}
.chat-top-tab[hidden],
.chat-mini-btn[hidden],
.chat-tab-badge[hidden],
.chat-attach-menu[hidden],
.chat-ext-attach-bar[hidden],
.chat-emoji-panel[hidden] {
  display: none !important;
}

.chat-top-tab--support {
  background: #fff4ed;
  border: 1px solid rgba(234, 88, 12, 0.24);
  color: #c2410c;
}
.chat-top-tab--support:hover, .chat-top-tab--support:focus {
  background: #ffedd5;
  color: #9a3412;
}
.chat-top-tab--support.is-active {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(220, 38, 38, 0.72);
}

.chat-tab-badge--support {
  background: #dc2626;
  color: #ffffff;
}

.chat-top-tab--support.is-active .chat-tab-badge--support {
  background: #ffffff;
  color: #b91c1c;
}

.chat-card--ref.is-channel-support .chat-mini-brand {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

.chat-card--ref.is-channel-support .chat-sidebar-title i {
  color: #ea580c;
}

.chat-mini-btn--support {
  color: #ea580c;
}
.chat-mini-btn--support:hover, .chat-mini-btn--support:focus {
  background: #fff4ed;
  color: #c2410c;
}
.chat-mini-btn--support.is-active {
  background: #ffedd5;
  color: #dc2626;
}
.chat-mini-btn--support.is-active::after {
  background: #dc2626;
}

.chat-mini-dot--support {
  background: #dc2626;
}

.chat-me-status.is-support {
  background: #ffedd5;
  color: #c2410c;
}
.chat-me-status.is-support .dot {
  background: #ea580c;
}

.chat-info-avatar.is-support {
  background: #ffedd5;
  color: #ea580c;
}

.chat-thread-empty-icon--support {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
  color: #ffffff !important;
}

.chat-card--ref.is-channel-support .chat-sidebar--ref .chat-person-row.is-active {
  background: #fff4ed;
  border-color: rgba(234, 88, 12, 0.28);
}

.chat-card--ref.is-thread-whatsapp .chat-thread--ref .chat-message.is-own:not(.is-private-note) .chat-bubble {
  background: #dcfce7;
  color: #052e16;
  border-color: rgba(22, 163, 74, 0.18);
}

.chat-card--ref.is-thread-whatsapp .chat-view-pill.is-active {
  color: #15803d;
}

.chat-card--ref.is-thread-whatsapp .chat-info-stat--files {
  background: #e6f9ef;
}
.chat-card--ref.is-thread-whatsapp .chat-info-stat--files .chat-info-stat-icon {
  color: #16a34a;
}

.chat-cw-avatar.is-internal-sup {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
}

.chat-cw-badge-icon.is-internal {
  background: #3d5aff;
}

.chat-support-preview {
  color: #7c2d12 !important;
  font-weight: 600;
}

.chat-support-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  margin-top: 0.22rem;
  padding: 0.1rem 0.48rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}
.chat-support-channel-tag.is-wa {
  background: #dcfce7;
  color: #166534;
}
.chat-support-channel-tag.is-int {
  background: #e9f0ff;
  color: #3248c7;
}

.chat-unread-pill--support {
  background: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 900;
}

.chat-support-empty {
  margin: 1.2rem 0.9rem;
  padding: 1.35rem 1rem;
  border: 1px dashed rgba(5, 0, 26, 0.14);
  border-radius: 16px;
  background: #f8fbff;
  text-align: center;
}
.chat-support-empty i {
  font-size: 1.5rem;
  color: #16a34a;
  margin-bottom: 0.45rem;
  display: block;
}
.chat-support-empty p {
  margin: 0;
  color: #5f7190;
  font-size: 0.8rem;
  line-height: 1.45;
}

.chat-support-banner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 1.2rem;
  background: #fff4ed;
  border-bottom: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: 0.78rem;
  line-height: 1.4;
}
.chat-support-banner i {
  color: #ea580c;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.chat-support-resolve-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.88rem;
  border: 1px solid #16a34a;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chat-support-resolve-btn:hover, .chat-support-resolve-btn:focus-visible {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
  outline: none;
}

@keyframes chatAttachPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.chat-attach-wrap {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.chat-composer-btn.chat-attach.is-open {
  background: #3d5aff !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px -10px rgba(61, 90, 255, 0.85);
}
.chat-composer-btn.chat-attach.is-open i {
  transform: rotate(-45deg);
}

.chat-card--ref.is-thread-whatsapp .chat-composer-btn.chat-attach.is-open {
  background: #16a34a !important;
  box-shadow: 0 8px 18px -10px rgba(22, 163, 74, 0.85);
}

.chat-composer-btn.chat-attach i {
  transition: transform 0.18s ease;
}

.chat-attach-menu {
  position: absolute;
  right: -10px;
  bottom: calc(100% + 14px);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 292px;
  max-width: calc(100vw - 40px);
  padding: 0.45rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 48px -16px rgba(5, 0, 26, 0.24), 0 6px 16px -6px rgba(5, 0, 26, 0.1);
  animation: chatAttachPop 0.16s cubic-bezier(0.2, 0.85, 0.3, 1);
}
.chat-attach-menu::after {
  content: "";
  position: absolute;
  right: 21px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1px solid rgba(5, 0, 26, 0.08);
  border-bottom: 1px solid rgba(5, 0, 26, 0.08);
  transform: rotate(45deg);
  border-radius: 0 0 2px 0;
}

.chat-attach-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.58rem 0.38rem;
  margin-bottom: 0.1rem;
  border-bottom: 1px solid #eef2f8;
}
.chat-attach-menu-head span {
  color: #5f7190;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chat-attach-menu-head small, .chat-attach-menu-head .small {
  padding: 0.1rem 0.44rem;
  border-radius: 999px;
  background: #f1f5fb;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 700;
}

.chat-attach-opt {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  padding: 0.58rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #05001a;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}
.chat-attach-opt:hover, .chat-attach-opt:focus-visible {
  background: #f5f8ff;
  border-color: rgba(61, 90, 255, 0.14);
  outline: none;
}
.chat-attach-opt:hover .chat-attach-opt-chevron, .chat-attach-opt:focus-visible .chat-attach-opt-chevron {
  opacity: 1;
  transform: translateX(2px);
  color: #3d5aff;
}

.chat-attach-opt-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 0.98rem;
  transition: transform 0.14s ease;
}

.chat-attach-opt--local .chat-attach-opt-icon {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #3d5aff;
}

.chat-attach-opt--drive .chat-attach-opt-icon {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #15803d;
}
.chat-attach-opt--drive:hover, .chat-attach-opt--drive:focus-visible {
  background: #f1fcf6;
  border-color: rgba(22, 163, 74, 0.18);
}
.chat-attach-opt--drive:hover .chat-attach-opt-chevron, .chat-attach-opt--drive:focus-visible .chat-attach-opt-chevron {
  color: #15803d;
}

.chat-attach-opt--ext .chat-attach-opt-icon {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
}
.chat-attach-opt--ext:hover, .chat-attach-opt--ext:focus-visible {
  background: #fff8f2;
  border-color: rgba(234, 88, 12, 0.18);
}
.chat-attach-opt--ext:hover .chat-attach-opt-chevron, .chat-attach-opt--ext:focus-visible .chat-attach-opt-chevron {
  color: #ea580c;
}

.chat-attach-opt-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chat-attach-opt-copy strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #05001a;
  line-height: 1.2;
}
.chat-attach-opt-copy small, .chat-attach-opt-copy .small {
  font-size: 0.69rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.12rem;
  line-height: 1.25;
}

.chat-attach-opt-chevron {
  color: #94a3b8;
  font-size: 1rem;
  opacity: 0.65;
  transition: transform 0.14s ease, color 0.14s ease, opacity 0.14s ease;
}

.chat-ext-attach-bar {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  margin-bottom: 0.58rem;
  padding: 0.72rem 0.85rem 0.78rem;
  border: 1px solid rgba(61, 90, 255, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 32px -20px rgba(5, 0, 26, 0.25), 0 2px 8px -4px rgba(5, 0, 26, 0.08);
  animation: chatAttachPop 0.16s cubic-bezier(0.2, 0.85, 0.3, 1);
}

.chat-ext-attach-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.chat-ext-attach-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.chat-ext-attach-title strong {
  display: block;
  color: #05001a;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}
.chat-ext-attach-title small, .chat-ext-attach-title .small {
  display: block;
  color: #64748b;
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.25;
}

.chat-ext-attach-badge {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
  font-size: 0.82rem;
}

.chat-ext-close-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.chat-ext-close-btn:hover, .chat-ext-close-btn:focus-visible {
  background: #fee2e2;
  color: #dc2626;
  outline: none;
}

.chat-ext-attach-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.chat-ext-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  height: 38px;
  padding: 0 0.72rem;
  border: 1px solid #dbe4f3;
  border-radius: 11px;
  background: #f8fafd;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.chat-ext-field i {
  color: #94a3b8;
  font-size: 0.78rem;
  flex: 0 0 auto;
}
.chat-ext-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #05001a;
  font-size: 0.8rem;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}
.chat-ext-field input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}
.chat-ext-field:focus-within {
  border-color: #3d5aff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.12);
}
.chat-ext-field:focus-within i {
  color: #3d5aff;
}

.chat-ext-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  height: 38px;
  padding: 0 1rem;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 20px -12px rgba(61, 90, 255, 0.8);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.chat-ext-send-btn:hover, .chat-ext-send-btn:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: none;
}

.chat-card--ref.is-thread-whatsapp .chat-ext-send-btn {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 10px 20px -12px rgba(22, 163, 74, 0.8);
}

.chat-attachment-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.32rem;
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
}

.chat-attachment-video-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.chat-attachment-video {
  max-width: 300px;
  width: 100%;
  max-height: 220px;
  border-radius: 12px;
  background: #05001a;
  display: block;
}

.chat-attachment-file {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 210px;
  max-width: 320px;
  padding: 0.56rem 0.72rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(5, 0, 26, 0.09);
  color: #05001a;
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.chat-attachment-file:hover, .chat-attachment-file:focus {
  background: #ffffff;
  border-color: rgba(61, 90, 255, 0.35);
  color: #05001a;
  text-decoration: none;
}

.chat-attachment-file-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f0ff;
  color: #3d5aff;
  font-size: 0.96rem;
}
.chat-attachment-file-icon.is-drive {
  background: #e6f9ef;
  color: #15803d;
}
.chat-attachment-file-icon.is-ext {
  background: #fff1eb;
  color: #ea580c;
}

.chat-attachment-file-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chat-attachment-file-meta strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: #05001a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-attachment-file-meta small, .chat-attachment-file-meta .small {
  font-size: 0.68rem;
  color: #5f7190;
  font-weight: 600;
}

.chat-attachment-file-arrow {
  color: #7c8daa;
  font-size: 0.95rem;
}

:root[data-modern-theme=dark] .chat-top-tab--support:not(.is-active) {
  background: rgba(234, 88, 12, 0.22);
  border-color: rgba(251, 146, 60, 0.4);
  color: #fed7aa;
}
:root[data-modern-theme=dark] .chat-top-tab--support:not(.is-active):hover {
  background: rgba(234, 88, 12, 0.34);
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-card--ref.is-channel-support .chat-sidebar--ref .chat-person-row.is-active {
  background: rgba(234, 88, 12, 0.24);
  border-color: rgba(251, 146, 60, 0.42);
}
:root[data-modern-theme=dark] .chat-card--ref.is-thread-whatsapp .chat-thread--ref .chat-message.is-own:not(.is-private-note) .chat-bubble {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-card--ref.is-thread-whatsapp .chat-view-pill.is-active {
  background: #16a34a;
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-support-preview {
  color: #fdba74 !important;
}
:root[data-modern-theme=dark] .chat-support-empty {
  background: #120c32;
  border-color: rgba(255, 250, 245, 0.16);
}
:root[data-modern-theme=dark] .chat-support-empty p {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .chat-support-banner {
  background: rgba(234, 88, 12, 0.22);
  border-bottom-color: rgba(251, 146, 60, 0.35);
  color: #ffedd5;
}
:root[data-modern-theme=dark] .chat-attach-menu,
:root[data-modern-theme=dark] .chat-ext-attach-bar {
  background: #120c32;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-attach-menu::after {
  background: #120c32;
  border-right-color: rgba(255, 250, 245, 0.16);
  border-bottom-color: rgba(255, 250, 245, 0.16);
}
:root[data-modern-theme=dark] .chat-attach-menu-head {
  border-bottom-color: rgba(255, 250, 245, 0.1);
}
:root[data-modern-theme=dark] .chat-attach-menu-head span {
  color: rgba(255, 250, 245, 0.68);
}
:root[data-modern-theme=dark] .chat-attach-menu-head small, :root[data-modern-theme=dark] .chat-attach-menu-head .small {
  background: rgba(255, 250, 245, 0.1);
  color: rgba(255, 250, 245, 0.8);
}
:root[data-modern-theme=dark] .chat-attach-opt {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-attach-opt .chat-attach-opt-copy strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-attach-opt .chat-attach-opt-copy small, :root[data-modern-theme=dark] .chat-attach-opt .chat-attach-opt-copy .small {
  color: rgba(255, 250, 245, 0.68);
}
:root[data-modern-theme=dark] .chat-attach-opt:hover, :root[data-modern-theme=dark] .chat-attach-opt:focus-visible {
  background: rgba(61, 90, 255, 0.22);
  border-color: rgba(158, 180, 255, 0.28);
}
:root[data-modern-theme=dark] .chat-ext-attach-title strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-ext-attach-title small, :root[data-modern-theme=dark] .chat-ext-attach-title .small {
  color: rgba(255, 250, 245, 0.68);
}
:root[data-modern-theme=dark] .chat-ext-close-btn {
  background: rgba(255, 250, 245, 0.1);
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .chat-ext-field {
  background: #05001a;
  border-color: rgba(255, 250, 245, 0.18);
}
:root[data-modern-theme=dark] .chat-ext-field input {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active,
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active:hover {
  background: rgba(61, 90, 255, 0.28);
  border-color: rgba(158, 180, 255, 0.35);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active strong,
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active:hover strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active .chat-person-preview,
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active .chat-person-time,
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-preview,
:root[data-modern-theme=dark] .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-time {
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active,
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover {
  background: rgba(22, 163, 74, 0.24);
  border-color: rgba(74, 222, 128, 0.35);
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active strong,
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover strong {
  color: #ffffff;
}
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active .chat-person-preview,
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active .chat-person-time,
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-preview,
:root[data-modern-theme=dark] .chat-card--ref.is-channel-whatsapp .chat-sidebar--ref .chat-person-row.is-active:hover .chat-person-time {
  color: rgba(220, 252, 231, 0.85);
}
:root[data-modern-theme=dark] .chat-attachment-file {
  background: rgba(5, 0, 26, 0.55);
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-attachment-file:hover {
  background: rgba(5, 0, 26, 0.8);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-attachment-file-meta strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .chat-attachment-file-meta small, :root[data-modern-theme=dark] .chat-attachment-file-meta .small {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .chat-attachment-source-tag {
  background: rgba(255, 250, 245, 0.14);
}

@media (max-width: 767px) {
  .chat-attach-menu {
    right: -40px;
  }
  .chat-ext-attach-row {
    grid-template-columns: 1fr;
  }
}
.calendar-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.calendar-page) #layout-content > .container {
    max-width: 1360px;
  }
}
.calendar-page {
  --calendar-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.calendar-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl);
  background: radial-gradient(620px 240px at 100% 0%, rgba(67, 198, 245, 0.22), transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(59, 109, 255, 0.14), transparent 62%), var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}
.calendar-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--modern-gradient);
  opacity: 0.08;
  pointer-events: none;
}

.calendar-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}
.calendar-hero-copy h1, .calendar-hero-copy .h1 {
  margin: 0.35rem 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.calendar-hero-copy p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.calendar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--modern-primary);
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.calendar-eyebrow i {
  font-size: 0.8rem;
}

.calendar-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.calendar-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--modern-gradient);
  box-shadow: var(--modern-shadow-glow);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.calendar-hero-cta:hover, .calendar-hero-cta:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.calendar-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1.05rem;
  border: 1px solid var(--modern-border-strong);
  border-radius: 999px;
  background: var(--modern-glass-strong);
  color: var(--modern-ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.calendar-hero-ghost:hover, .calendar-hero-ghost:focus {
  border-color: rgba(59, 109, 255, 0.4);
  color: var(--modern-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.calendar-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  color: var(--modern-ink-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.calendar-back:hover, .calendar-back:focus {
  color: var(--modern-primary);
  text-decoration: none;
}

.calendar-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--modern-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.calendar-alert i {
  font-size: 1rem;
}

.calendar-alert--success {
  border: 1px solid rgba(52, 168, 83, 0.22);
  background: rgba(52, 168, 83, 0.1);
  color: #1d7a42;
}

.calendar-alert--error {
  border: 1px solid rgba(220, 53, 69, 0.22);
  background: rgba(220, 53, 69, 0.08);
  color: #b42318;
}

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calendar-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--modern-border);
  border-radius: 999px;
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--modern-shadow-xs);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.calendar-filter:hover, .calendar-filter:focus {
  border-color: rgba(59, 109, 255, 0.35);
  color: var(--modern-primary);
  text-decoration: none;
  transform: translateY(-1px);
}
.calendar-filter.is-active {
  border-color: transparent;
  background: var(--modern-gradient);
  color: #fff;
  box-shadow: var(--modern-shadow-glow);
}
.calendar-filter.is-active .calendar-filter-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.calendar-filter-count {
  min-width: 20px;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.calendar-monthnav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem;
  border: 1px solid var(--modern-border);
  border-radius: 999px;
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-xs);
}

.calendar-monthnav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--modern-ink-soft);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.calendar-monthnav-arrow:hover, .calendar-monthnav-arrow:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
  text-decoration: none;
}

.calendar-monthnav-label {
  padding: 0 0.55rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.calendar-monthnav-today {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}
.calendar-monthnav-today:hover, .calendar-monthnav-today:focus {
  background: var(--modern-gradient);
  color: #fff;
  text-decoration: none;
}

.calendar-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
}

.calendar-board {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}

.calendar-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.calendar-viewswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid var(--modern-border);
  border-radius: 999px;
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-xs);
}

.calendar-viewswitch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  color: var(--modern-ink-soft);
  font-family: var(--modern-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.calendar-viewswitch-btn:hover, .calendar-viewswitch-btn:focus {
  color: #3d5aff;
  text-decoration: none;
}
.calendar-viewswitch-btn.is-active {
  background: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 8px 18px -10px rgba(61, 90, 255, 0.85);
}

.calendar-month-table {
  border: 1px solid #b8c6ee;
  border-radius: 16px;
  overflow: hidden;
  background: #b8c6ee;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #b8c6ee;
  border-bottom: 1px solid #b8c6ee;
  padding: 0;
}
.calendar-weekdays span {
  padding: 0.62rem 0.35rem;
  background: #edf2ff;
  color: #3248c7;
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #b8c6ee;
}

.calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 118px;
  padding: 0.5rem 0.55rem;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  transition: background 0.16s ease;
}
.calendar-day:hover {
  background: #f8faff;
}
.calendar-day.is-outside {
  background: #f3f6fd;
}
.calendar-day.is-outside .calendar-daynum {
  color: #8b99b8;
}
.calendar-day.is-today {
  background: #eef3ff;
  box-shadow: inset 0 0 0 2px #3d5aff;
}
.calendar-day.is-today .calendar-daynum {
  background: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 6px 14px -4px rgba(61, 90, 255, 0.65);
}

.calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.calendar-daynum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 0.35rem;
  border-radius: 999px;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}
.calendar-daynum:hover, .calendar-daynum:focus {
  background: #e2e8ff;
  color: #3d5aff;
  text-decoration: none;
}

.calendar-day-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--modern-ink-faint);
  font-size: 0.68rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.calendar-day-add:hover, .calendar-day-add:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
  text-decoration: none;
  opacity: 1;
}

.calendar-day:hover .calendar-day-add {
  opacity: 1;
}

.calendar-day-events {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.calendar-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "title cam lock" "time cam lock";
  align-items: center;
  column-gap: 0.25rem;
  min-width: 0;
  padding: 0.26rem 0.36rem;
  border-radius: 8px;
  border-left: 3px solid #3b6dff;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}
.calendar-chip:hover, .calendar-chip:focus {
  background: #eaf2ff;
  color: var(--modern-ink);
  text-decoration: none;
  transform: translateY(-1px);
}
.calendar-chip.is-private {
  background: rgba(255, 182, 72, 0.12);
}
.calendar-chip--google {
  border-left-color: #4285f4;
}
.calendar-chip--google_meet {
  border-left-color: #34a853;
}
.calendar-chip--icall {
  border-left-color: #0ea5e9;
}
.calendar-chip--candary {
  border-left-color: #7c3aed;
}
.calendar-chip--call_com {
  border-left-color: #10b981;
}
.calendar-chip--local {
  border-left-color: #3b6dff;
}

.calendar-chip-time {
  grid-area: time;
  flex: 0 0 auto;
  overflow: hidden;
  color: var(--modern-ink-faint);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-chip-title {
  grid-area: title;
  overflow: hidden;
  color: var(--modern-ink-soft);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-chip-cam {
  grid-area: cam;
}

.calendar-chip-lock {
  grid-area: lock;
}

.calendar-chip-cam,
.calendar-chip-lock {
  flex: 0 0 auto;
  font-size: 0.6rem;
  opacity: 0.75;
}

.calendar-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}

.calendar-side-card {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.calendar-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.calendar-side-head h2, .calendar-side-head .h2 {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calendar-side-count {
  min-width: 22px;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.calendar-side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--modern-ink-muted);
  text-decoration: none;
}
.calendar-side-link:hover, .calendar-side-link:focus {
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
  text-decoration: none;
}

.calendar-side-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.2rem 0.6rem;
  color: var(--modern-ink-muted);
  text-align: center;
}
.calendar-side-empty i {
  color: var(--modern-ink-faint);
  font-size: 1.5rem;
}
.calendar-side-empty p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.calendar-upcoming {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-upcoming-item > a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.45rem;
  border-radius: var(--modern-radius-sm);
  text-decoration: none;
  transition: background 0.16s ease;
}
.calendar-upcoming-item > a:hover, .calendar-upcoming-item > a:focus {
  background: var(--modern-surface-muted);
  text-decoration: none;
}

.calendar-upcoming-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 44px;
  border-radius: 12px;
  background: var(--modern-gradient-soft);
  color: var(--modern-primary);
}
.calendar-upcoming-date strong {
  font-family: var(--modern-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}
.calendar-upcoming-date small, .calendar-upcoming-date .small {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendar-upcoming-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.calendar-upcoming-title {
  overflow: hidden;
  color: var(--modern-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-upcoming-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
}
.calendar-upcoming-meta i {
  color: var(--modern-ink-faint);
}

.calendar-upcoming-sep {
  color: var(--modern-ink-faint);
}

.calendar-connections {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-connection {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: var(--modern-radius-sm);
  transition: background 0.16s ease;
}
.calendar-connection:hover {
  background: var(--modern-surface-muted);
}

.calendar-connection-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
  font-size: 0.85rem;
}
.calendar-connection-icon--google {
  background: rgba(66, 133, 244, 0.12);
  color: #4285f4;
}
.calendar-connection-icon--google_meet {
  background: rgba(52, 168, 83, 0.12);
  color: #34a853;
}
.calendar-connection-icon--icall {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}
.calendar-connection-icon--candary {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}
.calendar-connection-icon--call_com {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.calendar-connection-icon--local {
  background: rgba(59, 109, 255, 0.12);
  color: #3b6dff;
}

.calendar-connection-body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.calendar-connection-name {
  color: var(--modern-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.calendar-connection-status {
  color: var(--modern-ink-muted);
  font-size: 0.66rem;
}

.calendar-connection-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--modern-border-strong);
}

.calendar-connection.is-connected .calendar-connection-dot {
  background: #2fb344;
  box-shadow: 0 0 0 3px rgba(47, 179, 68, 0.16);
}

.calendar-connections-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.55rem;
  border: 1px dashed var(--modern-border-strong);
  border-radius: var(--modern-radius-sm);
  color: var(--modern-ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}
.calendar-connections-cta:hover, .calendar-connections-cta:focus {
  border-color: rgba(59, 109, 255, 0.4);
  color: var(--modern-primary);
  text-decoration: none;
}

.calendar-single-card {
  padding: 1.9rem 2rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.calendar-single-head {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--modern-border);
}

.calendar-single-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 70px;
  border-radius: var(--modern-radius-sm);
  background: var(--modern-gradient);
  color: #fff;
  box-shadow: var(--modern-shadow-glow);
}
.calendar-single-date strong {
  font-family: var(--modern-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.calendar-single-date span {
  margin-top: 0.15rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-single-heading {
  min-width: 0;
}
.calendar-single-heading h1, .calendar-single-heading .h1 {
  margin: 0.55rem 0 0.3rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calendar-single-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.calendar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
}
.calendar-badge i {
  font-size: 0.66rem;
}
.calendar-badge--public {
  background: rgba(59, 109, 255, 0.1);
  color: var(--modern-primary);
}
.calendar-badge--private {
  background: rgba(255, 182, 72, 0.16);
  color: #a86a00;
}
.calendar-badge--allday {
  background: rgba(67, 198, 245, 0.14);
  color: #0d7a9c;
}
.calendar-badge--google {
  background: rgba(66, 133, 244, 0.12);
  color: #4285f4;
}
.calendar-badge--google_meet {
  background: rgba(52, 168, 83, 0.12);
  color: #34a853;
}
.calendar-badge--icall {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}
.calendar-badge--candary {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}
.calendar-badge--call_com {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.calendar-badge--local {
  background: rgba(59, 109, 255, 0.12);
  color: #3b6dff;
}

.calendar-single-when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.82rem;
}
.calendar-single-when i {
  color: var(--modern-ink-faint);
}

.calendar-single-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--modern-border);
}
.calendar-single-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.calendar-join {
  border: 0;
  background: var(--modern-gradient);
  box-shadow: var(--modern-shadow-glow);
  color: #fff;
}
.calendar-join:hover, .calendar-join:focus {
  color: #fff;
}

.calendar-inline-form {
  display: inline-flex;
  margin: 0;
}

.calendar-single-body {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding-top: 1.3rem;
}

.calendar-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
}

.calendar-meta-row {
  padding: 0.8rem 0.95rem;
  border-radius: var(--modern-radius-sm);
  background: var(--modern-surface-muted);
}
.calendar-meta-row dt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
  color: var(--modern-ink-faint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calendar-meta-row dt i {
  color: var(--modern-primary);
}
.calendar-meta-row dd {
  margin: 0;
  color: var(--modern-ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.calendar-description h2, .calendar-description .h2 {
  margin: 0 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
}
.calendar-description p {
  margin: 0;
  color: var(--modern-ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.calendar-single-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(59, 109, 255, 0.16);
  border-radius: var(--modern-radius-sm);
  background: rgba(59, 109, 255, 0.06);
  color: var(--modern-ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}
.calendar-single-note i {
  margin-top: 0.15rem;
  color: var(--modern-primary);
}
.calendar-single-note a {
  color: var(--modern-primary);
  font-weight: 700;
}
.calendar-single-note.calendar-single-note--muted {
  border-color: var(--modern-border);
  background: var(--modern-surface-muted);
}
.calendar-single-note.calendar-single-note--muted i {
  color: var(--modern-ink-faint);
}

.calendar-form-page {
  gap: 1rem;
}

.calendar-form-header h1, .calendar-form-header .h1 {
  margin: 0.35rem 0 0.3rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.calendar-form-header p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.9rem;
}

.calendar-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.calendar-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.25rem;
  align-items: start;
}

.calendar-form-main,
.calendar-form-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.calendar-form-side {
  position: sticky;
  top: 1.25rem;
}

.calendar-form-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
.calendar-form-card .form-group {
  margin-bottom: 0.9rem;
}
.calendar-form-card .form-group:last-child {
  margin-bottom: 0;
}

.calendar-form-section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calendar-form-section-title i {
  color: var(--modern-primary);
}

.calendar-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.calendar-form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--modern-radius-sm);
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.calendar-form-note i {
  margin-top: 0.1rem;
  color: var(--modern-primary);
}

.calendar-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.25rem;
}
.calendar-form-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.calendar-connections-page {
  gap: 1.25rem;
}

.calendar-connections-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(59, 109, 255, 0.16);
  border-radius: var(--modern-radius);
  background: rgba(59, 109, 255, 0.06);
  color: var(--modern-ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}
.calendar-connections-note > i {
  margin-top: 0.15rem;
  color: var(--modern-primary);
}
.calendar-connections-note code {
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
  background: rgba(59, 109, 255, 0.1);
  color: var(--modern-primary);
  font-size: 0.8em;
}

.calendar-connections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.calendar-connection-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-lg);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
.calendar-connection-card--google {
  box-shadow: inset 0 3px 0 rgba(66, 133, 244, 0.7), var(--modern-shadow-card);
}
.calendar-connection-card--google_meet {
  box-shadow: inset 0 3px 0 rgba(52, 168, 83, 0.7), var(--modern-shadow-card);
}
.calendar-connection-card--icall {
  box-shadow: inset 0 3px 0 rgba(14, 165, 233, 0.7), var(--modern-shadow-card);
}
.calendar-connection-card--candary {
  box-shadow: inset 0 3px 0 rgba(124, 58, 237, 0.7), var(--modern-shadow-card);
}
.calendar-connection-card--call_com {
  box-shadow: inset 0 3px 0 rgba(16, 185, 129, 0.7), var(--modern-shadow-card);
}
.calendar-connection-card--local {
  box-shadow: inset 0 3px 0 rgba(59, 109, 255, 0.7), var(--modern-shadow-card);
}

.calendar-connection-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.calendar-connection-card-title {
  min-width: 0;
}
.calendar-connection-card-title h2, .calendar-connection-card-title .h2 {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
}

.calendar-connection-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--modern-ink-muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.calendar-connection-card-status.is-connected {
  color: #1d7a42;
}
.calendar-connection-card-status.is-connected .calendar-connection-dot {
  background: #2fb344;
  box-shadow: 0 0 0 3px rgba(47, 179, 68, 0.16);
}

.calendar-connection-card-desc {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.calendar-connection-errors {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(220, 53, 69, 0.22);
  border-radius: var(--modern-radius-sm);
  background: rgba(220, 53, 69, 0.06);
  color: #b42318;
  font-size: 0.76rem;
}
.calendar-connection-errors > i {
  margin-top: 0.12rem;
}
.calendar-connection-errors ul {
  margin: 0;
  padding-left: 1rem;
}

.calendar-connection-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calendar-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.calendar-field label {
  color: var(--modern-ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.calendar-field label span {
  color: var(--modern-ink-faint);
  font-weight: 600;
  text-transform: none;
}
.calendar-field small, .calendar-field .small {
  color: var(--modern-ink-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}
.calendar-field code {
  padding: 0.02rem 0.28rem;
  border-radius: 5px;
  background: var(--modern-surface-muted);
  color: var(--modern-primary);
}

.calendar-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.calendar-switch input[type=checkbox] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.calendar-switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--modern-border-strong);
  transition: background 0.18s ease;
}
.calendar-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(30, 60, 130, 0.25);
  transition: transform 0.18s ease;
}

.calendar-switch input:checked + .calendar-switch-track {
  background: var(--modern-gradient);
}
.calendar-switch input:checked + .calendar-switch-track::after {
  transform: translateX(16px);
}

.calendar-switch-label {
  color: var(--modern-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.calendar-connection-card-actions {
  display: flex;
  gap: 0.5rem;
}

.calendar-connection-card-actions .btn,
.calendar-connection-card-sync .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.calendar-connection-card-sync {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--modern-border);
}

.calendar-connection-card-sync-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 100%;
  color: var(--modern-ink-muted);
  font-size: 0.72rem;
}
.calendar-connection-card-sync-info i {
  color: var(--modern-ink-faint);
}

.calendar-connection-card-sync-status {
  color: var(--modern-ink-soft);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.calendar-connection-card-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}
.calendar-connection-card-hint i {
  margin-top: 0.1rem;
  color: var(--modern-peach);
}

.calendar-connections-section {
  margin-top: 1.6rem;
}
.calendar-connections-section + .calendar-connections-section {
  margin-top: 2.2rem;
}

.calendar-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.8rem;
  margin-bottom: 0.9rem;
}
.calendar-section-head h2, .calendar-section-head .h2 {
  margin: 0;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.02rem;
  font-weight: 800;
}
.calendar-section-head p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
}

.calendar-connection-card--add {
  border: 1px dashed rgba(59, 109, 255, 0.45);
  background: rgba(59, 109, 255, 0.035);
  box-shadow: none;
}
.calendar-connection-card--add .calendar-connection-icon--add {
  background: rgba(59, 109, 255, 0.14);
  color: var(--modern-primary);
}

.calendar-connection-card.has-errors {
  border-color: rgba(220, 53, 69, 0.45);
}

.calendar-connection-delete {
  margin: 0;
}
.calendar-connection-delete button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #c0392b;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.calendar-connection-delete button:hover, .calendar-connection-delete button:focus {
  color: #992d22;
  text-decoration: underline;
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  .calendar-body {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}
@media (max-width: 1199.98px) {
  .calendar-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .calendar-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-form-side {
    position: static;
  }
  .calendar-connections-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .calendar-hero-actions {
    width: 100%;
  }
  .calendar-day {
    min-height: 92px;
  }
}
@media (max-width: 767.98px) {
  .calendar-side {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .calendar-board {
    padding: 0.6rem;
    overflow-x: auto;
  }
  .calendar-weekdays,
  .calendar-grid {
    min-width: 620px;
  }
  .calendar-meta {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-single-card {
    padding: 1.4rem 1.25rem 1.7rem;
  }
  .calendar-single-head {
    flex-direction: column;
  }
  .calendar-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.calendar-week-scroll {
  overflow-x: auto;
  border: 1px solid #b8c6ee;
  border-radius: 16px;
  background: #b8c6ee;
}

.calendar-week-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #b8c6ee;
  min-width: 720px;
}

.calendar-week-head-row,
.calendar-week-row {
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #b8c6ee;
}

.calendar-time-gutter {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem 0.35rem;
  background: #f4f7ff;
  color: #556387;
  font-family: var(--modern-font-display);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.calendar-week-corner {
  align-items: center;
  background: #edf2ff;
  color: #3248c7;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.calendar-week-dayhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.55rem;
  background: #edf2ff;
}
.calendar-week-dayhead.is-today {
  background: #dfe7ff;
  box-shadow: inset 0 3px 0 0 #3d5aff;
}
.calendar-week-dayhead.is-today .calendar-week-num {
  background: #3d5aff;
  color: #fffaf5;
}
.calendar-week-dayhead:hover .calendar-day-add {
  opacity: 1;
}

.calendar-week-daylink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.calendar-week-daylink:hover {
  text-decoration: none;
}

.calendar-week-wd {
  color: #3248c7;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-week-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.8rem;
  font-weight: 800;
}

.calendar-week-row--allday .calendar-week-cell {
  min-height: 44px;
  background: #fafcff;
}

.calendar-week-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 52px;
  padding: 0.3rem 0.35rem;
  background: #ffffff;
  min-width: 0;
  transition: background 0.14s ease;
}
.calendar-week-cell:hover {
  background: #f8faff;
}
.calendar-week-cell:hover .calendar-week-slot-add {
  opacity: 1;
}
.calendar-week-cell.is-today {
  background: #f5f8ff;
}

.calendar-week-slot-add {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: #eef2ff;
  color: #3d5aff;
  font-size: 0.6rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.calendar-week-slot-add:hover {
  background: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
  opacity: 1;
}

.calendar-day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.calendar-day-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
  padding: 0.5rem 0.35rem;
  border-radius: 13px;
  border: 1px solid #c5d1f5;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.14s ease;
}
.calendar-day-strip-item span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--modern-ink-muted);
}
.calendar-day-strip-item strong {
  font-family: var(--modern-font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #05001a;
}
.calendar-day-strip-item:hover {
  border-color: #3d5aff;
  text-decoration: none;
}
.calendar-day-strip-item.is-today {
  background: #eef3ff;
  border-color: #3d5aff;
}
.calendar-day-strip-item.is-selected {
  background: #3d5aff;
  border-color: #3d5aff;
  box-shadow: 0 10px 20px -12px rgba(61, 90, 255, 0.85);
}
.calendar-day-strip-item.is-selected span,
.calendar-day-strip-item.is-selected strong {
  color: #fffaf5;
}

.calendar-dayview-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid #b8c6ee;
  border-radius: 16px;
  overflow: hidden;
  background: #b8c6ee;
}

.calendar-dayview-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1px;
  background: #b8c6ee;
}
.calendar-dayview-row--allday .calendar-time-gutter {
  align-items: center;
  background: #edf2ff;
  color: #3248c7;
  font-size: 0.68rem;
}
.calendar-dayview-row--allday .calendar-dayview-slot {
  background: #fafcff;
  min-height: 48px;
}

.calendar-dayview-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.4rem 0.7rem;
  background: #ffffff;
  transition: background 0.14s ease;
}
.calendar-dayview-slot:hover {
  background: #f8faff;
}
.calendar-dayview-slot:hover .calendar-slot-add {
  opacity: 1;
}

.calendar-slot-empty {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--modern-ink-faint);
}

.calendar-slot-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-left: auto;
  border-radius: 8px;
  background: #eef2ff;
  color: #3d5aff;
  font-size: 0.7rem;
  text-decoration: none;
  opacity: 0.3;
  transition: all 0.14s ease;
}
.calendar-slot-add:hover {
  opacity: 1;
  background: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.calendar-dayview-chips,
.calendar-dayview-events {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.calendar-day-event {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #d4dffc;
  border-left: 4px solid #3d5aff;
  background: #f4f7ff;
  text-decoration: none;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.calendar-day-event:hover {
  transform: translateY(-1px);
  border-color: #3d5aff;
  text-decoration: none;
}
.calendar-day-event.is-private {
  background: #fffbeb;
}
.calendar-day-event--google {
  border-left-color: #4285f4;
}
.calendar-day-event--google_meet {
  border-left-color: #34a853;
}
.calendar-day-event--icall {
  border-left-color: #0ea5e9;
}
.calendar-day-event--candary {
  border-left-color: #7c3aed;
}
.calendar-day-event--call_com {
  border-left-color: #10b981;
}
.calendar-day-event--local {
  border-left-color: #3b6dff;
}

.calendar-day-event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.calendar-day-event-head strong {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.86rem;
  font-weight: 800;
}

.calendar-day-event-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #3248c7;
}

.calendar-day-event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
}
.calendar-day-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

:root[data-modern-theme=dark] .calendar-viewswitch {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
}
:root[data-modern-theme=dark] .calendar-viewswitch-btn {
  color: rgba(255, 250, 245, 0.8);
}
:root[data-modern-theme=dark] .calendar-viewswitch-btn.is-active {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .calendar-month-table,
:root[data-modern-theme=dark] .calendar-weekdays,
:root[data-modern-theme=dark] .calendar-grid,
:root[data-modern-theme=dark] .calendar-week-scroll,
:root[data-modern-theme=dark] .calendar-week-table,
:root[data-modern-theme=dark] .calendar-week-head-row,
:root[data-modern-theme=dark] .calendar-week-row,
:root[data-modern-theme=dark] .calendar-dayview-table,
:root[data-modern-theme=dark] .calendar-dayview-row {
  background: rgba(158, 180, 255, 0.26);
  border-color: rgba(158, 180, 255, 0.26);
}
:root[data-modern-theme=dark] .calendar-weekdays span,
:root[data-modern-theme=dark] .calendar-week-corner,
:root[data-modern-theme=dark] .calendar-week-dayhead,
:root[data-modern-theme=dark] .calendar-dayview-row--allday .calendar-time-gutter {
  background: #140f36;
  color: #b9c9ff;
}
:root[data-modern-theme=dark] .calendar-time-gutter {
  background: #120d36;
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .calendar-day,
:root[data-modern-theme=dark] .calendar-week-cell,
:root[data-modern-theme=dark] .calendar-dayview-slot,
:root[data-modern-theme=dark] .calendar-day-strip-item {
  background: #1a1447;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .calendar-day:hover,
:root[data-modern-theme=dark] .calendar-week-cell:hover,
:root[data-modern-theme=dark] .calendar-dayview-slot:hover,
:root[data-modern-theme=dark] .calendar-day-strip-item:hover {
  background: #211a57;
}
:root[data-modern-theme=dark] .calendar-day.is-outside {
  background: #120d36;
}
:root[data-modern-theme=dark] .calendar-day.is-outside .calendar-daynum {
  color: rgba(255, 250, 245, 0.42);
}
:root[data-modern-theme=dark] .calendar-day.is-today,
:root[data-modern-theme=dark] .calendar-week-cell.is-today,
:root[data-modern-theme=dark] .calendar-week-dayhead.is-today {
  background: #221c5e;
}
:root[data-modern-theme=dark] .calendar-daynum,
:root[data-modern-theme=dark] .calendar-week-num,
:root[data-modern-theme=dark] .calendar-day-strip-item strong,
:root[data-modern-theme=dark] .calendar-day-event-head strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .calendar-day-event {
  background: #140f36;
  border-color: rgba(158, 180, 255, 0.22);
}
:root[data-modern-theme=dark] .calendar-day-event-time {
  color: #9eb4ff;
}

.tasks-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.tasks-page) #layout-content > .container {
    max-width: 1500px;
  }
}
.tasks-page {
  --tasks-radius: 22px;
  --tasks-ink: #101d33;
  --tasks-soft: #6f7f99;
  --tasks-line: #e4edfb;
  --tasks-blue: #3b6dff;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tasks-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl, 28px);
  background: radial-gradient(circle at 88% 10%, rgba(56, 189, 248, 0.22), transparent 46%), linear-gradient(135deg, #ffffff 0%, #f2f7ff 58%, #eaf3ff 100%);
  box-shadow: 0 22px 50px -30px rgba(40, 80, 160, 0.45);
}

.tasks-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 109, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.tasks-hero-copy {
  position: relative;
  z-index: 1;
}

.tasks-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  color: var(--tasks-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tasks-hero h1, .tasks-hero .h1,
.tasks-form-header h1,
.tasks-form-header .h1 {
  margin: 0;
  color: var(--tasks-ink);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.tasks-hero p,
.tasks-form-header p {
  max-width: 620px;
  margin: 0.55rem 0 0;
  color: var(--tasks-soft);
  font-size: 0.94rem;
}

.tasks-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  gap: 0.6rem;
}

.tasks-hero-actions .btn {
  border-radius: 14px;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
}

.tasks-hero-today {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  background: #fff;
  color: #2b4a86;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px -20px rgba(40, 80, 160, 0.7);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tasks-hero-today:hover,
.tasks-hero-today:focus {
  border-color: #bcd4fb;
  background: #f2f7ff;
  color: var(--tasks-blue);
  text-decoration: none;
}

.tasks-hero-today i {
  color: var(--tasks-blue);
}

.tasks-alert {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #cfe0ff;
  border-radius: 16px;
  background: #f4f9ff;
  color: #3b4a63;
  font-size: 0.88rem;
  line-height: 1.45;
}

.tasks-alert[hidden] {
  display: none !important;
}

.tasks-alert--success {
  border-color: #c6f0e2;
  background: #f1fdf8;
  color: #0f7d5f;
}

.tasks-alert[data-state=overloaded] {
  border-color: #ffc7d5;
  background: linear-gradient(135deg, #fff5f8, #ffeaf0);
  color: #a81b45;
}

.tasks-alert[data-state=warning] {
  border-color: #ffe0b2;
  background: linear-gradient(135deg, #fffaf1, #fff1dc);
  color: #9a6514;
}

.tasks-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: rgba(59, 109, 255, 0.12);
  color: var(--tasks-blue);
  font-size: 1rem;
}

.tasks-alert[data-state=overloaded] .tasks-alert-icon {
  background: rgba(255, 90, 122, 0.14);
  color: #d52b57;
}

.tasks-alert[data-state=warning] .tasks-alert-icon {
  background: rgba(255, 182, 72, 0.18);
  color: #b8761a;
}

.tasks-alert-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.12rem;
}

.tasks-alert-body strong {
  color: inherit;
  font-weight: 800;
}

.tasks-alert-link {
  flex-shrink: 0;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tasks-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.tasks-efficiency,
.tasks-load {
  border: 1px solid var(--tasks-line);
  border-radius: var(--tasks-radius);
  background: #fff;
  box-shadow: 0 16px 38px -32px rgba(40, 80, 160, 0.55);
}

.tasks-efficiency {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.15rem 1.25rem;
}

.tasks-efficiency-ring {
  --tasks-value: 0;
  position: relative;
  display: flex;
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  border-radius: 50%;
  background: conic-gradient(#3b6dff calc(var(--tasks-value) * 1%), #e8f0ff 0);
  transition: background 0.4s ease;
}

.tasks-efficiency-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eef4ff;
}

.tasks-efficiency-number,
.tasks-efficiency-caption {
  position: relative;
  z-index: 1;
}

.tasks-efficiency-number {
  color: var(--tasks-ink);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tasks-efficiency-caption {
  color: var(--tasks-soft);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tasks-efficiency-body {
  min-width: 0;
}

.tasks-efficiency-body h2, .tasks-efficiency-body .h2 {
  margin: 0 0 0.3rem;
  color: var(--tasks-ink);
  font-size: 1.02rem;
}

.tasks-efficiency-body p {
  margin: 0;
  color: var(--tasks-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.tasks-efficiency-body p strong {
  color: var(--tasks-ink);
}

.tasks-efficiency-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 0.65rem;
}

.tasks-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tasks-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.tasks-legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8f9fba;
}

.tasks-legend-item--urgent i {
  background: #ff5a7a;
}

.tasks-legend-item--high i {
  background: #ffb648;
}

.tasks-legend-item--normal i {
  background: #3b6dff;
}

.tasks-legend-item--low i {
  background: #8f9fba;
}

.tasks-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.tasks-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.65rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--tasks-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px -30px rgba(40, 80, 160, 0.5);
}

.tasks-stat-icon {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  align-self: center;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--tasks-blue);
  font-size: 0.92rem;
}

.tasks-stat strong {
  color: var(--tasks-ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tasks-stat > span:last-child {
  color: var(--tasks-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tasks-stat--pending .tasks-stat-icon {
  background: #eef4ff;
  color: #3b6dff;
}

.tasks-stat--doing .tasks-stat-icon {
  background: #e7f8ff;
  color: #0e93c9;
}

.tasks-stat--done .tasks-stat-icon {
  background: #e6fbf2;
  color: #0f9f74;
}

.tasks-stat--late .tasks-stat-icon {
  background: #ffeaf0;
  color: #d52b57;
}

.tasks-load {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem;
}

.tasks-load-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.tasks-load-head h2, .tasks-load-head .h2 {
  margin: 0;
  color: var(--tasks-ink);
  font-size: 0.98rem;
}

.tasks-load-head h2 i, .tasks-load-head .h2 i {
  color: var(--tasks-blue);
}

.tasks-load-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: #e9fbf4;
  color: #0f8a66;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tasks-load.is-warning .tasks-load-badge {
  background: #fff2dc;
  color: #a86a12;
}

.tasks-load.is-overloaded {
  border-color: #ffc7d5;
  background: linear-gradient(150deg, #fff, #fff5f8);
}

.tasks-load.is-overloaded .tasks-load-badge {
  background: #ffe3ea;
  color: #c81e4a;
}

.tasks-load-numbers {
  margin: 0;
  color: var(--tasks-soft);
  font-size: 0.8rem;
}

.tasks-load-numbers strong {
  color: var(--tasks-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.tasks-load-numbers > span {
  float: right;
  color: var(--tasks-ink);
  font-weight: 800;
}

.tasks-load-bar,
.tasks-person-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0ff;
}

.tasks-load-bar span,
.tasks-person-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b6dff, #59b8ff);
  transition: width 0.4s ease;
}

.tasks-load.is-overloaded .tasks-load-bar span {
  background: linear-gradient(90deg, #ff5a7a, #ff8aa4);
}

.tasks-load.is-warning .tasks-load-bar span {
  background: linear-gradient(90deg, #ffb648, #ffd08a);
}

.tasks-load-hint {
  margin: 0;
  color: #93a3bd;
  font-size: 0.7rem;
  line-height: 1.45;
}

.tasks-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--tasks-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px -34px rgba(40, 80, 160, 0.6);
}

.tasks-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tasks-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.85rem;
  border-radius: 12px;
  color: #5b6b85;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.tasks-tab:hover {
  background: #f2f7ff;
  color: var(--tasks-blue);
  text-decoration: none;
}

.tasks-tab.is-active {
  background: linear-gradient(135deg, #3b6dff, #4f8dff);
  color: #fff;
  box-shadow: 0 10px 20px -14px rgba(59, 109, 255, 0.9);
}

.tasks-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 0.04rem 0.38rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.66rem;
  font-weight: 800;
}

.tasks-tab.is-active .tasks-tab-count {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.tasks-scopes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
}

.tasks-scope {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--tasks-line);
  border-radius: 12px;
  background: #fff;
  color: #40506b;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tasks-scope:hover {
  background: #f4f9ff;
  color: var(--tasks-blue);
}

.tasks-scope.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #3b6dff, #4f8dff);
  color: #fff;
  box-shadow: 0 12px 22px -14px rgba(59, 109, 255, 0.8);
}

.tasks-scope-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 0.04rem 0.38rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.66rem;
  font-weight: 800;
}

.tasks-scope.is-active .tasks-scope-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.tasks-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--tasks-line);
  border-radius: 22px;
  background: radial-gradient(circle at 0% 0%, rgba(59, 109, 255, 0.07), transparent 42%), #fff;
  box-shadow: 0 20px 44px -40px rgba(40, 80, 160, 0.6);
}

.tasks-checklist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.tasks-checklist-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tasks-checklist-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf2ff, #dbe9ff);
  color: var(--tasks-blue);
  font-size: 0.95rem;
}

.tasks-checklist-title h2, .tasks-checklist-title .h2 {
  margin: 0;
  color: var(--tasks-ink);
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}

.tasks-checklist-title p {
  margin: 0.15rem 0 0;
  color: var(--tasks-soft);
  font-size: 0.78rem;
}

.tasks-checklist-progress {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.tasks-checklist-pending {
  color: #5b6b85;
  font-size: 0.72rem;
  font-weight: 800;
}

.tasks-checklist-bar {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3fd;
}

.tasks-checklist-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b6dff, #53c0ff);
  transition: width 0.25s ease;
}

.tasks-checklist-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tasks-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #eef4ff;
  border-radius: 14px;
  background: #fbfdff;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.tasks-checklist-item:hover {
  border-color: #dbe7fb;
  background: #fff;
}

.tasks-checklist-item.is-checked {
  border-color: #d8f2e7;
  background: #f4fbf8;
}

.tasks-checklist-item.is-moving {
  opacity: 0.6;
}

.tasks-checklist-check {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
}

.tasks-checklist-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tasks-checklist-box {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  border: 2px solid #c7d7f0;
  border-radius: 7px;
  background: #fff;
  color: transparent;
  font-size: 0.62rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tasks-checklist-check:hover .tasks-checklist-box {
  border-color: #8fb2ef;
}

.tasks-checklist-check input:checked + .tasks-checklist-box {
  border-color: #1a9e77;
  background: #1a9e77;
  color: #fff;
}

.tasks-checklist-check input:focus-visible + .tasks-checklist-box {
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.2);
}

.tasks-checklist-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.22rem;
}

.tasks-checklist-name {
  color: var(--tasks-ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.tasks-checklist-item.is-checked .tasks-checklist-name {
  color: #7b8aa6;
  text-decoration: line-through;
}

.tasks-checklist-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.tasks-checklist-due {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #7b8aa6;
  font-size: 0.68rem;
  font-weight: 700;
}

.tasks-checklist-due--overdue {
  color: #d52b57;
}

.tasks-checklist-due--today {
  color: #b8761a;
}

.tasks-checklist-due--soon {
  color: #a86a12;
}

.tasks-checklist-person {
  color: #93a3bd;
  font-size: 0.68rem;
  font-weight: 700;
}

.tasks-checklist-open {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #b0bfd6;
  font-size: 0.7rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.tasks-checklist-open:hover {
  background: #eef4ff;
  color: var(--tasks-blue);
}

.tasks-checklist--empty {
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.tasks-checklist--empty > i {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e6fbf2;
  color: #0f9f74;
  font-size: 1.15rem;
}

.tasks-checklist--empty h2, .tasks-checklist--empty .h2 {
  margin: 0;
  color: var(--tasks-ink);
  font-size: 1rem;
}

.tasks-checklist--empty p {
  margin: 0.15rem 0 0;
  color: var(--tasks-soft);
  font-size: 0.8rem;
}

.tasks-checklist--empty .btn {
  margin-left: auto;
  border-radius: 12px;
}

.tasks-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.tasks-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid #e8eef8;
  border-radius: 18px;
  background: #f7f9fd;
}

.tasks-column-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.1rem 0.1rem 0;
}

.tasks-column-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaf1fe;
  color: #3b6dff;
  font-size: 0.7rem;
}

.tasks-column--todo .tasks-column-icon {
  background: #eaf1fe;
  color: #3b6dff;
}

.tasks-column--doing .tasks-column-icon {
  background: #e1f6ff;
  color: #0e93c9;
}

.tasks-column--review .tasks-column-icon {
  background: #f1ecff;
  color: #7c3aed;
}

.tasks-column--done .tasks-column-icon {
  background: #e6fbf2;
  color: #0f9f74;
}

.tasks-column-title {
  color: var(--tasks-ink);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tasks-column-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  margin-left: auto;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.68rem;
  font-weight: 800;
}

.tasks-column--doing .tasks-column-count {
  background: #e7f8ff;
  color: #0e93c9;
}

.tasks-column--review .tasks-column-count {
  background: #f1ecff;
  color: #7c3aed;
}

.tasks-column--done .tasks-column-count {
  background: #e6fbf2;
  color: #0f9f74;
}

.tasks-column-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px dashed #cfdcf1;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.62);
  color: #7b8aa6;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tasks-column-add:hover {
  border-color: #a9c3ef;
  background: #fff;
  color: #3b6dff;
  text-decoration: none;
}

.tasks-column-hint {
  margin: 0.2rem 0.2rem 0.7rem;
  color: #93a3bd;
  font-size: 0.66rem;
  line-height: 1.4;
}

.tasks-column-body {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 0.65rem;
  border-radius: 14px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.tasks-column-body.is-drop-target {
  background: rgba(59, 109, 255, 0.06);
  box-shadow: inset 0 0 0 2px rgba(59, 109, 255, 0.35);
}

.tasks-column-empty {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px dashed #cfdff7;
  border-radius: 14px;
  color: #a8b7cd;
  font-size: 0.72rem;
  font-weight: 600;
}

.tasks-column-empty[hidden] {
  display: none !important;
}

.tasks-column-empty i {
  font-size: 1rem;
  color: #b9c8df;
}

.task-card {
  --task-accent: #3b6dff;
  position: relative;
  padding: 0.8rem 0.9rem 0.7rem;
  border: 1px solid #e4edfb;
  border-left: 4px solid var(--task-accent);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 26px -24px rgba(40, 80, 160, 0.65);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -26px rgba(40, 80, 160, 0.7);
}

.task-card--low {
  --task-accent: #9aa9bf;
}

.task-card--normal {
  --task-accent: #3b6dff;
}

.task-card--high {
  --task-accent: #ffb648;
}

.task-card--urgent {
  --task-accent: #ff5a7a;
}

.task-card.is-dragging {
  opacity: 0.55;
  transform: rotate(1deg) scale(0.99);
  cursor: grabbing;
}

.task-card.is-moving {
  opacity: 0.6;
}

.task-card.is-done {
  background: #fbfefd;
}

.task-card.is-overdue {
  background: linear-gradient(145deg, #fff, #fff6f8);
}

.task-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.task-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.task-pill--low {
  background: #f0f3f8;
  color: #6f7f99;
}

.task-pill--normal {
  background: #eef4ff;
  color: #3b6dff;
}

.task-pill--high {
  background: #fff2dc;
  color: #a86a12;
}

.task-pill--urgent {
  background: #ffe6ec;
  color: #c81e4a;
}

.task-pill--late {
  background: #ffe0e8;
  color: #b81743;
}

.task-pill--done {
  background: #e6fbf2;
  color: #0f8f6a;
}

.task-pill--delegated {
  background: #f1ecff;
  color: #7c3aed;
}

.task-pill--status-todo {
  background: #eef4ff;
  color: #3b6dff;
}

.task-pill--status-doing {
  background: #e7f8ff;
  color: #0e93c9;
}

.task-pill--status-review {
  background: #f1ecff;
  color: #7c3aed;
}

.task-pill--status-done {
  background: #e6fbf2;
  color: #0f8f6a;
}

.task-card-title {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--tasks-ink);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.012em;
  line-height: 1.35;
  word-break: break-word;
}

.task-card-title:hover {
  color: var(--tasks-blue);
}

.task-card-desc {
  margin: 0 0 0.6rem;
  color: var(--tasks-soft);
  font-size: 0.73rem;
  line-height: 1.45;
  word-break: break-word;
}

.task-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f5fd;
}

.task-card-person {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.35rem;
  overflow: hidden;
  color: #40506b;
  font-size: 0.7rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card-due {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.55rem;
  color: #7b8aa6;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.task-card-due--overdue {
  color: #d52b57;
}

.task-card-due--today {
  color: #b8761a;
}

.task-card-due--soon {
  color: #a86a12;
}

.task-card-due--none {
  color: #a8b7cd;
}

.task-card-late {
  padding: 0.02rem 0.32rem;
  border-radius: 999px;
  background: #ffe0e8;
  color: #b81743;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.task-card-done {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #0f9f74;
}

.task-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.15rem;
}

.task-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.45rem;
  border-radius: 7px;
  background: #f0f4fb;
  color: #5b6b85;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.4;
}

.task-tag--low {
  background: #f0f3f8;
  color: #6f7f99;
}

.task-tag--normal {
  background: #eef4ff;
  color: #3b6dff;
}

.task-tag--high {
  background: #fff2dc;
  color: #a86a12;
}

.task-tag--urgent {
  background: #ffe6ec;
  color: #c81e4a;
}

.task-tag--status-todo {
  background: #eef4ff;
  color: #3b6dff;
}

.task-tag--status-doing {
  background: #e1f6ff;
  color: #0e93c9;
}

.task-tag--status-review {
  background: #f1ecff;
  color: #7c3aed;
}

.task-tag--status-done {
  background: #e6fbf2;
  color: #0f8f6a;
}

.task-tag--delegated {
  background: #f1ecff;
  color: #7c3aed;
}

.task-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.task-card-from {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.3rem;
  overflow: hidden;
  color: #93a3bd;
  font-size: 0.64rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-quick-move {
  width: auto;
  max-width: 118px;
  padding: 0.12rem 0.3rem;
  border: 1px solid #e4edfb;
  border-radius: 8px;
  background: #f5f9ff;
  color: #40506b;
  font-size: 0.66rem;
  font-weight: 700;
}

.task-quick-move:focus {
  outline: none;
  border-color: #3b6dff;
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.14);
}

.tasks-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0.2rem;
  color: #93a3bd;
  font-size: 0.72rem;
  line-height: 1.5;
}

.tasks-note i {
  margin-top: 0.15rem;
  color: #3b6dff;
}

.tasks-team {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.4rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--tasks-line);
  border-radius: 24px;
  background: radial-gradient(circle at 6% 0%, rgba(56, 189, 248, 0.1), transparent 40%), #fff;
  box-shadow: 0 18px 44px -40px rgba(40, 80, 160, 0.6);
}

.tasks-team-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tasks-team-head h2, .tasks-team-head .h2 {
  margin: 0;
  color: var(--tasks-ink);
  font-size: 1.12rem;
}

.tasks-team-head p {
  margin: 0.2rem 0 0;
  color: var(--tasks-soft);
  font-size: 0.8rem;
}

.tasks-team-legend {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
  color: #93a3bd;
  font-size: 0.68rem;
  font-weight: 700;
}

.tasks-team-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #ff5a7a;
}

.tasks-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.tasks-person {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #eef4ff;
  border-radius: 16px;
  background: #fbfdff;
}

.tasks-person.is-me {
  box-shadow: inset 0 0 0 2px rgba(59, 109, 255, 0.24);
}

.tasks-person.is-warning {
  border-color: #ffe0b2;
  background: #fffcf6;
}

.tasks-person.is-overloaded {
  border-color: #ffc7d5;
  background: #fff7f9;
}

.tasks-person-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.tasks-person-id {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.tasks-person-id strong {
  overflow: hidden;
  color: var(--tasks-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tasks-person-id strong em {
  color: var(--tasks-blue);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
}

.tasks-person-id span {
  color: #93a3bd;
  font-size: 0.66rem;
  white-space: nowrap;
}

.tasks-person-badge {
  flex-shrink: 0;
  padding: 0.13rem 0.42rem;
  border-radius: 999px;
  background: #ffe3ea;
  color: #c81e4a;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tasks-person-badge--warning {
  background: #fff2dc;
  color: #a86a12;
}

.tasks-person.is-overloaded .tasks-person-bar span {
  background: linear-gradient(90deg, #ff5a7a, #ff8aa4);
}

.tasks-person.is-warning .tasks-person-bar span {
  background: linear-gradient(90deg, #ffb648, #ffd08a);
}

.tasks-person-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #93a3bd;
  font-size: 0.64rem;
  font-weight: 700;
}

.tasks-team-empty {
  padding: 1rem;
  color: #93a3bd;
  font-size: 0.82rem;
  text-align: center;
}

.tasks-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  color: #6f7f99;
  font-size: 0.8rem;
  font-weight: 700;
}

.tasks-back:hover {
  color: var(--tasks-blue);
}

.tasks-form-header h1, .tasks-form-header .h1 {
  margin-top: 0.15rem;
}

.tasks-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 1.1rem;
  align-items: start;
}

.tasks-form-card,
.tasks-side-card {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--tasks-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px -36px rgba(40, 80, 160, 0.6);
}

.tasks-form-card + .tasks-form-card {
  margin-top: 1rem;
}

.tasks-form-section-title {
  margin: 0 0 0.9rem;
  color: var(--tasks-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.tasks-form-section-title i {
  margin-right: 0.3rem;
  color: var(--tasks-blue);
}

.tasks-form-note {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #f4f9ff;
  color: #5b6b84;
  font-size: 0.74rem;
  line-height: 1.45;
}

.tasks-form-note i {
  margin-top: 0.15rem;
  color: var(--tasks-blue);
}

.tasks-form-person {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.tasks-form-person-label {
  color: #93a3bd;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tasks-form-person strong {
  color: var(--tasks-ink);
  font-size: 0.9rem;
}

.tasks-form-person span:last-child {
  color: #93a3bd;
  font-size: 0.72rem;
}

.tasks-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.tasks-form-actions .btn {
  border-radius: 13px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
}

.tasks-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 1.1rem;
  align-items: start;
}

.tasks-detail-card {
  --task-accent: #3b6dff;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--tasks-line);
  border-top: 5px solid var(--task-accent);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 46px -40px rgba(40, 80, 160, 0.65);
}

.tasks-detail-card--low {
  --task-accent: #9aa9bf;
}

.tasks-detail-card--normal {
  --task-accent: #3b6dff;
}

.tasks-detail-card--high {
  --task-accent: #ffb648;
}

.tasks-detail-card--urgent {
  --task-accent: #ff5a7a;
}

.tasks-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.tasks-detail-card h1, .tasks-detail-card .h1 {
  margin: 0 0 1rem;
  color: var(--tasks-ink);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
  word-break: break-word;
}

.tasks-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  padding: 0.9rem 0;
  border-top: 1px solid #f0f5fd;
  border-bottom: 1px solid #f0f5fd;
}

.tasks-detail-person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
}

.tasks-detail-person > span,
.tasks-detail-fact > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.tasks-detail-meta small, .tasks-detail-meta .small,
.tasks-detail-fact small,
.tasks-detail-fact .small {
  color: #93a3bd;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tasks-detail-meta strong {
  overflow: hidden;
  color: var(--tasks-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tasks-detail-fact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  color: #7b8aa6;
}

.tasks-detail-fact > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  background: #f1f6ff;
  color: #3b6dff;
  font-size: 0.8rem;
}

.tasks-detail-fact--overdue > i {
  background: #ffeaf0;
  color: #d52b57;
}

.tasks-detail-fact--today > i {
  background: #fff2dc;
  color: #b8761a;
}

.tasks-detail-fact--done > i {
  background: #e6fbf2;
  color: #0f8f6a;
}

.tasks-detail-description,
.tasks-detail-status {
  margin-top: 1.15rem;
}

.tasks-detail-description h2, .tasks-detail-description .h2,
.tasks-detail-status h2,
.tasks-detail-status .h2,
.tasks-side-card h2,
.tasks-side-card .h2 {
  margin: 0 0 0.6rem;
  color: var(--tasks-ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.tasks-detail-text {
  color: #4a5a73;
  font-size: 0.88rem;
  line-height: 1.65;
  word-break: break-word;
}

.tasks-detail-empty {
  margin: 0;
  color: #a8b7cd;
  font-size: 0.84rem;
  font-style: italic;
}

.tasks-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tasks-status-form,
.tasks-inline-form {
  display: inline;
  margin: 0;
}

.tasks-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.8rem;
  border: 1px solid #e4edfb;
  border-radius: 11px;
  background: #fff;
  color: #40506b;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tasks-status-btn:hover {
  border-color: #3b6dff;
  background: #f4f9ff;
  color: #3b6dff;
}

.tasks-status-btn.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, #3b6dff, #4f8dff);
  color: #fff;
  cursor: default;
}

.tasks-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid #f0f5fd;
}

.tasks-detail-actions .btn {
  border-radius: 12px;
  font-weight: 700;
}

.tasks-detail-board-link {
  margin-left: auto;
  color: #6f7f99;
  font-size: 0.78rem;
  font-weight: 700;
}

.tasks-detail-board-link:hover {
  color: #3b6dff;
}

.tasks-detail-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tasks-side-card {
  padding: 1.15rem 1.2rem;
}

.tasks-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.tasks-side-head h2, .tasks-side-head .h2 {
  margin: 0;
}

.tasks-side-person {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.tasks-side-person > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.tasks-side-person strong {
  color: var(--tasks-ink);
  font-size: 0.84rem;
}

.tasks-side-person span {
  color: #93a3bd;
  font-size: 0.68rem;
}

.tasks-side-load.is-overloaded {
  border-color: #ffc7d5;
  background: linear-gradient(150deg, #fff, #fff5f8);
}

.tasks-side-load.is-overloaded .tasks-load-badge {
  background: #ffe3ea;
  color: #c81e4a;
}

.tasks-side-load .tasks-load-bar {
  margin: 0.35rem 0 0.45rem;
}

.tasks-side-load.is-overloaded .tasks-load-bar span {
  background: linear-gradient(90deg, #ff5a7a, #ff8aa4);
}

.tasks-side-load.is-warning .tasks-load-bar span {
  background: linear-gradient(90deg, #ffb648, #ffd08a);
}

.tasks-side-text {
  margin: 0 0 0.6rem;
  color: #6f7f99;
  font-size: 0.76rem;
  line-height: 1.55;
}

.tasks-side-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 1250px) {
  .tasks-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tasks-load {
    grid-column: span 2;
  }
  .tasks-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .tasks-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .tasks-form-grid,
  .tasks-detail-grid {
    grid-template-columns: 1fr;
  }
  .tasks-checklist-list {
    grid-template-columns: 1fr;
  }
  .tasks-checklist-head {
    align-items: flex-start;
  }
  .tasks-checklist-progress {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }
}
@media (max-width: 760px) {
  .tasks-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem;
  }
  .tasks-hero-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .tasks-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .tasks-tabs,
  .tasks-scopes {
    width: 100%;
  }
  .tasks-tab,
  .tasks-scope {
    flex: 1;
    justify-content: center;
  }
  .tasks-overview {
    grid-template-columns: 1fr;
  }
  .tasks-load {
    grid-column: auto;
  }
  .tasks-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tasks-team-head {
    flex-direction: column;
    gap: 0.4rem;
  }
  .tasks-alert {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tasks-alert-link {
    margin-left: 3rem;
  }
}
@media (max-width: 620px) {
  .tasks-board {
    grid-template-columns: 1fr;
  }
  .tasks-checklist {
    padding: 1rem;
  }
  .tasks-checklist--empty .btn {
    margin-left: 0;
  }
  .tasks-hero-today {
    flex: 1;
    justify-content: center;
  }
  .tasks-team-grid {
    grid-template-columns: 1fr;
  }
  .tasks-efficiency {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .tasks-detail-card {
    padding: 1.2rem;
  }
  .tasks-detail-board-link {
    margin-left: 0;
  }
}
.dt-page {
  gap: 1rem;
}

.dt-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  border-radius: 28px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}

.dt-main {
  padding: 1.65rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.dt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.dt-head-title h1, .dt-head-title .h1 {
  margin: 0;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.dt-head-title p {
  margin: 0.25rem 0 0;
  color: var(--modern-ink-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.dt-head-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dt-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0.85rem;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface-muted);
}
.dt-search i {
  color: var(--modern-ink-muted);
  font-size: 0.82rem;
}
.dt-search input {
  width: 155px;
  border: 0;
  background: transparent;
  color: var(--modern-ink);
  font-size: 0.82rem;
}
.dt-search input:focus {
  outline: none;
}

.dt-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.dt-filter-toggle:hover, .dt-filter-toggle.is-open {
  border-color: #3d5aff;
  color: #3d5aff;
  background: rgba(61, 90, 255, 0.06);
}

.dt-new-btn {
  height: 38px;
  padding: 0 1rem !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem !important;
}

.dt-filter-drawer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}
.dt-filter-drawer[hidden] {
  display: none;
}

.dt-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dt-filter-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--modern-ink-muted);
}

.dt-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dt-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.dt-pill span {
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  font-size: 0.68rem;
}
.dt-pill.is-active {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}
.dt-pill.is-active span {
  background: rgba(255, 250, 245, 0.24);
  color: #fffaf5;
}

.dt-board-stage {
  padding: 0;
  border-radius: 18px;
  background: #b8c6ee;
  border: 1px solid #b8c6ee;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  box-shadow: 0 8px 24px -22px rgba(5, 0, 26, 0.35);
}

.dt-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(212px, 1fr));
  gap: 1px;
  background: #b8c6ee;
  align-items: stretch;
}

.dt-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  min-height: 440px;
  padding: 0.9rem 0.85rem;
  background: #f6f8ff;
}

.dt-column-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  font-family: var(--modern-font-display);
  font-size: 0.84rem;
  font-weight: 800;
}
.dt-column-head--todo {
  background: #fde2e6;
  color: #b91c42;
}
.dt-column-head--todo .dt-column-count {
  background: #dc2626;
  color: #ffffff;
}
.dt-column-head--doing {
  background: #fef0d4;
  color: #b45309;
}
.dt-column-head--doing .dt-column-count {
  background: #f59e0b;
  color: #ffffff;
}
.dt-column-head--review {
  background: #e2e8ff;
  color: #3248c7;
}
.dt-column-head--review .dt-column-count {
  background: #3d5aff;
  color: #ffffff;
}
.dt-column-head--done {
  background: #d7f8e4;
  color: #15803d;
}
.dt-column-head--done .dt-column-count {
  background: #16a34a;
  color: #ffffff;
}

.dt-column-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.dt-column-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
  min-height: 70px;
  padding-top: 0.8rem;
  border-top: 1px solid #c9d5f5;
  border-radius: 0;
  transition: background-color 0.16s ease;
}
.dt-column-body.is-drag-over {
  background: rgba(61, 90, 255, 0.08);
  outline: 2px dashed rgba(61, 90, 255, 0.45);
  outline-offset: 2px;
}

.dt-column-empty {
  padding: 1.25rem 0.75rem;
  border-radius: 14px;
  border: 1.5px dashed #b8c6ee;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
  color: var(--modern-ink-faint);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.dt-column-empty[hidden] {
  display: none;
}

.dt-card.task-card {
  padding: 1rem 1rem 0.85rem;
  border-radius: 16px;
  border: 1px solid #c5d1f5 !important;
  border-left: 1px solid #c5d1f5 !important;
  background: #ffffff;
  box-shadow: 0 10px 24px -20px rgba(5, 0, 26, 0.28), 0 1px 3px rgba(5, 0, 26, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  cursor: grab;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.dt-card.task-card::before {
  display: none !important;
}
.dt-card.task-card:hover {
  transform: translateY(-2px);
  border-color: #8da2fb !important;
  box-shadow: 0 18px 34px -20px rgba(5, 0, 26, 0.36);
}
.dt-card.task-card.is-done {
  opacity: 0.92;
}

.dt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dt-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.dt-card-badge--urgent {
  background: #dc2626;
}
.dt-card-badge--high {
  background: #f59e0b;
  color: #ffffff;
}
.dt-card-badge--normal {
  background: #3d5aff;
}
.dt-card-badge--low {
  background: #64748b;
}

.dt-card-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--modern-ink-faint);
  text-decoration: none;
}
.dt-card-more:hover {
  background: var(--modern-surface-muted);
  color: #05001a;
}

.dt-card-title {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}
.dt-card-title:hover {
  color: #3d5aff;
}

.dt-card-desc {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.77rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-card-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.dt-card-due {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #eef2ff;
  color: #3248c7;
}
.dt-card-due--overdue {
  background: #fee2e2;
  color: #b91c1c;
}
.dt-card-due--today {
  background: #fef3c7;
  color: #b45309;
}
.dt-card-due--done {
  background: #dcfce7;
  color: #15803d;
}
.dt-card-due--soon {
  background: #fef3c7;
  color: #b45309;
}

.dt-card-avatars {
  display: inline-flex;
  align-items: center;
}
.dt-card-avatars img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
}

.dt-card-avatar-second {
  margin-left: -8px;
  display: inline-flex;
}

.dt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding-top: 0.55rem;
  margin-top: 0.1rem;
  border-top: 1px solid #f1f4fb;
}

.dt-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--modern-ink-faint);
}

.dt-quick-move.task-quick-move {
  padding: 0.18rem 0.45rem;
  border-radius: 8px;
  border: 1px solid #e4e9fc;
  background: #f8faff;
  color: var(--modern-ink-muted);
  font-size: 0.7rem;
  font-weight: 700;
  max-width: 112px;
}

.dt-add-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 0.95rem;
  border-radius: 13px;
  border: 1.5px solid #cbd6fb;
  background: rgba(255, 255, 255, 0.75);
  color: #3d5aff;
  font-family: var(--modern-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.dt-add-card:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}

.dt-aside {
  padding: 1.65rem 1.45rem;
  border-left: 1px solid var(--modern-border);
  background: var(--modern-surface);
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}
.dt-aside h2, .dt-aside .h2, .dt-aside h3, .dt-aside .h3 {
  margin: 0;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dt-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95rem;
}

.dt-week-nav {
  display: flex;
  gap: 0.35rem;
}
.dt-week-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #cbd6fb;
  color: #3d5aff;
  text-decoration: none;
  font-size: 0.85rem;
}
.dt-week-nav a:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}

.dt-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  text-align: center;
}

.dt-week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.2rem 0.1rem;
  transition: background-color 0.15s ease;
}
.dt-week-day:hover {
  text-decoration: none;
  background: rgba(61, 90, 255, 0.08);
}

.dt-week-wd {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}

.dt-week-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--modern-ink);
}

.dt-week-day.is-today .dt-week-num {
  background: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 6px 14px -4px rgba(61, 90, 255, 0.75);
}

.dt-week-day.has-tasks::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d0ff00;
  border: 1px solid #05001a;
}

.dt-your-tasks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dt-task-group {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.dt-task-group-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}

.dt-task-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dt-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-chip--coral {
  background: #ef4444;
}
.dt-chip--amber {
  background: #f59e0b;
}
.dt-chip--blue {
  background: #3d5aff;
}
.dt-chip--slate {
  background: #64748b;
}

.dt-muted-note {
  font-size: 0.74rem;
  color: var(--modern-ink-faint);
  font-weight: 600;
}

.dt-upcoming {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dt-timeline-hours {
  display: grid;
  grid-template-columns: 48px repeat(4, minmax(0, 1fr));
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--modern-ink-faint);
  text-align: center;
}

.dt-timeline-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dt-timeline-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  min-height: 24px;
}

.dt-timeline-day {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
  white-space: nowrap;
}
.dt-timeline-day strong {
  color: var(--modern-ink);
  font-weight: 800;
  margin-right: 2px;
}

.dt-timeline-row.is-today .dt-timeline-day,
.dt-timeline-row.is-today .dt-timeline-day strong {
  color: #3d5aff;
}

.dt-timeline-track {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}
.dt-timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e9eefb;
}

.dt-timeline-bar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 6px 14px -6px rgba(5, 0, 26, 0.35);
}

.dt-mini-stats {
  margin-top: auto;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.dt-mini-stat span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}
.dt-mini-stat strong {
  font-family: var(--modern-font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--modern-ink);
}

.dt-mini-bar {
  grid-column: 1/-1;
  height: 6px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  overflow: hidden;
}
.dt-mini-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d5aff 0%, #7d96ff 55%, #d0ff00 100%);
}

:root[data-modern-theme=dark] .dt-shell,
:root[data-modern-theme=dark] .dt-aside {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-head-title h1, :root[data-modern-theme=dark] .dt-head-title .h1,
:root[data-modern-theme=dark] .dt-aside h2,
:root[data-modern-theme=dark] .dt-aside .h2,
:root[data-modern-theme=dark] .dt-aside h3,
:root[data-modern-theme=dark] .dt-aside .h3,
:root[data-modern-theme=dark] .dt-card-title,
:root[data-modern-theme=dark] .dt-week-num,
:root[data-modern-theme=dark] .dt-timeline-day strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-board-stage,
:root[data-modern-theme=dark] .dt-board {
  background: rgba(158, 180, 255, 0.26);
  border-color: rgba(158, 180, 255, 0.26);
}
:root[data-modern-theme=dark] .dt-column {
  background: #120d36;
}
:root[data-modern-theme=dark] .dt-column-body {
  border-top-color: rgba(158, 180, 255, 0.22);
}
:root[data-modern-theme=dark] .dt-column-empty {
  background: rgba(26, 20, 71, 0.5);
  border-color: rgba(158, 180, 255, 0.28);
}
:root[data-modern-theme=dark] .dt-card.task-card {
  background: #1a1447 !important;
  border-color: rgba(158, 180, 255, 0.24) !important;
}
:root[data-modern-theme=dark] .dt-card-foot {
  border-top-color: rgba(255, 250, 245, 0.1);
}
:root[data-modern-theme=dark] .dt-quick-move.task-quick-move,
:root[data-modern-theme=dark] .dt-search,
:root[data-modern-theme=dark] .dt-filter-toggle,
:root[data-modern-theme=dark] .dt-filter-drawer,
:root[data-modern-theme=dark] .dt-pill:not(.is-active),
:root[data-modern-theme=dark] .dt-mini-stats {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-add-card {
  background: rgba(61, 90, 255, 0.14);
  border-color: rgba(158, 180, 255, 0.35);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-add-card:hover {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .dt-timeline-track::before {
  background: rgba(255, 250, 245, 0.12);
}

@media (max-width: 1280px) {
  .dt-shell {
    grid-template-columns: minmax(0, 1fr) 308px;
  }
}
@media (max-width: 1099px) {
  .dt-shell {
    grid-template-columns: 1fr;
  }
  .dt-aside {
    border-left: 0;
    border-top: 1px solid var(--modern-border);
  }
}
@media (max-width: 767px) {
  .dt-main {
    padding: 1.15rem;
  }
  .dt-board {
    grid-template-columns: minmax(0, 1fr);
  }
  .dt-search input {
    width: 120px;
  }
}
.dt-checklist {
  padding: 1rem 1.15rem;
  border-radius: 20px;
  border: 1px solid #e4e9fc;
  background: #fafbff;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dt-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dt-checklist-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.dt-checklist-title h2, .dt-checklist-title .h2 {
  margin: 0;
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #05001a;
}
.dt-checklist-title p {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
}

.dt-checklist-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.95rem;
}

.dt-checklist-progress {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dt-checklist-pending {
  font-size: 0.76rem;
  font-weight: 800;
  color: #3248c7;
  white-space: nowrap;
}

.dt-checklist-bar {
  width: 110px;
  height: 7px;
  border-radius: 999px;
  background: #e4e9fc;
  overflow: hidden;
}
.dt-checklist-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d5aff 0%, #16a34a 100%);
  transition: width 0.22s ease;
}

.dt-checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.dt-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(5, 0, 26, 0.08);
  background: #ffffff;
  transition: all 0.16s ease;
}
.dt-checklist-item:hover {
  border-color: rgba(61, 90, 255, 0.35);
}
.dt-checklist-item.is-checked {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.dt-checklist-item.is-checked .dt-checklist-name {
  text-decoration: line-through;
  color: var(--modern-ink-muted);
}
.dt-checklist-item.is-checked .dt-checklist-box {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
.dt-checklist-item.is-moving {
  opacity: 0.6;
  pointer-events: none;
}

.dt-checklist-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.dt-checklist-label input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.dt-checklist-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 7px;
  border: 2px solid #cbd6fb;
  background: #ffffff;
  color: transparent;
  font-size: 0.68rem;
  transition: all 0.15s ease;
}

.dt-checklist-copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.dt-checklist-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #05001a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dt-checklist-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dt-checklist-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--modern-ink-faint);
  text-decoration: none;
  flex-shrink: 0;
}
.dt-checklist-open:hover {
  background: #eef2ff;
  color: #3d5aff;
}

.dt-checklist-empty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
}
.dt-checklist-empty i {
  color: #16a34a;
}
.dt-checklist-empty a {
  margin-left: auto;
  color: #3d5aff;
  font-weight: 800;
  text-decoration: none;
}

:root[data-modern-theme=dark] .dt-checklist {
  background: #120d36;
  border-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .dt-checklist-title h2, :root[data-modern-theme=dark] .dt-checklist-title .h2,
:root[data-modern-theme=dark] .dt-checklist-name {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-checklist-pending {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .dt-checklist-item {
  background: #1a1447;
  border-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .dt-checklist-item.is-checked {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(134, 239, 172, 0.45);
}
:root[data-modern-theme=dark] .dt-checklist-box {
  background: #0b0624;
  border-color: rgba(158, 180, 255, 0.45);
}

@media (max-width: 767px) {
  .dt-checklist-list {
    grid-template-columns: 1fr;
  }
}
.dt-view-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--modern-border);
}

.dt-view-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 14px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}

.dt-view-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: 10px;
  font-family: var(--modern-font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--modern-ink-muted);
  text-decoration: none;
  transition: all 0.16s ease;
}
.dt-view-tab:hover {
  color: #3d5aff;
  text-decoration: none;
}
.dt-view-tab.is-active {
  background: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 8px 18px -10px rgba(61, 90, 255, 0.85);
}
.dt-view-tab.is-active .dt-view-tab-count {
  background: rgba(255, 250, 245, 0.24);
  color: #fffaf5;
}

.dt-view-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  color: var(--modern-ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.dt-request-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.46rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid #cbd6fb;
  background: #f4f6ff;
  color: #3248c7;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.dt-request-cta:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.dt-checklist--sidebar {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  gap: 0.65rem;
}
.dt-checklist--sidebar .dt-checklist-title {
  gap: 0.55rem;
}
.dt-checklist--sidebar .dt-checklist-title h3, .dt-checklist--sidebar .dt-checklist-title .h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #05001a;
}
.dt-checklist--sidebar .dt-checklist-title p {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: var(--modern-ink-muted);
}
.dt-checklist--sidebar .dt-checklist-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.85rem;
}
.dt-checklist--sidebar .dt-checklist-progress {
  width: 100%;
  justify-content: space-between;
  gap: 0.5rem;
}
.dt-checklist--sidebar .dt-checklist-bar {
  flex: 1;
  width: auto;
}
.dt-checklist--sidebar .dt-checklist-list {
  grid-template-columns: 1fr;
  gap: 0.45rem;
  max-height: 310px;
  overflow-y: auto;
  padding-right: 2px;
}
.dt-checklist--sidebar .dt-checklist-item {
  padding: 0.5rem 0.58rem;
  border-radius: 12px;
}
.dt-checklist--sidebar .dt-checklist-name {
  font-size: 0.79rem;
}

.dt-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dt-alerts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dt-alerts-head h3, .dt-alerts-head .h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 800;
  color: #05001a;
}
.dt-alerts-head h3 i, .dt-alerts-head .h3 i {
  color: #3d5aff;
  font-size: 0.86rem;
}

.dt-alerts-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.7rem;
  font-weight: 800;
}

.dt-alert-card {
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--modern-border);
  background: var(--modern-surface-muted);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.dt-alert-card--requests.has-items {
  background: #f3f6ff;
  border-color: #c7d5ff;
}
.dt-alert-card--requests.has-items .dt-alert-card-title {
  color: #3248c7;
}
.dt-alert-card--requests.has-items .dt-alert-count {
  background: #3d5aff;
  color: #fffaf5;
}
.dt-alert-card--overdue.has-items {
  background: #fff5f5;
  border-color: #fecaca;
}
.dt-alert-card--overdue.has-items .dt-alert-card-title {
  color: #b91c1c;
}
.dt-alert-card--overdue.has-items .dt-alert-count {
  background: #dc2626;
  color: #ffffff;
}
.dt-alert-card--important.has-items {
  background: #fffbeb;
  border-color: #fde68a;
}
.dt-alert-card--important.has-items .dt-alert-card-title {
  color: #b45309;
}
.dt-alert-card--important.has-items .dt-alert-count {
  background: #f59e0b;
  color: #ffffff;
}

.dt-alert-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dt-alert-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--modern-font-display);
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--modern-ink-soft);
}

.dt-alert-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.dt-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.dt-alert-item {
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid rgba(5, 0, 26, 0.07);
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.dt-alert-item:hover {
  border-color: rgba(61, 90, 255, 0.32);
}
.dt-alert-item.is-moving {
  opacity: 0.5;
  pointer-events: none;
}

.dt-alert-item--request {
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dt-alert-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 0;
}

.dt-alert-item-link {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.5rem 0.62rem;
  text-decoration: none;
}
.dt-alert-item-link:hover {
  text-decoration: none;
}
.dt-alert-item-link:hover .dt-alert-item-title {
  color: #3d5aff;
}

.dt-alert-item-title {
  color: #05001a;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dt-alert-item-title:hover {
  color: #3d5aff;
  text-decoration: none;
}

.dt-alert-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
  font-size: 0.69rem;
  color: var(--modern-ink-muted);
}
.dt-alert-item-meta strong {
  color: var(--modern-ink);
  font-weight: 700;
}

.dt-alert-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.45rem;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 800;
}
.dt-alert-pill--late {
  background: #fee2e2;
  color: #b91c1c;
}

.dt-alert-req-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dt-req-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.32rem 0.5rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.dt-req-btn--accept {
  background: #3d5aff;
  color: #fffaf5;
}
.dt-req-btn--accept:hover {
  background: #3248c7;
}
.dt-req-btn--decline {
  background: #ffffff;
  border-color: #d6dff5;
  color: var(--modern-ink-muted);
}
.dt-req-btn--decline:hover {
  border-color: #dc2626;
  color: #b91c1c;
  background: #fff5f5;
}

.dt-alert-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
}
.dt-alert-empty[hidden] {
  display: none;
}
.dt-alert-empty--ok {
  justify-content: flex-start;
}
.dt-alert-empty--ok i {
  color: #16a34a;
}
.dt-alert-empty a {
  color: #3d5aff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.dt-alert-empty a:hover {
  text-decoration: underline;
}

.dt-planning {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.dt-plan-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: #f4f6ff;
  border: 1px solid #e4e9fc;
}

.dt-plan-segmented {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.24rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #dbe3fb;
}

.dt-plan-seg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.78rem;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--modern-ink-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}
.dt-plan-seg:hover {
  color: #3d5aff;
  text-decoration: none;
}
.dt-plan-seg.is-active {
  background: #3d5aff;
  color: #fffaf5;
}

.dt-plan-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dt-plan-nav-btn,
.dt-plan-today-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #cbd6fb;
  background: #ffffff;
  color: #3248c7;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s ease;
}
.dt-plan-nav-btn:hover,
.dt-plan-today-btn:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.dt-plan-nav-btn {
  width: 32px;
  font-size: 0.95rem;
}

.dt-plan-today-btn {
  padding: 0 0.72rem;
}

.dt-plan-range {
  margin: 0 0 0 0.45rem;
  font-family: var(--modern-font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #05001a;
  letter-spacing: -0.02em;
}

.dt-plan-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dt-plan-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8fc;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}
.dt-plan-stat strong {
  color: #05001a;
  font-weight: 800;
}
.dt-plan-stat--done {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #15803d;
}
.dt-plan-stat--done strong {
  color: #15803d;
}
.dt-plan-stat--late {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}
.dt-plan-stat--late strong {
  color: #b91c1c;
}

.dt-plan-stage {
  padding: 1.05rem;
  border-radius: 22px;
  background: #f4f6ff;
  border: 1px solid #e4e9fc;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.dt-day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.dt-day-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.55rem 0.4rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8fc;
  text-decoration: none;
  position: relative;
  transition: all 0.15s ease;
}
.dt-day-strip-item:hover {
  border-color: #3d5aff;
  text-decoration: none;
}
.dt-day-strip-item.is-today {
  border-color: #3d5aff;
  background: #eef2ff;
}
.dt-day-strip-item.is-selected {
  background: #3d5aff;
  border-color: #3d5aff;
  box-shadow: 0 10px 22px -12px rgba(61, 90, 255, 0.85);
}
.dt-day-strip-item.is-selected .dt-day-strip-wd,
.dt-day-strip-item.is-selected .dt-day-strip-num {
  color: #fffaf5;
}
.dt-day-strip-item.is-selected .dt-day-strip-count {
  background: #d0ff00;
  color: #05001a;
}

.dt-day-strip-wd {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
  text-transform: uppercase;
}

.dt-day-strip-num {
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #05001a;
}

.dt-day-strip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3248c7;
  font-size: 0.64rem;
  font-weight: 800;
}

.dt-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.dt-day-head h3, .dt-day-head .h3 {
  margin: 0;
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #05001a;
}
.dt-day-head p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
}

.dt-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dt-plan-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-left: 4px solid #3d5aff;
  box-shadow: 0 10px 24px -22px rgba(5, 0, 26, 0.35);
  transition: all 0.15s ease;
}
.dt-plan-item--urgent {
  border-left-color: #dc2626;
}
.dt-plan-item--high {
  border-left-color: #f59e0b;
}
.dt-plan-item--normal {
  border-left-color: #3d5aff;
}
.dt-plan-item--low {
  border-left-color: #64748b;
}
.dt-plan-item.is-checked {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
}
.dt-plan-item.is-checked .dt-plan-item-title {
  text-decoration: line-through;
  color: var(--modern-ink-muted);
}
.dt-plan-item.is-checked .dt-checklist-box {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
.dt-plan-item.is-moving {
  opacity: 0.6;
  pointer-events: none;
}

.dt-plan-check {
  flex: 0 0 auto;
}

.dt-plan-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dt-plan-item-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dt-plan-item-title {
  font-family: var(--modern-font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #05001a;
  text-decoration: none;
}
.dt-plan-item-title:hover {
  color: #3d5aff;
  text-decoration: none;
}

.dt-plan-item-desc {
  margin: 0;
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
  line-height: 1.4;
}

.dt-plan-item-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.dt-plan-assignee {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--modern-ink-soft);
}
.dt-plan-assignee img {
  border-radius: 50%;
  object-fit: cover;
}

.dt-plan-status {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 800;
}
.dt-plan-status--todo {
  background: #fde2e6;
  color: #b91c42;
}
.dt-plan-status--doing {
  background: #fef0d4;
  color: #b45309;
}
.dt-plan-status--review {
  background: #e2e8ff;
  color: #3248c7;
}
.dt-plan-status--done {
  background: #d7f8e4;
  color: #15803d;
}

.dt-plan-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 2.2rem 1.2rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px dashed #cbd6fb;
}
.dt-plan-empty i {
  font-size: 1.8rem;
  color: #3d5aff;
  margin-bottom: 0.25rem;
}
.dt-plan-empty strong {
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  color: #05001a;
}
.dt-plan-empty span {
  font-size: 0.8rem;
  color: var(--modern-ink-muted);
}

.dt-plan-empty-link {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #3d5aff;
  text-decoration: none;
}
.dt-plan-empty-link:hover {
  text-decoration: underline;
}

.dt-week-planner {
  display: grid;
  grid-template-columns: repeat(7, minmax(126px, 1fr));
  gap: 1px;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  border: 1px solid #b8c6ee;
  border-radius: 16px;
  background: #b8c6ee;
}

.dt-week-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 290px;
  padding: 0.7rem 0.6rem;
  border-radius: 0;
  background: #ffffff;
  border: 0;
}
.dt-week-col.is-today {
  background: #f1f5ff;
  box-shadow: inset 0 3px 0 0 #3d5aff;
}
.dt-week-col.is-today .dt-week-col-wd,
.dt-week-col.is-today .dt-week-col-num {
  color: #3d5aff;
}

.dt-week-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #c9d5f5;
}

.dt-week-col-date {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.dt-week-col-date:hover {
  text-decoration: none;
}

.dt-week-col-wd {
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--modern-ink-muted);
}

.dt-week-col-num {
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #05001a;
}
.dt-week-col-num small, .dt-week-col-num .small {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
  margin-left: 2px;
}

.dt-week-col-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dt-week-col-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3248c7;
  font-size: 0.68rem;
  font-weight: 800;
}

.dt-week-col-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #f4f6ff;
  color: #3d5aff;
  font-size: 0.68rem;
  text-decoration: none;
}
.dt-week-col-add:hover {
  background: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.dt-week-col-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.dt-week-col-empty {
  margin: auto 0;
  text-align: center;
  padding: 1.2rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--modern-ink-faint);
}

.dt-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.58rem 0.62rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-left: 3px solid #3d5aff;
  text-decoration: none;
  box-shadow: 0 8px 18px -16px rgba(5, 0, 26, 0.35);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.dt-plan-card--urgent {
  border-left-color: #dc2626;
}
.dt-plan-card--high {
  border-left-color: #f59e0b;
}
.dt-plan-card--normal {
  border-left-color: #3d5aff;
}
.dt-plan-card--low {
  border-left-color: #64748b;
}
.dt-plan-card:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 90, 255, 0.38);
  text-decoration: none;
}
.dt-plan-card.is-done {
  opacity: 0.76;
  background: #f6fef9;
  border-left-color: #16a34a;
}
.dt-plan-card.is-done .dt-plan-card-title {
  text-decoration: line-through;
  color: var(--modern-ink-muted);
}

.dt-plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.dt-plan-late-flag {
  color: #dc2626;
  font-size: 0.78rem;
}

.dt-plan-card-title {
  font-size: 0.77rem;
  font-weight: 700;
  color: #05001a;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-plan-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.dt-plan-card-avatar img {
  border-radius: 50%;
  object-fit: cover;
}

.dt-month-table {
  border: 1px solid #b8c6ee;
  border-radius: 16px;
  overflow: hidden;
  background: #b8c6ee;
  box-shadow: 0 8px 24px -22px rgba(5, 0, 26, 0.35);
}

.dt-month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #b8c6ee;
  border-bottom: 1px solid #b8c6ee;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3248c7;
}
.dt-month-weekdays span {
  padding: 0.6rem 0.4rem;
  background: #edf2ff;
}

.dt-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #b8c6ee;
}

.dt-month-cell {
  min-height: 112px;
  padding: 0.5rem 0.55rem;
  border-radius: 0;
  background: #ffffff;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  transition: background-color 0.14s ease;
}
.dt-month-cell:hover {
  background: #f8faff;
}
.dt-month-cell.is-outside {
  background: #f3f6fd;
}
.dt-month-cell.is-outside .dt-month-day-num {
  color: #8b99b8;
}
.dt-month-cell.is-today {
  background: #eef3ff;
  box-shadow: inset 0 0 0 2px #3d5aff;
}
.dt-month-cell.is-today .dt-month-day-num {
  background: #3d5aff;
  color: #fffaf5;
}

.dt-month-cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dt-month-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 800;
  color: #05001a;
  text-decoration: none;
}
.dt-month-day-num:hover {
  background: #eef2ff;
  color: #3d5aff;
  text-decoration: none;
}

.dt-month-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: var(--modern-ink-faint);
  font-size: 0.65rem;
  text-decoration: none;
  opacity: 0.45;
  transition: all 0.14s ease;
}
.dt-month-cell:hover .dt-month-add {
  opacity: 1;
}
.dt-month-add:hover {
  background: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.dt-month-tasks {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.dt-month-task {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.38rem;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  min-width: 0;
  background: #eef2ff;
  color: #1e293b;
}
.dt-month-task:hover {
  filter: brightness(0.95);
  text-decoration: none;
}
.dt-month-task--urgent {
  background: #fee2e2;
  color: #991b1b;
}
.dt-month-task--urgent .dt-month-task-dot {
  background: #dc2626;
}
.dt-month-task--high {
  background: #fef3c7;
  color: #92400e;
}
.dt-month-task--high .dt-month-task-dot {
  background: #f59e0b;
}
.dt-month-task--normal {
  background: #e2e8ff;
  color: #1e3a8a;
}
.dt-month-task--normal .dt-month-task-dot {
  background: #3d5aff;
}
.dt-month-task--low {
  background: #f1f5f9;
  color: #334155;
}
.dt-month-task--low .dt-month-task-dot {
  background: #64748b;
}
.dt-month-task--done {
  background: #dcfce7;
  color: #166534;
  text-decoration: line-through;
}
.dt-month-task--done .dt-month-task-dot {
  background: #16a34a;
}

.dt-month-task-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 6px;
}

.dt-month-task-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dt-month-more {
  font-size: 0.68rem;
  font-weight: 800;
  color: #3d5aff;
  padding-left: 0.25rem;
  text-decoration: none;
}
.dt-month-more:hover {
  text-decoration: underline;
}

.dt-month-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}
.dt-month-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dt-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dt-dot--urgent {
  background: #dc2626;
}
.dt-dot--high {
  background: #f59e0b;
}
.dt-dot--normal {
  background: #3d5aff;
}
.dt-dot--low {
  background: #64748b;
}
.dt-dot--done {
  background: #16a34a;
}

.dt-plan-undated {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}

.dt-plan-undated-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--modern-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dt-plan-undated-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dt-plan-undated-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe3fb;
  color: #05001a;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
}
.dt-plan-undated-chip:hover {
  border-color: #3d5aff;
  color: #3d5aff;
  text-decoration: none;
}

.task-pill--request-pending {
  background: #e2e8ff;
  color: #3248c7;
}

.tasks-request-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.9rem 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #f3f6ff;
  border: 1px solid #c7d5ff;
}
.tasks-request-banner strong {
  display: block;
  color: #05001a;
  font-size: 0.88rem;
}
.tasks-request-banner span {
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
}

.tasks-request-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

:root[data-modern-theme=dark] .dt-view-tabs {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .dt-view-tab {
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .dt-view-tab.is-active {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-request-cta {
  background: rgba(61, 90, 255, 0.16);
  border-color: rgba(158, 180, 255, 0.35);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-request-cta:hover {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .dt-checklist--sidebar .dt-checklist-title h3, :root[data-modern-theme=dark] .dt-checklist--sidebar .dt-checklist-title .h3,
:root[data-modern-theme=dark] .dt-alerts-head h3,
:root[data-modern-theme=dark] .dt-alerts-head .h3,
:root[data-modern-theme=dark] .dt-plan-range,
:root[data-modern-theme=dark] .dt-day-head h3,
:root[data-modern-theme=dark] .dt-day-head .h3,
:root[data-modern-theme=dark] .dt-day-strip-num,
:root[data-modern-theme=dark] .dt-plan-item-title,
:root[data-modern-theme=dark] .dt-week-col-num,
:root[data-modern-theme=dark] .dt-plan-card-title,
:root[data-modern-theme=dark] .dt-month-day-num,
:root[data-modern-theme=dark] .dt-alert-item-title,
:root[data-modern-theme=dark] .dt-plan-empty strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-alert-card {
  background: #140f36;
  border-color: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .dt-alert-card--requests.has-items {
  background: rgba(61, 90, 255, 0.16);
  border-color: rgba(125, 150, 255, 0.4);
}
:root[data-modern-theme=dark] .dt-alert-card--requests.has-items .dt-alert-card-title {
  color: #b9c9ff;
}
:root[data-modern-theme=dark] .dt-alert-card--overdue.has-items {
  background: rgba(220, 38, 38, 0.16);
  border-color: rgba(248, 113, 113, 0.4);
}
:root[data-modern-theme=dark] .dt-alert-card--overdue.has-items .dt-alert-card-title {
  color: #fca5a5;
}
:root[data-modern-theme=dark] .dt-alert-card--important.has-items {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(251, 191, 36, 0.4);
}
:root[data-modern-theme=dark] .dt-alert-card--important.has-items .dt-alert-card-title {
  color: #fcd34d;
}
:root[data-modern-theme=dark] .dt-alert-item,
:root[data-modern-theme=dark] .dt-plan-item,
:root[data-modern-theme=dark] .dt-plan-card,
:root[data-modern-theme=dark] .dt-month-cell,
:root[data-modern-theme=dark] .dt-day-strip-item,
:root[data-modern-theme=dark] .dt-plan-empty,
:root[data-modern-theme=dark] .dt-plan-undated-chip,
:root[data-modern-theme=dark] .dt-plan-segmented,
:root[data-modern-theme=dark] .dt-plan-nav-btn,
:root[data-modern-theme=dark] .dt-plan-today-btn,
:root[data-modern-theme=dark] .dt-plan-stat {
  background: #1a1447;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-plan-bar,
:root[data-modern-theme=dark] .dt-plan-stage,
:root[data-modern-theme=dark] .dt-plan-undated {
  background: #120d36;
  border-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .dt-month-table,
:root[data-modern-theme=dark] .dt-month-weekdays,
:root[data-modern-theme=dark] .dt-month-grid,
:root[data-modern-theme=dark] .dt-week-planner {
  background: rgba(158, 180, 255, 0.26);
  border-color: rgba(158, 180, 255, 0.26);
}
:root[data-modern-theme=dark] .dt-month-weekdays span {
  background: #140f36;
  color: #b9c9ff;
}
:root[data-modern-theme=dark] .dt-month-cell {
  background: #1a1447;
}
:root[data-modern-theme=dark] .dt-month-cell:hover {
  background: #211a57;
}
:root[data-modern-theme=dark] .dt-month-cell.is-outside {
  background: #120d36;
}
:root[data-modern-theme=dark] .dt-month-cell.is-outside .dt-month-day-num {
  color: rgba(255, 250, 245, 0.45);
}
:root[data-modern-theme=dark] .dt-month-cell.is-today {
  background: #211c5c;
  box-shadow: inset 0 0 0 2px #7d96ff;
}
:root[data-modern-theme=dark] .dt-week-col {
  background: #1a1447;
  border: 0;
}
:root[data-modern-theme=dark] .dt-week-col.is-today {
  background: #211c5c;
  box-shadow: inset 0 3px 0 0 #7d96ff;
}
:root[data-modern-theme=dark] .dt-week-col-head {
  border-bottom-color: rgba(158, 180, 255, 0.24);
}
:root[data-modern-theme=dark] .dt-req-btn--decline {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.22);
  color: rgba(255, 250, 245, 0.85);
}

@media (max-width: 767px) {
  .dt-month-grid {
    grid-template-columns: repeat(7, minmax(90px, 1fr));
    overflow-x: auto;
  }
  .dt-plan-stage--month {
    overflow-x: auto;
  }
  .dt-month-weekdays {
    min-width: 650px;
  }
  .dt-month-grid {
    min-width: 650px;
  }
  .dt-plan-item {
    flex-wrap: wrap;
  }
}
.dt-boards-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.dt-boards-bar--compact {
  margin-bottom: -0.2rem;
}

.dt-boards-scroll {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.dt-board-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.82rem;
  border-radius: 12px;
  border: 1px solid #dbe3fb;
  background: #ffffff;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s ease;
}
.dt-board-pill:hover {
  border-color: #3d5aff;
  color: #3d5aff;
  text-decoration: none;
}
.dt-board-pill.is-active {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 10px 20px -12px rgba(61, 90, 255, 0.85);
}
.dt-board-pill.is-active i,
.dt-board-pill.is-active .dt-board-icon--blue,
.dt-board-pill.is-active .dt-board-icon--coral,
.dt-board-pill.is-active .dt-board-icon--emerald,
.dt-board-pill.is-active .dt-board-icon--amber,
.dt-board-pill.is-active .dt-board-icon--purple,
.dt-board-pill.is-active .dt-board-icon--slate {
  color: #fffaf5 !important;
}
.dt-board-pill.is-active .dt-board-dot {
  background: #d0ff00 !important;
  border-color: rgba(5, 0, 26, 0.25);
}
.dt-board-pill.is-active .dt-board-pill-count {
  background: rgba(255, 250, 245, 0.22);
  color: #fffaf5;
}

.dt-board-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.06rem 0.42rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3248c7;
  font-size: 0.68rem;
  font-weight: 800;
}

.dt-board-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
}
.dt-board-dot--blue {
  background: #3d5aff;
}
.dt-board-dot--coral {
  background: #ef4444;
}
.dt-board-dot--emerald {
  background: #16a34a;
}
.dt-board-dot--amber {
  background: #f59e0b;
}
.dt-board-dot--purple {
  background: #7c3aed;
}
.dt-board-dot--slate {
  background: #64748b;
}

.dt-board-icon--blue {
  color: #3d5aff;
}
.dt-board-icon--coral {
  color: #ef4444;
}
.dt-board-icon--emerald {
  color: #16a34a;
}
.dt-board-icon--amber {
  color: #d97706;
}
.dt-board-icon--purple {
  color: #7c3aed;
}
.dt-board-icon--slate {
  color: #64748b;
}

.dt-board-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.44rem 0.88rem;
  border-radius: 12px;
  border: 1.5px dashed #8da2fb;
  background: #f4f6ff;
  color: #3248c7;
  font-family: var(--modern-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.dt-board-new-btn:hover, .dt-board-new-btn.is-open {
  background: #3d5aff;
  border-style: solid;
  border-color: #3d5aff;
  color: #fffaf5;
}

.dt-inline-panel {
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: #f6f8ff;
  border: 1px solid #d4dffc;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.dt-inline-panel[hidden] {
  display: none;
}

.dt-inline-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dt-inline-panel-head h3, .dt-inline-panel-head .h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--modern-font-display);
  font-size: 0.94rem;
  font-weight: 800;
  color: #05001a;
}
.dt-inline-panel-head h3 i, .dt-inline-panel-head .h3 i {
  color: #3d5aff;
}

.dt-inline-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 0;
  background: rgba(5, 0, 26, 0.06);
  color: var(--modern-ink-muted);
  cursor: pointer;
}
.dt-inline-close:hover {
  background: rgba(5, 0, 26, 0.12);
  color: #05001a;
}

.dt-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dt-inline-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.dt-inline-field--wide {
  grid-column: 1/-1;
}
.dt-inline-field label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  color: #05001a;
}
.dt-inline-field input[type=text],
.dt-inline-field input[type=date],
.dt-inline-field select,
.dt-inline-field textarea {
  width: 100%;
  padding: 0.52rem 0.72rem;
  border-radius: 11px;
  border: 1px solid #cdd8f8;
  background: #ffffff;
  color: #05001a;
  font-size: 0.83rem;
  font-weight: 500;
}
.dt-inline-field input[type=text]:focus,
.dt-inline-field input[type=date]:focus,
.dt-inline-field select:focus,
.dt-inline-field textarea:focus {
  outline: none;
  border-color: #3d5aff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.14);
}
.dt-inline-field textarea {
  resize: vertical;
  line-height: 1.5;
}

.dt-color-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dt-color-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.dt-color-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.dt-color-option input:checked + .dt-color-swatch {
  transform: scale(1.14);
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #05001a;
}

.dt-color-swatch {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.dt-color-swatch--blue {
  background: #3d5aff;
}
.dt-color-swatch--coral {
  background: #ef4444;
}
.dt-color-swatch--emerald {
  background: #16a34a;
}
.dt-color-swatch--amber {
  background: #f59e0b;
}
.dt-color-swatch--purple {
  background: #7c3aed;
}
.dt-color-swatch--slate {
  background: #64748b;
}

.dt-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dt-board-delete-form {
  padding-top: 0.65rem;
  border-top: 1px solid #dbe3fb;
  display: flex;
  justify-content: flex-end;
}

.dt-danger-btn {
  color: #b91c1c !important;
  border-color: #fecaca !important;
  background: #fff5f5 !important;
}
.dt-danger-btn:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

.dt-project-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.85rem 1.05rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dce4fc;
  border-left: 5px solid #3d5aff;
  box-shadow: 0 12px 24px -22px rgba(5, 0, 26, 0.35);
}
.dt-project-banner--blue {
  border-left-color: #3d5aff;
}
.dt-project-banner--coral {
  border-left-color: #ef4444;
}
.dt-project-banner--emerald {
  border-left-color: #16a34a;
}
.dt-project-banner--amber {
  border-left-color: #f59e0b;
}
.dt-project-banner--purple {
  border-left-color: #7c3aed;
}
.dt-project-banner--slate {
  border-left-color: #64748b;
}

.dt-project-banner-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  min-width: 220px;
}

.dt-project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.05rem;
}
.dt-project-badge--blue {
  background: #3d5aff;
}
.dt-project-badge--coral {
  background: #ef4444;
}
.dt-project-badge--emerald {
  background: #16a34a;
}
.dt-project-badge--amber {
  background: #f59e0b;
}
.dt-project-badge--purple {
  background: #7c3aed;
}
.dt-project-badge--slate {
  background: #64748b;
}

.dt-project-banner-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dt-project-banner-title strong {
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #05001a;
}

.dt-project-pct {
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.69rem;
  font-weight: 800;
}

.dt-project-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
.dt-project-bar-wrap small, .dt-project-bar-wrap .small {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
  white-space: nowrap;
}

.dt-project-bar {
  display: block;
  width: 140px;
  height: 7px;
  border-radius: 999px;
  background: #e6ecfc;
  overflow: hidden;
}
.dt-project-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d5aff 0%, #16a34a 100%);
}

.dt-project-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.dt-project-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.4rem 0.78rem;
  border-radius: 10px;
  border: 1px solid #d4dffc;
  background: #f6f8ff;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.dt-project-action-btn:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.dt-card-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
  min-width: 0;
}

.dt-card-board {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  text-decoration: none;
  max-width: 145px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dt-card-board--blue {
  background: #e8eeff;
  color: #3248c7;
}
.dt-card-board--coral {
  background: #fee2e2;
  color: #b91c1c;
}
.dt-card-board--emerald {
  background: #dcfce7;
  color: #15803d;
}
.dt-card-board--amber {
  background: #fef3c7;
  color: #b45309;
}
.dt-card-board--purple {
  background: #f3e8ff;
  color: #6d28d9;
}
.dt-card-board--slate {
  background: #f1f5f9;
  color: #334155;
}
.dt-card-board:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

.dt-checklists-tab {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.dt-cl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dt-cl-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dt-cl-new-btn {
  border-radius: 12px !important;
  font-weight: 800 !important;
}

.dt-cl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.dt-cl-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.05rem 1.1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8fc;
  border-top: 4px solid #3d5aff;
  box-shadow: 0 14px 30px -24px rgba(5, 0, 26, 0.32);
}
.dt-cl-card--blue {
  border-top-color: #3d5aff;
}
.dt-cl-card--coral {
  border-top-color: #ef4444;
}
.dt-cl-card--emerald {
  border-top-color: #16a34a;
}
.dt-cl-card--amber {
  border-top-color: #f59e0b;
}
.dt-cl-card--purple {
  border-top-color: #7c3aed;
}
.dt-cl-card--slate {
  border-top-color: #64748b;
}

.dt-cl-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.dt-cl-card-title-wrap {
  min-width: 0;
  flex: 1;
}
.dt-cl-card-title-wrap h3, .dt-cl-card-title-wrap .h3 {
  margin: 0;
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #05001a;
  line-height: 1.25;
}
.dt-cl-card-title-wrap p {
  margin: 0.22rem 0 0;
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
  line-height: 1.4;
}

.dt-cl-card-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.5rem;
}

.dt-cl-card-actions {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
}

.dt-cl-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e2e8fc;
  background: #f8faff;
  color: var(--modern-ink-muted);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.14s ease;
}
.dt-cl-icon-btn:hover {
  border-color: #3d5aff;
  color: #3d5aff;
  background: #eef2ff;
}
.dt-cl-icon-btn--danger:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: #fff5f5;
}

.dt-cl-progress-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dt-cl-progress-text {
  font-size: 0.73rem;
  font-weight: 800;
  color: #3248c7;
}

.dt-cl-progress-track {
  height: 7px;
  border-radius: 999px;
  background: #eaf0ff;
  overflow: hidden;
}
.dt-cl-progress-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d5aff 0%, #16a34a 100%);
  transition: width 0.22s ease;
}

.dt-cl-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.dt-cl-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.6rem;
  border-radius: 12px;
  background: #f9fbff;
  border: 1px solid #eaEFFc;
  transition: all 0.14s ease;
}
.dt-cl-item:hover {
  border-color: #c8d6fb;
  background: #ffffff;
}
.dt-cl-item:hover .dt-cl-item-del {
  opacity: 1;
}
.dt-cl-item.is-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.dt-cl-item.is-done .dt-cl-item-text {
  text-decoration: line-through;
  color: var(--modern-ink-muted);
}
.dt-cl-item.is-done .dt-checklist-box {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
.dt-cl-item.is-moving {
  opacity: 0.55;
  pointer-events: none;
}

.dt-cl-item-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}
.dt-cl-item-label input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.dt-cl-item-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #05001a;
  line-height: 1.35;
  word-break: break-word;
}

.dt-cl-item-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: var(--modern-ink-faint);
  opacity: 0.35;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.14s ease;
}
.dt-cl-item-del:hover {
  opacity: 1;
  background: #fee2e2;
  color: #dc2626;
}

.dt-cl-add-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.35rem;
  border-top: 1px solid #eef2fc;
}
.dt-cl-add-form input {
  flex: 1;
  min-width: 0;
  padding: 0.46rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #dbe3fb;
  background: #f8faff;
  color: #05001a;
  font-size: 0.8rem;
}
.dt-cl-add-form input:focus {
  outline: none;
  background: #ffffff;
  border-color: #3d5aff;
}
.dt-cl-add-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  border: 0;
  background: #3d5aff;
  color: #fffaf5;
  cursor: pointer;
  transition: background 0.14s ease;
}
.dt-cl-add-form button:hover {
  background: #3248c7;
}

:root[data-modern-theme=dark] .dt-board-pill {
  background: #1a1447;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-board-pill.is-active {
  background: #3d5aff;
  border-color: #3d5aff;
}
:root[data-modern-theme=dark] .dt-board-pill-count {
  background: rgba(255, 250, 245, 0.12);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-board-new-btn,
:root[data-modern-theme=dark] .dt-project-action-btn {
  background: rgba(61, 90, 255, 0.18);
  border-color: rgba(158, 180, 255, 0.35);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-board-new-btn:hover,
:root[data-modern-theme=dark] .dt-project-action-btn:hover {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .dt-inline-panel {
  background: #140f36;
  border-color: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .dt-inline-panel h3, :root[data-modern-theme=dark] .dt-inline-panel .h3,
:root[data-modern-theme=dark] .dt-inline-panel label {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-inline-panel input[type=text],
:root[data-modern-theme=dark] .dt-inline-panel input[type=date],
:root[data-modern-theme=dark] .dt-inline-panel select,
:root[data-modern-theme=dark] .dt-inline-panel textarea {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.18);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-project-banner,
:root[data-modern-theme=dark] .dt-cl-card {
  background: #1a1447;
  border-color: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .dt-project-banner-title strong,
:root[data-modern-theme=dark] .dt-cl-card-title-wrap h3,
:root[data-modern-theme=dark] .dt-cl-card-title-wrap .h3,
:root[data-modern-theme=dark] .dt-cl-item-text {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .dt-cl-progress-text {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .dt-cl-item {
  background: #120d36;
  border-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .dt-cl-item.is-done {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(134, 239, 172, 0.45);
}
:root[data-modern-theme=dark] .dt-cl-icon-btn,
:root[data-modern-theme=dark] .dt-cl-add-form input {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.18);
  color: #fffaf5;
}

@media (max-width: 900px) {
  .dt-cl-grid {
    grid-template-columns: 1fr;
  }
  .dt-inline-grid {
    grid-template-columns: 1fr;
  }
}
.lms-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.lms-page) #layout-content > .container {
    max-width: 1340px;
  }
}
.lms-page {
  --lms-radius: 22px;
  --lms-ink: #101d33;
  --lms-soft: #6f7f99;
  --lms-line: #e4edfb;
  --lms-blue: #3b6dff;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.lms-tone--atendimento {
  --lms-tone-a: #f97316;
  --lms-tone-b: #fb923c;
  --lms-tone-soft: #fff1e6;
}

.lms-tone--comunicacao {
  --lms-tone-a: #3b6dff;
  --lms-tone-b: #38bdf8;
  --lms-tone-soft: #eaf2ff;
}

.lms-tone--produtividade {
  --lms-tone-a: #f59e0b;
  --lms-tone-b: #fbbf24;
  --lms-tone-soft: #fff7e6;
}

.lms-tone--dados {
  --lms-tone-a: #0ea5e9;
  --lms-tone-b: #22d3ee;
  --lms-tone-soft: #e8f9ff;
}

.lms-tone--gestao {
  --lms-tone-a: #8b5cf6;
  --lms-tone-b: #a78bfa;
  --lms-tone-soft: #f3edff;
}

.lms-tone--compliance {
  --lms-tone-a: #10b981;
  --lms-tone-b: #34d399;
  --lms-tone-soft: #e9fbf3;
}

.lms-tone--done {
  --lms-tone-a: #16a34a;
  --lms-tone-b: #4ade80;
  --lms-tone-soft: #ecfdf3;
}

.lms-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl, 28px);
  background: radial-gradient(circle at 88% 10%, rgba(56, 189, 248, 0.22), transparent 46%), linear-gradient(135deg, #ffffff 0%, #f2f7ff 58%, #eaf3ff 100%);
  box-shadow: 0 22px 50px -30px rgba(40, 80, 160, 0.45);
}

.lms-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 109, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.lms-hero--course {
  background: linear-gradient(135deg, var(--lms-tone-soft, #eaf2ff) 0%, #ffffff 68%);
}

.lms-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  color: var(--lms-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lms-hero h1, .lms-hero .h1,
.lms-form-header h1,
.lms-form-header .h1 {
  margin: 0;
  color: var(--lms-ink);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lms-hero p,
.lms-form-header p {
  max-width: 640px;
  margin: 0.55rem 0 0;
  color: var(--lms-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.lms-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.lms-hero-actions .btn,
.lms-hero-actions .btn-sm {
  border-radius: 14px;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
}

.lms-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  background: #fff;
  color: #2b4a86;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px -20px rgba(40, 80, 160, 0.7);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lms-hero-link:hover,
.lms-hero-link:focus {
  border-color: #bcd4fb;
  background: #f2f7ff;
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-hero-link i {
  color: var(--lms-blue);
}

.lms-alert {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #cfe0ff;
  border-radius: 16px;
  background: #f4f9ff;
  color: #3b4a63;
  font-size: 0.88rem;
  line-height: 1.45;
}

.lms-alert--success {
  border-color: #c6f0e2;
  background: #f1fdf8;
  color: #0f7d5f;
}

.lms-alert--info {
  border-color: #cfe0ff;
  background: #f4f9ff;
  color: #2b4a86;
}

.lms-alert--warning {
  border-color: #ffe2b8;
  background: #fff9ef;
  color: #9a5b09;
}

.lms-alert i {
  font-size: 1rem;
}

.lms-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.35rem 0;
  color: #5b6f91;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.lms-back:hover,
.lms-back:focus {
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.lms-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--lms-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px -30px rgba(40, 80, 160, 0.55);
}

.lms-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 1rem;
}

.lms-stat-icon--blue {
  background: #e8f2ff;
  color: #2563eb;
}

.lms-stat-icon--green {
  background: #e9fbf3;
  color: #0f9f6e;
}

.lms-stat-icon--amber {
  background: #fff6e5;
  color: #b77908;
}

.lms-stat > div > strong {
  display: block;
  color: var(--lms-ink);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lms-stat > div > span {
  display: block;
  margin-top: 0.1rem;
  color: var(--lms-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.lms-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lms-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.lms-section-head h2, .lms-section-head .h2,
.lms-lessons-toolbar h2,
.lms-lessons-toolbar .h2 {
  margin: 0;
  color: var(--lms-ink);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.lms-section-head p,
.lms-lessons-toolbar p {
  margin: 0.2rem 0 0;
  color: var(--lms-soft);
  font-size: 0.86rem;
}

.lms-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--lms-blue);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.lms-section-link:hover,
.lms-section-link:focus {
  color: #1d4ed8;
  text-decoration: none;
}

.lms-result-count {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #2b4a86;
  font-size: 0.76rem;
  font-weight: 700;
}

.lms-continue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lms-continue-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--lms-line);
  border-radius: var(--lms-radius);
  background: radial-gradient(circle at 100% 0%, rgba(59, 109, 255, 0.06), transparent 48%), #fff;
  box-shadow: 0 18px 38px -32px rgba(40, 80, 160, 0.55);
}

.lms-continue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lms-tone-a, #3b6dff), var(--lms-tone-b, #38bdf8));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 14px 26px -18px var(--lms-tone-a, #3b6dff);
}

.lms-continue-body {
  min-width: 0;
  flex: 1;
}

.lms-continue-category {
  display: block;
  color: var(--lms-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lms-continue-body h3, .lms-continue-body .h3 {
  margin: 0.18rem 0 0.1rem;
  color: var(--lms-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.lms-continue-body p {
  margin: 0 0 0.55rem;
  overflow: hidden;
  color: var(--lms-soft);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eefb;
}

.lms-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b6dff, #38bdf8);
  transition: width 0.35s ease;
}

.lms-progress--lg {
  height: 12px;
}

.lms-progress--slim {
  height: 6px;
}

.lms-progress-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--lms-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.lms-continue-action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 11px;
  background: #eef4ff;
  color: var(--lms-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.lms-continue-action:hover,
.lms-continue-action:focus {
  background: #3b6dff;
  color: #fff;
  text-decoration: none;
}

.lms-filters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--lms-line);
  border-radius: 18px;
  background: #fff;
}

.lms-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lms-search > i {
  position: absolute;
  left: 0.95rem;
  color: #8ea2c4;
  font-size: 0.9rem;
  pointer-events: none;
}

.lms-search input[type=search] {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 1rem 0 2.4rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--lms-ink);
  font-size: 0.88rem;
}

.lms-search input[type=search]:focus {
  border-color: #b9d0f7;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.12);
}

.lms-search select {
  height: 42px;
  padding: 0 0.8rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
  color: #3b4a63;
  font-size: 0.84rem;
}

.lms-search .btn {
  height: 42px;
  border-radius: 12px;
  padding: 0 1.2rem;
  font-weight: 700;
}

.lms-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lms-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid #e2ebfa;
  border-radius: 999px;
  background: #f8fbff;
  color: #4a5e7f;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lms-chip:hover,
.lms-chip:focus {
  border-color: #bcd4fb;
  background: #eef4ff;
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-chip.is-active {
  border-color: #3b6dff;
  background: #3b6dff;
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(59, 109, 255, 0.9);
}

.lms-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lms-course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lms-line);
  border-radius: var(--lms-radius);
  background: #fff;
  box-shadow: 0 20px 44px -36px rgba(40, 80, 160, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lms-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 50px -32px rgba(40, 80, 160, 0.55);
}

.lms-course-thumb {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 96px;
  padding: 0.9rem 1rem;
  background: radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.32), transparent 46%), linear-gradient(135deg, var(--lms-tone-a, #3b6dff), var(--lms-tone-b, #38bdf8));
  color: #fff;
}

.lms-course-category,
.lms-course-level {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(3px);
}

.lms-course-level {
  background: rgba(16, 29, 51, 0.18);
  font-weight: 700;
}

.lms-course-draft,
.lms-course-done {
  position: absolute;
  bottom: 0.9rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 29, 51, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lms-course-done {
  background: #fff;
  color: #0f7d5f;
}

.lms-course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem 0.9rem;
}

.lms-course-body h3, .lms-course-body .h3 {
  margin: 0;
  color: var(--lms-ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.lms-course-body > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--lms-soft);
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lms-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: auto;
  padding-top: 0.25rem;
  color: #5f7190;
  font-size: 0.74rem;
  font-weight: 600;
}

.lms-course-meta i {
  color: #8ea2c4;
}

.lms-course-progress {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

.lms-course-progress .lms-progress {
  flex: 1;
}

.lms-course-progress > span {
  color: var(--lms-soft);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.lms-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem 1rem;
  border-top: 1px solid #eff4fc;
}

.lms-course-footer .btn {
  border-radius: 11px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.lms-card-link {
  color: #5b6f91;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.lms-card-link:hover,
.lms-card-link:focus {
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-card-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 10px;
  background: #f2f7ff;
  color: #5b6f91;
  text-decoration: none;
}

.lms-card-manage:hover,
.lms-card-manage:focus {
  background: #3b6dff;
  color: #fff;
  text-decoration: none;
}

.lms-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 1.5rem;
  border: 1px dashed #d7e4f8;
  border-radius: var(--lms-radius);
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.lms-empty--compact {
  padding: 2rem 1.5rem;
}

.lms-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.25rem;
  border-radius: 16px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 1.3rem;
}

.lms-empty h3, .lms-empty .h3 {
  margin: 0;
  color: var(--lms-ink);
  font-size: 1.05rem;
}

.lms-empty p {
  max-width: 440px;
  margin: 0;
  color: var(--lms-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.lms-empty .btn {
  margin-top: 0.5rem;
  border-radius: 12px;
  font-weight: 700;
}

.lms-empty-secondary {
  margin-top: 0.25rem;
  color: var(--lms-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.lms-course-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--modern-radius-xl, 28px);
  background: radial-gradient(circle at 94% 0%, rgba(56, 189, 248, 0.18), transparent 44%), linear-gradient(135deg, var(--lms-tone-soft, #eaf2ff) 0%, #ffffff 72%);
  box-shadow: 0 22px 50px -32px rgba(40, 80, 160, 0.45);
}

.lms-course-hero-main {
  min-width: 0;
}

.lms-course-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.lms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid #dbe7fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #40567a;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.lms-badge--category {
  border-color: transparent;
  background: var(--lms-tone-a, #3b6dff);
  color: #fff;
}

.lms-badge--done {
  border-color: #c6f0e2;
  background: #e9fbf3;
  color: #0f7d5f;
}

.lms-badge--progress {
  border-color: #cfe0ff;
  background: #eef4ff;
  color: #2b4a86;
}

.lms-badge--published {
  border-color: #c6f0e2;
  background: #e9fbf3;
  color: #0f7d5f;
}

.lms-badge--draft {
  border-color: #ffe2b8;
  background: #fff9ef;
  color: #9a5b09;
}

.lms-badge--quiz {
  border-color: #dcd2ff;
  background: #f3edff;
  color: #6d4bd8;
}

.lms-badge--muted {
  background: #f4f7fc;
  color: #6f7f99;
}

.lms-course-hero h1, .lms-course-hero .h1 {
  margin: 0;
  color: var(--lms-ink);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.lms-course-hero-main > p {
  max-width: 700px;
  margin: 0.5rem 0 0;
  color: var(--lms-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lms-course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  margin-top: 0.9rem;
  color: #4d6284;
  font-size: 0.8rem;
  font-weight: 600;
}

.lms-course-hero-meta i {
  color: #8ea2c4;
}

.lms-hero-instructor {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lms-hero-instructor img {
  border-radius: 50%;
}

.lms-course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.lms-course-hero-actions .btn {
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
}

.lms-inline-form {
  display: inline-flex;
  margin: 0;
}

.lms-manage-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin-left: 0.15rem;
}

.lms-manage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #5b6f91;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.lms-manage-link:hover,
.lms-manage-link:focus {
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-course-hero-progress {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border: 1px solid #dbe7fb;
  border-radius: 50%;
  background: #fff;
  color: #2b4a86;
  text-align: center;
  box-shadow: 0 16px 30px -24px rgba(40, 80, 160, 0.7);
}

.lms-course-hero-progress strong {
  color: var(--lms-blue);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lms-course-hero-progress span {
  max-width: 90px;
  margin-top: 0.25rem;
  color: var(--lms-soft);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.lms-course-hero-progress--done strong {
  color: #f59e0b;
  font-size: 1.9rem;
}

.lms-course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.lms-course-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.lms-panel {
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--lms-line);
  border-radius: var(--lms-radius);
  background: #fff;
  box-shadow: 0 18px 40px -38px rgba(40, 80, 160, 0.6);
}

.lms-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lms-panel-head h2, .lms-panel-head .h2 {
  margin: 0;
  color: var(--lms-ink);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.lms-panel-head p {
  margin: 0.25rem 0 0;
  color: var(--lms-soft);
  font-size: 0.82rem;
}

.lms-panel-count {
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #2b4a86;
  font-size: 0.75rem;
  font-weight: 800;
}

.lms-prose {
  color: #3b4a63;
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.lms-lesson-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-lesson-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #edf3fc;
  border-radius: 15px;
  background: #fbfdff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lms-lesson-item:hover {
  border-color: #d4e4fb;
  background: #f6faff;
}

.lms-lesson-item.is-next {
  border-color: #cfe0ff;
  background: #f4f9ff;
}

.lms-lesson-item.is-done {
  background: #fbfefc;
}

.lms-lesson-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.82rem;
  font-weight: 800;
}

.lms-lesson-item.is-done .lms-lesson-number {
  background: #e9fbf3;
  color: #0f7d5f;
}

.lms-lesson-copy {
  min-width: 0;
  flex: 1;
}

.lms-lesson-copy h3, .lms-lesson-copy .h3 {
  margin: 0;
  color: var(--lms-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.lms-lesson-copy p {
  margin: 0.15rem 0 0;
  overflow: hidden;
  color: var(--lms-soft);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-lesson-meta {
  display: inline-block;
  margin-top: 0.3rem;
  color: #7c8daa;
  font-size: 0.72rem;
  font-weight: 600;
}

.lms-lesson-done-label {
  color: #0f7d5f;
  font-weight: 700;
}

.lms-lesson-next-label {
  color: var(--lms-blue);
  font-weight: 700;
}

.lms-lesson-open {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 9px;
  background: #eef4ff;
  color: var(--lms-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.lms-lesson-open:hover,
.lms-lesson-open:focus {
  background: #3b6dff;
  color: #fff;
  text-decoration: none;
}

.lms-course-side,
.lms-lesson-side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.lms-side-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--lms-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px -34px rgba(40, 80, 160, 0.6);
}

.lms-side-card h2, .lms-side-card .h2 {
  margin: 0 0 0.75rem;
  color: var(--lms-ink);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.lms-side-progress-label {
  margin: 0.55rem 0 0;
  color: var(--lms-soft);
  font-size: 0.76rem;
}

.lms-side-progress-label strong {
  color: var(--lms-blue);
  font-size: 0.98rem;
}

.lms-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid #eff4fc;
}

.lms-side-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.lms-side-list dt {
  color: var(--lms-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.lms-side-list dd {
  margin: 0;
  color: var(--lms-ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: right;
}

.lms-side-list code,
.lms-cert-code {
  color: #2b4a86;
  font-size: 0.7rem;
  font-weight: 700;
}

.lms-side-hint {
  margin: 0;
  color: var(--lms-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.lms-side-card--instructor {
  background: linear-gradient(135deg, #f7fbff, #ffffff);
}

.lms-instructor {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lms-instructor img {
  border-radius: 50%;
}

.lms-instructor strong {
  display: block;
  color: var(--lms-ink);
  font-size: 0.86rem;
}

.lms-instructor span {
  display: block;
  color: var(--lms-soft);
  font-size: 0.72rem;
}

.lms-hint-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-hint-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #4a5e7f;
  font-size: 0.78rem;
  line-height: 1.45;
}

.lms-hint-list i {
  margin-top: 0.2rem;
  color: #0f9f6e;
}

.lms-side-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lms-side-action {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: #f8fbff;
  color: #40567a;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.lms-side-action:hover,
.lms-side-action:focus {
  background: #eef4ff;
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-lesson-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.35rem;
}

.lms-lesson-topbar-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(360px, 42%);
}

.lms-lesson-topbar-progress .lms-progress {
  flex: 1;
}

.lms-lesson-topbar-progress > span {
  flex-shrink: 0;
  color: var(--lms-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.lms-lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}

.lms-lesson-main {
  min-width: 0;
}

.lms-lesson-card {
  overflow: hidden;
  border: 1px solid var(--lms-line);
  border-radius: var(--lms-radius);
  background: #fff;
  box-shadow: 0 20px 44px -38px rgba(40, 80, 160, 0.6);
}

.lms-lesson-header {
  padding: 1.6rem 1.7rem 1.2rem;
  border-bottom: 1px solid #eff4fc;
  background: radial-gradient(circle at 96% 0%, rgba(59, 109, 255, 0.08), transparent 46%), #fff;
}

.lms-lesson-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.5rem;
  color: var(--lms-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lms-lesson-header h1, .lms-lesson-header .h1 {
  margin: 0;
  color: var(--lms-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lms-lesson-header > p {
  margin: 0.5rem 0 0;
  color: var(--lms-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lms-lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.75rem;
  color: #5f7190;
  font-size: 0.78rem;
  font-weight: 600;
}

.lms-lesson-meta i {
  color: #8ea2c4;
}

.lms-lesson-content {
  padding: 1.6rem 1.7rem;
  color: #33455f;
  font-size: 0.94rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.lms-lesson-content > :first-child {
  margin-top: 0;
}

.lms-lesson-content > :last-child {
  margin-bottom: 0;
}

.lms-muted {
  color: var(--lms-soft);
  font-size: 0.85rem;
}

.lms-lesson-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.7rem;
  border-top: 1px solid #eff4fc;
  background: #fbfdff;
}

.lms-lesson-footer--done {
  background: #f7fdfa;
}

.lms-lesson-done {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lms-lesson-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: #e9fbf3;
  color: #0f7d5f;
}

.lms-lesson-done strong {
  display: block;
  color: #0f7d5f;
  font-size: 0.86rem;
}

.lms-lesson-done > div > span {
  display: block;
  color: var(--lms-soft);
  font-size: 0.74rem;
}

.lms-lesson-footer .btn,
.lms-lesson-complete .btn,
.lms-quiz-actions .btn {
  border-radius: 12px;
  padding: 0.62rem 1.15rem;
  font-weight: 700;
}

.lms-quiz {
  padding: 1.4rem 1.7rem 1.5rem;
  border-top: 1px solid #eff4fc;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.lms-quiz fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.lms-quiz legend {
  display: block;
  width: 100%;
  margin: 0 0 0.9rem;
  padding: 0;
  color: var(--lms-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.lms-quiz-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: #6d4bd8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lms-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lms-quiz-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e0e9f8;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lms-quiz-option:hover {
  border-color: #bcd4fb;
  background: #f8fbff;
}

.lms-quiz-option:has(input:checked) {
  border-color: #3b6dff;
  background: #f2f7ff;
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.1);
}

.lms-quiz-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lms-quiz-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.78rem;
  font-weight: 800;
}

.lms-quiz-option:has(input:checked) .lms-quiz-letter {
  background: #3b6dff;
  color: #fff;
}

.lms-quiz-text {
  color: #33455f;
  font-size: 0.88rem;
  line-height: 1.45;
}

.lms-quiz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.lms-quiz-actions .btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.lms-quiz-hint {
  color: var(--lms-soft);
  font-size: 0.74rem;
}

.lms-lesson-complete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.7rem;
  border-top: 1px solid #eff4fc;
  background: #fbfdff;
}

.lms-lesson-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.1rem 1.7rem 1.3rem;
  border-top: 1px solid #eff4fc;
}

.lms-lesson-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 48%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  color: #40567a;
  text-decoration: none;
}

.lms-lesson-nav-link:hover,
.lms-lesson-nav-link:focus {
  background: #f4f9ff;
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-lesson-nav-link > i {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.lms-lesson-nav-link span {
  min-width: 0;
}

.lms-lesson-nav-link small, .lms-lesson-nav-link .small {
  display: block;
  color: var(--lms-soft);
  font-size: 0.68rem;
  font-weight: 600;
}

.lms-lesson-nav-link strong {
  display: block;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-lesson-nav-link--next {
  margin-left: auto;
  text-align: right;
}

.lms-side-card--outline {
  padding: 1rem;
}

.lms-side-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.lms-side-card-head h2, .lms-side-card-head .h2 {
  margin: 0;
}

.lms-side-card-head > span {
  color: var(--lms-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.lms-lesson-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-lesson-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.5rem;
  border-radius: 10px;
  color: #40567a;
  text-decoration: none;
}

.lms-lesson-nav-list a:hover,
.lms-lesson-nav-list a:focus {
  background: #f4f9ff;
  color: var(--lms-blue);
  text-decoration: none;
}

.lms-lesson-nav-list li.is-current a {
  background: #eef4ff;
  color: #1d4ed8;
}

.lms-lesson-nav-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  background: #f0f5fc;
  color: #6f7f99;
  font-size: 0.7rem;
  font-weight: 800;
}

.lms-lesson-nav-list li.is-done .lms-lesson-nav-number {
  background: #e9fbf3;
  color: #0f7d5f;
}

.lms-lesson-nav-title {
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-mine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lms-mine-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--lms-line);
  border-radius: var(--lms-radius);
  background: #fff;
  box-shadow: 0 18px 38px -34px rgba(40, 80, 160, 0.55);
}

.lms-mine-card--done {
  background: linear-gradient(135deg, #fbfffd, #ffffff);
}

.lms-mine-body {
  min-width: 0;
  flex: 1;
}

.lms-mine-body h3, .lms-mine-body .h3 {
  margin: 0.2rem 0 0.15rem;
  color: var(--lms-ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}

.lms-mine-body > p {
  margin: 0 0 0.55rem;
  overflow: hidden;
  color: var(--lms-soft);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-cert-code {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  padding: 0.22rem 0.5rem;
  border-radius: 7px;
  background: #f4f8ff;
  font-size: 0.7rem;
}

.lms-mine-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.lms-mine-actions .btn {
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.lms-lessons-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.lms-manage-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.lms-manage-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--lms-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px -34px rgba(40, 80, 160, 0.6);
}

.lms-manage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lms-tone-a, #3b6dff), var(--lms-tone-b, #38bdf8));
  color: #fff;
  font-size: 1rem;
}

.lms-manage-main {
  min-width: 0;
  flex: 1;
}

.lms-manage-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.lms-manage-title h3, .lms-manage-title .h3 {
  margin: 0;
  color: var(--lms-ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lms-manage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  margin: 0.3rem 0 0.45rem;
  color: #5f7190;
  font-size: 0.73rem;
  font-weight: 600;
}

.lms-manage-meta i {
  color: #8ea2c4;
}

.lms-manage-main .lms-progress {
  max-width: 320px;
}

.lms-manage-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  max-width: 330px;
}

.lms-manage-actions .btn {
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

.lms-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e2ebfa;
  border-radius: 9px;
  background: #fff;
  color: #5b6f91;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lms-icon-button:hover:not(:disabled),
.lms-icon-button:focus:not(:disabled) {
  border-color: #bcd4fb;
  background: #eef4ff;
  color: var(--lms-blue);
}

.lms-icon-button--danger:hover:not(:disabled),
.lms-icon-button--danger:focus:not(:disabled) {
  border-color: #f5c2c2;
  background: #fff1f1;
  color: #c53030;
}

.lms-icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.lms-manage-lessons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-manage-lesson {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--lms-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px -32px rgba(40, 80, 160, 0.6);
}

.lms-manage-lesson-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: #eef4ff;
  color: #3b6dff;
  font-size: 0.82rem;
  font-weight: 800;
}

.lms-manage-lesson-main {
  min-width: 0;
  flex: 1;
}

.lms-manage-lesson-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.lms-manage-lesson-actions .btn {
  border-radius: 9px;
  font-size: 0.73rem;
  font-weight: 700;
}

.lms-table-card {
  overflow: hidden;
  border: 1px solid var(--lms-line);
  border-radius: var(--lms-radius);
  background: #fff;
  box-shadow: 0 18px 40px -38px rgba(40, 80, 160, 0.6);
}

.lms-table {
  width: 100%;
  border-collapse: collapse;
}

.lms-table th {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e9f0fb;
  background: #f8fbff;
  color: #5f7190;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.lms-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5fc;
  color: #40567a;
  font-size: 0.8rem;
  vertical-align: middle;
}

.lms-table tr:last-child td {
  border-bottom: 0;
}

.lms-table tbody tr:hover {
  background: #fbfdff;
}

.lms-table-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lms-table-user img {
  border-radius: 50%;
}

.lms-table-user strong {
  display: block;
  color: var(--lms-ink);
  font-size: 0.82rem;
}

.lms-table-user small, .lms-table-user .small {
  display: block;
  color: var(--lms-soft);
  font-size: 0.7rem;
}

.lms-table-progress {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 130px;
}

.lms-table-progress > span {
  color: var(--lms-soft);
  font-size: 0.7rem;
  font-weight: 600;
}

.lms-form-page {
  max-width: 1120px;
  margin: 0 auto;
}

.lms-form-header {
  padding: 0.25rem 0 0.35rem;
}

.lms-form-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.lms-form-header-actions .btn {
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lms-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}

.lms-form-main,
.lms-form-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.lms-form-card {
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--lms-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -38px rgba(40, 80, 160, 0.6);
}

.lms-form-section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  color: var(--lms-ink);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.lms-form-section-title i {
  color: var(--lms-blue);
}

.lms-form-section-hint {
  margin: -0.5rem 0 0.9rem;
  color: var(--lms-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.lms-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.lms-form .form-group {
  margin-bottom: 1rem;
}

.lms-form .form-group:last-child {
  margin-bottom: 0;
}

.lms-form label {
  margin-bottom: 0.3rem;
  color: #40567a;
  font-size: 0.8rem;
  font-weight: 700;
}

.lms-form .form-control {
  border: 1px solid #dbe6f8;
  border-radius: 11px;
  background: #fbfdff;
  color: var(--lms-ink);
  font-size: 0.86rem;
}

.lms-form .form-control:focus {
  border-color: #b9d0f7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.12);
}

.lms-form textarea.form-control {
  line-height: 1.6;
  resize: vertical;
}

.lms-form .help-block {
  margin-top: 0.25rem;
  color: #7c8daa;
  font-size: 0.72rem;
}

.lms-form .help-block-error {
  color: #c53030;
}

.lms-form-static {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--lms-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.lms-form-static-hint {
  margin: 0.3rem 0 0;
  color: var(--lms-soft);
  font-size: 0.74rem;
}

.lms-form-card--tips {
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.lms-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.2rem 0;
}

.lms-form-actions .btn {
  border-radius: 12px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
}

.lms-certificate-page {
  max-width: 1020px;
  margin: 0 auto;
}

.lms-certificate-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lms-certificate-toolbar .btn {
  border-radius: 12px;
  font-weight: 700;
}

.lms-certificate {
  padding: 0.7rem;
  border-radius: 26px;
  background: radial-gradient(circle at 0% 0%, rgba(59, 109, 255, 0.12), transparent 40%), radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.14), transparent 42%), #f4f8ff;
}

.lms-certificate-border {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4rem 2.6rem 2rem;
  border: 2px solid #d7e5fb;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: inset 0 0 0 6px #fbfdff;
}

.lms-certificate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edf3fc;
}

.lms-certificate-brand {
  color: var(--lms-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lms-certificate-label {
  color: #7c8daa;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lms-certificate-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 1.5rem 0 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 16px 30px -18px rgba(245, 158, 11, 0.9);
}

.lms-certificate-intro {
  margin: 0;
  color: #7c8daa;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lms-certificate-name {
  margin: 0.35rem 0 0.4rem;
  color: var(--lms-ink);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.lms-certificate-text {
  margin: 0;
  color: #5f7190;
  font-size: 0.88rem;
}

.lms-certificate-course {
  max-width: 720px;
  margin: 0.45rem 0 0.8rem;
  color: #1d4ed8;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lms-certificate-detail {
  margin: 0;
  color: #5f7190;
  font-size: 0.82rem;
  line-height: 1.5;
}

.lms-certificate-detail strong {
  color: var(--lms-ink);
}

.lms-certificate-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  background: #f8fbff;
}

.lms-certificate-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lms-certificate-meta span {
  color: #7c8daa;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lms-certificate-meta strong {
  color: var(--lms-ink);
  font-size: 0.82rem;
}

.lms-certificate-footer {
  display: flex;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  margin-top: 2rem;
}

.lms-certificate-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 210px;
}

.lms-certificate-line {
  display: block;
  width: 100%;
  margin-bottom: 0.4rem;
  border-top: 1px solid #c9d8ee;
}

.lms-certificate-signature strong {
  color: var(--lms-ink);
  font-size: 0.82rem;
}

.lms-certificate-signature span {
  color: #7c8daa;
  font-size: 0.7rem;
}

.lms-certificate-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--lms-soft);
  font-size: 0.76rem;
  text-align: center;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }
  body:has(.lms-certificate-page) .modern-rail,
  body:has(.lms-certificate-page) .modern-topbar,
  body:has(.lms-certificate-page) .lms-back,
  body:has(.lms-certificate-page) .lms-alert,
  body:has(.lms-certificate-page) .lms-certificate-toolbar,
  body:has(.lms-certificate-page) .lms-certificate-note {
    display: none !important;
  }
  body:has(.lms-certificate-page) {
    background: #fff !important;
  }
  body:has(.lms-certificate-page) #layout-content,
  body:has(.lms-certificate-page) .lms-layout {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }
  .lms-certificate {
    padding: 0;
    background: #fff;
  }
  .lms-certificate-border {
    min-height: 175mm;
    box-shadow: none;
  }
}
@media (max-width: 1199px) {
  .lms-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .lms-course-layout,
  .lms-lesson-layout,
  .lms-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lms-course-side,
  .lms-lesson-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lms-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lms-continue-grid,
  .lms-mine-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lms-manage-row {
    flex-wrap: wrap;
  }
  .lms-manage-actions {
    max-width: none;
    justify-content: flex-start;
  }
  .lms-certificate-border {
    padding: 2rem 1.5rem 1.5rem;
  }
}
@media (max-width: 767px) {
  .lms-hero,
  .lms-course-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.3rem;
  }
  .lms-course-hero-progress {
    width: 100%;
    height: auto;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    flex-direction: row;
    gap: 0.5rem;
  }
  .lms-course-hero-progress span {
    max-width: none;
  }
  .lms-hero-actions {
    width: 100%;
  }
  .lms-search {
    flex-wrap: wrap;
  }
  .lms-search input[type=search] {
    flex: 1 1 100%;
  }
  .lms-search select {
    flex: 1;
  }
  .lms-course-side,
  .lms-lesson-side {
    display: flex;
  }
  .lms-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lms-continue-card,
  .lms-mine-card {
    flex-wrap: wrap;
  }
  .lms-continue-action {
    margin-left: 64px;
  }
  .lms-mine-actions {
    flex-direction: row;
    align-items: center;
    margin-left: 64px;
  }
  .lms-lesson-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .lms-lesson-topbar-progress {
    width: 100%;
  }
  .lms-lesson-footer,
  .lms-lesson-complete {
    flex-direction: column;
    align-items: flex-start;
  }
  .lms-lesson-header,
  .lms-lesson-content,
  .lms-quiz,
  .lms-lesson-footer,
  .lms-lesson-complete,
  .lms-lesson-nav {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }
  .lms-lesson-nav-link {
    max-width: 100%;
  }
  .lms-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .lms-lessons-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .lms-table-card {
    overflow-x: auto;
  }
  .lms-table {
    min-width: 760px;
  }
  .lms-certificate-footer {
    flex-direction: column;
    gap: 1.4rem;
  }
}
.lms-badge--video {
  background: #eef3ff;
  color: #3248c7;
  border: 1px solid rgba(61, 90, 255, 0.22);
}

.lms-lesson-video-tag {
  color: #3248c7;
  font-weight: 700;
}

.lms-lesson-nav-video {
  margin-left: auto;
  color: #3d5aff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.lms-video-stage {
  padding: 1.35rem 1.7rem 1.15rem;
  border-bottom: 1px solid #eff4fc;
  background: radial-gradient(circle at 100% 0%, rgba(61, 90, 255, 0.06), transparent 52%), #f7faff;
}

.lms-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px;
  background: #05001a;
  box-shadow: 0 22px 46px -28px rgba(5, 0, 26, 0.72);
}

.lms-video-frame--preview {
  border-radius: 13px;
  box-shadow: 0 16px 34px -24px rgba(5, 0, 26, 0.65);
}

.lms-video-iframe,
.lms-video-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05001a;
}

.lms-video-player {
  object-fit: contain;
}

.lms-video-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 0.72rem;
  font-size: 0.76rem;
}

.lms-video-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #40567a;
  font-weight: 700;
}

.lms-video-source i {
  color: #3d5aff;
}

.lms-video-external {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #3d5aff;
  font-weight: 700;
  text-decoration: none;
}

.lms-video-external:hover,
.lms-video-external:focus {
  color: #3248c7;
  text-decoration: underline;
}

.lms-lesson-content--after-video {
  padding-top: 1.35rem;
}

.lms-lesson-content-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  color: #5f7190;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lms-lesson-content-heading i {
  color: #3d5aff;
}

.lms-video-editor .is-hidden {
  display: none !important;
}

.lms-video-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.lms-video-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.38rem 0.72rem;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff5f5;
  color: #c53030;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lms-video-clear-btn:hover,
.lms-video-clear-btn:focus {
  background: #fee2e2;
  border-color: #fca5a5;
}

.lms-video-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  margin: 0.2rem 0 1rem;
  border: 1.5px dashed #b9d0f7;
  border-radius: 14px;
  background: #f8fbff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lms-video-dropzone:hover,
.lms-video-dropzone.is-dragover {
  border-color: #3d5aff;
  background: #eef4ff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.1);
}

.lms-video-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.lms-video-dropzone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #eef3ff;
  color: #3d5aff;
  font-size: 1.15rem;
}

.lms-video-dropzone-copy {
  flex: 1;
  min-width: 0;
}

.lms-video-dropzone-copy strong {
  display: block;
  color: var(--lms-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.lms-video-dropzone-copy span {
  display: block;
  margin-top: 0.12rem;
  color: var(--lms-soft);
  font-size: 0.74rem;
  line-height: 1.4;
}

.lms-video-pick-btn,
.lms-poster-pick-btn {
  margin: 0 !important;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.lms-upload-status {
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.95rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
}

.lms-upload-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  color: var(--lms-ink);
  font-size: 0.78rem;
}

.lms-upload-status-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-upload-status-row strong {
  color: #3248c7;
  font-weight: 800;
}

.lms-upload-bar {
  height: 8px;
  border-radius: 999px;
  background: #e4edfb;
  overflow: hidden;
}

.lms-upload-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d5aff 0%, #7d96ff 58%, #d0ff00 100%);
  transition: width 0.15s ease;
}

.lms-upload-feedback {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.95rem;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 600;
}

.lms-upload-feedback.is-error {
  border: 1px solid #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.lms-upload-feedback.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.lms-video-poster-row {
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.lms-video-poster-field {
  flex: 1;
  min-width: 0;
}

.lms-video-poster-field .form-group {
  margin-bottom: 0 !important;
}

.lms-video-poster-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-bottom: 0.12rem;
}

.lms-video-preview-wrap {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid #eff4fc;
}

.lms-video-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.lms-video-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.72rem;
  font-weight: 800;
}

.lms-duration-apply-btn {
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(61, 90, 255, 0.28);
  border-radius: 9px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.lms-duration-apply-btn:hover,
.lms-duration-apply-btn:focus {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}

:root[data-modern-theme=dark] .lms-badge--video {
  background: rgba(61, 90, 255, 0.24);
  border-color: rgba(158, 180, 255, 0.34);
  color: #d4e0ff;
}
:root[data-modern-theme=dark] .lms-lesson-video-tag,
:root[data-modern-theme=dark] .lms-lesson-nav-video,
:root[data-modern-theme=dark] .lms-video-source i,
:root[data-modern-theme=dark] .lms-lesson-content-heading i {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lms-video-stage {
  border-bottom-color: rgba(255, 250, 245, 0.12);
  background: #07031f;
}
:root[data-modern-theme=dark] .lms-video-source {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-video-external {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lms-video-external:hover, :root[data-modern-theme=dark] .lms-video-external:focus {
  color: #d4e0ff;
}
:root[data-modern-theme=dark] .lms-lesson-content-heading {
  color: rgba(255, 250, 245, 0.7);
}
:root[data-modern-theme=dark] .lms-video-dropzone {
  border-color: rgba(158, 180, 255, 0.32);
  background: rgba(5, 0, 26, 0.55);
}
:root[data-modern-theme=dark] .lms-video-dropzone:hover, :root[data-modern-theme=dark] .lms-video-dropzone.is-dragover {
  border-color: #3d5aff;
  background: rgba(61, 90, 255, 0.2);
}
:root[data-modern-theme=dark] .lms-video-dropzone-icon {
  background: rgba(61, 90, 255, 0.25);
  color: #d4e0ff;
}
:root[data-modern-theme=dark] .lms-video-dropzone-copy strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-video-dropzone-copy span {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .lms-upload-status {
  border-color: rgba(255, 250, 245, 0.16);
  background: rgba(5, 0, 26, 0.7);
}
:root[data-modern-theme=dark] .lms-upload-status-row {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-upload-status-row strong {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lms-upload-bar {
  background: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .lms-upload-feedback.is-error {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.4);
  color: #fecaca;
}
:root[data-modern-theme=dark] .lms-upload-feedback.is-success {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(20, 83, 45, 0.42);
  color: #dcfce7;
}
:root[data-modern-theme=dark] .lms-video-preview-wrap {
  border-top-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .lms-video-preview-badge,
:root[data-modern-theme=dark] .lms-duration-apply-btn {
  background: rgba(61, 90, 255, 0.26);
  border-color: rgba(158, 180, 255, 0.35);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-video-clear-btn {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.36);
  color: #fecaca;
}

@media (max-width: 767px) {
  .lms-video-stage {
    padding: 1rem 1.2rem;
  }
  .lms-video-dropzone {
    flex-direction: column;
    align-items: flex-start;
  }
  .lms-video-poster-row {
    flex-direction: column;
    align-items: stretch;
  }
}
.lms-studio-page {
  max-width: 1320px;
  margin: 0 auto;
}

.lms-studio-shell {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.35rem 1.55rem 1.85rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 28px;
  background: radial-gradient(640px 260px at 96% 0%, rgba(208, 255, 0, 0.16), transparent 58%), radial-gradient(560px 280px at 0% 100%, rgba(61, 90, 255, 0.1), transparent 60%), #f6f8fe;
  box-shadow: 0 28px 64px -40px rgba(5, 0, 26, 0.42);
}

.lms-studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lms-studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #05001a;
  text-decoration: none;
}
.lms-studio-brand:hover, .lms-studio-brand:focus {
  color: #3d5aff;
  text-decoration: none;
}

.lms-studio-brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #05001a;
  color: #fffaf5;
  font-size: 1.08rem;
  box-shadow: 0 12px 24px -14px rgba(5, 0, 26, 0.7);
}
.lms-studio-brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0ff00;
  border: 2px solid #f6f8fe;
}

.lms-studio-brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lms-studio-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid rgba(5, 0, 26, 0.06);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 28px -22px rgba(5, 0, 26, 0.36);
}

.lms-studio-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  color: #40567a;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.lms-studio-pill:hover, .lms-studio-pill:focus {
  background: #eef3ff;
  color: #05001a;
  text-decoration: none;
}
.lms-studio-pill.is-active {
  background: #05001a;
  color: #fffaf5;
  box-shadow: 0 10px 22px -12px rgba(5, 0, 26, 0.72);
}

.lms-studio-top-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lms-studio-circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(5, 0, 26, 0.07);
  border-radius: 50%;
  background: #ffffff;
  color: #05001a;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 0 8px 20px -16px rgba(5, 0, 26, 0.35);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.lms-studio-circle-btn:hover, .lms-studio-circle-btn:focus {
  background: #eef3ff;
  color: #3d5aff;
  transform: translateY(-1px);
  text-decoration: none;
}

.lms-studio-avatar {
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 18px -12px rgba(5, 0, 26, 0.45);
}
.lms-studio-avatar img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
}

.lms-studio-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.15rem 0.15rem 0;
}

.lms-studio-heading-copy h1, .lms-studio-heading-copy .h1 {
  margin: 0.25rem 0 0;
  color: #05001a;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.lms-studio-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: #5f7190;
  font-size: 0.78rem;
  font-weight: 700;
}
.lms-studio-kicker a {
  color: #3248c7;
  text-decoration: none;
}
.lms-studio-kicker a:hover {
  text-decoration: underline;
}

.lms-studio-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.48rem 0.9rem;
  border: 1px solid rgba(5, 0, 26, 0.07);
  border-radius: 999px;
  background: #ffffff;
  color: #5f7190;
  font-size: 0.76rem;
  font-weight: 600;
}
.lms-studio-progress-pill .lms-progress {
  width: 90px;
}
.lms-studio-progress-pill strong {
  color: #05001a;
}

.lms-studio-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 356px;
  gap: 1.1rem;
  align-items: start;
}

.lms-studio-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 364px;
  gap: 1.15rem;
  align-items: start;
}

.lms-studio-dock {
  position: sticky;
  top: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.lms-studio-dock-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem;
  border: 1px solid rgba(5, 0, 26, 0.07);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 32px -24px rgba(5, 0, 26, 0.38);
}

.lms-studio-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #5f7190;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.lms-studio-dock-btn:hover, .lms-studio-dock-btn:focus {
  background: #eef3ff;
  color: #3d5aff;
  text-decoration: none;
}
.lms-studio-dock-btn.is-active {
  background: #05001a;
  color: #fffaf5;
  box-shadow: 0 8px 18px -10px rgba(5, 0, 26, 0.72);
}

.lms-studio-stage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.lms-studio-video-card,
.lms-studio-spotlight {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(5, 0, 26, 0.08);
  box-shadow: 0 24px 52px -36px rgba(5, 0, 26, 0.45);
}

.lms-studio-video-frame {
  border-radius: 0;
  box-shadow: none;
}

.lms-studio-video-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.15rem;
  background: #ffffff;
  font-size: 0.78rem;
}

.lms-studio-video-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lms-studio-edit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
}
.lms-studio-edit-chip:hover {
  background: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.lms-studio-cover {
  border-radius: 24px;
  padding: 1.75rem 1.85rem;
  background: radial-gradient(500px 220px at 100% 0%, rgba(208, 255, 0, 0.25), transparent 62%), linear-gradient(135deg, #05001a 0%, #1d2d86 64%, #3d5aff 100%);
  color: #fffaf5;
  box-shadow: 0 24px 48px -32px rgba(5, 0, 26, 0.65);
}

.lms-studio-cover-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.lms-studio-cover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.14);
  border: 1px solid rgba(255, 250, 245, 0.22);
  color: #fffaf5;
  font-size: 1.6rem;
}

.lms-studio-cover-copy {
  flex: 1;
  min-width: 220px;
}
.lms-studio-cover-copy h2, .lms-studio-cover-copy .h2 {
  margin: 0.25rem 0 0.3rem;
  color: #fffaf5;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}
.lms-studio-cover-copy p {
  margin: 0;
  color: rgba(255, 250, 245, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
}

.lms-studio-cover-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(208, 255, 0, 0.92);
  color: #05001a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lms-studio-add-video-btn {
  border-radius: 999px;
  font-weight: 700;
  background: #fffaf5 !important;
  border-color: #fffaf5 !important;
  color: #05001a !important;
}

.lms-studio-poster-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16/9;
  padding: 1.4rem 1.6rem;
  background: radial-gradient(520px 260px at 95% 8%, rgba(208, 255, 0, 0.28), transparent 58%), radial-gradient(460px 260px at 10% 95%, rgba(61, 90, 255, 0.55), transparent 62%), linear-gradient(135deg, #05001a 0%, #1a287a 58%, #3248c7 100%);
  color: #fffaf5;
  text-decoration: none;
}
.lms-studio-poster-stage:hover, .lms-studio-poster-stage:focus {
  text-decoration: none;
}
.lms-studio-poster-stage:hover .lms-studio-play-big, .lms-studio-poster-stage:focus .lms-studio-play-big {
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 0 0 8px rgba(208, 255, 0, 0.28), 0 18px 34px rgba(5, 0, 26, 0.6);
}

.lms-studio-poster-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.14);
  backdrop-filter: blur(8px);
  color: #fffaf5;
  font-size: 0.76rem;
  font-weight: 700;
}

.lms-studio-play-big {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding-left: 4px;
  border-radius: 50%;
  background: #d0ff00;
  color: #05001a;
  font-size: 1.45rem;
  box-shadow: 0 18px 36px rgba(5, 0, 26, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lms-studio-poster-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 85%;
}
.lms-studio-poster-caption strong {
  color: #fffaf5;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}
.lms-studio-poster-caption span {
  color: rgba(255, 250, 245, 0.82);
  font-size: 0.84rem;
  line-height: 1.4;
}

.lms-studio-activity-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(5, 0, 26, 0.07);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px -34px rgba(5, 0, 26, 0.38);
}

.lms-studio-activity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.lms-studio-activity-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.lms-studio-activity-title h2, .lms-studio-activity-title .h2 {
  margin: 0;
  color: #05001a;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.lms-studio-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.86rem;
  font-weight: 800;
}

.lms-studio-step-arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lms-studio-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: 11px;
  background: #f6f8fe;
  color: #05001a;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lms-studio-arrow-btn:hover:not(.is-disabled), .lms-studio-arrow-btn:focus:not(.is-disabled) {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
  text-decoration: none;
}
.lms-studio-arrow-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lms-studio-summary {
  margin: -0.35rem 0 0;
  color: #5f7190;
  font-size: 0.88rem;
  line-height: 1.5;
}

.lms-studio-prose {
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid #ebf0fb;
  color: #2c3e59;
  font-size: 0.92rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.lms-studio-quiz {
  padding: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
}

.lms-studio-quiz-question {
  margin-bottom: 0.8rem;
}
.lms-studio-quiz-question strong {
  display: block;
  color: #05001a;
  font-size: 0.98rem;
  font-weight: 800;
}

.lms-studio-quiz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lms-studio-quiz-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.68rem 1rem;
  border: 1.5px solid #e2eafa;
  border-radius: 16px;
  background: #ffffff;
  color: #1e2d45;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px -18px rgba(5, 0, 26, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.lms-studio-quiz-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lms-studio-quiz-pill:hover {
  transform: translateY(-1px);
  border-color: #3d5aff;
  background: #f5f8ff;
}
.lms-studio-quiz-pill:has(input:checked) {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(5, 0, 26, 0.72), 0 0 0 2px rgba(208, 255, 0, 0.65);
}
.lms-studio-quiz-pill:has(input:checked) .lms-studio-quiz-letter {
  background: #3d5aff;
  color: #fffaf5;
}

.lms-studio-quiz-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.74rem;
  font-weight: 800;
}

.lms-studio-done-bar,
.lms-studio-complete-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef3fc;
}

.lms-studio-cta-dark {
  border-radius: 999px !important;
  padding: 0.6rem 1.25rem !important;
  background: #05001a !important;
  border-color: #05001a !important;
  color: #fffaf5 !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 24px -14px rgba(5, 0, 26, 0.68);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.lms-studio-cta-dark:hover, .lms-studio-cta-dark:focus {
  background: #3d5aff !important;
  border-color: #3d5aff !important;
  color: #fffaf5 !important;
  transform: translateY(-1px);
}

.lms-studio-home-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lms-studio-home-sub {
  margin: 0.18rem 0 0;
  color: #5f7190;
  font-size: 0.78rem;
  font-weight: 600;
}

.lms-studio-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef3fc;
}

.lms-studio-mini-stat {
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: #f6f8fe;
  text-align: center;
}
.lms-studio-mini-stat strong {
  display: block;
  color: #05001a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}
.lms-studio-mini-stat span {
  display: block;
  margin-top: 0.18rem;
  color: #5f7190;
  font-size: 0.69rem;
  font-weight: 600;
}

.lms-studio-playlist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.lms-acc-stack {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.lms-acc-card {
  border: 1px solid rgba(5, 0, 26, 0.07);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 32px -28px rgba(5, 0, 26, 0.36);
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.lms-acc-card.is-open {
  border-color: rgba(61, 90, 255, 0.22);
  box-shadow: 0 18px 36px -28px rgba(61, 90, 255, 0.36);
}

.lms-acc-head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  padding: 0.88rem 0.95rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lms-acc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.lms-acc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  font-size: 0.9rem;
}

.lms-acc-badge--done {
  background: #e7eeff;
  color: #3d5aff;
}

.lms-acc-badge--pending {
  background: #ffecee;
  color: #e11d48;
}

.lms-acc-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}
.lms-acc-ring svg {
  transform: rotate(-90deg);
  display: block;
}

.lms-acc-ring-track {
  fill: none;
  stroke: #e6eefc;
  stroke-width: 3.2;
}

.lms-acc-ring-fill {
  fill: none;
  stroke: #3d5aff;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}

.lms-acc-ring-text {
  position: absolute;
  color: #05001a;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lms-acc-title-wrap {
  flex: 1;
  min-width: 0;
}

.lms-acc-title {
  display: block;
  overflow: hidden;
  color: #05001a;
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-acc-sub {
  display: block;
  margin-top: 0.08rem;
  color: #6b7c9c;
  font-size: 0.7rem;
  font-weight: 600;
}

.lms-acc-right {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.lms-acc-duration {
  color: #5f7190;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.lms-acc-chevron {
  color: #6b7c9c;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.lms-acc-card.is-open .lms-acc-chevron {
  transform: rotate(180deg);
}

.lms-acc-body {
  display: none;
  margin: 0 0.58rem 0.65rem;
  padding: 0.38rem;
  border-radius: 16px;
  background: #f4f7ff;
}

.lms-acc-card.is-open .lms-acc-body {
  display: block;
}

.lms-acc-empty {
  padding: 0.75rem;
  color: #6b7c9c;
  font-size: 0.76rem;
  text-align: center;
}

.lms-acc-list {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-acc-lesson {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.72rem;
  border-radius: 14px;
  color: #2c3e59;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.lms-acc-lesson:hover, .lms-acc-lesson:focus {
  background: #ffffff;
  color: #05001a;
  text-decoration: none;
}

.lms-acc-lesson-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  background: #ffffff;
  color: #3d5aff;
  font-size: 0.76rem;
  box-shadow: 0 4px 10px -8px rgba(5, 0, 26, 0.35);
}

.lms-acc-lesson-check {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3d5aff;
  color: #fffaf5;
  font-size: 0.52rem;
  border: 1.5px solid #f4f7ff;
}

.lms-acc-lesson-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-acc-lesson-dur {
  flex-shrink: 0;
  color: #6b7c9c;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.lms-acc-item.is-current .lms-acc-lesson {
  background: #05001a;
  color: #fffaf5;
  border-radius: 15px;
  box-shadow: 0 12px 24px -14px rgba(5, 0, 26, 0.78);
}
.lms-acc-item.is-current .lms-acc-lesson .lms-acc-lesson-icon {
  background: #fffaf5;
  color: #05001a;
  border-radius: 50%;
}
.lms-acc-item.is-current .lms-acc-lesson .lms-acc-lesson-dur {
  color: rgba(255, 250, 245, 0.85);
}
.lms-acc-item.is-current .lms-acc-lesson:hover {
  background: #141038;
  color: #fffaf5;
}

.lms-studio-manage-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.lms-studio-manage-strip a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 13px;
  background: #ffffff;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.lms-studio-manage-strip a:hover {
  background: #eef3ff;
  color: #05001a;
  text-decoration: none;
}

.lms-studio-catalog {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(5, 0, 26, 0.06);
}

:root[data-modern-theme=dark] .lms-studio-shell {
  border-color: rgba(255, 250, 245, 0.14);
  background: radial-gradient(640px 260px at 96% 0%, rgba(208, 255, 0, 0.12), transparent 58%), radial-gradient(560px 280px at 0% 100%, rgba(61, 90, 255, 0.28), transparent 60%), #0b0624;
}
:root[data-modern-theme=dark] .lms-studio-brand,
:root[data-modern-theme=dark] .lms-studio-heading-copy h1,
:root[data-modern-theme=dark] .lms-studio-heading-copy .h1,
:root[data-modern-theme=dark] .lms-studio-activity-title h2,
:root[data-modern-theme=dark] .lms-studio-activity-title .h2,
:root[data-modern-theme=dark] .lms-studio-quiz-question strong,
:root[data-modern-theme=dark] .lms-studio-progress-pill strong,
:root[data-modern-theme=dark] .lms-studio-mini-stat strong,
:root[data-modern-theme=dark] .lms-acc-title,
:root[data-modern-theme=dark] .lms-acc-ring-text {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-brand-mark {
  background: #3d5aff;
}
:root[data-modern-theme=dark] .lms-studio-brand-mark::after {
  border-color: #0b0624;
}
:root[data-modern-theme=dark] .lms-studio-pills,
:root[data-modern-theme=dark] .lms-studio-circle-btn,
:root[data-modern-theme=dark] .lms-studio-progress-pill,
:root[data-modern-theme=dark] .lms-studio-dock-group,
:root[data-modern-theme=dark] .lms-studio-video-card,
:root[data-modern-theme=dark] .lms-studio-spotlight,
:root[data-modern-theme=dark] .lms-studio-video-bar,
:root[data-modern-theme=dark] .lms-studio-activity-card,
:root[data-modern-theme=dark] .lms-acc-card,
:root[data-modern-theme=dark] .lms-studio-manage-strip a {
  background: #05001a;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-pill {
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .lms-studio-pill:hover {
  background: rgba(61, 90, 255, 0.26);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-pill.is-active {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-dock-btn {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .lms-studio-dock-btn.is-active {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-kicker,
:root[data-modern-theme=dark] .lms-studio-summary,
:root[data-modern-theme=dark] .lms-studio-home-sub,
:root[data-modern-theme=dark] .lms-studio-mini-stat span,
:root[data-modern-theme=dark] .lms-acc-sub,
:root[data-modern-theme=dark] .lms-acc-duration,
:root[data-modern-theme=dark] .lms-acc-lesson-dur {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .lms-studio-kicker a,
:root[data-modern-theme=dark] .lms-studio-manage-strip a {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lms-studio-prose,
:root[data-modern-theme=dark] .lms-studio-mini-stat,
:root[data-modern-theme=dark] .lms-acc-body {
  background: rgba(255, 250, 245, 0.05);
  border-color: rgba(255, 250, 245, 0.1);
  color: rgba(255, 250, 245, 0.9);
}
:root[data-modern-theme=dark] .lms-studio-step-num,
:root[data-modern-theme=dark] .lms-acc-badge--done {
  background: rgba(61, 90, 255, 0.28);
  color: #d4e0ff;
}
:root[data-modern-theme=dark] .lms-acc-badge--pending {
  background: rgba(244, 63, 94, 0.22);
  color: #fda4af;
}
:root[data-modern-theme=dark] .lms-acc-ring-track {
  stroke: rgba(255, 250, 245, 0.16);
}
:root[data-modern-theme=dark] .lms-acc-ring-fill {
  stroke: #d0ff00;
}
:root[data-modern-theme=dark] .lms-acc-lesson {
  color: rgba(255, 250, 245, 0.85);
}
:root[data-modern-theme=dark] .lms-acc-lesson:hover {
  background: rgba(61, 90, 255, 0.22);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-acc-lesson-icon {
  background: rgba(255, 250, 245, 0.1);
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lms-acc-item.is-current .lms-acc-lesson {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-acc-item.is-current .lms-acc-lesson .lms-acc-lesson-icon {
  background: #fffaf5;
  color: #05001a;
}
:root[data-modern-theme=dark] .lms-studio-arrow-btn,
:root[data-modern-theme=dark] .lms-studio-quiz-pill {
  background: rgba(255, 250, 245, 0.06);
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-quiz-pill:has(input:checked) {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .lms-studio-cta-dark {
  background: #3d5aff !important;
  border-color: #3d5aff !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .lms-studio-cta-dark:hover {
  background: #5370ff !important;
}
:root[data-modern-theme=dark] .lms-studio-done-bar,
:root[data-modern-theme=dark] .lms-studio-complete-bar,
:root[data-modern-theme=dark] .lms-studio-mini-stats,
:root[data-modern-theme=dark] .lms-studio-catalog {
  border-color: rgba(255, 250, 245, 0.12);
}

@media (max-width: 1199px) {
  .lms-studio-body {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .lms-studio-dock {
    display: none;
  }
}
@media (max-width: 991px) {
  .lms-studio-body,
  .lms-studio-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lms-studio-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .lms-studio-shell {
    padding: 1rem;
    border-radius: 20px;
  }
  .lms-studio-topbar {
    justify-content: center;
  }
  .lms-studio-brand,
  .lms-studio-top-right {
    display: none;
  }
  .lms-studio-activity-card {
    padding: 1.05rem;
  }
}
.drv-layout {
  padding-top: 1.15rem;
  padding-bottom: 2.2rem;
}

.drv-page {
  --drv-ink: var(--modern-ink, #05001a);
  --drv-soft: var(--modern-ink-muted, #5f7190);
  --drv-line: var(--modern-border, rgba(5, 0, 26, 0.1));
  --drv-blue: #3d5aff;
  --drv-blue-dark: #3248c7;
  --drv-radius: 18px;
  position: relative;
}

.drv-page .is-hidden,
.drv-modal .is-hidden {
  display: none !important;
}

body.drv-modal-open {
  overflow: hidden;
}

.drv-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.drv-sidebar {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--modern-shadow-card, 0 18px 40px -30px rgba(5, 0, 26, 0.35));
}

.drv-sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drv-new-btn {
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 13px;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 10px 24px -12px rgba(61, 90, 255, 0.75);
}

.drv-new-folder-btn {
  width: 100%;
  padding: 0.56rem 0.9rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--drv-ink);
  font-weight: 700;
  font-size: 0.82rem;
}

.drv-new-folder-btn:hover,
.drv-new-folder-btn:focus {
  border-color: #3d5aff;
  background: #eef4ff;
  color: #3248c7;
}

.drv-nav {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.drv-nav-group-label {
  margin: 0.65rem 0.55rem 0.2rem;
  color: #7c8daa;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.drv-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.56rem 0.75rem;
  border-radius: 12px;
  color: #3b4a63;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.drv-nav-item > i {
  width: 18px;
  text-align: center;
  color: #6b7c9c;
  font-size: 0.94rem;
}

.drv-nav-item:hover,
.drv-nav-item:focus {
  background: #f2f6ff;
  color: #3248c7;
  text-decoration: none;
}

.drv-nav-item:hover > i {
  color: #3d5aff;
}

.drv-nav-item.is-active {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #fffaf5;
  box-shadow: 0 10px 22px -14px rgba(61, 90, 255, 0.85);
}

.drv-nav-item.is-active > i {
  color: #fffaf5;
}

.drv-nav-badge {
  margin-left: auto;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.7rem;
  font-weight: 800;
}

.drv-nav-badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

.drv-nav-item.is-active .drv-nav-badge {
  background: rgba(255, 250, 245, 0.22);
  color: #fffaf5;
}

.drv-storage-card {
  padding: 0.85rem;
  border: 1px solid #e7effc;
  border-radius: 15px;
  background: linear-gradient(160deg, #f8fbff, #ffffff);
}

.drv-storage-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  color: var(--drv-ink);
  font-size: 0.78rem;
}

.drv-storage-head i {
  color: #3d5aff;
}

.drv-storage-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.drv-storage-total strong {
  color: var(--drv-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.drv-storage-total span {
  color: var(--drv-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.drv-storage-bar {
  display: flex;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eefb;
  margin-bottom: 0.65rem;
}

.drv-storage-seg--video {
  background: #3d5aff;
}

.drv-storage-seg--image {
  background: #ff7338;
}

.drv-storage-seg--other {
  background: #16a34a;
}

.drv-storage-legend {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  color: var(--drv-soft);
}

.drv-storage-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.drv-storage-legend strong {
  margin-left: auto;
  color: var(--drv-ink);
  font-weight: 700;
}

.drv-storage-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.drv-storage-legend .dot--video {
  background: #3d5aff;
}

.drv-storage-legend .dot--image {
  background: #ff7338;
}

.drv-storage-legend .dot--other {
  background: #16a34a;
}

.drv-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.drv-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem 1.65rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: 22px;
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.14), transparent 62%), linear-gradient(135deg, #ffffff 0%, #fffdf9 62%, #fffaf5 100%);
  box-shadow: var(--modern-shadow-card, 0 18px 40px -30px rgba(5, 0, 26, 0.35));
}

.drv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
  color: #3248c7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drv-hero-copy h1, .drv-hero-copy .h1 {
  margin: 0;
  color: var(--drv-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.drv-hero-copy p {
  margin: 0.35rem 0 0;
  color: var(--drv-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.drv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.drv-hero-actions .btn {
  border-radius: 12px;
  font-weight: 700;
}

.drv-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #fff;
  color: #3248c7;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.drv-hero-link:hover,
.drv-hero-link:focus {
  background: #eef4ff;
  color: #05001a;
  text-decoration: none;
}

.drv-inline-form {
  display: inline-block;
  margin: 0;
}

.drv-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 14px;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.drv-breadcrumbs a {
  color: #3d5aff;
  text-decoration: none;
}

.drv-breadcrumbs a:hover {
  text-decoration: underline;
}

.drv-breadcrumbs .is-current {
  color: var(--drv-ink);
}

.drv-crumb-sep {
  color: #94a3b8;
}

.drv-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--modern-shadow-card, 0 14px 32px -28px rgba(5, 0, 26, 0.35));
}

.drv-search-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drv-search-box {
  position: relative;
  flex: 1;
  min-width: 0;
}

.drv-search-box > i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8ea2c4;
  pointer-events: none;
}

.drv-search-box input {
  width: 100%;
  height: 40px;
  padding: 0 2.2rem 0 2.35rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--drv-ink);
  font-size: 0.86rem;
}

.drv-search-box input:focus {
  outline: none;
  border-color: #3d5aff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.12);
}

.drv-search-clear {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8ea2c4;
  padding: 0.2rem;
}

.drv-sort-select {
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--drv-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.drv-layout-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
}

.drv-layout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  border-radius: 9px;
  color: #64748b;
  text-decoration: none;
}

.drv-layout-btn.is-active {
  background: #3d5aff;
  color: #fffaf5;
}

.drv-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.drv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.78rem;
  border: 1px solid #e2ebfa;
  border-radius: 999px;
  background: #f8fbff;
  color: #40567a;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drv-chip:hover,
.drv-chip:focus {
  border-color: #b9d0f7;
  background: #eef4ff;
  color: #3248c7;
  text-decoration: none;
}

.drv-chip.is-active {
  border-color: #3d5aff;
  background: #3d5aff;
  color: #fffaf5;
}

.drv-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drv-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.2rem;
}

.drv-section-head h2, .drv-section-head .h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--drv-ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.drv-section-head h2 i, .drv-section-head .h2 i {
  color: #3d5aff;
}

.drv-section-head > span {
  color: var(--drv-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.drv-folder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.drv-folder-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px -28px rgba(5, 0, 26, 0.45);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.drv-folder-card:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 90, 255, 0.35);
  box-shadow: 0 18px 34px -26px rgba(61, 90, 255, 0.4);
}

.drv-folder-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.drv-folder-main:hover,
.drv-folder-main:focus {
  text-decoration: none;
}

.drv-folder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--drv-folder-color, #3d5aff) 14%, #ffffff);
  color: var(--drv-folder-color, #3d5aff);
  font-size: 1.25rem;
}

.drv-folder-copy {
  min-width: 0;
  flex: 1;
}

.drv-folder-copy strong {
  display: block;
  overflow: hidden;
  color: var(--drv-ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drv-folder-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.18rem;
  color: var(--drv-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.drv-folder-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.drv-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.drv-file-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 36px -30px rgba(5, 0, 26, 0.45);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.drv-file-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 90, 255, 0.35);
  box-shadow: 0 22px 40px -28px rgba(61, 90, 255, 0.38);
}

.drv-file-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1f6ff;
  cursor: pointer;
}

.drv-file-stage img,
.drv-file-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drv-file-stage.drv-tone--video {
  background: #05001a;
}

.drv-file-stage.drv-tone--pdf {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #dc2626;
}

.drv-file-stage.drv-tone--doc {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.drv-file-stage.drv-tone--sheet {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #16a34a;
}

.drv-file-stage.drv-tone--audio {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #7c3aed;
}

.drv-file-stage.drv-tone--archive {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #d97706;
}

.drv-file-stage.drv-tone--other {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: #475569;
}

.drv-file-big-icon {
  font-size: 2.6rem;
  opacity: 0.9;
}

.drv-file-play-overlay {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(5, 0, 26, 0.72);
  border: 2px solid rgba(255, 250, 245, 0.85);
  color: #fffaf5;
  font-size: 1rem;
  padding-left: 3px;
  box-shadow: 0 10px 24px rgba(5, 0, 26, 0.55);
}

.drv-file-ext-badge {
  position: absolute;
  left: 0.65rem;
  bottom: 0.6rem;
  padding: 0.16rem 0.48rem;
  border-radius: 7px;
  background: rgba(5, 0, 26, 0.78);
  color: #fffaf5;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.drv-card-star {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(5, 0, 26, 0.16);
}

.drv-card-star.is-starred,
.drv-icon-btn.is-starred {
  color: #d97706 !important;
}

.drv-file-body {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  flex: 1;
  padding: 0.85rem 0.95rem 0.7rem;
}

.drv-file-body h3, .drv-file-body .h3 {
  margin: 0;
  overflow: hidden;
  color: var(--drv-ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drv-file-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--drv-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.drv-file-note {
  margin: 0;
  overflow: hidden;
  color: #3248c7;
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drv-file-pills,
.drv-usage-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.15rem;
}

.drv-usage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.52rem;
  border: 1px dashed #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drv-usage-pill:disabled {
  cursor: default;
  opacity: 0.75;
}

.drv-usage-pill--courses:hover:not(:disabled),
.drv-usage-pill--courses.is-on {
  border-style: solid;
  border-color: rgba(61, 90, 255, 0.35);
  background: #eef3ff;
  color: #3248c7;
}

.drv-usage-pill--sites:hover:not(:disabled),
.drv-usage-pill--sites.is-on {
  border-style: solid;
  border-color: rgba(255, 115, 56, 0.4);
  background: #fff3ed;
  color: #c2410c;
}

.drv-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.drv-pill--team {
  background: #ecfdf5;
  color: #047857;
}

.drv-pill--shared {
  background: #f5f3ff;
  color: #6d28d9;
}

.drv-pill--private {
  background: #f1f5f9;
  color: #64748b;
}

.drv-pill--note {
  background: #eef3ff;
  color: #3248c7;
}

.drv-file-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid #f0f5fc;
  background: #fbfdff;
}

.drv-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f7190;
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.drv-icon-btn:hover,
.drv-icon-btn:focus {
  background: #eef4ff;
  color: #3248c7;
  text-decoration: none;
}

.drv-icon-btn--danger:hover,
.drv-icon-btn--danger:focus {
  background: #fee2e2;
  color: #dc2626;
}

.drv-table-card {
  overflow-x: auto;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 36px -30px rgba(5, 0, 26, 0.4);
}

.drv-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.drv-table th {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e9f0fb;
  background: #f8fbff;
  color: #5f7190;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left;
}

.drv-table td {
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid #f1f5fc;
  color: #40567a;
  font-size: 0.8rem;
  vertical-align: middle;
}

.drv-table tr:last-child td {
  border-bottom: 0;
}

.drv-table tbody tr:hover {
  background: #fbfdff;
}

.drv-list-name {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 220px;
}

.drv-list-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #eef4ff;
  color: #3d5aff;
  cursor: pointer;
}

.drv-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drv-list-title-wrap {
  min-width: 0;
}

.drv-list-title {
  display: block;
  max-width: 260px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--drv-ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.drv-list-title:hover {
  color: #3d5aff;
}

.drv-list-title-wrap small, .drv-list-title-wrap .small {
  display: block;
  color: var(--drv-soft);
  font-size: 0.7rem;
}

.drv-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
}

.drv-col-actions {
  text-align: right;
  white-space: nowrap;
}

.drv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.8rem 1.5rem;
  border: 1.5px dashed #cbdcf7;
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
}

.drv-empty--compact {
  padding: 1.4rem;
}

.drv-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eef3ff;
  color: #3d5aff;
  font-size: 1.6rem;
}

.drv-empty h3, .drv-empty .h3 {
  margin: 0.25rem 0 0;
  color: var(--drv-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.drv-empty p {
  max-width: 480px;
  margin: 0 0 0.5rem;
  color: var(--drv-soft);
  font-size: 0.84rem;
}

.drv-drop-overlay {
  position: fixed;
  inset: 0;
  z-index: 1045;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 0, 26, 0.55);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.drv-drop-overlay.is-visible {
  display: flex;
}

.drv-drop-overlay-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.4rem 3rem;
  border: 2.5px dashed #d0ff00;
  border-radius: 24px;
  background: #05001a;
  color: #fffaf5;
  text-align: center;
  box-shadow: 0 28px 60px rgba(5, 0, 26, 0.65);
}

.drv-drop-overlay-box i {
  font-size: 2.6rem;
  color: #d0ff00;
}

.drv-drop-overlay-box strong {
  font-size: 1.15rem;
}

.drv-drop-overlay-box span {
  color: rgba(255, 250, 245, 0.76);
  font-size: 0.84rem;
}

.drv-toast {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1090;
  padding: 0.72rem 1.1rem;
  border-radius: 13px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(5, 0, 26, 0.45);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.drv-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.drv-toast.is-error {
  background: #b91c1c;
}

.drv-modal {
  position: fixed;
  inset: 0;
  z-index: 1070;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.drv-modal.is-open {
  display: flex;
}

.drv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 0, 26, 0.56);
  backdrop-filter: blur(3px);
}

.drv-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(5, 0, 26, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 70px -24px rgba(5, 0, 26, 0.6);
}

.drv-modal-dialog--sm {
  max-width: 480px;
}

.drv-modal-dialog--lg {
  max-width: 860px;
}

.drv-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #edf2fc;
}

.drv-modal-head h2, .drv-modal-head .h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #05001a;
  font-size: 1.05rem;
  font-weight: 800;
}

.drv-modal-head h2 i, .drv-modal-head .h2 i {
  color: #3d5aff;
}

.drv-modal-head p {
  margin: 0.2rem 0 0;
  color: #5f7190;
  font-size: 0.78rem;
}

.drv-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #f4f7fd;
  color: #5f7190;
  cursor: pointer;
}

.drv-modal-close:hover {
  background: #e6eefb;
  color: #05001a;
}

.drv-modal-body {
  overflow-y: auto;
  padding: 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drv-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-top: 1px solid #edf2fc;
  background: #fbfdff;
}

.drv-modal-foot .btn {
  border-radius: 11px;
  font-weight: 700;
}

.drv-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.drv-field label {
  margin: 0;
  color: #3b4a63;
  font-size: 0.78rem;
  font-weight: 700;
}

.drv-field .form-control {
  border: 1px solid #dbe6f8;
  border-radius: 11px;
  background: #fbfdff;
  color: #05001a;
  font-size: 0.86rem;
}

.drv-upload-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.drv-upload-options--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drv-check-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.68rem 0.75rem;
  border: 1px solid #dbe6f8;
  border-radius: 13px;
  background: #f8fbff;
  cursor: pointer;
  margin: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.drv-check-card:has(input:checked) {
  border-color: #3d5aff;
  background: #eef3ff;
}

.drv-check-card input {
  margin-top: 0.18rem;
}

.drv-check-card strong {
  display: block;
  color: #05001a;
  font-size: 0.78rem;
  font-weight: 800;
}

.drv-check-card small, .drv-check-card .small {
  display: block;
  margin-top: 0.12rem;
  color: #5f7190;
  font-size: 0.69rem;
  line-height: 1.35;
}

.drv-modal-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.6rem 1.2rem;
  border: 1.5px dashed #b9d0f7;
  border-radius: 16px;
  background: #f8fbff;
  text-align: center;
}

.drv-modal-dropzone.is-dragover {
  border-color: #3d5aff;
  background: #eef4ff;
}

.drv-modal-dropzone > i {
  color: #3d5aff;
  font-size: 2rem;
}

.drv-modal-dropzone > strong {
  color: #05001a;
  font-size: 0.9rem;
}

.drv-modal-dropzone > span {
  color: #5f7190;
  font-size: 0.75rem;
}

.drv-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drv-upload-queue {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.drv-queue-item {
  padding: 0.65rem 0.8rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
}

.drv-queue-item.is-done {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.drv-queue-item.is-error {
  border-color: #fecaca;
  background: #fff5f5;
}

.drv-queue-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
}

.drv-queue-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #05001a;
}

.drv-queue-pct {
  font-weight: 800;
  color: #3248c7;
}

.drv-queue-item.is-error .drv-queue-pct {
  color: #b91c1c;
}

.drv-queue-bar {
  height: 6px;
  border-radius: 999px;
  background: #e2ecfb;
  overflow: hidden;
}

.drv-queue-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3d5aff 0%, #7d96ff 58%, #d0ff00 100%);
  transition: width 0.15s ease;
}

.drv-queue-msg {
  margin-top: 0.25rem;
  color: #5f7190;
  font-size: 0.72rem;
}

.drv-queue-item.is-error .drv-queue-msg {
  color: #b91c1c;
}

.drv-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drv-color-opt {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.drv-color-opt input {
  position: absolute;
  opacity: 0;
}

.drv-color-opt span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.drv-color-opt input:checked + span {
  border-color: #05001a;
  transform: scale(1.1);
}

.drv-share-section {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #eff4fc;
}

.drv-share-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.drv-share-section h3, .drv-share-section .h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
  color: #05001a;
  font-size: 0.86rem;
  font-weight: 800;
}

.drv-share-section h3 i, .drv-share-section .h3 i {
  color: #3d5aff;
}

.drv-vis-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.drv-vis-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dbe6f8;
  border-radius: 12px;
  background: #f8fbff;
  cursor: pointer;
  margin: 0;
}

.drv-vis-option:has(input:checked) {
  border-color: #3d5aff;
  background: #eef3ff;
}

.drv-vis-option strong {
  display: block;
  color: #05001a;
  font-size: 0.78rem;
}

.drv-vis-option small, .drv-vis-option .small {
  display: block;
  color: #5f7190;
  font-size: 0.69rem;
}

.drv-share-add-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.drv-share-perm-select {
  width: 130px;
  flex-shrink: 0;
}

.drv-share-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drv-share-empty {
  margin: 0;
  color: #7c8daa;
  font-size: 0.76rem;
}

.drv-share-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #e7effc;
  border-radius: 11px;
  background: #fbfdff;
}

.drv-share-person-info strong {
  display: block;
  color: #05001a;
  font-size: 0.82rem;
}

.drv-share-person-info small, .drv-share-person-info .small {
  color: #5f7190;
  font-size: 0.72rem;
}

.drv-share-person-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.drv-copy-row {
  display: flex;
  gap: 0.45rem;
}

.drv-preview-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 58vh;
  overflow: hidden;
  border-radius: 16px;
  background: #05001a;
}

.drv-preview-img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
}

.drv-preview-video {
  width: 100%;
  max-height: 58vh;
  background: #05001a;
}

.drv-preview-pdf {
  width: 100%;
  height: 56vh;
  border: 0;
  background: #ffffff;
}

.drv-preview-audio-box,
.drv-preview-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.2rem;
  color: #fffaf5;
  text-align: center;
}

.drv-preview-audio-box i,
.drv-preview-fallback i {
  font-size: 3rem;
  color: #9eb4ff;
}

.drv-preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.drv-preview-desc {
  margin: 0.45rem 0 0;
  color: #40567a;
  font-size: 0.84rem;
}

.drv-preview-foot {
  justify-content: space-between;
}

.drv-picker-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.drv-picker-scope {
  display: flex;
  gap: 0.35rem;
}

.drv-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: 180px;
}

.drv-picker-loading,
.drv-picker-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2.2rem 1rem;
  color: #5f7190;
  font-size: 0.86rem;
  text-align: center;
}

.drv-picker-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid #e2ebfa;
  border-radius: 14px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.drv-picker-card:hover,
.drv-picker-card:focus {
  border-color: #3d5aff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(61, 90, 255, 0.55);
}

.drv-picker-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background: #05001a;
  color: #9eb4ff;
  font-size: 1.8rem;
}

.drv-picker-thumb img,
.drv-picker-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drv-picker-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
}

.drv-picker-card-body strong {
  overflow: hidden;
  color: #05001a;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drv-picker-card-body small, .drv-picker-card-body .small {
  color: #5f7190;
  font-size: 0.7rem;
}

.drv-picker-note {
  overflow: hidden;
  color: #3248c7;
  font-size: 0.7rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drv-picker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.drv-picker-foot {
  justify-content: space-between;
}

:root[data-modern-theme=dark] .drv-sidebar,
:root[data-modern-theme=dark] .drv-breadcrumbs,
:root[data-modern-theme=dark] .drv-toolbar,
:root[data-modern-theme=dark] .drv-folder-card,
:root[data-modern-theme=dark] .drv-file-card,
:root[data-modern-theme=dark] .drv-table-card,
:root[data-modern-theme=dark] .drv-empty,
:root[data-modern-theme=dark] .drv-modal-dialog {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-hero {
  border-color: rgba(255, 250, 245, 0.16);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.14), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.34), transparent 62%), #05001a;
}
:root[data-modern-theme=dark] .drv-eyebrow,
:root[data-modern-theme=dark] .drv-section-head h2 i,
:root[data-modern-theme=dark] .drv-section-head .h2 i,
:root[data-modern-theme=dark] .drv-breadcrumbs a,
:root[data-modern-theme=dark] .drv-file-note,
:root[data-modern-theme=dark] .drv-picker-note {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .drv-hero-copy h1, :root[data-modern-theme=dark] .drv-hero-copy .h1,
:root[data-modern-theme=dark] .drv-section-head h2,
:root[data-modern-theme=dark] .drv-section-head .h2,
:root[data-modern-theme=dark] .drv-folder-copy strong,
:root[data-modern-theme=dark] .drv-file-body h3,
:root[data-modern-theme=dark] .drv-file-body .h3,
:root[data-modern-theme=dark] .drv-list-title,
:root[data-modern-theme=dark] .drv-storage-head,
:root[data-modern-theme=dark] .drv-storage-total strong,
:root[data-modern-theme=dark] .drv-storage-legend strong,
:root[data-modern-theme=dark] .drv-modal-head h2,
:root[data-modern-theme=dark] .drv-modal-head .h2,
:root[data-modern-theme=dark] .drv-share-section h3,
:root[data-modern-theme=dark] .drv-share-section .h3,
:root[data-modern-theme=dark] .drv-check-card strong,
:root[data-modern-theme=dark] .drv-vis-option strong,
:root[data-modern-theme=dark] .drv-picker-card-body strong,
:root[data-modern-theme=dark] .drv-empty h3,
:root[data-modern-theme=dark] .drv-empty .h3 {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-hero-copy p,
:root[data-modern-theme=dark] .drv-folder-meta,
:root[data-modern-theme=dark] .drv-file-meta,
:root[data-modern-theme=dark] .drv-storage-total span,
:root[data-modern-theme=dark] .drv-storage-legend,
:root[data-modern-theme=dark] .drv-modal-head p,
:root[data-modern-theme=dark] .drv-check-card small,
:root[data-modern-theme=dark] .drv-check-card .small,
:root[data-modern-theme=dark] .drv-vis-option small,
:root[data-modern-theme=dark] .drv-vis-option .small,
:root[data-modern-theme=dark] .drv-picker-card-body small,
:root[data-modern-theme=dark] .drv-picker-card-body .small,
:root[data-modern-theme=dark] .drv-empty p {
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .drv-nav-item {
  color: rgba(255, 250, 245, 0.82);
}
:root[data-modern-theme=dark] .drv-nav-item > i {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .drv-nav-item:hover {
  background: rgba(61, 90, 255, 0.24);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-nav-badge {
  background: rgba(61, 90, 255, 0.28);
  color: #d4e0ff;
}
:root[data-modern-theme=dark] .drv-new-folder-btn,
:root[data-modern-theme=dark] .drv-hero-link,
:root[data-modern-theme=dark] .drv-storage-card,
:root[data-modern-theme=dark] .drv-search-box input,
:root[data-modern-theme=dark] .drv-sort-select,
:root[data-modern-theme=dark] .drv-layout-switch,
:root[data-modern-theme=dark] .drv-chip,
:root[data-modern-theme=dark] .drv-check-card,
:root[data-modern-theme=dark] .drv-vis-option,
:root[data-modern-theme=dark] .drv-modal-dropzone,
:root[data-modern-theme=dark] .drv-queue-item,
:root[data-modern-theme=dark] .drv-share-person,
:root[data-modern-theme=dark] .drv-picker-card,
:root[data-modern-theme=dark] .drv-field .form-control {
  background: #05001a;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-chip.is-active {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-file-footer,
:root[data-modern-theme=dark] .drv-modal-foot,
:root[data-modern-theme=dark] .drv-table th {
  background: rgba(5, 0, 26, 0.72);
  border-color: rgba(255, 250, 245, 0.12);
  color: rgba(255, 250, 245, 0.75);
}
:root[data-modern-theme=dark] .drv-table td {
  border-color: rgba(255, 250, 245, 0.1);
  color: rgba(255, 250, 245, 0.85);
}
:root[data-modern-theme=dark] .drv-table tbody tr:hover {
  background: rgba(61, 90, 255, 0.12);
}
:root[data-modern-theme=dark] .drv-modal-head,
:root[data-modern-theme=dark] .drv-share-section {
  border-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .drv-modal-close,
:root[data-modern-theme=dark] .drv-icon-btn {
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .drv-modal-close {
  background: rgba(255, 250, 245, 0.08);
}
:root[data-modern-theme=dark] .drv-icon-btn:hover {
  background: rgba(61, 90, 255, 0.25);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-usage-pill {
  background: rgba(255, 250, 245, 0.06);
  border-color: rgba(255, 250, 245, 0.2);
  color: rgba(255, 250, 245, 0.75);
}
:root[data-modern-theme=dark] .drv-usage-pill--courses.is-on {
  background: rgba(61, 90, 255, 0.34);
  border-color: rgba(158, 180, 255, 0.5);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-usage-pill--sites.is-on {
  background: rgba(255, 115, 56, 0.28);
  border-color: rgba(255, 160, 120, 0.5);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .drv-field label {
  color: rgba(255, 250, 245, 0.85);
}

@media (max-width: 1199px) {
  .drv-folder-grid,
  .drv-file-grid,
  .drv-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .drv-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .drv-sidebar {
    position: static;
  }
  .drv-upload-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .drv-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .drv-search-form {
    flex-wrap: wrap;
  }
  .drv-search-box {
    flex: 1 1 100%;
  }
  .drv-folder-grid,
  .drv-file-grid,
  .drv-picker-grid,
  .drv-vis-choices,
  .drv-upload-options--two {
    grid-template-columns: minmax(0, 1fr);
  }
  .drv-share-add-row {
    flex-wrap: wrap;
  }
  .drv-share-perm-select {
    width: 100%;
  }
}
.landing-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.landing-page) #layout-content > .container {
    max-width: 1380px;
  }
}
.landing-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.85rem 2rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: var(--modern-radius-xl);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.14), transparent 62%), linear-gradient(135deg, #ffffff 0%, #fffdf9 62%, #fffaf5 100%);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}

.landing-hero-copy {
  max-width: 680px;
}
.landing-hero-copy h1, .landing-hero-copy .h1 {
  margin: 0.35rem 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.landing-hero-copy p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9rem;
}
.landing-alert--success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #14532d;
}
.landing-alert--error {
  flex-direction: column;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.landing-alert--error ul {
  margin: 0.3rem 0 0 1.1rem;
  padding: 0;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.landing-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
.landing-stat strong {
  display: block;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}
.landing-stat span {
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.landing-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(61, 90, 255, 0.12);
  color: #3d5aff;
  font-size: 1.05rem;
}
.landing-stat-icon--lime {
  background: #d0ff00;
  color: #05001a;
}
.landing-stat-icon--dark {
  background: #05001a;
  color: #fffaf5;
}

.landing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.landing-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 0, 26, 0.1);
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--modern-shadow-xs);
  transition: all 0.18s ease;
}
.landing-filter:hover {
  color: #3d5aff;
  border-color: rgba(61, 90, 255, 0.4);
}
.landing-filter.is-active {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  border-color: #3d5aff;
  color: #fffaf5;
}

.landing-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  font-size: 0.72rem;
}

.landing-filter.is-active .landing-filter-count {
  background: rgba(255, 250, 245, 0.22);
  color: #fffaf5;
}

.landing-empty {
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
.landing-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #3d5aff, #3248c7);
  color: #fffaf5;
  font-size: 1.65rem;
}
.landing-empty h2, .landing-empty .h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.landing-empty p {
  max-width: 520px;
  margin: 0 auto 1.3rem;
  color: var(--modern-ink-muted);
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.landing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.landing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--modern-shadow-card-hover);
}

.landing-card-thumb {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 68%, #3d5aff 100%);
}
.landing-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.landing-card-thumb--studio {
  background: radial-gradient(240px 140px at 90% 10%, rgba(208, 255, 0, 0.35), transparent 65%), linear-gradient(135deg, #fffaf5 0%, #eef2ff 100%);
}
.landing-card-thumb--studio .landing-card-thumb-mock strong {
  color: #05001a;
}
.landing-card-thumb--editorial {
  background: radial-gradient(240px 140px at 95% 95%, rgba(208, 255, 0, 0.25), transparent 65%), linear-gradient(135deg, #05001a 0%, #191345 100%);
}
.landing-card-thumb--editorial .landing-card-thumb-mock strong {
  color: #fffaf5;
}
.landing-card-thumb--clean {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
}
.landing-card-thumb--clean .landing-card-thumb-mock strong {
  color: #fffaf5;
}

.landing-card-thumb-mock {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  height: 100%;
  padding: 1.15rem;
}
.landing-card-thumb-mock strong {
  font-family: var(--modern-font-display);
  font-size: 1rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-mock-pill {
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-mock-price {
  align-self: flex-start;
  padding: 0.18rem 0.55rem;
  border-radius: 8px;
  background: rgba(5, 0, 26, 0.84);
  color: #fffaf5;
  font-size: 0.76rem;
  font-weight: 700;
}

.landing-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.landing-status-badge.is-published {
  background: #d0ff00;
  color: #05001a;
}
.landing-status-badge.is-draft {
  background: rgba(5, 0, 26, 0.82);
  color: #fffaf5;
}

.landing-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem;
  flex: 1;
}

.landing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.landing-card-template {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3d5aff;
}

.landing-card-price {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 90, 255, 0.11);
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 800;
}

.landing-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--modern-ink);
}

.landing-card-headline {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-card-url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}
.landing-card-url code {
  font-size: 0.76rem;
  color: var(--modern-ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border: 0;
  border-radius: 8px;
  background: #3d5aff;
  color: #fffaf5;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.landing-copy-btn:hover {
  background: #3248c7;
}

.landing-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--modern-ink-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.landing-card-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid var(--modern-border);
}

.landing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.48rem 0.75rem;
  border-radius: 11px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}
.landing-action:hover {
  border-color: #3d5aff;
  color: #3d5aff;
}
.landing-action--primary {
  flex: 1;
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  border-color: #3d5aff;
  color: #fffaf5;
}
.landing-action--primary:hover {
  color: #fffaf5;
  box-shadow: 0 8px 18px -8px rgba(61, 90, 255, 0.75);
}
.landing-action--danger:hover {
  border-color: #dc2626;
  color: #dc2626;
}

.landing-form-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}
.landing-form-header h1, .landing-form-header .h1 {
  margin: 0.3rem 0 0.25rem;
  font-size: 1.65rem;
}
.landing-form-header p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.9rem;
}

.landing-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #3d5aff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.35rem;
  align-items: start;
}

.landing-builder-editor {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.landing-section-card {
  padding: 1.45rem 1.55rem;
  border-radius: 22px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.landing-section-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.landing-section-head h2, .landing-section-head .h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}
.landing-section-head p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--modern-ink-muted);
}

.landing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.88rem;
  font-weight: 800;
}

.landing-add-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.landing-add-btn:hover {
  background: #3d5aff;
}

.landing-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.landing-field-row--3 {
  grid-template-columns: 1fr 1.25fr 1fr;
}

.landing-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.landing-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--modern-ink-soft);
}
.landing-field input[type=text],
.landing-field input[type=url],
.landing-field textarea,
.landing-field select {
  width: 100%;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--modern-border-strong);
  border-radius: 12px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
  font-size: 0.88rem;
}
.landing-field input[type=text]:focus,
.landing-field input[type=url]:focus,
.landing-field textarea:focus,
.landing-field select:focus {
  outline: none;
  border-color: #3d5aff;
  background: var(--modern-surface);
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.16);
}

.landing-slug-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--modern-border-strong);
  border-radius: 12px;
  background: var(--modern-surface-muted);
  overflow: hidden;
}
.landing-slug-wrap span {
  padding: 0.62rem 0.65rem 0.62rem 0.85rem;
  color: var(--modern-ink-muted);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(5, 0, 26, 0.04);
}
.landing-slug-wrap input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.landing-template-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.landing-template-opt {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--modern-border);
  border-radius: 15px;
  background: var(--modern-surface-muted);
  cursor: pointer;
  transition: all 0.16s ease;
}
.landing-template-opt input {
  display: none;
}
.landing-template-opt strong {
  font-size: 0.86rem;
  color: var(--modern-ink);
}
.landing-template-opt span {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--modern-ink-muted);
}
.landing-template-opt.is-selected {
  border-color: #3d5aff;
  background: rgba(61, 90, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(208, 255, 0, 0.65);
}

.landing-media-input {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.landing-media-input input[type=text] {
  flex: 1;
  min-width: 0;
}

.landing-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.85rem;
  border-radius: 12px;
  background: #3d5aff;
  color: #fffaf5 !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.landing-upload-btn:hover {
  background: #3248c7;
}
.landing-upload-btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.landing-repeater {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.landing-repeater-item {
  position: relative;
  padding: 1rem 2.5rem 1rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--modern-border-strong);
  background: rgba(61, 90, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.landing-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  cursor: pointer;
}
.landing-remove-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

.landing-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--modern-ink-soft);
  cursor: pointer;
}

.landing-divider {
  margin: 0.4rem 0;
  border-color: var(--modern-border);
}

.landing-submit-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: var(--modern-surface);
  border: 1px solid rgba(5, 0, 26, 0.09);
  box-shadow: var(--modern-shadow-card);
}

.landing-builder-preview {
  position: sticky;
  top: 20px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(5, 0, 26, 0.14);
  background: #05001a;
  box-shadow: var(--modern-shadow-card-hover);
}

.landing-preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #05001a;
  color: #fffaf5;
}

.landing-preview-dots {
  display: flex;
  gap: 6px;
}
.landing-preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.28);
}
.landing-preview-dots span:first-child {
  background: #ef4444;
}
.landing-preview-dots span:nth-child(2) {
  background: #f59e0b;
}
.landing-preview-dots span:nth-child(3) {
  background: #d0ff00;
}

.landing-preview-url {
  flex: 1;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.1);
  color: rgba(255, 250, 245, 0.82);
  font-size: 0.74rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-preview-tag {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.landing-preview-viewport {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 1rem;
  background: #dce5fa;
}

.lp-public-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(900px 560px at 100% 0%, rgba(208, 255, 0, 0.22), transparent 55%), radial-gradient(900px 620px at 0% 100%, rgba(61, 90, 255, 0.3), transparent 60%), linear-gradient(145deg, #05001a 0%, #1d2b8a 52%, #3248c7 100%);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #05001a;
}

.lp-owner-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 0, 26, 0.94);
  border-bottom: 1px solid rgba(255, 250, 245, 0.14);
  backdrop-filter: blur(12px);
}

.lp-owner-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fffaf5;
  font-size: 0.84rem;
  font-weight: 600;
}

.lp-owner-actions {
  display: flex;
  gap: 0.55rem;
}
.lp-owner-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 245, 0.24);
  color: #fffaf5;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
}
.lp-owner-actions a.is-primary {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}

.lp-public-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.lp-canvas {
  border-radius: 32px;
  background: #fffaf5;
  color: #05001a;
  padding: 2rem 2.5rem 2.25rem;
  box-shadow: 0 36px 90px -30px rgba(5, 0, 26, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  overflow: hidden;
}
.lp-canvas--preview {
  padding: 1.25rem 1.3rem 1.5rem;
  gap: 1.4rem;
  border-radius: 22px;
  box-shadow: 0 18px 40px -22px rgba(5, 0, 26, 0.35);
}
.lp-canvas--preview .lp-hero h1, .lp-canvas--preview .lp-hero .h1 {
  font-size: 1.45rem;
}
.lp-canvas--preview .lp-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(5, 0, 26, 0.08);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #05001a;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.lp-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #05001a;
  color: #d0ff00;
  font-size: 0.9rem;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.lp-nav-links > a:not(.lp-nav-cta) {
  color: #363052;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.lp-nav-links > a:not(.lp-nav-cta):hover {
  color: #3d5aff;
}

.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid #05001a;
  background: #fffaf5;
  color: #05001a;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.lp-nav-cta:hover {
  background: #d0ff00;
  color: #05001a;
}

.lp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.lp-hero-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-hero h1, .lp-hero .h1 {
  margin: 0;
  color: #05001a;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lp-sub {
  margin: 0;
  max-width: 620px;
  color: #3f3a5c;
  font-size: 1.02rem;
  line-height: 1.6;
}

.lp-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 16px;
  background: rgba(61, 90, 255, 0.08);
  border: 1px solid rgba(61, 90, 255, 0.22);
}

.lp-compare {
  color: #6b6587;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: line-through;
}

.lp-price {
  color: #05001a;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lp-hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.lp-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4b4566;
  font-size: 0.84rem;
  font-weight: 600;
}

.lp-hero-media {
  width: 100%;
  max-width: 820px;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid rgba(5, 0, 26, 0.1);
  box-shadow: 0 24px 54px -26px rgba(5, 0, 26, 0.36);
}
.lp-hero-media img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.lp-btn:hover {
  transform: translateY(-2px);
}
.lp-btn--primary {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #fffaf5 !important;
  box-shadow: 0 14px 30px -12px rgba(61, 90, 255, 0.72);
}
.lp-btn--lime {
  background: #d0ff00;
  color: #05001a !important;
  box-shadow: 0 14px 28px -12px rgba(5, 0, 26, 0.45);
}
.lp-btn--dark {
  background: #05001a;
  color: #fffaf5 !important;
  box-shadow: 0 14px 28px -12px rgba(5, 0, 26, 0.55);
}
.lp-btn--outline {
  background: #ffffff;
  border: 2px solid #05001a;
  color: #05001a !important;
}

.lp-btn-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.8rem;
}

.lp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.lp-gallery-item {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid rgba(61, 90, 255, 0.2);
  box-shadow: 0 16px 34px -22px rgba(5, 0, 26, 0.35);
  display: flex;
  flex-direction: column;
}
.lp-gallery-item:nth-child(even) {
  border-color: #05001a;
  background: #05001a;
}
.lp-gallery-item:nth-child(even) figcaption {
  color: #fffaf5;
}
.lp-gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.lp-gallery-item figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #05001a;
  text-align: center;
}

.lp-cards-section {
  padding: 1.85rem;
  border-radius: 28px;
  border: 1.5px solid rgba(5, 0, 26, 0.1);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.lp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.lp-section-head p {
  margin: 0;
  color: #4b4566;
  font-size: 0.9rem;
}

.lp-section-pill {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 10px;
  background: #d0ff00;
  color: #05001a;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.lp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.lp-cards-grid--1 {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}
.lp-cards-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem;
  border-radius: 22px;
  border: 2px solid #3d5aff;
  background: #ffffff;
  color: #05001a;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(5, 0, 26, 0.35);
}
.lp-offer-card h3, .lp-offer-card .h3 {
  margin: 0;
  color: inherit;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}
.lp-offer-card p {
  margin: 0;
  color: #4b4566;
  font-size: 0.88rem;
  line-height: 1.5;
}
.lp-offer-card.is-featured {
  background: linear-gradient(155deg, #3d5aff 0%, #3248c7 100%);
  border-color: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 22px 46px -20px rgba(61, 90, 255, 0.75);
}
.lp-offer-card.is-featured p {
  color: rgba(255, 250, 245, 0.88);
}
.lp-offer-card.is-featured .lp-offer-arrow {
  background: #d0ff00;
  color: #05001a;
}
.lp-offer-card.is-featured .lp-offer-price {
  color: #fffaf5;
}
.lp-offer-card.is-featured .lp-offer-cta {
  background: #d0ff00;
  color: #05001a;
}

.lp-offer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.lp-offer-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
  font-size: 0.85rem;
}

.lp-offer-price {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #05001a;
  letter-spacing: -0.03em;
}

.lp-offer-img {
  border-radius: 14px;
  overflow: hidden;
}
.lp-offer-img img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.lp-offer-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.lp-extra-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.lp-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  border-radius: 26px;
  background: radial-gradient(480px 220px at 100% 0%, rgba(208, 255, 0, 0.22), transparent 60%), linear-gradient(135deg, #05001a 0%, #191348 100%);
  color: #fffaf5;
}
.lp-footer-cta h2, .lp-footer-cta .h2 {
  margin: 0 0 0.4rem;
  color: #fffaf5;
  font-size: 1.45rem;
  font-weight: 800;
}
.lp-footer-cta p {
  margin: 0;
  color: rgba(255, 250, 245, 0.82);
  font-size: 0.94rem;
  max-width: 560px;
}

.lp-foot {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(5, 0, 26, 0.08);
  text-align: center;
  color: #5c5675;
  font-size: 0.82rem;
  font-weight: 600;
}

.lp-tpl-editorial {
  background: #ffffff;
}
.lp-tpl-editorial .lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  text-align: left;
}
.lp-tpl-editorial .lp-hero:not(:has(.lp-hero-media)) {
  grid-template-columns: 1fr;
}
.lp-tpl-editorial .lp-hero-copy,
.lp-tpl-editorial .lp-hero-cta-row {
  align-items: flex-start;
}
.lp-tpl-editorial .lp-btn--primary {
  background: #05001a;
  box-shadow: 0 8px 0 #3d5aff;
}
.lp-tpl-editorial .lp-cards-section {
  padding: 0;
  border: 0;
  background: transparent;
}
.lp-tpl-editorial .lp-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lp-tpl-editorial .lp-offer-card {
  border: 2px solid #05001a;
  box-shadow: 0 6px 0 #05001a;
}
.lp-tpl-editorial .lp-offer-card.is-featured, .lp-tpl-editorial .lp-offer-card:nth-child(2n) {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
  box-shadow: 0 6px 0 #3d5aff;
}
.lp-tpl-editorial .lp-offer-card.is-featured p, .lp-tpl-editorial .lp-offer-card:nth-child(2n) p {
  color: rgba(255, 250, 245, 0.84);
}
.lp-tpl-editorial .lp-offer-card.is-featured .lp-offer-price, .lp-tpl-editorial .lp-offer-card:nth-child(2n) .lp-offer-price {
  color: #fffaf5;
}
.lp-tpl-editorial .lp-offer-card.is-featured .lp-offer-arrow, .lp-tpl-editorial .lp-offer-card:nth-child(2n) .lp-offer-arrow {
  background: #d0ff00;
  color: #05001a;
}
.lp-tpl-editorial .lp-offer-card.is-featured .lp-offer-cta, .lp-tpl-editorial .lp-offer-card:nth-child(2n) .lp-offer-cta {
  background: #d0ff00;
  color: #05001a;
}

.lp-tpl-clean {
  background: #ffffff;
}
.lp-tpl-clean .lp-badge {
  background: rgba(61, 90, 255, 0.12);
  color: #3248c7;
}
.lp-tpl-clean .lp-section-pill {
  background: rgba(61, 90, 255, 0.12);
  color: #05001a;
}
.lp-tpl-clean .lp-offer-card {
  border: 1.5px solid #d5dff7;
}
.lp-tpl-clean .lp-offer-card.is-featured {
  background: linear-gradient(155deg, #3248c7 0%, #3d5aff 100%);
}
.lp-tpl-clean .lp-footer-cta {
  flex-direction: column;
  text-align: center;
  background: radial-gradient(500px 240px at 50% 0%, rgba(208, 255, 0, 0.25), transparent 65%), #fffaf5;
  border: 1.5px solid rgba(5, 0, 26, 0.1);
  color: #05001a;
}
.lp-tpl-clean .lp-footer-cta h2, .lp-tpl-clean .lp-footer-cta .h2 {
  color: #05001a;
}
.lp-tpl-clean .lp-footer-cta p {
  color: #4b4566;
  margin: 0 auto;
}

:root[data-modern-theme=dark] .landing-hero {
  border-color: rgba(255, 250, 245, 0.16);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.2), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.36), transparent 62%), linear-gradient(135deg, #05001a 0%, #0e0930 62%, #151042 100%);
}
:root[data-modern-theme=dark] .landing-stat,
:root[data-modern-theme=dark] .landing-card,
:root[data-modern-theme=dark] .landing-empty,
:root[data-modern-theme=dark] .landing-form-header,
:root[data-modern-theme=dark] .landing-section-card,
:root[data-modern-theme=dark] .landing-submit-bar,
:root[data-modern-theme=dark] .landing-filter:not(.is-active),
:root[data-modern-theme=dark] .landing-action:not(.landing-action--primary) {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.15);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .landing-card-url,
:root[data-modern-theme=dark] .landing-template-opt {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
}
:root[data-modern-theme=dark] .landing-card-url code,
:root[data-modern-theme=dark] .landing-back {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .landing-card-template {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .landing-card-price {
  background: rgba(61, 90, 255, 0.28);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .landing-add-btn {
  background: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .landing-repeater-item {
  background: rgba(61, 90, 255, 0.08);
}

@media (max-width: 1199px) {
  .landing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-builder-grid {
    grid-template-columns: 1fr;
  }
  .landing-builder-preview {
    position: static;
  }
}
@media (max-width: 991px) {
  .landing-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-cards-grid,
  .lp-tpl-editorial .lp-cards-grid {
    grid-template-columns: 1fr;
  }
  .lp-tpl-editorial .lp-hero {
    grid-template-columns: 1fr;
  }
  .lp-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .landing-hero,
  .landing-form-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-grid,
  .landing-field-row,
  .landing-field-row--3,
  .landing-template-picker {
    grid-template-columns: 1fr;
  }
  .lp-canvas {
    padding: 1.35rem 1.15rem;
    border-radius: 22px;
  }
  .lp-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
.linkhub-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.linkhub-page) #layout-content > .container {
    max-width: 1380px;
  }
}
.linkhub-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.linkhub-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.85rem 2rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: var(--modern-radius-xl);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.14), transparent 62%), linear-gradient(135deg, #ffffff 0%, #fffdf9 62%, #fffaf5 100%);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}

.linkhub-hero-copy {
  max-width: 680px;
}
.linkhub-hero-copy h1, .linkhub-hero-copy .h1 {
  margin: 0.35rem 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.linkhub-hero-copy p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.linkhub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linkhub-hero-actions,
.linkhub-header-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.linkhub-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid #05001a;
  background: #ffffff;
  color: #05001a;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.linkhub-hero-ghost:hover {
  background: #d0ff00;
  color: #05001a;
}

.linkhub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.linkhub-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.linkhub-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.linkhub-card-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.linkhub-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 65%, #3d5aff 100%);
  color: #fffaf5;
  font-family: var(--modern-font-display);
  font-size: 1.4rem;
  font-weight: 800;
}
.linkhub-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.linkhub-card-titles {
  min-width: 0;
}
.linkhub-card-titles h2, .linkhub-card-titles .h2 {
  margin: 0.15rem 0 0.1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--modern-ink);
}

.linkhub-handle {
  display: block;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.linkhub-card-qrbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.linkhub-card-qrbox img {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  border: 1px solid var(--modern-border-strong);
  background: #ffffff;
  padding: 3px;
  display: block;
}

.linkhub-status-pill {
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}
.linkhub-status-pill.is-published {
  background: #d0ff00;
  color: #05001a;
}
.linkhub-status-pill.is-draft {
  background: rgba(5, 0, 26, 0.12);
  color: var(--modern-ink-soft);
}

.linkhub-card-bio {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.87rem;
  line-height: 1.48;
}

.linkhub-mini-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.linkhub-mini-links li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 11px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--modern-ink-soft);
}
.linkhub-mini-links .linkhub-mini-more {
  justify-content: center;
  background: transparent;
  border-style: dashed;
  color: var(--modern-ink-muted);
  font-size: 0.76rem;
}

.linkhub-mini-link-label {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.linkhub-mini-link-label i {
  color: #3d5aff;
}

.linkhub-mini-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--modern-border-strong);
  color: #05001a;
  text-decoration: none;
  flex-shrink: 0;
}
.linkhub-mini-qr:hover {
  background: #d0ff00;
  border-color: #05001a;
  color: #05001a;
}

.linkhub-quick-insert {
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(61, 90, 255, 0.07);
  border: 1px solid rgba(61, 90, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.linkhub-quick-insert > span {
  font-size: 0.78rem;
  font-weight: 800;
  color: #3248c7;
}

.linkhub-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.linkhub-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 0, 26, 0.14);
  background: #ffffff;
  color: #05001a;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.linkhub-quick-chip:hover {
  background: #d0ff00;
  border-color: #05001a;
}

.linkhub-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.linkhub-inline-qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #05001a;
  color: #fffaf5 !important;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}
.linkhub-inline-qr-btn:hover {
  background: #3d5aff;
}

.linkhub-phone-stage {
  display: flex;
  justify-content: center;
  padding: 1.35rem 1rem;
  background: radial-gradient(400px 240px at 100% 0%, rgba(208, 255, 0, 0.22), transparent 60%), linear-gradient(145deg, #3248c7 0%, #1d2b8a 100%);
}

.qr-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.35rem;
  align-items: start;
}

.qr-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.qr-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.85rem;
  border-radius: 12px;
  border: 2px solid var(--modern-border-strong);
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.qr-preset-btn.is-active {
  border-color: #3d5aff;
  background: rgba(61, 90, 255, 0.09);
  box-shadow: 0 0 0 2px rgba(208, 255, 0, 0.65);
}

.qr-swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #05001a;
  flex-shrink: 0;
}

.qr-color-input {
  width: 100%;
  height: 44px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface-muted);
  cursor: pointer;
}

.qr-studio-output {
  align-items: center;
  text-align: center;
}

.qr-preview-frame {
  width: 100%;
  max-width: 360px;
  padding: 1.25rem;
  border-radius: 22px;
  background: #ffffff;
  border: 2px solid rgba(5, 0, 26, 0.12);
  box-shadow: 0 22px 46px -22px rgba(5, 0, 26, 0.28);
}
.qr-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.qr-preview-meta {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}
.qr-preview-meta code {
  font-size: 0.78rem;
  color: var(--modern-ink-soft);
  word-break: break-all;
}

.qr-download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
}

.lh-public-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.lh-public-shell {
  min-height: 100vh;
  padding: 2.2rem 1rem 3.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.lh-bg-tutu-light {
  background: radial-gradient(880px 560px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 55%), radial-gradient(920px 660px at 0% 100%, rgba(50, 72, 199, 0.42), transparent 62%), linear-gradient(135deg, #9eb6fb 0%, #b9cbff 50%, #98b1f8 100%);
}

.lh-bg-tutu-dark {
  background: radial-gradient(860px 540px at 100% 0%, rgba(208, 255, 0, 0.2), transparent 56%), radial-gradient(880px 620px at 0% 100%, rgba(61, 90, 255, 0.42), transparent 60%), linear-gradient(145deg, #05001a 0%, #100b38 55%, #1d2b8a 100%);
}

.lh-bg-tutu-blue {
  background: radial-gradient(860px 540px at 100% 0%, rgba(208, 255, 0, 0.24), transparent 56%), radial-gradient(880px 620px at 0% 100%, rgba(5, 0, 26, 0.55), transparent 62%), linear-gradient(145deg, #3248c7 0%, #3d5aff 55%, #23349c 100%);
}

.lh-phone {
  width: 100%;
  max-width: 440px;
  border-radius: 30px;
  padding: 1.75rem 1.45rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  box-shadow: 0 32px 76px -26px rgba(5, 0, 26, 0.55);
}
.lh-phone--public {
  max-width: 520px;
  padding: 2rem 1.85rem 1.9rem;
}

.lh-top-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -0.75rem;
}

.lh-share-qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  border: 1.5px solid rgba(5, 0, 26, 0.16);
  background: rgba(255, 255, 255, 0.85);
  color: #05001a;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}
.lh-share-qr-btn:hover {
  background: #d0ff00;
  border-color: #05001a;
}

.lh-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.42rem;
}
.lh-profile h1, .lh-profile .h1, .lh-profile h2, .lh-profile .h2 {
  margin: 0.3rem 0 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.lh-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 65%, #3d5aff 100%);
  color: #fffaf5;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 14px 30px -14px rgba(5, 0, 26, 0.55), 0 0 0 3px #d0ff00;
}
.lh-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lh-handle {
  display: inline-flex;
  padding: 0.2rem 0.68rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.74rem;
  font-weight: 800;
}

.lh-bio {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 390px;
}

.lh-links {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.lh-link-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.lh-link-item:hover {
  transform: translateY(-2px);
}

.lh-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  font-size: 1rem;
}

.lh-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  flex: 1;
  min-width: 0;
}
.lh-link-text strong {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}
.lh-link-text small, .lh-link-text .small {
  font-size: 0.77rem;
  line-height: 1.35;
  opacity: 0.82;
}

.lh-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 0.78rem;
}

.lh-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lh-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.16s ease;
}
.lh-social-btn:hover {
  transform: translateY(-2px);
}

.lh-footer {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.75;
  padding-top: 0.35rem;
}

.lh-theme-tutu-light {
  background: #fffaf5;
  color: #05001a;
  border: 1.5px solid rgba(5, 0, 26, 0.1);
}
.lh-theme-tutu-light .lh-bio {
  color: #4b4566;
}
.lh-theme-tutu-light .lh-link-item {
  background: #ffffff;
  border: 1.5px solid rgba(5, 0, 26, 0.12);
  color: #05001a;
  box-shadow: 0 10px 24px -18px rgba(5, 0, 26, 0.35);
}
.lh-theme-tutu-light .lh-link-item .lh-link-icon {
  background: rgba(61, 90, 255, 0.11);
  color: #3d5aff;
}
.lh-theme-tutu-light .lh-link-item .lh-link-arrow {
  background: rgba(5, 0, 26, 0.06);
  color: #05001a;
}
.lh-theme-tutu-light .lh-link-item.is-featured {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  border-color: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 14px 30px -14px rgba(61, 90, 255, 0.78);
}
.lh-theme-tutu-light .lh-link-item.is-featured .lh-link-icon {
  background: rgba(255, 250, 245, 0.18);
  color: #fffaf5;
}
.lh-theme-tutu-light .lh-link-item.is-featured .lh-link-arrow {
  background: #d0ff00;
  color: #05001a;
}
.lh-theme-tutu-light .lh-social-btn {
  background: #ffffff;
  border: 1.5px solid rgba(5, 0, 26, 0.12);
  color: #05001a;
}
.lh-theme-tutu-light .lh-social-btn:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}

.lh-theme-tutu-dark {
  background: #05001a;
  color: #fffaf5;
  border: 1.5px solid rgba(255, 250, 245, 0.14);
}
.lh-theme-tutu-dark .lh-bio {
  color: rgba(255, 250, 245, 0.76);
}
.lh-theme-tutu-dark .lh-share-qr-btn {
  background: rgba(255, 250, 245, 0.1);
  border-color: rgba(255, 250, 245, 0.22);
  color: #fffaf5;
}
.lh-theme-tutu-dark .lh-share-qr-btn:hover {
  background: #d0ff00;
  color: #05001a;
  border-color: #d0ff00;
}
.lh-theme-tutu-dark .lh-link-item {
  background: #120d36;
  border: 1.5px solid rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
.lh-theme-tutu-dark .lh-link-item .lh-link-icon {
  background: rgba(61, 90, 255, 0.28);
  color: #fffaf5;
}
.lh-theme-tutu-dark .lh-link-item .lh-link-arrow {
  background: rgba(255, 250, 245, 0.12);
  color: #fffaf5;
}
.lh-theme-tutu-dark .lh-link-item.is-featured {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
.lh-theme-tutu-dark .lh-link-item.is-featured .lh-link-icon {
  background: rgba(5, 0, 26, 0.14);
  color: #05001a;
}
.lh-theme-tutu-dark .lh-link-item.is-featured .lh-link-arrow {
  background: #05001a;
  color: #fffaf5;
}
.lh-theme-tutu-dark .lh-social-btn {
  background: #120d36;
  border: 1.5px solid rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
.lh-theme-tutu-dark .lh-social-btn:hover {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}

.lh-theme-tutu-blue {
  background: linear-gradient(160deg, #3248c7 0%, #2436a3 100%);
  color: #fffaf5;
  border: 1.5px solid rgba(255, 250, 245, 0.22);
}
.lh-theme-tutu-blue .lh-bio {
  color: rgba(255, 250, 245, 0.86);
}
.lh-theme-tutu-blue .lh-link-item {
  background: #ffffff;
  border: 1.5px solid rgba(5, 0, 26, 0.08);
  color: #05001a;
  box-shadow: 0 12px 26px -16px rgba(5, 0, 26, 0.45);
}
.lh-theme-tutu-blue .lh-link-item .lh-link-icon {
  background: rgba(61, 90, 255, 0.12);
  color: #3d5aff;
}
.lh-theme-tutu-blue .lh-link-item .lh-link-arrow {
  background: #05001a;
  color: #fffaf5;
}
.lh-theme-tutu-blue .lh-link-item.is-featured {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
.lh-theme-tutu-blue .lh-link-item.is-featured .lh-link-icon {
  background: rgba(5, 0, 26, 0.14);
  color: #05001a;
}
.lh-theme-tutu-blue .lh-link-item.is-featured .lh-link-arrow {
  background: #05001a;
  color: #fffaf5;
}
.lh-theme-tutu-blue .lh-social-btn {
  background: rgba(255, 250, 245, 0.16);
  border: 1.5px solid rgba(255, 250, 245, 0.28);
  color: #fffaf5;
}
.lh-theme-tutu-blue .lh-social-btn:hover {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}

.lh-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 0, 26, 0.72);
  backdrop-filter: blur(8px);
}
.lh-qr-modal[hidden] {
  display: none;
}

.lh-qr-dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 1.8rem 1.5rem;
  border-radius: 26px;
  background: #fffaf5;
  color: #05001a;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 36px 80px -24px rgba(5, 0, 26, 0.65);
}
.lh-qr-dialog h3, .lh-qr-dialog .h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.lh-qr-dialog p {
  margin: 0;
  font-size: 0.86rem;
  color: #4b4566;
}

.lh-qr-dialog-img {
  width: 240px;
  padding: 0.75rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1.5px solid rgba(5, 0, 26, 0.12);
}
.lh-qr-dialog-img img {
  width: 100%;
  display: block;
}

.lh-qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 0, 26, 0.08);
  color: #05001a;
  cursor: pointer;
}

:root[data-modern-theme=dark] .linkhub-hero {
  border-color: rgba(255, 250, 245, 0.16);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.2), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.36), transparent 62%), linear-gradient(135deg, #05001a 0%, #0e0930 62%, #151042 100%);
}
:root[data-modern-theme=dark] .linkhub-card {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.15);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .linkhub-hero-ghost {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.24);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .linkhub-hero-ghost:hover {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .linkhub-mini-links li,
:root[data-modern-theme=dark] .qr-preset-btn,
:root[data-modern-theme=dark] .qr-preview-meta {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .linkhub-quick-insert {
  background: rgba(61, 90, 255, 0.16);
  border-color: rgba(255, 250, 245, 0.18);
}
:root[data-modern-theme=dark] .linkhub-quick-insert > span {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .linkhub-quick-chip {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.2);
  color: #fffaf5;
}

@media (max-width: 1199px) {
  .linkhub-grid,
  .qr-studio-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .linkhub-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .qr-presets {
    grid-template-columns: 1fr;
  }
}
.sites-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.sites-page) #layout-content > .container {
    max-width: 1400px;
  }
}
.sites-page {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.sites-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.85rem 2rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: var(--modern-radius-xl);
  background: radial-gradient(640px 260px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(61, 90, 255, 0.14), transparent 62%), linear-gradient(135deg, #ffffff 0%, #fffdf9 62%, #fffaf5 100%);
  box-shadow: var(--modern-shadow-card);
}

.sites-hero-copy {
  max-width: 660px;
}
.sites-hero-copy h1, .sites-hero-copy .h1 {
  margin: 0.35rem 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sites-hero-copy p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sites-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sites-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.sites-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.sites-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sites-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.5rem 0.92rem;
  border-radius: 13px;
  color: var(--modern-ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.sites-tab span {
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.08);
  font-size: 0.72rem;
}
.sites-tab:hover {
  background: var(--modern-surface-muted);
  color: #3d5aff;
}
.sites-tab.is-active {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #fffaf5;
  box-shadow: 0 10px 20px -12px rgba(61, 90, 255, 0.78);
}
.sites-tab.is-active span {
  background: rgba(255, 250, 245, 0.24);
  color: #fffaf5;
}

.sites-search-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sites-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sites-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(5, 0, 26, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--modern-shadow-xs);
}
.sites-section-head h2, .sites-section-head .h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--modern-ink);
}
.sites-section-head h2 i, .sites-section-head .h2 i {
  color: #3d5aff;
}
.sites-section-head p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--modern-ink-muted);
}

.sites-section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sites-see-all {
  color: #3d5aff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.sites-see-all:hover {
  text-decoration: underline;
}

.sites-subfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sites-empty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.2rem 1.35rem;
  border-radius: 18px;
  border: 1.5px dashed rgba(5, 0, 26, 0.16);
  background: var(--modern-surface);
  color: var(--modern-ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.sites-empty-row a {
  color: #3d5aff;
  font-weight: 800;
  text-decoration: none;
}

.sites-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.sites-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sites-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--modern-shadow-card-hover);
}

.sites-blog-media {
  position: relative;
  height: 165px;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 70%, #3d5aff 100%);
  text-decoration: none;
}
.sites-blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sites-blog-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 250, 245, 0.85);
  font-size: 2.2rem;
}

.sites-blog-type {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.7rem;
  font-weight: 800;
}

.sites-blog-body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.sites-blog-title {
  font-family: var(--modern-font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--modern-ink);
  line-height: 1.3;
  text-decoration: none;
}
.sites-blog-title:hover {
  color: #3d5aff;
}

.sites-blog-excerpt {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--modern-ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sites-blog-meta {
  margin-top: auto;
  padding-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--modern-ink-faint);
}

:root[data-modern-theme=dark] .sites-hero {
  border-color: rgba(255, 250, 245, 0.16);
  background: radial-gradient(640px 260px at 100% 0%, rgba(208, 255, 0, 0.2), transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(61, 90, 255, 0.36), transparent 62%), linear-gradient(135deg, #05001a 0%, #0e0930 62%, #151042 100%);
}
:root[data-modern-theme=dark] .sites-toolbar,
:root[data-modern-theme=dark] .sites-section-head,
:root[data-modern-theme=dark] .sites-empty-row,
:root[data-modern-theme=dark] .sites-blog-card {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.15);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .sites-section-head h2 i, :root[data-modern-theme=dark] .sites-section-head .h2 i,
:root[data-modern-theme=dark] .sites-see-all {
  color: #9eb4ff;
}

@media (max-width: 1199px) {
  .sites-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .sites-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .sites-blog-grid {
    grid-template-columns: 1fr;
  }
}
.cs-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cs-home-pill--muted {
  background: #eef2ff;
  color: #3248c7;
}

.cs-visibility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}
.cs-visibility-pill--external {
  background: #e6f4ff;
  color: #0369a1;
}
.cs-visibility-pill--internal {
  background: #ede9fe;
  color: #5b21b6;
}

.cs-home-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: 18px;
  border: 1px solid #d4dffc;
  background: #ffffff;
  box-shadow: var(--modern-shadow-xs);
}
.cs-home-status.is-custom {
  border-color: #3d5aff;
  background: linear-gradient(90deg, #ffffff 0%, #f3f6ff 100%);
}

.cs-home-status-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--modern-ink-soft);
}
.cs-home-status-copy strong {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-weight: 800;
}

.cs-home-status-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.cs-site-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #c5d1f5;
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.cs-site-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--modern-shadow-card-hover);
}
.cs-site-card.is-home {
  border: 2px solid #3d5aff;
  box-shadow: 0 16px 34px -22px rgba(61, 90, 255, 0.55);
}

.cs-site-card-thumb {
  position: relative;
  height: 162px;
  padding: 1.1rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, #3248c7 0%, var(--cs-accent, #3d5aff) 100%);
}
.cs-site-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-site-card-thumb--corporate {
  background: radial-gradient(circle at 90% 15%, rgba(208, 255, 0, 0.35), transparent 55%), linear-gradient(135deg, #05001a 0%, #3248c7 65%, var(--cs-accent, #3d5aff) 100%);
}
.cs-site-card-thumb--intranet {
  background: radial-gradient(circle at 15% 15%, rgba(208, 255, 0, 0.25), transparent 50%), linear-gradient(135deg, #1e1b4b 0%, #3d5aff 100%);
}
.cs-site-card-thumb--modern {
  background: radial-gradient(circle at 85% 20%, rgba(61, 90, 255, 0.55), transparent 60%), linear-gradient(135deg, #05001a 0%, #140f36 100%);
}

.cs-site-thumb-mock {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  color: #fffaf5;
}
.cs-site-thumb-mock strong {
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-site-thumb-badge {
  align-self: flex-start;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.18);
  color: #fffaf5;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-site-thumb-pills {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cs-site-thumb-pills .cs-inline-status {
  position: static;
  margin-left: auto;
}

.cs-sections-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--modern-ink-faint);
}

.cs-site-card-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0 1.15rem 0.75rem;
}

.cs-ctrl-form {
  margin: 0;
}

.cs-ctrl-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.42rem 0.55rem;
  border-radius: 10px;
  border: 1px solid #d4dffc;
  background: #f5f7ff;
  color: #3248c7;
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.14s ease;
}
.cs-ctrl-btn:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
}
.cs-ctrl-btn--home-active {
  background: #d0ff00;
  border-color: #b7e000;
  color: #05001a;
}
.cs-ctrl-btn--home-active:hover {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
}

.cs-del-icon-btn {
  border: 0;
  cursor: pointer;
}

.cs-home-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 18px;
  border: 1px solid #c5d1f5;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--modern-shadow-xs);
}

.cs-home-switcher-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem;
  border-radius: 12px;
  background: #eef2ff;
}

.cs-home-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9px;
  color: #3248c7;
  font-family: var(--modern-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.14s ease;
}
.cs-home-tab:hover {
  text-decoration: none;
  color: #05001a;
}
.cs-home-tab.is-active {
  background: #3d5aff;
  color: #fffaf5;
  box-shadow: 0 8px 16px -10px rgba(61, 90, 255, 0.85);
}

.cs-home-switcher-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cs-home-manage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.35rem 0.72rem;
  border-radius: 9px;
  border: 1px solid #d4dffc;
  background: #ffffff;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}
.cs-home-manage-link:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.cs-dashboard-home-wrap {
  margin-bottom: 2.5rem;
}

.cs-embedded-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cs-embedded-back {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #c5d1f5;
  color: #3248c7;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.cs-embedded-back:hover {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #fffaf5;
  text-decoration: none;
}

.cs-embedded-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cs-draft-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.82rem;
  font-weight: 700;
}
.cs-draft-banner a {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-weight: 800;
  text-decoration: none;
}

.cs-builder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cs-builder-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cs-visibility-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.cs-choice-card {
  margin: 0;
  cursor: pointer;
  position: relative;
}
.cs-choice-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cs-choice-card input:checked + .cs-choice-box {
  border-color: #3d5aff;
  background: #f0f4ff;
  box-shadow: 0 0 0 2px rgba(61, 90, 255, 0.18);
}
.cs-choice-card input:checked + .cs-choice-box .cs-choice-icon {
  background: #3d5aff;
  color: #fffaf5;
}

.cs-choice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1.5px solid #d4dffc;
  background: #ffffff;
  transition: all 0.15s ease;
  height: 100%;
}

.cs-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: #eef2ff;
  color: #3248c7;
  font-size: 1.05rem;
}

.cs-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cs-choice-copy strong {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.92rem;
  font-weight: 800;
}
.cs-choice-copy small, .cs-choice-copy .small {
  color: var(--modern-ink-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cs-home-toggle-card {
  margin-top: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  border: 1.5px solid #c5d1f5;
  background: #f6f8ff;
}

.cs-switch-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  cursor: pointer;
}
.cs-switch-row input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cs-switch-row input:checked + .cs-switch-ui {
  background: #3d5aff;
}
.cs-switch-row input:checked + .cs-switch-ui::after {
  transform: translateX(20px);
}

.cs-switch-ui {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
  margin-top: 2px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.18s ease;
}
.cs-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 0, 26, 0.2);
  transition: transform 0.18s ease;
}

.cs-switch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.cs-switch-copy strong {
  color: #05001a;
  font-size: 0.9rem;
  font-weight: 800;
}
.cs-switch-copy small, .cs-switch-copy .small {
  color: var(--modern-ink-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cs-color-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.35rem;
}

.cs-accent-opt {
  margin: 0;
  cursor: pointer;
}
.cs-accent-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cs-accent-opt span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.cs-accent-opt input:checked + span {
  transform: scale(1.14);
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #05001a;
}

.cs-upload-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cs-upload-row input[type=text] {
  flex: 1;
  min-width: 0;
}

.cs-upload-btn {
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
}

.cs-repeater,
.cs-sections-builder {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.cs-nav-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 0.5rem;
  align-items: center;
}
.cs-nav-row input {
  padding: 0.5rem 0.72rem;
  border-radius: 10px;
  border: 1px solid #cdd8f8;
  font-size: 0.84rem;
}

.cs-section-editor {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid #c5d1f5;
  background: #f8faff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cs-section-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dbe3fb;
}
.cs-section-editor-head strong {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.88rem;
  font-weight: 800;
}

.cs-items-sub {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cs-items-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: #3248c7;
}

.cs-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cs-item-editor {
  display: grid;
  grid-template-columns: 95px 1.1fr 1.6fr 1fr 85px auto;
  gap: 0.4rem;
  align-items: center;
}
.cs-item-editor input {
  padding: 0.44rem 0.58rem;
  border-radius: 9px;
  border: 1px solid #cdd8f8;
  background: #ffffff;
  font-size: 0.8rem;
  min-width: 0;
}

.cs-row-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.36rem 0.58rem;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fff5f5;
  color: #b91c1c;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}
.cs-row-remove:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.cs-checkboxes-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.cs-check-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #d4dffc;
  background: #f8faff;
  font-size: 0.84rem;
  font-weight: 700;
  color: #05001a;
  cursor: pointer;
}

.cs-builder-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cs-public-body {
  margin: 0;
  background: #f4f7ff;
  color: #05001a;
  font-family: var(--modern-font-sans, Inter, sans-serif);
}

.cs-portal {
  --cs-accent: #3d5aff;
  background: #ffffff;
  color: #05001a;
}
.cs-portal--embedded {
  border-radius: 26px;
  border: 1px solid #c5d1f5;
  overflow: hidden;
  box-shadow: var(--modern-shadow-card);
}
.cs-portal--standalone {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cs-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dde4fb;
}

.cs-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.cs-brand:hover {
  text-decoration: none;
}

.cs-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: contain;
  background: #fffaf5;
  border: 1px solid #e2e8fc;
  padding: 2px;
}

.cs-brand-copy {
  display: flex;
  flex-direction: column;
}
.cs-brand-copy strong {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
}
.cs-brand-copy small, .cs-brand-copy .small {
  color: #556387;
  font-size: 0.72rem;
  font-weight: 600;
}

.cs-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.cs-nav a {
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}
.cs-nav a:hover {
  color: var(--cs-accent);
  text-decoration: none;
}

.cs-nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cs-badge-intranet {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.72rem;
  font-weight: 800;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.55rem 1.05rem;
  border-radius: 12px;
  font-family: var(--modern-font-display);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.cs-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.cs-btn--primary {
  background: var(--cs-accent);
  color: #fffaf5;
}
.cs-btn--primary:hover {
  color: #fffaf5;
  filter: brightness(1.06);
}
.cs-btn--ghost {
  border: 1px solid #cbd6fb;
  background: #ffffff;
  color: #3248c7;
}
.cs-btn--ghost:hover {
  border-color: #3d5aff;
  color: #3d5aff;
}
.cs-btn--hero-primary {
  padding: 0.78rem 1.35rem;
  background: var(--cs-accent);
  color: #fffaf5;
  box-shadow: 0 12px 24px -12px rgba(61, 90, 255, 0.7);
}
.cs-btn--hero-primary:hover {
  color: #fffaf5;
}
.cs-btn--hero-secondary {
  padding: 0.78rem 1.25rem;
  border: 1.5px solid #cbd6fb;
  background: rgba(255, 255, 255, 0.9);
  color: #05001a;
}
.cs-btn--hero-secondary:hover {
  border-color: var(--cs-accent);
  color: var(--cs-accent);
}

.cs-hero {
  padding: 3.4rem 0 3rem;
  background: radial-gradient(650px 300px at 95% 0%, rgba(208, 255, 0, 0.25), transparent 60%), radial-gradient(560px 300px at 5% 100%, rgba(61, 90, 255, 0.14), transparent 60%), linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-bottom: 1px solid #e4e9fc;
}
.cs-portal--intranet .cs-hero {
  background: radial-gradient(560px 260px at 95% 10%, rgba(208, 255, 0, 0.22), transparent 60%), linear-gradient(135deg, #05001a 0%, #3248c7 58%, var(--cs-accent) 100%);
  color: #fffaf5;
  border-bottom: 0;
}
.cs-portal--intranet .cs-hero h1, .cs-portal--intranet .cs-hero .h1 {
  color: #fffaf5;
}
.cs-portal--intranet .cs-hero .cs-hero-sub {
  color: rgba(255, 250, 245, 0.86);
}
.cs-portal--intranet .cs-hero .cs-btn--hero-primary {
  background: #d0ff00;
  color: #05001a;
}
.cs-portal--intranet .cs-hero .cs-btn--hero-secondary {
  background: rgba(255, 250, 245, 0.14);
  border-color: rgba(255, 250, 245, 0.35);
  color: #fffaf5;
}
.cs-portal--modern .cs-hero {
  background: radial-gradient(620px 320px at 85% 15%, rgba(61, 90, 255, 0.45), transparent 60%), linear-gradient(145deg, #05001a 0%, #120d36 100%);
  color: #fffaf5;
  border-bottom: 0;
}
.cs-portal--modern .cs-hero h1, .cs-portal--modern .cs-hero .h1 {
  color: #fffaf5;
}
.cs-portal--modern .cs-hero .cs-hero-sub {
  color: rgba(255, 250, 245, 0.82);
}
.cs-portal--modern .cs-hero .cs-btn--hero-primary {
  background: #d0ff00;
  color: #05001a;
}
.cs-portal--modern .cs-hero .cs-btn--hero-secondary {
  background: rgba(255, 250, 245, 0.12);
  border-color: rgba(255, 250, 245, 0.3);
  color: #fffaf5;
}

.cs-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.cs-hero-grid.has-image {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.cs-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.cs-hero-copy h1, .cs-hero-copy .h1 {
  margin: 0 0 0.85rem;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cs-hero-sub {
  margin: 0;
  max-width: 660px;
  color: #4b5563;
  font-size: 1.04rem;
  line-height: 1.6;
}

.cs-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cs-hero-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 24px 48px -24px rgba(5, 0, 26, 0.45);
  object-fit: cover;
  max-height: 360px;
}

.cs-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #edf1fc;
}

.cs-section-head {
  margin-bottom: 1.35rem;
}
.cs-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cs-section-head h2, .cs-section-head .h2 {
  margin: 0;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cs-section-head p {
  margin: 0.3rem 0 0;
  color: #556387;
  font-size: 0.92rem;
}

.cs-quick-section {
  background: #f6f8ff;
}

.cs-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cs-quick-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #c5d1f5;
  text-decoration: none;
  transition: all 0.15s ease;
}
.cs-quick-card:hover {
  border-color: var(--cs-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -18px rgba(61, 90, 255, 0.5);
  text-decoration: none;
}

.cs-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--cs-accent);
  font-size: 1.1rem;
}

.cs-quick-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.cs-quick-copy strong {
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.92rem;
  font-weight: 800;
}
.cs-quick-copy small, .cs-quick-copy .small {
  color: #556387;
  font-size: 0.76rem;
}

.cs-quick-arrow {
  color: #94a3b8;
  font-size: 1.1rem;
}

.cs-features-grid,
.cs-stats-grid,
.cs-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.cs-feature-card,
.cs-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d4dffc;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.cs-feature-card:hover,
.cs-blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--cs-accent);
  box-shadow: 0 16px 32px -22px rgba(5, 0, 26, 0.35);
  text-decoration: none;
}
.cs-feature-card h3, .cs-feature-card .h3,
.cs-blog-card h3,
.cs-blog-card .h3 {
  margin: 0;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 1.04rem;
  font-weight: 800;
}
.cs-feature-card p,
.cs-blog-card p {
  margin: 0;
  color: #556387;
  font-size: 0.86rem;
  line-height: 1.5;
}

.cs-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--cs-accent);
  font-size: 1.1rem;
}

.cs-item-badge,
.cs-blog-tag {
  align-self: flex-start;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.68rem;
  font-weight: 800;
}

.cs-feature-more {
  margin-top: auto;
  padding-top: 0.4rem;
  color: var(--cs-accent);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cs-stat-tile {
  padding: 1.35rem;
  border-radius: 18px;
  background: #f6f8ff;
  border: 1px solid #d4dffc;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cs-stat-tile strong {
  font-family: var(--modern-font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #05001a;
  letter-spacing: -0.03em;
}
.cs-stat-tile span {
  font-size: 0.84rem;
  color: #556387;
  font-weight: 600;
}

.cs-stat-tile-icon {
  color: var(--cs-accent);
  font-size: 1.25rem;
}

.cs-announce-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-announce-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #c5d1f5;
  border-left: 4px solid var(--cs-accent);
  text-decoration: none;
  transition: all 0.15s ease;
}
.cs-announce-card:hover {
  border-color: var(--cs-accent);
  background: #f8faff;
  text-decoration: none;
}

.cs-announce-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: #eef2ff;
  color: var(--cs-accent);
}

.cs-announce-body {
  flex: 1;
  min-width: 0;
}
.cs-announce-body p {
  margin: 0.2rem 0 0;
  color: #556387;
  font-size: 0.85rem;
}

.cs-announce-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cs-announce-top strong {
  color: #05001a;
  font-size: 0.95rem;
  font-weight: 800;
}

.cs-announce-arrow {
  color: var(--cs-accent);
}

.cs-about-card {
  padding: 1.65rem 1.85rem;
  border-radius: 20px;
  background: #f6f8ff;
  border: 1px solid #d4dffc;
}

.cs-about-body {
  color: #1f2937;
  font-size: 0.96rem;
  line-height: 1.7;
}

.cs-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1.9rem 2.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 100%);
  color: #fffaf5;
}
.cs-cta-banner h2, .cs-cta-banner .h2 {
  margin: 0 0 0.35rem;
  color: #fffaf5;
  font-family: var(--modern-font-display);
  font-size: 1.45rem;
  font-weight: 800;
}
.cs-cta-banner p {
  margin: 0;
  color: rgba(255, 250, 245, 0.84);
  font-size: 0.92rem;
}
.cs-cta-banner .cs-btn--hero-primary {
  background: #d0ff00;
  color: #05001a;
}

.cs-footer {
  margin-top: auto;
  padding: 2rem 0;
  background: #05001a;
  color: #fffaf5;
}

.cs-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.cs-footer-brand strong {
  display: block;
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fffaf5;
}
.cs-footer-brand p {
  margin: 0.25rem 0 0;
  color: rgba(255, 250, 245, 0.72);
  font-size: 0.82rem;
}

.cs-footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 250, 245, 0.86);
}
.cs-footer-contact a {
  color: #fffaf5;
  text-decoration: none;
}
.cs-footer-contact a:hover {
  text-decoration: underline;
}

:root[data-modern-theme=dark] .cs-home-status,
:root[data-modern-theme=dark] .cs-home-switcher,
:root[data-modern-theme=dark] .cs-site-card,
:root[data-modern-theme=dark] .cs-embedded-back,
:root[data-modern-theme=dark] .cs-home-manage-link,
:root[data-modern-theme=dark] .cs-choice-box,
:root[data-modern-theme=dark] .cs-home-toggle-card,
:root[data-modern-theme=dark] .cs-section-editor,
:root[data-modern-theme=dark] .cs-check-pill {
  background: #0b0624;
  border-color: rgba(158, 180, 255, 0.26);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cs-home-status-copy strong,
:root[data-modern-theme=dark] .cs-choice-copy strong,
:root[data-modern-theme=dark] .cs-switch-copy strong,
:root[data-modern-theme=dark] .cs-section-editor-head strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cs-home-switcher-tabs {
  background: #151038;
}
:root[data-modern-theme=dark] .cs-home-tab {
  color: rgba(255, 250, 245, 0.82);
}
:root[data-modern-theme=dark] .cs-home-tab.is-active {
  background: #3d5aff;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cs-ctrl-btn:not(.cs-ctrl-btn--home-active) {
  background: #151038;
  border-color: rgba(158, 180, 255, 0.26);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cs-portal--embedded {
  background: #0b0624;
  border-color: rgba(158, 180, 255, 0.26);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cs-portal--embedded .cs-navbar {
  background: rgba(11, 6, 36, 0.95);
  border-bottom-color: rgba(158, 180, 255, 0.2);
}
:root[data-modern-theme=dark] .cs-portal--embedded .cs-brand-copy strong,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-nav a,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-section-head h2,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-section-head .h2,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-quick-copy strong,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-feature-card h3,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-feature-card .h3,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-blog-card h3,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-blog-card .h3,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-stat-tile strong,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-announce-top strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cs-portal--embedded .cs-quick-section,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-about-card,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-stat-tile {
  background: #120d36;
  border-color: rgba(158, 180, 255, 0.2);
}
:root[data-modern-theme=dark] .cs-portal--embedded .cs-quick-card,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-feature-card,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-blog-card,
:root[data-modern-theme=dark] .cs-portal--embedded .cs-announce-card {
  background: #1a1447;
  border-color: rgba(158, 180, 255, 0.22);
}
:root[data-modern-theme=dark] .cs-portal--embedded .cs-about-body {
  color: rgba(255, 250, 245, 0.88);
}

@media (max-width: 1199px) {
  .cs-cards-grid,
  .cs-quick-grid,
  .cs-features-grid,
  .cs-stats-grid,
  .cs-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-item-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .cs-cards-grid,
  .cs-quick-grid,
  .cs-features-grid,
  .cs-stats-grid,
  .cs-blog-grid,
  .cs-visibility-choices,
  .cs-hero-grid.has-image,
  .cs-nav-row,
  .cs-item-editor {
    grid-template-columns: 1fr;
  }
}
.cs-site-card-thumb--academy {
  background: radial-gradient(circle at 85% 20%, rgba(255, 115, 56, 0.55), transparent 55%), linear-gradient(135deg, #5a347d 0%, #3d215c 100%);
}
.cs-site-card-thumb--studio {
  background: radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.45), transparent 55%), linear-gradient(135deg, #4b6cb7 0%, #2b4587 100%);
}
.cs-site-card-thumb--vivid {
  background: radial-gradient(circle at 85% 20%, rgba(255, 224, 71, 0.42), transparent 52%), linear-gradient(135deg, #6355e8 0%, #4b3bc9 100%);
}

.cst-gallery-box {
  padding: 1.15rem 1.25rem;
  border-radius: 22px;
  border: 1px solid #c5d1f5;
  background: #ffffff;
  box-shadow: var(--modern-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cst-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.cst-gallery-head strong {
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #05001a;
}
.cst-gallery-head strong i {
  color: #3d5aff;
  margin-right: 0.3rem;
}
.cst-gallery-head span {
  font-size: 0.8rem;
  color: var(--modern-ink-muted);
}

.cst-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cst-tpl-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid #d4dffc;
  background: #fbfcff;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.cst-tpl-card:hover {
  transform: translateY(-2px);
  border-color: #3d5aff;
  box-shadow: 0 14px 28px -22px rgba(5, 0, 26, 0.35);
}

.cst-tpl-mini {
  height: 146px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-bottom: 1px solid #e4e9fc;
}
.cst-tpl-mini--academy {
  background: #fff9f4;
}
.cst-tpl-mini--studio {
  background: #dce8f5;
  padding: 0.55rem 0.9rem;
}
.cst-tpl-mini--vivid {
  background: #f5f5fc;
}

.cst-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
}
.cst-mini-nav span {
  height: 5px;
  width: 26px;
  border-radius: 999px;
  background: rgba(5, 0, 26, 0.18);
}

.cst-mini-dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #171422 !important;
}

.cst-mini-pill-or {
  width: 34px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #ff7338 !important;
}

.cst-mini-ac-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.45rem;
  align-items: center;
}

.cst-mini-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cst-mini-lines span {
  height: 7px;
  border-radius: 4px;
  background: #171422;
  width: 90%;
}
.cst-mini-lines span:nth-child(2) {
  width: 65%;
  opacity: 0.45;
}

.cst-mini-search {
  display: block;
  height: 12px;
  width: 85%;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #ff7338;
  margin-top: 2px;
}

.cst-mini-geo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.cst-mini-geo i {
  display: block;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #171422;
}
.cst-mini-geo i:nth-child(1) {
  background: #ff9c6e;
}
.cst-mini-geo i:nth-child(2) {
  background: #c5b3f8;
}
.cst-mini-geo i:nth-child(3) {
  background: #8edbc2;
}
.cst-mini-geo i:nth-child(4) {
  background: #ffd466;
}

.cst-mini-ac-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.cst-mini-ac-cards span {
  height: 20px;
  border-radius: 5px;
  border: 1px solid #171422;
  background: #ffe0cc;
}
.cst-mini-ac-cards span:nth-child(2) {
  background: #dfd3ff;
}
.cst-mini-ac-cards span:nth-child(3) {
  background: #c9f2e3;
}
.cst-mini-ac-cards span:nth-child(4) {
  background: #ffdf91;
}

.cst-mini-ac-cta {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5a347d 75%, #ff7338 75%);
  margin-top: auto;
}

.cst-mini-st-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ffffff;
  padding: 5px;
  border-radius: 8px 8px 0 0;
}
.cst-mini-st-title span {
  height: 7px;
  width: 58px;
  border-radius: 4px;
  background: #0f172a;
}

.cst-mini-bluepill {
  display: inline-block;
  width: 24px;
  height: 11px;
  border-radius: 999px;
  background: #2f98f4;
}

.cst-mini-st-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ffffff;
  padding: 4px;
}
.cst-mini-st-pills i {
  display: block;
  width: 18px;
  border-radius: 999px;
  background: #7d9bc2;
}
.cst-mini-st-pills i:nth-child(1), .cst-mini-st-pills i:nth-child(5) {
  height: 22px;
}
.cst-mini-st-pills i:nth-child(2), .cst-mini-st-pills i:nth-child(4) {
  height: 32px;
  background: #4b6cb7;
}
.cst-mini-st-pills i:nth-child(3) {
  height: 42px;
  background: #3b82f6;
}

.cst-mini-st-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: #ffffff;
  padding: 5px;
  border-radius: 0 0 8px 8px;
}
.cst-mini-st-tiers span {
  height: 28px;
  border-radius: 7px;
  border: 1.5px solid #4b6cb7;
  background: #ffffff;
}
.cst-mini-st-tiers span.is-mid {
  background: #4b6cb7;
}

.cst-mini-vv-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: #6355e8;
}
.cst-mini-vv-hero .cst-mini-lines span {
  background: #ffffff;
}

.cst-mini-yellow {
  display: block;
  width: 44px;
  height: 10px;
  border-radius: 999px;
  background: #ffe047;
  margin-top: 2px;
}

.cst-mini-vv-char {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  margin-left: auto;
}

.cst-mini-vv-ben {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.cst-mini-vv-ben span {
  height: 14px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #e2e4f8;
}

.cst-mini-vv-progs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: auto;
}
.cst-mini-vv-progs i {
  display: block;
  height: 22px;
  border-radius: 6px;
}
.cst-mini-vv-progs i.c1 {
  background: #7b61ff;
}
.cst-mini-vv-progs i.c2 {
  background: #f27449;
}
.cst-mini-vv-progs i.c3 {
  background: #5cb860;
}
.cst-mini-vv-progs i.c4 {
  background: #a155b9;
}

.cst-tpl-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.cst-tpl-body h3, .cst-tpl-body .h3 {
  margin: 0;
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #05001a;
}
.cst-tpl-body p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
  line-height: 1.45;
}

.cst-tpl-tag {
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3248c7;
}

.cst-tpl-actions {
  margin-top: auto;
  padding-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cst-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.cst-picker-card {
  margin: 0;
  cursor: pointer;
  position: relative;
}
.cst-picker-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cst-picker-card input:checked + .cst-picker-box {
  border-color: #3d5aff;
  background: #f0f4ff;
  box-shadow: 0 0 0 2px rgba(61, 90, 255, 0.18);
}

.cst-picker-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1.5px solid #d4dffc;
  background: #ffffff;
  height: 100%;
  transition: all 0.15s ease;
}
.cst-picker-box small, .cst-picker-box .small {
  font-size: 0.74rem;
  color: var(--modern-ink-muted);
  line-height: 1.4;
}

.cst-picker-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.cst-picker-top strong {
  font-family: var(--modern-font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #05001a;
}

.cst-picker-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: 0 0 11px;
}

.cst-picker-new {
  margin-left: auto;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cst-picker-preset {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #3d5aff;
  text-decoration: none;
}
.cst-picker-preset:hover {
  text-decoration: underline;
}

.cst-academy {
  background: #fffcf9;
  color: #171422;
}

.cst-ac-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 252, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0e6dc;
}

.cst-ac-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.cst-ac-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.cst-ac-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: contain;
}
.cst-ac-brand span {
  font-family: var(--modern-font-display);
  font-size: 1.08rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #171422;
}
.cst-ac-brand:hover {
  text-decoration: none;
}

.cst-ac-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.cst-ac-links a {
  color: #373046;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.cst-ac-links a:hover {
  color: #ff7338;
}

.cst-ac-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cst-ac-ghost {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e6d7cb;
  color: #171422;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.cst-ac-ghost:hover {
  border-color: #ff7338;
  color: #ff7338;
  text-decoration: none;
}

.cst-ac-cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1.2rem;
  border-radius: 999px;
  background: #ff7338;
  color: #ffffff !important;
  font-family: var(--modern-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(255, 115, 56, 0.85);
}
.cst-ac-cta-pill:hover {
  background: #e85e24;
  text-decoration: none;
}

.cst-ac-hero {
  padding: 3.2rem 0 2.8rem;
  background: radial-gradient(500px 280px at 90% 10%, rgba(255, 115, 56, 0.14), transparent 65%), radial-gradient(420px 260px at 10% 90%, rgba(90, 52, 125, 0.08), transparent 60%), #fffcf9;
}

.cst-ac-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.2rem;
  align-items: center;
}

.cst-ac-eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #e25a21;
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cst-ac-hero-copy h1, .cst-ac-hero-copy .h1 {
  margin: 0 0 0.85rem;
  color: #171422;
  font-family: var(--modern-font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.cst-ac-hero-copy p {
  margin: 0 0 1.4rem;
  max-width: 480px;
  color: #5d566c;
  font-size: 0.96rem;
  line-height: 1.6;
}

.cst-ac-searchbar {
  display: flex;
  align-items: center;
  max-width: 440px;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #efe3d8;
  box-shadow: 0 16px 34px -22px rgba(23, 20, 34, 0.28);
}
.cst-ac-searchbar input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #171422;
  font-size: 0.88rem;
  min-width: 0;
}
.cst-ac-searchbar input:focus {
  outline: none;
}

.cst-ac-searchbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  border: 0;
  background: #ff7338;
  color: #ffffff;
  cursor: pointer;
}

.cst-ac-hero-photo img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 22px;
  border: 2.5px solid #171422;
  box-shadow: 10px 10px 0 #ffd7c2;
}

.cst-ac-geo-scene {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-columns: repeat(2, 130px);
  justify-content: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background-image: radial-gradient(#e7dbd0 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 26px;
}

.cst-ac-spark {
  position: absolute;
  color: #ff7338;
  font-size: 1.3rem;
}
.cst-ac-spark--1 {
  top: 12px;
  left: 26px;
}
.cst-ac-spark--2 {
  bottom: 14px;
  right: 26px;
  color: #5a347d;
}

.cst-ac-geo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  border-radius: 18px;
  border: 2.5px solid #171422;
  font-size: 2.1rem;
  color: #171422;
  box-shadow: 6px 6px 0 rgba(23, 20, 34, 0.14);
}
.cst-ac-geo-tile--top {
  background: linear-gradient(135deg, #ffe270 0%, #ffb085 100%);
}
.cst-ac-geo-tile--mid {
  background: linear-gradient(135deg, #ff8f5c 0%, #c084fc 100%);
  transform: translateY(14px);
}
.cst-ac-geo-tile--right {
  background: linear-gradient(135deg, #9adbc7 0%, #a5b4fc 100%);
  transform: translateY(-10px);
}
.cst-ac-geo-tile--bot {
  background: linear-gradient(135deg, #d8b4fe 0%, #fca5a5 100%);
}

.cst-ac-program {
  padding: 2.4rem 0;
  border-top: 1px solid #f2e8df;
  border-bottom: 1px solid #f2e8df;
  background: #ffffff;
}

.cst-ac-program-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.cst-ac-program-lead h2, .cst-ac-program-lead .h2 {
  margin: 0 0 0.45rem;
  font-family: var(--modern-font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #171422;
  line-height: 1.15;
}
.cst-ac-program-lead p {
  margin: 0;
  font-size: 0.84rem;
  color: #6b6478;
  line-height: 1.5;
}

.cst-ac-program-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.cst-ac-pillar h3, .cst-ac-pillar .h3 {
  margin: 0.65rem 0 0.3rem;
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #171422;
}
.cst-ac-pillar p {
  margin: 0;
  font-size: 0.8rem;
  color: #6b6478;
  line-height: 1.5;
}

.cst-ac-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 1.15rem;
}
.cst-ac-pillar-icon--0 {
  background: #ffe8db;
  color: #e25a21;
}
.cst-ac-pillar-icon--1 {
  background: #fef3c7;
  color: #b45309;
}
.cst-ac-pillar-icon--2 {
  background: #ede9fe;
  color: #5a347d;
}

.cst-ac-section {
  padding: 2.6rem 0;
}

.cst-ac-head {
  margin-bottom: 1.4rem;
}
.cst-ac-head--center {
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cst-ac-head h2, .cst-ac-head .h2 {
  margin: 0;
  font-family: var(--modern-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #171422;
  letter-spacing: -0.02em;
}
.cst-ac-head p {
  margin: 0.35rem 0 0;
  color: #6b6478;
  font-size: 0.88rem;
}

.cst-ac-cards4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.cst-ac-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease;
}
.cst-ac-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.cst-ac-card h3, .cst-ac-card .h3 {
  margin: 0.25rem 0 0;
  font-family: var(--modern-font-display);
  font-size: 0.94rem;
  font-weight: 800;
  color: #171422;
}
.cst-ac-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #6b6478;
  line-height: 1.48;
}

.cst-ac-card-art {
  position: relative;
  height: 148px;
  border-radius: 16px;
  border: 2px solid #171422;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cst-ac-card-art--coral {
  background: linear-gradient(135deg, #ff9966 0%, #ffd3a5 55%, #b993d6 100%);
}
.cst-ac-card-art--lilac {
  background: linear-gradient(135deg, #c7b8ff 0%, #f8d8c4 55%, #8ec5fc 100%);
}
.cst-ac-card-art--plum {
  background: linear-gradient(135deg, #a78bfa 0%, #f472b6 55%, #fde68a 100%);
}
.cst-ac-card-art--peach {
  background: linear-gradient(135deg, #fdba74 0%, #99f6e4 55%, #c4b5fd 100%);
}

.cst-ac-art-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid #171422;
  color: #171422;
  font-size: 1.65rem;
  box-shadow: 4px 4px 0 #171422;
}

.cst-ac-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  background: #171422;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
}

.cst-ac-catalog-box {
  padding: 2.2rem 1.8rem;
  border-radius: 26px;
  background: #f7f1ea;
  border: 1px solid #ede2d7;
}

.cst-ac-catpills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.cst-ac-catpill {
  padding: 0.38rem 0.9rem;
  border-radius: 9px;
  border: 1px solid #e6d7cb;
  background: #ffffff;
  color: #373046;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}
.cst-ac-catpill.is-active, .cst-ac-catpill:hover {
  background: #ff7338;
  border-color: #ff7338;
  color: #ffffff;
}

.cst-ac-map {
  position: relative;
  padding: 2.4rem 1.5rem;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #efe5dc;
  overflow: hidden;
}

.cst-ac-map-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.55;
}

.cst-ac-map-hub {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cst-ac-map-center {
  padding: 1.45rem 1.8rem;
  border-radius: 34px;
  background: #ff7338;
  color: #ffffff;
  text-align: center;
  max-width: 310px;
  box-shadow: 0 20px 38px -18px rgba(255, 115, 56, 0.7);
}
.cst-ac-map-center strong {
  display: block;
  font-family: var(--modern-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 0.45rem;
}
.cst-ac-map-center small, .cst-ac-map-center .small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
}

.cst-ac-map-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #ff7338;
  font-size: 1.25rem;
}

.cst-ac-map-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 12px 24px -14px rgba(23, 20, 34, 0.4);
}
.cst-ac-map-node--a {
  background: #f59e0b;
}
.cst-ac-map-node--b {
  background: #5a347d;
}
.cst-ac-map-node--c {
  background: #10b981;
}
.cst-ac-map-node--d {
  background: #3d5aff;
}

.cst-ac-cta-pillbox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2.1rem 2.8rem;
  border-radius: 999px;
  background: #5a347d;
  color: #ffffff;
  overflow: hidden;
}
.cst-ac-cta-pillbox::after {
  content: "";
  position: absolute;
  right: -25px;
  top: -35px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #ff7338;
  opacity: 0.92;
}

.cst-ac-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.cst-ac-cta-copy h2, .cst-ac-cta-copy .h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--modern-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
}
.cst-ac-cta-copy p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
}

.cst-ac-cta-white {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.45rem 0.45rem 1.35rem;
  border-radius: 999px;
  background: #ffffff;
  color: #171422;
  font-family: var(--modern-font-display);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.cst-ac-cta-white:hover {
  color: #5a347d;
  text-decoration: none;
}

.cst-ac-cta-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff7338;
  color: #ffffff;
}

.cst-ac-footer {
  padding: 2rem 0;
  border-top: 1px solid #efe5dc;
  background: #fffcf9;
}

.cst-ac-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #6b6478;
}
.cst-ac-footer-inner p {
  margin: 0.25rem 0 0;
}

.cst-ac-footer-brand {
  font-family: var(--modern-font-display);
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
  color: #171422;
}

.cst-ac-footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cst-ac-footer-contact a {
  color: #171422;
  text-decoration: none;
  font-weight: 700;
}

.cst-studio {
  background: #8fb3d6;
  padding: 1.65rem;
}

.cst-st-sheet {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.6rem 2.2rem 2.2rem;
  border-radius: 26px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 28px 60px -30px rgba(15, 23, 42, 0.35);
}

.cst-st-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #e2eaf4;
}

.cst-st-nav-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.cst-st-nav-left a {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}
.cst-st-nav-left a:hover {
  color: #2f98f4;
}

.cst-st-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.cst-st-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}
.cst-st-brand strong {
  color: #0f172a;
  font-family: var(--modern-font-display);
  font-size: 0.98rem;
  font-weight: 800;
}
.cst-st-brand:hover {
  text-decoration: none;
}

.cst-st-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}

.cst-st-link {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.cst-st-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
.cst-st-pill-outline:hover {
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
}

.cst-st-diag {
  transform: rotate(45deg);
  font-size: 0.72rem;
}

.cst-st-hero {
  position: relative;
  padding: 2.5rem 0 2.2rem;
  text-align: center;
}

.cst-st-sparkle {
  position: absolute;
  top: 1.2rem;
  right: 2.2rem;
  color: #2f98f4;
  font-size: 2.1rem;
}
.cst-st-sparkle--sm {
  position: static;
  display: inline-block;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.cst-st-headline {
  margin: 0 auto 1.4rem;
  max-width: 780px;
  color: #0f172a;
  font-family: var(--modern-font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.cst-st-arrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 40px;
  border-radius: 999px;
  background: #2f98f4;
  color: #0f172a;
  font-size: 1.25rem;
}

.cst-st-hero-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.cst-st-hero-metric span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
}
.cst-st-hero-metric strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
}

.cst-st-join {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}
.cst-st-join:hover {
  text-decoration: none;
}

.cst-st-join-text {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
}

.cst-st-join-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2f98f4;
  color: #0f172a;
}

.cst-st-pills5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.cst-st-pill-slot {
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #ffffff;
  position: relative;
}
.cst-st-pill-slot--0, .cst-st-pill-slot--4 {
  height: 155px;
  background: linear-gradient(180deg, #8aa7c4 0%, #6d8dad 100%);
}
.cst-st-pill-slot--1, .cst-st-pill-slot--3 {
  height: 225px;
  background: linear-gradient(180deg, #4b6cb7 0%, #5b78c7 100%);
}
.cst-st-pill-slot--2 {
  height: 280px;
  background: linear-gradient(180deg, #8ca8c4 0%, #59769d 100%);
}
.cst-st-pill-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cst-st-pill-slot small, .cst-st-pill-slot .small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  opacity: 0.92;
}

.cst-st-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  font-size: 1.55rem;
}

.cst-st-quick {
  margin-bottom: 1.6rem;
}

.cst-st-frame {
  margin-top: 1.4rem;
  padding: 2rem 1.85rem 1.4rem;
  border-radius: 28px;
  border: 1.5px solid #96b2d4;
  background: #ffffff;
}

.cst-st-frame-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.cst-st-frame-head h2, .cst-st-frame-head .h2 {
  margin: 0;
  color: #0f172a;
  font-family: var(--modern-font-display);
  font-size: 1.45rem;
  font-weight: 800;
}
.cst-st-frame-head p {
  margin: 0;
  max-width: 360px;
  text-align: right;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.cst-st-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.cst-st-tier {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1.5px solid #4a6cb7;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.cst-st-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -22px rgba(74, 108, 183, 0.55);
  text-decoration: none;
}
.cst-st-tier h3, .cst-st-tier .h3 {
  margin: 0;
  font-family: var(--modern-font-display);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.25;
}
.cst-st-tier p {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.5;
}
.cst-st-tier.is-featured {
  background: #4a6cb7;
  border-color: #4a6cb7;
  color: #ffffff;
}
.cst-st-tier.is-featured h3, .cst-st-tier.is-featured .h3 {
  color: #ffffff;
}
.cst-st-tier.is-featured p {
  color: rgba(255, 255, 255, 0.9);
}
.cst-st-tier.is-featured .cst-st-tier-hr {
  border-top-color: rgba(255, 255, 255, 0.32);
}
.cst-st-tier.is-featured .cst-st-tier-arrow {
  background: #7aa3de;
  color: #0f172a;
}
.cst-st-tier.is-featured .cst-st-tier-art {
  background: #2f98f4;
}

.cst-st-tier-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.cst-st-tier-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #4a6cb7;
  color: #ffffff;
}

.cst-st-tier-hr {
  margin: 0.85rem 0;
  border: 0;
  border-top: 1px solid #cbd5e1;
}

.cst-st-tier-art {
  margin-top: auto;
  height: 112px;
  border-radius: 16px;
  background: #8aa7c4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #ffffff;
}

.cst-st-tier-art-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 1.45rem;
}

.cst-st-tier-badge {
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.25);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
}

.cst-st-quote {
  padding: 2.4rem 1rem 1.8rem;
  text-align: center;
}
.cst-st-quote blockquote {
  margin: 0 auto;
  max-width: 620px;
  font-family: var(--modern-font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  border: 0;
  padding: 0;
}
.cst-st-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.cst-st-quote-pill {
  display: inline-block;
  padding: 0.04rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid #0f172a;
}

.cst-st-quote-accent {
  color: #4a6cb7;
}

.cst-st-footer {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: #64748b;
}

.cst-st-footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cst-st-footer-right a {
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}

.cst-st-blog {
  margin-top: 1.8rem;
}
.cst-st-blog > h3, .cst-st-blog > .h3 {
  margin: 0 0 1rem;
  font-family: var(--modern-font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.cst-vivid {
  background: #ffffff;
  color: #161038;
}

.cst-vv-nav {
  background: #ffffff;
  border-bottom: 1px solid #eef0fb;
}

.cst-vv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.cst-vv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.cst-vv-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
}
.cst-vv-brand strong {
  color: #6355e8;
  font-family: var(--modern-font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cst-vv-brand:hover {
  text-decoration: none;
}

.cst-vv-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}
.cst-vv-links a {
  color: #3f3b5c;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.cst-vv-links a:hover {
  color: #6355e8;
}

.cst-vv-nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cst-vv-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #161038;
}

.cst-vv-phone-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6355e8;
  color: #ffffff;
  font-size: 0.72rem;
}

.cst-vv-edit-link {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #f1effe;
  color: #6355e8;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.cst-vv-hero-wrap {
  padding: 1.6rem 0 1.2rem;
}

.cst-vv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2rem;
  align-items: center;
  padding: 2.6rem 2.8rem;
  border-radius: 30px;
  background: linear-gradient(135deg, #6355e8 0%, #7c6df2 100%);
  color: #ffffff;
  box-shadow: 0 24px 48px -24px rgba(99, 85, 232, 0.65);
}

.cst-vv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cst-vv-hero-copy h1, .cst-vv-hero-copy .h1 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: var(--modern-font-display);
  font-size: clamp(1.75rem, 3.3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.cst-vv-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.cst-vv-bullets strong {
  color: #ffe047;
  font-size: 1rem;
  margin-right: 2px;
}

.cst-vv-yellow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: #ffe047;
  color: #161038 !important;
  font-family: var(--modern-font-display);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 24px -12px rgba(22, 16, 56, 0.5);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cst-vv-yellow-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  text-decoration: none;
}
.cst-vv-yellow-btn--full {
  width: 100%;
}

.cst-vv-hero-visual {
  display: flex;
  justify-content: center;
}

.cst-vv-hero-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 22px;
  border: 4px solid rgba(255, 255, 255, 0.25);
}

.cst-vv-mascot-card {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cst-vv-mascot-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.cst-vv-bubble {
  position: absolute;
  top: -12px;
  right: -18px;
  padding: 0.45rem 0.85rem;
  border-radius: 16px;
  background: #ffffff;
  color: #161038;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 12px 24px -12px rgba(22, 16, 56, 0.4);
}

.cst-vv-section {
  padding: 2.3rem 0;
}

.cst-vv-heading {
  margin: 0 auto 1.6rem;
  max-width: 680px;
  text-align: center;
  color: #161038;
  font-family: var(--modern-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.cst-vv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cst-vv-benefit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.45rem;
  border-radius: 22px;
  background: #f5f5fc;
  border: 1px solid #e6e7f7;
}

.cst-vv-benefit-copy {
  flex: 1;
  min-width: 0;
}
.cst-vv-benefit-copy p {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: #555270;
  line-height: 1.5;
}

.cst-vv-benefit-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cst-vv-benefit-title h3, .cst-vv-benefit-title .h3 {
  margin: 0;
  color: #161038;
  font-family: var(--modern-font-display);
  font-size: 0.96rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cst-vv-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #e4e2fc;
  color: #6355e8;
  font-family: var(--modern-font-display);
  font-size: 0.84rem;
  font-weight: 900;
}

.cst-vv-benefit-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 18px;
  font-size: 1.7rem;
  color: #ffffff;
}
.cst-vv-benefit-art--0 {
  background: linear-gradient(135deg, #6355e8, #8c7cf7);
}
.cst-vv-benefit-art--1 {
  background: linear-gradient(135deg, #5cb860, #8fd478);
}
.cst-vv-benefit-art--2 {
  background: linear-gradient(135deg, #f27449, #ff9d76);
}
.cst-vv-benefit-art--3 {
  background: linear-gradient(135deg, #a155b9, #cb7be0);
}

.cst-vv-trophy-bar {
  margin-top: 1rem;
  padding: 1.1rem 1.45rem;
  border-radius: 20px;
  background: #f5f5fc;
  border: 1px solid #e6e7f7;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.cst-vv-trophy-bar strong {
  color: #161038;
  font-family: var(--modern-font-display);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}
.cst-vv-trophy-bar p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 0.84rem;
  color: #555270;
}

.cst-vv-trophy-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #ffe047;
  color: #161038;
  font-size: 1.25rem;
}

.cst-vv-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.cst-vv-prog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 1rem;
  padding: 1.5rem 1.55rem;
  border-radius: 26px;
  color: #ffffff;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 18px 34px -22px rgba(22, 16, 56, 0.4);
}
.cst-vv-prog-card--purple {
  background: linear-gradient(135deg, #7462f0 0%, #5e4be0 100%);
}
.cst-vv-prog-card--coral {
  background: linear-gradient(135deg, #f47a4d 0%, #e55c35 100%);
}
.cst-vv-prog-card--green {
  background: linear-gradient(135deg, #62bd66 0%, #48a24f 100%);
}
.cst-vv-prog-card--orchid {
  background: linear-gradient(135deg, #a85cc0 0%, #8c3fa8 100%);
}
.cst-vv-prog-card h3, .cst-vv-prog-card .h3 {
  margin: 0.65rem 0 0.45rem;
  color: #ffffff;
  font-family: var(--modern-font-display);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}
.cst-vv-prog-card p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cst-vv-prog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cst-vv-prog-tags span {
  padding: 0.16rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cst-vv-prog-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cst-vv-price-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  background: #ffffff;
  color: #161038;
  font-family: var(--modern-font-display);
  font-size: 0.8rem;
  font-weight: 900;
}

.cst-vv-prog-more {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cst-vv-prog-more:hover {
  color: #ffe047;
  text-decoration: none;
}

.cst-vv-prog-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 2.5rem;
  color: #ffffff;
  justify-self: center;
}

.cst-vv-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.8rem;
  align-items: center;
  padding: 2.2rem 2.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #6355e8 0%, #7d6ef2 100%);
  color: #ffffff;
}

.cst-vv-cta-copy h2, .cst-vv-cta-copy .h2 {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-family: var(--modern-font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 900;
  text-transform: uppercase;
}
.cst-vv-cta-copy p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cst-vv-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffe047;
}

.cst-vv-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cst-vv-cta-pillinfo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  background: #ffffff;
  color: #161038;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.cst-vv-cta-pillinfo i {
  color: #6355e8;
}

.cst-vv-footer {
  padding: 1.6rem 0;
  border-top: 1px solid #eef0fb;
  background: #ffffff;
}

.cst-vv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}
.cst-vv-footer-inner strong {
  color: #6355e8;
  font-weight: 900;
}

:root[data-modern-theme=dark] .cst-gallery-box,
:root[data-modern-theme=dark] .cst-tpl-card,
:root[data-modern-theme=dark] .cst-picker-box {
  background: #0b0624;
  border-color: rgba(158, 180, 255, 0.24);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cst-gallery-head strong,
:root[data-modern-theme=dark] .cst-tpl-body h3,
:root[data-modern-theme=dark] .cst-tpl-body .h3,
:root[data-modern-theme=dark] .cst-picker-top strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .cst-tpl-tag,
:root[data-modern-theme=dark] .cst-picker-preset {
  color: #9eb4ff;
}

@media (max-width: 1199px) {
  .cst-gallery-grid,
  .cst-picker-grid,
  .cst-ac-cards4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cst-ac-program-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .cst-gallery-grid,
  .cst-picker-grid,
  .cst-ac-hero-grid,
  .cst-ac-program-items,
  .cst-ac-cards4,
  .cst-st-tier-grid,
  .cst-vv-hero,
  .cst-vv-bullets,
  .cst-vv-benefits-grid,
  .cst-vv-programs-grid,
  .cst-vv-cta-card {
    grid-template-columns: 1fr;
  }
  .cst-st-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cst-st-nav-left,
  .cst-st-nav-right {
    justify-content: center;
  }
  .cst-st-pills5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cst-st-pills5 .cst-st-pill-slot--0,
  .cst-st-pills5 .cst-st-pill-slot--4 {
    display: none;
  }
  .cst-ac-cta-pillbox {
    border-radius: 28px;
    padding: 1.65rem;
  }
  .cst-studio {
    padding: 0.75rem;
  }
  .cst-st-sheet {
    padding: 1.2rem;
  }
}
.landing-stat--link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.landing-stat--link:hover, .landing-stat--link:focus {
  text-decoration: none;
  color: inherit;
  border-color: rgba(61, 90, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -20px rgba(61, 90, 255, 0.45);
}

.lf-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.lf-card {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--modern-border);
  border-top: 4px solid var(--lf-accent, #3d5aff);
  border-radius: 18px;
  background: var(--modern-surface);
  box-shadow: 0 16px 34px -28px rgba(5, 0, 26, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -28px rgba(5, 0, 26, 0.42);
}

.lf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.lf-card-crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.71rem;
  font-weight: 800;
}

.lf-card-title {
  margin: 0;
  color: var(--modern-ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
}

.lf-card-headline {
  margin: -0.25rem 0 0;
  color: var(--modern-ink-muted);
  font-size: 0.81rem;
  line-height: 1.4;
}

.lf-card-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}
.lf-card-fields span {
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
  color: var(--modern-ink-soft);
  font-size: 0.69rem;
  font-weight: 700;
}
.lf-card-fields span.is-more {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
}

.lf-metric-leads {
  color: #15803d !important;
  font-weight: 700;
}
.lf-metric-leads strong {
  font-weight: 900;
}

.lf-fields-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--modern-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--modern-surface);
}

.lf-fields-head,
.lf-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) 96px 104px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
}

.lf-fields-head {
  background: var(--modern-surface-muted);
  border-bottom: 1px solid var(--modern-border);
  color: var(--modern-ink-muted);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lf-field-row {
  border-bottom: 1px solid var(--modern-border);
}
.lf-field-row:last-child {
  border-bottom: 0;
}

.lf-field-info {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  min-width: 0;
}
.lf-field-info strong {
  display: block;
  color: var(--modern-ink);
  font-size: 0.85rem;
  font-weight: 800;
}
.lf-field-info small, .lf-field-info .small {
  display: block;
  color: var(--modern-ink-muted);
  font-size: 0.73rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lf-field-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
  color: #3d5aff;
  font-size: 0.9rem;
}

.lf-field-map span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
}

.lf-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  color: var(--modern-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.lf-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #3d5aff;
  margin: 0;
}

.cs-lead-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 55%, #f8fafd 100%);
  color: #05001a;
}
.cs-lead-page.is-embed {
  min-height: auto;
  background: transparent;
}
.cs-lead-page.is-embed .cs-lead-page-main {
  padding: 0;
}
.cs-lead-page.is-embed .cs-container {
  max-width: 100%;
  padding: 0;
}

.cs-lead-page-nav {
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(5, 0, 26, 0.07);
  backdrop-filter: blur(8px);
}

.cs-lead-page-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cs-lead-page-main {
  padding: 2.8rem 0 3.5rem;
}

.cs-lead-wrap {
  --lf-accent: #3d5aff;
}

.cs-lead-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 2.2rem;
  align-items: center;
  padding: 2.4rem 2.5rem;
  border-radius: 26px;
  background: linear-gradient(135deg, #05001a 0%, #19246c 100%);
  color: #fffaf5;
  box-shadow: 0 30px 64px -34px rgba(5, 0, 26, 0.55);
}

.cs-lead-wrap.is-embed .cs-lead-shell {
  grid-template-columns: 1fr;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.cs-lead-wrap--academy .cs-lead-shell {
  background: linear-gradient(135deg, #4b2d82 0%, #371f66 100%);
}

.cs-lead-wrap--vivid .cs-lead-shell {
  background: linear-gradient(135deg, #6355e8 0%, #4e3fd6 100%);
}

.cs-lead-wrap--studio .cs-lead-shell {
  background: linear-gradient(135deg, #eff6ff 0%, #e0eeff 100%);
  border: 1.5px solid #cbdcf3;
  color: #0f172a;
  box-shadow: none;
}
.cs-lead-wrap--studio .cs-lead-shell .cs-lead-eyebrow {
  background: #ffffff;
  color: #2563eb;
}
.cs-lead-wrap--studio .cs-lead-shell h2, .cs-lead-wrap--studio .cs-lead-shell .h2 {
  color: #0f172a;
}
.cs-lead-wrap--studio .cs-lead-shell .cs-lead-desc,
.cs-lead-wrap--studio .cs-lead-shell .cs-lead-trust li,
.cs-lead-wrap--studio .cs-lead-shell .cs-lead-contacts a,
.cs-lead-wrap--studio .cs-lead-shell .cs-lead-contacts span {
  color: #334155;
}
.cs-lead-wrap--studio .cs-lead-shell .cs-lead-trust i {
  color: #2563eb;
}

.cst-st-lead-box {
  margin: 1.8rem 0 1.2rem;
}

.cs-lead-pitch {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cs-lead-pitch h2, .cs-lead-pitch .h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--modern-font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.cs-lead-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fffaf5;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cs-lead-desc {
  margin: 0;
  color: rgba(255, 250, 245, 0.86);
  font-size: 0.94rem;
  line-height: 1.55;
}

.cs-lead-trust {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cs-lead-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 250, 245, 0.92);
  font-size: 0.85rem;
  font-weight: 600;
}
.cs-lead-trust i {
  color: #d0ff00;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.cs-lead-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 700;
}
.cs-lead-contacts a,
.cs-lead-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 250, 245, 0.9);
  text-decoration: none;
}

.cs-lead-card {
  padding: 1.65rem 1.75rem;
  border-radius: 20px;
  background: #ffffff;
  color: #05001a;
  box-shadow: 0 24px 48px -28px rgba(5, 0, 26, 0.42);
}

.cs-lead-embed-head {
  margin-bottom: 1rem;
}
.cs-lead-embed-head h2, .cs-lead-embed-head .h2 {
  margin: 0 0 0.25rem;
  color: #05001a;
  font-size: 1.25rem;
  font-weight: 800;
}
.cs-lead-embed-head p {
  margin: 0;
  color: #5f7190;
  font-size: 0.84rem;
}

.cs-lead-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.82rem;
  font-weight: 700;
}
.cs-lead-alert[hidden] {
  display: none !important;
}

.cs-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.cs-lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
.cs-lead-field--full {
  grid-column: 1/-1;
}
.cs-lead-field label {
  margin: 0;
  color: #1e293b;
  font-size: 0.77rem;
  font-weight: 800;
}
.cs-lead-field label em {
  color: #dc2626;
  font-style: normal;
}
.cs-lead-field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid #dbe4f3;
  border-radius: 12px;
  background: #f8fafd;
  color: #05001a;
  font-size: 0.86rem;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.cs-lead-field textarea:focus {
  border-color: var(--lf-accent, #3d5aff);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.12);
}
.cs-lead-field.has-error .cs-lead-input,
.cs-lead-field.has-error textarea {
  border-color: #dc2626;
  background: #fff8f8;
}

.cs-lead-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 42px;
  padding: 0 0.78rem;
  border: 1.5px solid #dbe4f3;
  border-radius: 12px;
  background: #f8fafd;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.cs-lead-input i {
  color: #94a3b8;
  font-size: 0.86rem;
  flex: 0 0 auto;
}
.cs-lead-input input,
.cs-lead-input select {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: #05001a;
  font-size: 0.86rem;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}
.cs-lead-input input::placeholder,
.cs-lead-input select::placeholder {
  color: #94a3b8;
}
.cs-lead-input:focus-within {
  border-color: var(--lf-accent, #3d5aff);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.12);
}
.cs-lead-input:focus-within i {
  color: var(--lf-accent, #3d5aff);
}

.cs-lead-field-err {
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 700;
}
.cs-lead-field-err[hidden] {
  display: none !important;
}

.cs-lead-lgpd {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  margin: 0.9rem 0 0.25rem;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.cs-lead-lgpd input {
  width: 16px;
  height: 16px;
  margin-top: 0.12rem;
  flex: 0 0 16px;
  accent-color: var(--lf-accent, #3d5aff);
}
.cs-lead-lgpd em {
  color: #dc2626;
  font-style: normal;
}

.cs-lead-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  height: 46px;
  margin-top: 0.9rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 13px;
  background: var(--lf-accent, #3d5aff);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 26px -14px rgba(5, 0, 26, 0.55);
  transition: transform 0.14s ease, filter 0.14s ease, opacity 0.14s ease;
}
.cs-lead-submit:hover, .cs-lead-submit:focus-visible {
  filter: brightness(1.07);
  transform: translateY(-1px);
  outline: none;
}
.cs-lead-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.cs-lead-wrap--vivid .cs-lead-submit {
  background: #facc15;
  color: #05001a;
  box-shadow: 0 14px 26px -14px rgba(5, 0, 26, 0.45);
}

.cs-lead-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.8rem 1rem;
}
.cs-lead-done[hidden] {
  display: none !important;
}
.cs-lead-done h3, .cs-lead-done .h3 {
  margin: 0;
  color: #05001a;
  font-size: 1.25rem;
  font-weight: 800;
}
.cs-lead-done p {
  margin: 0;
  max-width: 380px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cs-lead-done-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.55rem;
}

.cs-lead-reset-btn {
  margin-top: 0.45rem;
  padding: 0.48rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.cs-lead-reset-btn:hover {
  background: #eef2ff;
  border-color: #3d5aff;
  color: #3248c7;
}

.cs-lead-form[hidden] {
  display: none !important;
}

:root[data-modern-theme=dark] .lf-card {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.14);
  border-top-color: var(--lf-accent, #3d5aff);
}
:root[data-modern-theme=dark] .lf-card-crm-badge {
  background: rgba(61, 90, 255, 0.25);
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lf-card-fields span {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.14);
  color: rgba(255, 250, 245, 0.84);
}
:root[data-modern-theme=dark] .lf-card-fields span.is-more {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .lf-metric-leads {
  color: #4ade80 !important;
}
:root[data-modern-theme=dark] .lf-fields-table {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.14);
}
:root[data-modern-theme=dark] .lf-fields-head {
  background: #151038;
  border-bottom-color: rgba(255, 250, 245, 0.12);
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .lf-field-row {
  border-bottom-color: rgba(255, 250, 245, 0.1);
}
:root[data-modern-theme=dark] .lf-field-ico {
  background: rgba(61, 90, 255, 0.22);
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .lf-field-map span {
  background: rgba(22, 163, 74, 0.22);
  color: #86efac;
}

@media (max-width: 1100px) {
  .lf-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-lead-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.65rem;
  }
}
@media (max-width: 767px) {
  .lf-cards-grid,
  .cs-lead-grid {
    grid-template-columns: 1fr;
  }
  .lf-fields-head {
    display: none;
  }
  .lf-field-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .cs-lead-card {
    padding: 1.25rem;
  }
}
.crm-layout {
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  body:has(.crm-page) #layout-content > .container {
    max-width: 1460px;
  }
}
.crm-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.crm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.85rem 2rem;
  border: 1px solid rgba(5, 0, 26, 0.09);
  border-radius: var(--modern-radius-xl);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.14), transparent 62%), linear-gradient(135deg, #ffffff 0%, #fffdf9 62%, #fffaf5 100%);
  box-shadow: var(--modern-shadow-card);
}

.crm-hero-copy {
  max-width: 680px;
}
.crm-hero-copy h1, .crm-hero-copy .h1 {
  margin: 0.35rem 0 0.45rem;
  color: var(--modern-ink);
  font-family: var(--modern-font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.crm-hero-copy p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.crm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.crm-stat-icon--warn {
  background: #fef3c7 !important;
  color: #b45309 !important;
}

.crm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
}

.crm-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
}
.crm-filter-form select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--modern-border-strong);
  border-radius: 12px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.crm-search-input {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  flex: 1 1 220px;
  max-width: 340px;
  padding: 0 0.8rem;
  border: 1px solid var(--modern-border-strong);
  border-radius: 12px;
  background: var(--modern-surface-muted);
}
.crm-search-input i {
  color: var(--modern-ink-muted);
  font-size: 0.85rem;
}
.crm-search-input input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  color: var(--modern-ink);
  font-size: 0.84rem;
}
.crm-search-input input:focus {
  outline: none;
}

.crm-filter-btn {
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: 12px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.crm-filter-btn:hover {
  background: #3d5aff;
}

.crm-clear-btn {
  color: #3d5aff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.35rem;
}

.crm-view-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 13px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}

.crm-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.82rem;
  border-radius: 10px;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.crm-view-btn.is-active {
  background: #3d5aff;
  color: #fffaf5;
}

.crm-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(235px, 1fr));
  gap: 0.95rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.crm-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 22px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--modern-shadow-card);
  min-height: 360px;
}

.crm-column-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--modern-border);
}

.crm-column-title {
  display: flex;
  align-items: center;
  gap: 0.48rem;
}
.crm-column-title h2, .crm-column-title .h2 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--modern-ink);
}

.crm-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.crm-column-count {
  margin-left: auto;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.crm-column-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
}
.crm-column-sub a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  text-decoration: none;
}
.crm-column-sub a:hover {
  background: #3d5aff;
  color: #fffaf5;
}

.crm-column-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.crm-column-empty {
  padding: 1.5rem 0.75rem;
  text-align: center;
  color: var(--modern-ink-faint);
  font-size: 0.8rem;
  font-weight: 600;
}

.crm-card {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: 0 10px 24px -18px rgba(5, 0, 26, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.crm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -18px rgba(5, 0, 26, 0.42);
}

.crm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.crm-type-pill {
  display: inline-flex;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}
.crm-type-pill.is-business {
  background: rgba(61, 90, 255, 0.12);
  color: #3248c7;
}
.crm-type-pill.is-personal {
  background: #d0ff00;
  color: #05001a;
}

.crm-card-value {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--modern-ink);
}

.crm-card-name {
  font-family: var(--modern-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--modern-ink);
  text-decoration: none;
}
.crm-card-name:hover {
  color: #3d5aff;
}

.crm-card-company {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--modern-ink-muted);
}

.crm-card-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.74rem;
  color: var(--modern-ink-muted);
  font-weight: 600;
}
.crm-card-contact .is-overdue {
  color: #dc2626;
  font-weight: 800;
}

.crm-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.crm-card-tags span {
  padding: 0.12rem 0.45rem;
  border-radius: 7px;
  background: var(--modern-surface-muted);
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.crm-card-foot {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.45rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--modern-border);
}

.crm-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface-muted);
  color: var(--modern-ink-soft);
  text-decoration: none;
  font-size: 0.78rem;
}
.crm-mini-btn:hover {
  border-color: #3d5aff;
  color: #3d5aff;
}
.crm-mini-btn.is-wa {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}
.crm-mini-btn.is-wa:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.crm-advance-form {
  margin-left: auto;
}

.crm-advance-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.62rem;
  border: 0;
  border-radius: 8px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.crm-advance-btn:hover {
  background: #3d5aff;
}

.crm-table-card {
  border-radius: 24px;
  border: 1px solid rgba(5, 0, 26, 0.09);
  background: var(--modern-surface);
  box-shadow: var(--modern-shadow-card);
  overflow: hidden;
}

.crm-table-wrap {
  overflow-x: auto;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.crm-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--modern-ink-muted);
  border-bottom: 1px solid var(--modern-border);
  background: var(--modern-surface-muted);
}
.crm-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--modern-border);
  vertical-align: middle;
  font-size: 0.85rem;
  color: var(--modern-ink-soft);
}
.crm-table tr:hover td {
  background: rgba(61, 90, 255, 0.03);
}

.crm-table-client {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--modern-ink);
}
.crm-table-client strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}
.crm-table-client small, .crm-table-client .small {
  display: block;
  font-size: 0.76rem;
  color: var(--modern-ink-muted);
}

.crm-avatar-sm,
.crm-avatar-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 70%, #3d5aff 100%);
  color: #fffaf5;
  font-family: var(--modern-font-display);
  font-weight: 800;
  flex-shrink: 0;
}

.crm-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.82rem;
}

.crm-avatar-lg {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.35rem;
}

.crm-stage-badge {
  display: inline-flex;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  border: 1.5px solid #3d5aff;
  font-size: 0.74rem;
  font-weight: 800;
}

.crm-followup-date.is-overdue {
  color: #dc2626;
  font-weight: 800;
}

.crm-row-actions {
  display: flex;
  gap: 0.35rem;
}

.crm-view-title-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 0.55rem;
}
.crm-view-title-row h1, .crm-view-title-row .h1 {
  margin: 0.2rem 0 0.15rem;
  font-size: 1.6rem;
}
.crm-view-title-row p {
  margin: 0;
  color: var(--modern-ink-muted);
  font-size: 0.88rem;
}

.crm-view-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.crm-value-pill {
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.72rem;
  font-weight: 800;
}

.crm-btn-wa {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.crm-btn-danger:hover {
  border-color: #dc2626 !important;
  color: #dc2626 !important;
}

.crm-stage-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.crm-stage-step {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 0.6rem;
  border-radius: 14px;
  border: 1.5px solid rgba(5, 0, 26, 0.1);
  background: var(--modern-surface);
  color: var(--modern-ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--modern-shadow-xs);
}
.crm-stage-step:hover {
  border-color: var(--stage-color, #3d5aff);
  color: var(--stage-color, #3d5aff);
}
.crm-stage-step.is-current {
  background: var(--stage-color, #3d5aff);
  border-color: var(--stage-color, #3d5aff);
  color: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(5, 0, 26, 0.55);
}

.crm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 1.25rem;
  align-items: start;
}

.crm-info-card h2, .crm-info-card .h2,
.crm-timeline-card h2,
.crm-timeline-card .h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.crm-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.crm-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--modern-border);
}
.crm-dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--modern-ink-muted);
  flex-shrink: 0;
}
.crm-dl dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--modern-ink);
  text-align: right;
  word-break: break-word;
}
.crm-dl dd.is-overdue {
  color: #dc2626;
}

.crm-info-tags,
.crm-info-notes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.crm-info-tags strong,
.crm-info-notes strong {
  font-size: 0.78rem;
  color: var(--modern-ink-muted);
}
.crm-info-tags p,
.crm-info-notes p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--modern-ink-soft);
}

.crm-note-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.9rem;
  border-radius: 16px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
}
.crm-note-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface);
  color: var(--modern-ink);
  font-size: 0.86rem;
}

.crm-note-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.crm-note-row select {
  padding: 0.42rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--modern-border-strong);
  background: var(--modern-surface);
  color: var(--modern-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.crm-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.crm-timeline-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 15px;
  border: 1px solid var(--modern-border);
  background: var(--modern-surface-muted);
}

.crm-timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(61, 90, 255, 0.12);
  color: #3d5aff;
}

.crm-timeline-item.is-type-whatsapp .crm-timeline-icon {
  background: #dcfce7;
  color: #15803d;
}

.crm-timeline-item.is-type-stage .crm-timeline-icon {
  background: #d0ff00;
  color: #05001a;
}

.crm-timeline-body {
  flex: 1;
  min-width: 0;
}
.crm-timeline-body p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--modern-ink-soft);
}

.crm-timeline-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.crm-timeline-head strong {
  font-size: 0.82rem;
  color: var(--modern-ink);
}
.crm-timeline-head span {
  font-size: 0.74rem;
  color: var(--modern-ink-muted);
}

.crm-timeline-del {
  margin-left: auto;
  color: var(--modern-ink-faint);
  text-decoration: none;
}
.crm-timeline-del:hover {
  color: #dc2626;
}

.crm-form-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

:root[data-modern-theme=dark] .crm-hero {
  border-color: rgba(255, 250, 245, 0.16);
  background: radial-gradient(620px 260px at 100% 0%, rgba(208, 255, 0, 0.2), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(61, 90, 255, 0.36), transparent 62%), linear-gradient(135deg, #05001a 0%, #0e0930 62%, #151042 100%);
}
:root[data-modern-theme=dark] .crm-toolbar,
:root[data-modern-theme=dark] .crm-column,
:root[data-modern-theme=dark] .crm-card,
:root[data-modern-theme=dark] .crm-table-card,
:root[data-modern-theme=dark] .crm-stage-step:not(.is-current) {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.15);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .crm-card {
  background: #130e36;
}
:root[data-modern-theme=dark] .crm-table th {
  background: #151038;
  color: rgba(255, 250, 245, 0.72);
}
:root[data-modern-theme=dark] .crm-table td,
:root[data-modern-theme=dark] .crm-table-client,
:root[data-modern-theme=dark] .crm-card-name,
:root[data-modern-theme=dark] .crm-card-value,
:root[data-modern-theme=dark] .crm-dl dd {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .crm-type-pill.is-business {
  background: rgba(61, 90, 255, 0.32);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .crm-filter-btn,
:root[data-modern-theme=dark] .crm-advance-btn {
  background: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .crm-mini-btn:not(.is-wa),
:root[data-modern-theme=dark] .crm-note-form,
:root[data-modern-theme=dark] .crm-timeline-item {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}

@media (max-width: 1199px) {
  .crm-stage-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .crm-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .crm-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .crm-stage-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body:has(.wm-page.has-accounts) main#main-content {
  padding-top: 0;
  padding-bottom: 0;
}

.wm-page {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem 1.05rem 0.9rem;
  box-sizing: border-box;
}
.wm-page.has-accounts {
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
}

.wm-toast[hidden],
.wm-modal[hidden],
.wm-compose-alert[hidden],
.wm-compose-cc-group[hidden],
.wm-attach-clear[hidden],
.wm-test-result[hidden],
[data-wm-hint-link][hidden] {
  display: none !important;
}

.wm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px -22px rgba(5, 0, 26, 0.32);
  flex-shrink: 0;
}

.wm-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  min-width: 0;
}

.wm-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.92rem;
  border-radius: 11px;
  background: #05001a;
  color: #fffaf5;
  font-size: 0.84rem;
  font-weight: 800;
}
.wm-brand-pill i {
  color: #d0ff00;
}

.wm-acc-switcher {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  flex-wrap: wrap;
}

.wm-acc-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.8rem;
  border-radius: 11px;
  border: 1px solid transparent;
  color: #40567a;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.wm-acc-tab:hover, .wm-acc-tab:focus {
  background: #f2f6ff;
  color: #05001a;
  text-decoration: none;
}
.wm-acc-tab.is-active {
  background: #eef3ff;
  border-color: rgba(61, 90, 255, 0.24);
  color: #3248c7;
  font-weight: 800;
}

.wm-acc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 9px;
  display: inline-block;
}

.wm-acc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #3d5aff;
  color: #ffffff;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
}

.wm-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.wm-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.82rem;
  border: 1px solid #e2ebfa;
  border-radius: 11px;
  background: #f8fbff;
  color: #3248c7;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.wm-top-btn:hover, .wm-top-btn:focus {
  background: #eef4ff;
  color: #05001a;
  text-decoration: none;
}
.wm-top-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.wm-compose-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(61, 90, 255, 0.82);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.wm-compose-btn:hover, .wm-compose-btn:focus {
  color: #ffffff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  text-decoration: none;
}

.wm-toast,
.wm-inline-flash {
  padding: 0.58rem 0.95rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.wm-toast.is-err,
.wm-inline-flash.is-err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.wm-onboarding-card {
  max-width: 1040px;
  width: 100%;
  margin: 1rem auto 2.5rem;
  padding: 2.2rem 2.3rem;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 60px -38px rgba(5, 0, 26, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.wm-onboarding-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.wm-onboarding-head h1, .wm-onboarding-head .h1 {
  margin: 0.7rem 0 0.4rem;
  color: #05001a;
  font-family: var(--modern-font-display);
  font-size: 1.65rem;
  font-weight: 800;
}
.wm-onboarding-head p {
  margin: 0;
  color: #5f7190;
  font-size: 0.92rem;
  line-height: 1.55;
}

.wm-onboarding-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3d5aff 0%, #05001a 100%);
  color: #fffaf5;
  font-size: 1.6rem;
  box-shadow: 0 18px 34px -18px rgba(61, 90, 255, 0.75);
}

.wm-onboarding-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f8;
  color: #5f7190;
  font-size: 0.8rem;
  font-weight: 700;
}
.wm-onboarding-trust i {
  color: #3d5aff;
  margin-right: 0.3rem;
}

.wm-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.wm-provider-card {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  padding: 0.95rem 1.05rem;
  border: 1.5px solid #e6ecf7;
  border-radius: 16px;
  background: #ffffff;
  color: #05001a;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.wm-provider-card:hover, .wm-provider-card:focus {
  border-color: var(--wm-p-color, #3d5aff);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -24px rgba(5, 0, 26, 0.38);
  color: #05001a;
  text-decoration: none;
}
.wm-provider-card:hover .wm-provider-arrow, .wm-provider-card:focus .wm-provider-arrow {
  transform: translateX(3px);
  color: var(--wm-p-color, #3d5aff);
}

.wm-provider-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wm-p-color, #3d5aff);
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 10px 20px -12px var(--wm-p-color, #3d5aff);
}

.wm-provider-copy {
  flex: 1;
  min-width: 0;
}
.wm-provider-copy strong {
  display: block;
  color: #05001a;
  font-size: 0.9rem;
  font-weight: 800;
}
.wm-provider-copy small, .wm-provider-copy .small {
  display: block;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-provider-arrow {
  color: #94a3b8;
  font-size: 1.05rem;
  transition: transform 0.15s ease, color 0.15s ease;
}

.wm-shell {
  display: grid;
  grid-template-columns: 248px 360px minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(5, 0, 26, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 64px -40px rgba(5, 0, 26, 0.42);
  overflow: hidden;
}

.wm-folders {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 0.8rem;
  border-right: 1px solid #eef2f8;
  background: #fbfcff;
  overflow-y: auto;
}

.wm-compose-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 26px -14px rgba(61, 90, 255, 0.85);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.wm-compose-block:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.wm-folder-nav {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.wm-folder-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.78rem;
  border-radius: 12px;
  color: #40567a;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}
.wm-folder-item i {
  width: 18px;
  text-align: center;
  font-size: 0.94rem;
}
.wm-folder-item span {
  flex: 1;
}
.wm-folder-item:hover, .wm-folder-item:focus {
  background: #eef3ff;
  color: #05001a;
  text-decoration: none;
}
.wm-folder-item.is-active {
  background: #e9f0ff;
  color: #3248c7;
  font-weight: 800;
}

.wm-folder-count {
  font-size: 0.71rem;
  font-weight: 800;
  color: #64748b;
}
.wm-folder-count.is-unread {
  padding: 0.1rem 0.48rem;
  border-radius: 999px;
  background: #3d5aff;
  color: #ffffff;
}

.wm-rail-accounts {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #e7edf8;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.wm-rail-accounts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.45rem 0.2rem;
}
.wm-rail-accounts-head span {
  color: #7c8daa;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wm-rail-accounts-head a {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f0ff;
  color: #3d5aff;
  font-size: 0.72rem;
  text-decoration: none;
}
.wm-rail-accounts-head a:hover {
  background: #3d5aff;
  color: #ffffff;
}

.wm-rail-acc-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 11px;
}
.wm-rail-acc-row:hover, .wm-rail-acc-row.is-active {
  background: #eef3ff;
}

.wm-rail-acc-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.wm-rail-acc-link:hover {
  text-decoration: none;
}

.wm-rail-acc-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wm-rail-acc-copy strong {
  color: #05001a;
  font-size: 0.76rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wm-rail-acc-copy small, .wm-rail-acc-copy .small {
  color: #64748b;
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-rail-acc-edit {
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 0.25rem;
}
.wm-rail-acc-edit:hover {
  color: #3d5aff;
}

.wm-list-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid #eef2f8;
  background: #ffffff;
}

.wm-list-head {
  padding: 0.82rem 0.85rem 0.65rem;
  border-bottom: 1px solid #eef2f8;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wm-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.48rem 0.75rem;
  border-radius: 12px;
  background: #f4f6fb;
  border: 1px solid #edf1f8;
}
.wm-search-box i {
  color: #94a3b8;
  font-size: 0.82rem;
}
.wm-search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #05001a;
  font-size: 0.82rem;
  outline: none;
}

.wm-filter-pills {
  display: flex;
  gap: 0.35rem;
}

.wm-filter-pill {
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}
.wm-filter-pill:hover {
  color: #3d5aff;
  text-decoration: none;
}
.wm-filter-pill.is-active {
  background: #05001a;
  border-color: #05001a;
  color: #fffaf5;
}

.wm-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.35rem;
}

.wm-list-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: #64748b;
}
.wm-list-empty i {
  font-size: 1.8rem;
  color: #cbd5e1;
  display: block;
  margin-bottom: 0.55rem;
}
.wm-list-empty strong {
  display: block;
  color: #05001a;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.wm-list-empty p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.wm-msg-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.65rem 0.55rem 0.65rem 0.7rem;
  margin-bottom: 0.2rem;
  border-radius: 13px;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.wm-msg-row:hover {
  background: #f6f8fd;
}
.wm-msg-row.is-unread {
  background: #f7f9ff;
  border-left-color: var(--wm-row-color, #3d5aff);
}
.wm-msg-row.is-unread .wm-msg-top strong,
.wm-msg-row.is-unread .wm-msg-subject {
  font-weight: 800;
  color: #05001a;
}
.wm-msg-row.is-active {
  background: #eef3ff;
  border-color: rgba(61, 90, 255, 0.2);
  border-left-color: var(--wm-row-color, #3d5aff);
}

.wm-msg-row-link {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.wm-msg-row-link:hover {
  text-decoration: none;
  color: inherit;
}

.wm-msg-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wm-row-color, #3d5aff);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.wm-msg-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.wm-msg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.wm-msg-top strong {
  color: #1e293b;
  font-size: 0.81rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wm-msg-top time {
  color: #7c8daa;
  font-size: 0.69rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wm-msg-subject {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-msg-snippet {
  color: #7c8daa;
  font-size: 0.73rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-star-btn {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  padding: 0.25rem;
  cursor: pointer;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.wm-star-btn:hover, .wm-star-btn.is-starred {
  color: #f59e0b;
}

.wm-reader-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #f6f8fd;
}

.wm-reader-empty {
  margin: auto;
  max-width: 400px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.wm-reader-empty h2, .wm-reader-empty .h2 {
  margin: 0;
  color: #05001a;
  font-size: 1.15rem;
  font-weight: 800;
}
.wm-reader-empty p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.wm-reader-empty-ico {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f0ff;
  color: #3d5aff;
  font-size: 1.55rem;
}

.wm-reader-head {
  padding: 1.15rem 1.4rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e7edf8;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wm-reader-head-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.wm-mobile-back {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #05001a;
  text-decoration: none;
}

.wm-reader-subject {
  margin: 0;
  flex: 1;
  color: #05001a;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}

.wm-reader-acc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: #f4f6fb;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
}

.wm-reader-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.wm-reader-sender {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.wm-reader-sender strong {
  color: #05001a;
  font-size: 0.88rem;
  font-weight: 800;
}

.wm-reader-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #05001a 0%, #3d5aff 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.wm-reader-addr {
  color: #64748b;
  font-size: 0.78rem;
  margin-left: 0.25rem;
}

.wm-reader-recipients {
  color: #64748b;
  font-size: 0.74rem;
  margin-top: 0.12rem;
}

.wm-reader-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.wm-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.74rem;
  border: 1px solid #dce4f3;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.wm-act-btn:hover {
  background: #eef3ff;
  border-color: rgba(61, 90, 255, 0.3);
  color: #3248c7;
}
.wm-act-btn.is-primary {
  background: #3d5aff;
  border-color: #3d5aff;
  color: #ffffff;
}
.wm-act-btn.is-primary:hover {
  background: #3248c7;
  color: #ffffff;
}
.wm-act-btn.is-danger:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.wm-reader-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.wm-att-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #3248c7;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}
.wm-att-chip small, .wm-att-chip .small {
  color: #64748b;
}

.wm-reader-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.4rem 1.5rem;
}

.wm-plain-body,
.wm-html-body {
  padding: 1.45rem 1.6rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e7edf8;
  color: #1e293b;
  font-size: 0.9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.wm-plain-body img,
.wm-html-body img {
  max-width: 100%;
  height: auto;
}
.wm-plain-body a,
.wm-html-body a {
  color: #3d5aff;
}

.wm-reader-foot {
  padding: 0.8rem 1.4rem;
  background: #ffffff;
  border-top: 1px solid #e7edf8;
}

.wm-quick-reply-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid #dbe4f3;
  border-radius: 12px;
  background: #f8fafd;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.wm-quick-reply-btn:hover {
  border-color: #3d5aff;
  background: #ffffff;
  color: #3248c7;
}

.wm-accounts-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wm-section-title {
  margin: 0 0 0.35rem;
  color: var(--modern-ink);
  font-size: 1.08rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wm-section-title i {
  color: #3d5aff;
}

.wm-section-sub {
  margin: 0 0 0.85rem;
  color: var(--modern-ink-muted);
  font-size: 0.84rem;
}

.wm-acc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wm-acc-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--modern-border);
  border-top: 4px solid var(--wm-acc-color, #3d5aff);
  border-radius: 18px;
  background: var(--modern-surface);
}

.wm-acc-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wm-acc-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wm-acc-color, #3d5aff);
  color: #ffffff;
  font-size: 1.1rem;
}

.wm-acc-meta {
  flex: 1;
  min-width: 0;
}
.wm-acc-meta span {
  display: block;
  color: var(--modern-ink-muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-acc-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.wm-acc-title-row strong {
  color: var(--modern-ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.wm-pill-default {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #d0ff00;
  color: #05001a;
  font-size: 0.66rem;
  font-weight: 800;
}

.wm-status-dot {
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}
.wm-status-dot.is-ok {
  background: #dcfce7;
  color: #166534;
}
.wm-status-dot.is-err {
  background: #fee2e2;
  color: #991b1b;
}

.wm-acc-servers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.65rem 0.78rem;
  border-radius: 12px;
  background: var(--modern-surface-muted);
}
.wm-acc-servers small, .wm-acc-servers .small {
  display: block;
  color: var(--modern-ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
}
.wm-acc-servers code {
  font-size: 0.74rem;
  color: #3248c7;
  font-weight: 700;
  word-break: break-all;
}

.wm-acc-error {
  padding: 0.55rem 0.72rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.wm-acc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wm-acc-sync-time {
  color: var(--modern-ink-muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.wm-acc-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wm-btn-danger:hover {
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.wm-provider-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.wm-prov-opt {
  margin: 0;
  cursor: pointer;
}
.wm-prov-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wm-prov-opt input:checked + .wm-prov-box {
  border-color: var(--wm-p-color, #3d5aff);
  background: #f5f8ff;
  box-shadow: 0 0 0 3px rgba(61, 90, 255, 0.14);
}

.wm-prov-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.78rem;
  border: 1.5px solid var(--modern-border);
  border-radius: 14px;
  background: var(--modern-surface);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.wm-prov-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wm-p-color, #3d5aff);
  color: #ffffff;
  font-size: 0.96rem;
}

.wm-prov-txt {
  min-width: 0;
}
.wm-prov-txt strong {
  display: block;
  color: var(--modern-ink);
  font-size: 0.82rem;
  font-weight: 800;
}
.wm-prov-txt small, .wm-prov-txt .small {
  display: block;
  color: var(--modern-ink-muted);
  font-size: 0.69rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-provider-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0.78rem 0.95rem;
  border-radius: 13px;
  background: #eef3ff;
  border: 1px solid rgba(61, 90, 255, 0.2);
  color: #1e293b;
  font-size: 0.81rem;
  line-height: 1.45;
}
.wm-provider-hint i {
  color: #3d5aff;
  margin-top: 0.15rem;
}
.wm-provider-hint a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.45rem;
  color: #3248c7;
  font-weight: 800;
  text-decoration: underline;
}

.wm-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.wm-pass-wrap input {
  width: 100%;
  padding-right: 2.5rem;
}

.wm-pass-eye {
  position: absolute;
  right: 0.45rem;
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 0.35rem;
  cursor: pointer;
}

.wm-servers-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wm-server-box {
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--modern-border);
  border-radius: 15px;
  background: var(--modern-surface-muted);
}
.wm-server-box h3, .wm-server-box .h3 {
  margin: 0 0 0.75rem;
  color: var(--modern-ink);
  font-size: 0.86rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.wm-server-box h3 i, .wm-server-box .h3 i {
  color: #3d5aff;
}

.wm-test-panel {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.wm-test-result {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: var(--modern-surface-muted);
  border: 1px solid var(--modern-border);
  color: var(--modern-ink);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
.wm-test-result.is-ok {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}
.wm-test-result.is-err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.wm-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 0, 26, 0.56);
  backdrop-filter: blur(3px);
}

.wm-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #ffffff;
  color: #05001a;
  box-shadow: 0 32px 64px -24px rgba(5, 0, 26, 0.5);
  overflow: hidden;
}

.wm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  background: #05001a;
  color: #fffaf5;
}
.wm-modal-head h2, .wm-modal-head .h2 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.wm-modal-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
  cursor: pointer;
}
.wm-modal-close:hover {
  background: rgba(255, 250, 245, 0.25);
}

.wm-compose-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wm-compose-alert {
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.8rem;
  font-weight: 700;
}

.wm-compose-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #eef2f8;
}
.wm-compose-row label {
  width: 64px;
  flex: 0 0 64px;
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}
.wm-compose-row input,
.wm-compose-row select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #05001a;
  font-size: 0.85rem;
  outline: none;
}

.wm-cc-toggle {
  border: 0;
  background: #f1f5f9;
  color: #475569;
  padding: 0.24rem 0.55rem;
  border-radius: 7px;
  font-size: 0.71rem;
  font-weight: 700;
  cursor: pointer;
}
.wm-cc-toggle:hover {
  background: #e2e8f0;
}

.wm-compose-textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafd;
  color: #05001a;
  font-size: 0.88rem;
  line-height: 1.55;
  resize: vertical;
  outline: none;
}
.wm-compose-textarea:focus {
  border-color: #3d5aff;
  background: #ffffff;
}

.wm-compose-attach-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.wm-attach-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid #dbe4f3;
  border-radius: 999px;
  background: #f8fbff;
  color: #3248c7;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.wm-attach-chip-btn:hover {
  background: #eef3ff;
}
.wm-attach-chip-btn.is-drive {
  color: #15803d;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.wm-attach-clear {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  cursor: pointer;
}

.wm-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #eef2f8;
  background: #fbfcff;
}

:root[data-modern-theme=dark] .wm-topbar,
:root[data-modern-theme=dark] .wm-onboarding-card,
:root[data-modern-theme=dark] .wm-shell,
:root[data-modern-theme=dark] .wm-folders,
:root[data-modern-theme=dark] .wm-list-pane,
:root[data-modern-theme=dark] .wm-reader-head,
:root[data-modern-theme=dark] .wm-reader-foot,
:root[data-modern-theme=dark] .wm-modal-dialog,
:root[data-modern-theme=dark] .wm-modal-foot {
  background: #0b0624;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-reader-pane {
  background: #05001a;
}
:root[data-modern-theme=dark] .wm-plain-body,
:root[data-modern-theme=dark] .wm-html-body,
:root[data-modern-theme=dark] .wm-provider-card,
:root[data-modern-theme=dark] .wm-search-box,
:root[data-modern-theme=dark] .wm-quick-reply-btn,
:root[data-modern-theme=dark] .wm-compose-textarea {
  background: #120c32;
  border-color: rgba(255, 250, 245, 0.14);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-onboarding-head h1, :root[data-modern-theme=dark] .wm-onboarding-head .h1,
:root[data-modern-theme=dark] .wm-provider-copy strong,
:root[data-modern-theme=dark] .wm-reader-subject,
:root[data-modern-theme=dark] .wm-reader-sender strong,
:root[data-modern-theme=dark] .wm-rail-acc-copy strong,
:root[data-modern-theme=dark] .wm-msg-row.is-unread .wm-msg-top strong,
:root[data-modern-theme=dark] .wm-msg-row.is-unread .wm-msg-subject,
:root[data-modern-theme=dark] .wm-msg-top strong,
:root[data-modern-theme=dark] .wm-list-empty strong,
:root[data-modern-theme=dark] .wm-reader-empty h2,
:root[data-modern-theme=dark] .wm-reader-empty .h2 {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-acc-tab,
:root[data-modern-theme=dark] .wm-folder-item,
:root[data-modern-theme=dark] .wm-msg-subject {
  color: rgba(255, 250, 245, 0.78);
}
:root[data-modern-theme=dark] .wm-acc-tab.is-active,
:root[data-modern-theme=dark] .wm-folder-item.is-active,
:root[data-modern-theme=dark] .wm-msg-row.is-active,
:root[data-modern-theme=dark] .wm-rail-acc-row.is-active {
  background: rgba(61, 90, 255, 0.25);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-msg-row.is-unread {
  background: rgba(61, 90, 255, 0.12);
}
:root[data-modern-theme=dark] .wm-msg-row:hover {
  background: rgba(255, 250, 245, 0.06);
}
:root[data-modern-theme=dark] .wm-top-btn,
:root[data-modern-theme=dark] .wm-act-btn:not(.is-primary),
:root[data-modern-theme=dark] .wm-reader-acc-pill,
:root[data-modern-theme=dark] .wm-filter-pill:not(.is-active) {
  background: #151038;
  border-color: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-filter-pill.is-active {
  background: #d0ff00;
  border-color: #d0ff00;
  color: #05001a;
}
:root[data-modern-theme=dark] .wm-provider-hint {
  background: rgba(61, 90, 255, 0.18);
  border-color: rgba(158, 180, 255, 0.3);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-provider-hint a {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] .wm-prov-opt input:checked + .wm-prov-box {
  background: rgba(61, 90, 255, 0.22);
}
:root[data-modern-theme=dark] .wm-compose-row {
  border-bottom-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .wm-compose-row input,
:root[data-modern-theme=dark] .wm-compose-row select {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .wm-acc-servers code {
  color: #9eb4ff;
}

@media (max-width: 1180px) {
  .wm-shell {
    grid-template-columns: 215px 310px minmax(0, 1fr);
  }
  .wm-provider-grid,
  .wm-provider-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .wm-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .wm-folders {
    display: none;
  }
  .wm-shell.has-message .wm-list-pane {
    display: none;
  }
  .wm-shell:not(.has-message) .wm-reader-pane {
    display: none;
  }
  .wm-mobile-back {
    display: inline-flex;
  }
  .wm-acc-grid,
  .wm-servers-two,
  .wm-provider-grid,
  .wm-provider-picker {
    grid-template-columns: 1fr;
  }
}
::selection {
  background: rgba(208, 255, 0, 0.48);
  color: #05001a;
}

.markdown-render a:not(.btn),
.humhub-ui-richtext a:not(.btn) {
  color: #3d5aff;
}
.markdown-render a:not(.btn):hover,
.humhub-ui-richtext a:not(.btn):hover {
  color: #3248c7;
}

.lms-page {
  --lms-ink: var(--modern-ink);
  --lms-soft: var(--modern-ink-muted);
  --lms-line: var(--modern-border);
  --lms-blue: var(--modern-primary);
}

.tasks-page {
  --tasks-ink: var(--modern-ink);
  --tasks-soft: var(--modern-ink-muted);
  --tasks-line: var(--modern-border);
  --tasks-blue: var(--modern-primary);
}

.panel,
.panel-default,
.card,
.wall-entry,
.wallFilterPanel,
.calendar-board,
.calendar-side-card,
.lms-course-card,
.tasks-column,
.blog-card,
.chat-card {
  border: 1px solid rgba(5, 0, 26, 0.09);
  box-shadow: var(--modern-shadow-card);
}

.calendar-hero,
.lms-hero,
.tasks-hero,
.blog-hero {
  border: 1px solid rgba(5, 0, 26, 0.09) !important;
  background: radial-gradient(640px 260px at 100% 0%, rgba(208, 255, 0, 0.28), transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(61, 90, 255, 0.14), transparent 62%), linear-gradient(135deg, #ffffff 0%, #fffdf9 62%, #fffaf5 100%) !important;
  box-shadow: var(--modern-shadow-card) !important;
}

.modern-rail {
  background: #ffffff;
  border-right: 1px solid rgba(5, 0, 26, 0.1);
  box-shadow: 12px 0 36px -24px rgba(5, 0, 26, 0.34);
}

.modern-rail-brand {
  position: relative;
  background: linear-gradient(135deg, #05001a 0%, #3248c7 62%, #3d5aff 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(61, 90, 255, 0.85);
}
.modern-rail-brand:has(.modern-rail-brand-img) {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1.5px solid rgba(5, 0, 26, 0.1);
  box-shadow: 0 10px 22px -12px rgba(5, 0, 26, 0.45);
}
.modern-rail-brand .modern-rail-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.modern-rail-brand::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0ff00;
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px rgba(208, 255, 0, 0.7);
}

.login-container #img-logo {
  max-height: 150px;
  width: auto;
  padding: 0.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px -18px rgba(5, 0, 26, 0.28);
}

.modern-rail-item {
  color: var(--modern-ink-muted);
}
.modern-rail-item:hover, .modern-rail-item:focus-visible {
  color: #3d5aff;
  background: linear-gradient(135deg, rgba(61, 90, 255, 0.12), rgba(208, 255, 0, 0.26));
}
.modern-rail-item.is-active, .modern-rail-item.is-active:hover, .modern-rail-item.is-active:focus-visible {
  color: #fffaf5;
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  box-shadow: 0 10px 22px -10px rgba(61, 90, 255, 0.88), 0 0 0 2px rgba(208, 255, 0, 0.75);
}

.modern-rail-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 991.98px) {
  .modern-rail-bottom {
    margin-top: 0;
    flex-direction: row;
    gap: 0.2rem;
  }
}
.modern-rail-bottom .modern-rail-account {
  margin-top: 0;
}

.modern-rail-theme-toggle {
  background: var(--modern-surface-muted);
  color: #05001a;
  border: 1px solid var(--modern-border-strong);
}
.modern-rail-theme-toggle:hover, .modern-rail-theme-toggle:focus-visible {
  color: #05001a;
  background: linear-gradient(135deg, rgba(208, 255, 0, 0.78), rgba(208, 255, 0, 0.42));
  border-color: rgba(208, 255, 0, 0.95);
}

.btn-primary,
.calendar-hero-cta,
.calendar-filter.is-active,
.blog-filter.is-active,
.tasks-filter.is-active {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%) !important;
  border-color: #3d5aff !important;
  color: #fffaf5 !important;
  box-shadow: 0 10px 24px -12px rgba(61, 90, 255, 0.72);
}
.btn-primary:hover, .btn-primary:focus-visible,
.calendar-hero-cta:hover,
.calendar-hero-cta:focus-visible,
.calendar-filter.is-active:hover,
.calendar-filter.is-active:focus-visible,
.blog-filter.is-active:hover,
.blog-filter.is-active:focus-visible,
.tasks-filter.is-active:hover,
.tasks-filter.is-active:focus-visible {
  background: linear-gradient(135deg, #3248c7 0%, #3d5aff 100%) !important;
  box-shadow: 0 12px 26px -10px rgba(61, 90, 255, 0.82), 0 0 0 2px rgba(208, 255, 0, 0.6);
}

.progress-bar,
.lms-progress-bar > span,
.tasks-load-bar > span,
.tasks-person-bar > span {
  background: linear-gradient(90deg, #3d5aff 0%, #7d96ff 52%, #d0ff00 100%) !important;
}

.calendar-day.is-today .calendar-daynum {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
  color: #fffaf5;
  box-shadow: 0 0 0 2px rgba(208, 255, 0, 0.72);
}

.calendar-filter:not(.is-active):hover,
.calendar-monthnav-arrow:hover,
.calendar-hero-ghost:hover {
  border-color: rgba(61, 90, 255, 0.42);
  color: #3d5aff;
  background: linear-gradient(135deg, rgba(61, 90, 255, 0.08), rgba(208, 255, 0, 0.18));
}

.calendar-upcoming-date {
  background: linear-gradient(135deg, rgba(61, 90, 255, 0.12), rgba(208, 255, 0, 0.24));
  color: #05001a;
}

.calendar-chip--local {
  border-left-color: #3d5aff;
}

:root[data-modern-theme=dark] body {
  background-color: var(--modern-page);
  background-image: var(--modern-canvas);
  color: var(--modern-ink-soft);
}
:root[data-modern-theme=dark] h1, :root[data-modern-theme=dark] h2, :root[data-modern-theme=dark] h3, :root[data-modern-theme=dark] h4, :root[data-modern-theme=dark] h5, :root[data-modern-theme=dark] h6,
:root[data-modern-theme=dark] .h1, :root[data-modern-theme=dark] .h2, :root[data-modern-theme=dark] .h3, :root[data-modern-theme=dark] .h4, :root[data-modern-theme=dark] .h5, :root[data-modern-theme=dark] .h6 {
  color: #fffaf5;
}
:root[data-modern-theme=dark] a:not(.btn):not(.modern-rail-item):not(.dropdown-item):not(.calendar-filter):not(.calendar-hero-ghost):not(.modern-rail-brand),
:root[data-modern-theme=dark] .markdown-render a:not(.btn),
:root[data-modern-theme=dark] .humhub-ui-richtext a:not(.btn) {
  color: #9eb4ff;
}
:root[data-modern-theme=dark] a:not(.btn):not(.modern-rail-item):not(.dropdown-item):not(.calendar-filter):not(.calendar-hero-ghost):not(.modern-rail-brand):hover,
:root[data-modern-theme=dark] .markdown-render a:not(.btn):hover,
:root[data-modern-theme=dark] .humhub-ui-richtext a:not(.btn):hover {
  color: #d4e0ff;
}
:root[data-modern-theme=dark] .modern-rail {
  background: rgba(5, 0, 26, 0.96);
  border-right: 1px solid rgba(255, 250, 245, 0.14);
  box-shadow: 16px 0 44px -26px rgba(5, 0, 26, 0.85);
}
:root[data-modern-theme=dark] .modern-rail-brand {
  background: linear-gradient(135deg, #3d5aff 0%, #3248c7 100%);
}
:root[data-modern-theme=dark] .modern-rail-brand::after {
  border-color: #05001a;
}
:root[data-modern-theme=dark] .modern-rail-item {
  color: rgba(255, 250, 245, 0.74);
}
:root[data-modern-theme=dark] .modern-rail-item:hover, :root[data-modern-theme=dark] .modern-rail-item:focus-visible {
  color: #fffaf5;
  background: rgba(61, 90, 255, 0.32);
}
:root[data-modern-theme=dark] .modern-rail-item.is-active, :root[data-modern-theme=dark] .modern-rail-item.is-active:hover, :root[data-modern-theme=dark] .modern-rail-item.is-active:focus-visible {
  color: #05001a;
  background: linear-gradient(135deg, #d0ff00 0%, #b8ef00 100%);
  box-shadow: 0 10px 24px -10px rgba(208, 255, 0, 0.72);
}
:root[data-modern-theme=dark] .modern-rail-theme-toggle {
  background: rgba(208, 255, 0, 0.9);
  color: #05001a;
  border-color: #d0ff00;
}
:root[data-modern-theme=dark] .modern-rail-theme-toggle:hover, :root[data-modern-theme=dark] .modern-rail-theme-toggle:focus-visible {
  background: #fffaf5;
  color: #05001a;
  border-color: #fffaf5;
}
:root[data-modern-theme=dark] .modern-rail-menu {
  background: #05001a !important;
  border: 1px solid rgba(255, 250, 245, 0.16) !important;
  color: #fffaf5;
}
:root[data-modern-theme=dark] .modern-rail-menu .modern-rail-menu-header strong {
  color: #fffaf5;
}
:root[data-modern-theme=dark] .modern-rail-menu .modern-rail-menu-header span {
  color: rgba(255, 250, 245, 0.65);
}
:root[data-modern-theme=dark] .modern-rail-menu .dropdown-item {
  color: rgba(255, 250, 245, 0.9);
}
:root[data-modern-theme=dark] .modern-rail-menu .dropdown-item:hover {
  background: rgba(61, 90, 255, 0.3);
  color: #fffaf5;
}
:root[data-modern-theme=dark] .modern-rail-menu .dropdown-divider {
  border-color: rgba(255, 250, 245, 0.12);
}
:root[data-modern-theme=dark] .panel,
:root[data-modern-theme=dark] .panel-default,
:root[data-modern-theme=dark] .card,
:root[data-modern-theme=dark] .wall-entry,
:root[data-modern-theme=dark] .wallFilterPanel,
:root[data-modern-theme=dark] .modal-content,
:root[data-modern-theme=dark] .dropdown-menu,
:root[data-modern-theme=dark] .popover,
:root[data-modern-theme=dark] .list-group-item,
:root[data-modern-theme=dark] .tab-menu,
:root[data-modern-theme=dark] .panel-profile,
:root[data-modern-theme=dark] .space-member-panel,
:root[data-modern-theme=dark] .contentForm_options,
:root[data-modern-theme=dark] .wall-entry-controls,
:root[data-modern-theme=dark] .well {
  background-color: #0b0624 !important;
  border-color: rgba(255, 250, 245, 0.15) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .panel-heading,
:root[data-modern-theme=dark] .card-header,
:root[data-modern-theme=dark] .modal-header,
:root[data-modern-theme=dark] .modal-footer {
  background-color: transparent !important;
  border-color: rgba(255, 250, 245, 0.12) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .panel-body,
:root[data-modern-theme=dark] .card-body,
:root[data-modern-theme=dark] .modal-body,
:root[data-modern-theme=dark] .media-body,
:root[data-modern-theme=dark] .wall-entry-body,
:root[data-modern-theme=dark] .content,
:root[data-modern-theme=dark] .text-muted,
:root[data-modern-theme=dark] small,
:root[data-modern-theme=dark] .small,
:root[data-modern-theme=dark] .help-block {
  color: rgba(255, 250, 245, 0.84);
}
:root[data-modern-theme=dark] .form-control,
:root[data-modern-theme=dark] .form-select,
:root[data-modern-theme=dark] input[type=text],
:root[data-modern-theme=dark] input[type=email],
:root[data-modern-theme=dark] input[type=password],
:root[data-modern-theme=dark] input[type=search],
:root[data-modern-theme=dark] input[type=url],
:root[data-modern-theme=dark] input[type=number],
:root[data-modern-theme=dark] input[type=date],
:root[data-modern-theme=dark] input[type=datetime-local],
:root[data-modern-theme=dark] textarea,
:root[data-modern-theme=dark] select,
:root[data-modern-theme=dark] .humhub-ui-richtext,
:root[data-modern-theme=dark] .ProseMirror {
  background-color: #151038 !important;
  border-color: rgba(255, 250, 245, 0.22) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .form-control::placeholder,
:root[data-modern-theme=dark] .form-select::placeholder,
:root[data-modern-theme=dark] input[type=text]::placeholder,
:root[data-modern-theme=dark] input[type=email]::placeholder,
:root[data-modern-theme=dark] input[type=password]::placeholder,
:root[data-modern-theme=dark] input[type=search]::placeholder,
:root[data-modern-theme=dark] input[type=url]::placeholder,
:root[data-modern-theme=dark] input[type=number]::placeholder,
:root[data-modern-theme=dark] input[type=date]::placeholder,
:root[data-modern-theme=dark] input[type=datetime-local]::placeholder,
:root[data-modern-theme=dark] textarea::placeholder,
:root[data-modern-theme=dark] select::placeholder,
:root[data-modern-theme=dark] .humhub-ui-richtext::placeholder,
:root[data-modern-theme=dark] .ProseMirror::placeholder {
  color: rgba(255, 250, 245, 0.5) !important;
}
:root[data-modern-theme=dark] .form-control:focus,
:root[data-modern-theme=dark] .form-select:focus,
:root[data-modern-theme=dark] input[type=text]:focus,
:root[data-modern-theme=dark] input[type=email]:focus,
:root[data-modern-theme=dark] input[type=password]:focus,
:root[data-modern-theme=dark] input[type=search]:focus,
:root[data-modern-theme=dark] input[type=url]:focus,
:root[data-modern-theme=dark] input[type=number]:focus,
:root[data-modern-theme=dark] input[type=date]:focus,
:root[data-modern-theme=dark] input[type=datetime-local]:focus,
:root[data-modern-theme=dark] textarea:focus,
:root[data-modern-theme=dark] select:focus,
:root[data-modern-theme=dark] .humhub-ui-richtext:focus,
:root[data-modern-theme=dark] .ProseMirror:focus {
  border-color: #3d5aff !important;
  box-shadow: 0 0 0 0.2rem rgba(208, 255, 0, 0.28) !important;
}
:root[data-modern-theme=dark] .btn-default,
:root[data-modern-theme=dark] .btn-light,
:root[data-modern-theme=dark] .btn-outline-secondary,
:root[data-modern-theme=dark] .calendar-hero-ghost,
:root[data-modern-theme=dark] .calendar-filter:not(.is-active),
:root[data-modern-theme=dark] .calendar-monthnav,
:root[data-modern-theme=dark] .blog-filter:not(.is-active),
:root[data-modern-theme=dark] .tasks-filter:not(.is-active) {
  background: #0b0624 !important;
  border-color: rgba(255, 250, 245, 0.18) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .btn-default:hover,
:root[data-modern-theme=dark] .btn-light:hover,
:root[data-modern-theme=dark] .btn-outline-secondary:hover,
:root[data-modern-theme=dark] .calendar-hero-ghost:hover,
:root[data-modern-theme=dark] .calendar-filter:not(.is-active):hover,
:root[data-modern-theme=dark] .calendar-monthnav:hover,
:root[data-modern-theme=dark] .blog-filter:not(.is-active):hover,
:root[data-modern-theme=dark] .tasks-filter:not(.is-active):hover {
  background: rgba(61, 90, 255, 0.36) !important;
  border-color: rgba(208, 255, 0, 0.65) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .btn-primary,
:root[data-modern-theme=dark] .calendar-hero-cta,
:root[data-modern-theme=dark] .calendar-filter.is-active,
:root[data-modern-theme=dark] .blog-filter.is-active,
:root[data-modern-theme=dark] .tasks-filter.is-active {
  background: linear-gradient(135deg, #3d5aff 0%, #526dff 100%) !important;
  border-color: rgba(208, 255, 0, 0.55) !important;
  color: #fffaf5 !important;
  box-shadow: 0 12px 26px -10px rgba(5, 0, 26, 0.8), 0 0 0 1px rgba(208, 255, 0, 0.45);
}
:root[data-modern-theme=dark] .calendar-hero,
:root[data-modern-theme=dark] .lms-hero,
:root[data-modern-theme=dark] .lms-course-hero,
:root[data-modern-theme=dark] .tasks-hero,
:root[data-modern-theme=dark] .blog-hero {
  border: 1px solid rgba(255, 250, 245, 0.16) !important;
  background: radial-gradient(640px 260px at 100% 0%, rgba(208, 255, 0, 0.2), transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(61, 90, 255, 0.36), transparent 62%), linear-gradient(135deg, #05001a 0%, #0e0930 62%, #151042 100%) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .calendar-eyebrow,
:root[data-modern-theme=dark] .lms-eyebrow,
:root[data-modern-theme=dark] .tasks-eyebrow,
:root[data-modern-theme=dark] .blog-eyebrow {
  color: #9eb4ff !important;
}
:root[data-modern-theme=dark] .calendar-board,
:root[data-modern-theme=dark] .calendar-side-card,
:root[data-modern-theme=dark] .calendar-single-card,
:root[data-modern-theme=dark] .calendar-form-card,
:root[data-modern-theme=dark] .calendar-connection-card {
  background: #0b0624 !important;
  border-color: rgba(255, 250, 245, 0.15) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .calendar-day {
  background: #120d33 !important;
  border-color: rgba(255, 250, 245, 0.1) !important;
}
:root[data-modern-theme=dark] .calendar-day.is-outside {
  background: rgba(5, 0, 26, 0.55) !important;
  opacity: 0.7;
}
:root[data-modern-theme=dark] .calendar-day:hover {
  border-color: rgba(208, 255, 0, 0.48) !important;
  background: #1a1447 !important;
}
:root[data-modern-theme=dark] .calendar-daynum,
:root[data-modern-theme=dark] .calendar-monthnav-label,
:root[data-modern-theme=dark] .calendar-monthnav-arrow,
:root[data-modern-theme=dark] .calendar-upcoming-title,
:root[data-modern-theme=dark] .calendar-connection-name {
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .calendar-weekdays span,
:root[data-modern-theme=dark] .calendar-upcoming-meta,
:root[data-modern-theme=dark] .calendar-connection-status {
  color: rgba(255, 250, 245, 0.68) !important;
}
:root[data-modern-theme=dark] .calendar-upcoming-date {
  background: linear-gradient(135deg, rgba(61, 90, 255, 0.42), rgba(208, 255, 0, 0.24)) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .calendar-upcoming-item a:hover,
:root[data-modern-theme=dark] .calendar-connection:hover {
  background: rgba(61, 90, 255, 0.22) !important;
}
:root[data-modern-theme=dark] .calendar-filter-count,
:root[data-modern-theme=dark] .calendar-side-count {
  background: rgba(255, 250, 245, 0.15) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .calendar-connections-cta {
  background: rgba(61, 90, 255, 0.28) !important;
  border-color: rgba(208, 255, 0, 0.42) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .lms-course-card,
:root[data-modern-theme=dark] .lms-continue-card,
:root[data-modern-theme=dark] .lms-mine-card,
:root[data-modern-theme=dark] .lms-stat,
:root[data-modern-theme=dark] .lms-form-card,
:root[data-modern-theme=dark] .lms-table-card,
:root[data-modern-theme=dark] .lms-lesson-card,
:root[data-modern-theme=dark] .lms-side-card,
:root[data-modern-theme=dark] .tasks-column,
:root[data-modern-theme=dark] .task-card,
:root[data-modern-theme=dark] .tasks-stat,
:root[data-modern-theme=dark] .tasks-meter,
:root[data-modern-theme=dark] .tasks-side-card,
:root[data-modern-theme=dark] .tasks-detail-card,
:root[data-modern-theme=dark] .tasks-form-card,
:root[data-modern-theme=dark] .blog-card,
:root[data-modern-theme=dark] .blog-side-card,
:root[data-modern-theme=dark] .blog-single-card,
:root[data-modern-theme=dark] .chat-card,
:root[data-modern-theme=dark] .chat-sidebar,
:root[data-modern-theme=dark] .chat-emoji-panel {
  background: #0b0624 !important;
  border-color: rgba(255, 250, 245, 0.15) !important;
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .lms-course-card h2, :root[data-modern-theme=dark] .lms-course-card .h2,
:root[data-modern-theme=dark] .lms-course-card h3,
:root[data-modern-theme=dark] .lms-course-card .h3,
:root[data-modern-theme=dark] .task-card-title,
:root[data-modern-theme=dark] .blog-card-title,
:root[data-modern-theme=dark] .tasks-column-title {
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .table,
:root[data-modern-theme=dark] .lms-table {
  color: #fffaf5 !important;
}
:root[data-modern-theme=dark] .table th,
:root[data-modern-theme=dark] .table td,
:root[data-modern-theme=dark] .lms-table th,
:root[data-modern-theme=dark] .lms-table td {
  background-color: transparent !important;
  border-color: rgba(255, 250, 245, 0.12) !important;
  color: rgba(255, 250, 245, 0.88) !important;
}
:root[data-modern-theme=dark] .login-container .panel {
  background: rgba(5, 0, 26, 0.92) !important;
  border-color: rgba(255, 250, 245, 0.16) !important;
}