@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans-regular-latin-ext-YhjCXmb.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans-regular-latin-Y7Rn5g7.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: "PT Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans-italic-latin-ext-SzKLAJv.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans-italic-latin-k-lD-XO.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: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans-bold-latin-ext-VuQjCeJ.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans-bold-latin-eTIXZaC.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: "PT Sans";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans-bold-italic-latin-ext-RoUdgfD.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Sans";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans-bold-italic-latin-91gKdIo.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: "PT Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-serif-regular-latin-ext-CBk17Ua.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-serif-regular-latin-36V2js7.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: "PT Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-serif-italic-latin-ext-fKazgno.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-serif-italic-latin-fuDPkrk.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;
}

:root {
    --font-body: "PT Sans", Arial, Helvetica, sans-serif;
    --font-heading: "PT Serif", "PT Sans", Arial, Helvetica, sans-serif;
    --page-bg: #ffffff;
    --site-bg: #f7f6f3; /* subtle cream background (like DTKV Bremen) */
    --surface: #ffffff; /* keep card surfaces white */
    --surface-muted: #fff7e0; /* subtle warm muted surface for backgrounds */
    --surface-soft: var(--surface-muted);
    --surface-warm: #f7f6f3;
    --surface-warm-hover: #f0ede8;
    --surface-warm-strong: var(--surface-muted);
    --surface-overlay: rgba(255, 255, 255, 0.82);
    --text-main: #434343;
    --text-muted: #676767;
    --text-subtle: #6b7280;
    --text-warm-main: var(--text-muted);
    --text-warm-strong: var(--text-warm-main);
    --text-warm-muted: #8e8881;
    --text-warm-subtle: #a09c98;
    --text-warm-dim: var(--text-warm-subtle);
    --text-warm-placeholder: var(--text-warm-subtle);
    --text-secondary: var(--page-bg);
    --border: #dddddd;
    --border-strong: var(--border);
    --border-warm: var(--border);
    --border-warm-soft: var(--border-warm);
    --border-warm-hover: #c8c2bb;
    --accent: #BB5A61;
    --accent-strong: #A12001;
    --accent-soft: var(--surface-muted);
    --editor-link: #0f3a5f;
    --editor-link-hover: #0a5c89;
    --editor-text-strong: #213244;
    --editor-text-muted: #536273;
    --editor-media-bg: #0f172a;
    --editor-checker-bg: #e2e8f0;
    --post-it-zoom-bg: #fef9e4;
    --post-it-zoom-border: #e8d48a;
    --post-it-zoom-text: var(--text-muted);
    --shadow: #10346619;
    --shadow-soft-color: rgba(16, 52, 102, 0.1);
    --shadow-thumb-color: rgba(15, 23, 42, 0.18);
    --shadow-button-hover-color: rgba(11, 42, 88, 0.22);
    --shadow-card-hover-color: rgba(0, 0, 0, 0.1);
    --shadow-inset-soft-color: rgba(15, 23, 42, 0.08);
    --shadow-editor-soft: rgba(15, 23, 42, 0.06);
    --shadow-editor-strong: rgba(15, 23, 42, 0.22);
    --editor-overlay: rgba(15, 23, 42, 0.56);
    --editor-overlay-soft: rgba(15, 23, 42, 0.46);
    --focus-ring-accent: rgba(187, 90, 97, 0.2);
    --focus-ring-accent-soft: var(--focus-ring-accent);
    --focus-ring-accent-strong: rgba(187, 90, 97, 0.45);
    --state-success-bg: #eaf8ef;
    --state-success-text-soft: #4b8f5f;
    --state-success-text: #235d35;
    --state-success-border: #b8e0c4;
    --state-success-bg-alt: var(--state-success-bg);
    --state-success-text-alt: var(--state-success-text);
    --state-success-text-strong: var(--state-success-text);
    --state-success-border-alt: var(--state-success-border);
    --state-info-bg: #eef5ff;
    --state-info-text: #1f4f8b;
    --state-info-border: #bfd7ff;
    --state-warning-bg: #fff7db;
    --state-warning-text: #8a6a12;
    --state-warning-border: #ead797;
    --state-danger-bg: #fdecec;
    --state-danger-text: #8f1d2c;
    --state-danger-border: #efb8c0;
    --state-danger-bg-strong: var(--state-danger-bg);
    --state-danger-text-strong: var(--state-danger-text);
    --state-danger-border-strong: var(--state-danger-border);
    --layout-sidebar-width: 27rem;
    --layout-content-max-width: 1100px;
    --layout-main-top-spacing: 1rem;
    --layout-main-top-spacing-desktop: 1rem;
    --layout-header-padding: 0.25rem;
    --layout-eyebrow-title-gap: 0.4rem;
    --layout-shell-max-width: calc(var(--layout-content-max-width) + var(--layout-sidebar-width) + 1rem);
    --card-border-radius: 12px;
    --site-header-height-min: 10.5rem;
    --site-header-height-max: 33rem;
    --site-header-overlay-bg: color-mix(in srgb, var(--accent-strong) 82%, transparent);
    --site-header-overlay-bg-soft: color-mix(in srgb, var(--accent-strong) 54%, transparent);
}

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

/* Ensure scrolling works on all devices including mobile */
html {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Remove blue tap highlight on mobile while preserving functionality */
a,
button,
input,
select,
textarea,
label,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--site-bg);
    display: flex;
    flex-direction: column;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

h1,
h2,
h3,
.page__title,
.card__title {
    font-family: var(--font-heading);
}

h4,
h5,
h6 {
    font-family: var(--font-body);
}

.header {
    padding: var(--layout-header-padding);
}

.site-header-slideshow {
    position: relative;
    width: 100%;
    min-height: var(--site-header-height-min);
    height: clamp(
        var(--site-header-height-min),
        calc(100vw * var(--site-header-aspect-height) / var(--site-header-aspect-width)),
        var(--site-header-height-max)
    );
    overflow: hidden;
    background: var(--editor-media-bg);
}

.site-header-slideshow--large-copy {
    --site-header-height-min: 19.5rem;
}

.site-header-slideshow__media,
.site-header-slideshow__media .dtkv-slideshow {
    width: 100%;
    height: 100%;
}

.site-header-slideshow__media .dtkv-slideshow {
    max-width: none !important;
    margin: 0;
    aspect-ratio: auto !important;
    background: var(--editor-media-bg);
}

.site-header-slideshow__media .dtkv-slideshow__slide img {
    object-fit: cover;
}

.site-header-slideshow__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(
            90deg,
            var(--site-header-overlay-bg) 0%,
            var(--site-header-overlay-bg-soft) 62%,
            transparent 100%
        );
}

.site-header-slideshow__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(calc(100% - 2rem), var(--layout-shell-max-width));
    height: 100%;
    margin: 0 auto;
    padding-block: 1.4rem;
    color: var(--text-secondary);
    text-shadow: 0 2px 12px var(--shadow-editor-strong);
}

.site-header-slideshow__copy h1,
.site-header-slideshow__copy h2,
.site-header-slideshow__copy h3,
.site-header-slideshow__copy p {
    max-width: 14em;
    margin: 0;
    color: inherit;
}

.site-header-slideshow__copy h1,
.site-header-slideshow__copy h2,
.site-header-slideshow__copy h3 {
    font-family: var(--font-body);
    font-size: 2.45rem;
    line-height: 1.12;
    font-weight: 700;
}

.site-header-slideshow__copy p {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.site-header-slideshow__copy > :only-child {
    margin-top: auto;
}

.has-site-header .homepage__header,
.has-site-header .eyebrow {
    display: none;
}

@media (min-width: 1100px) {
    .site-header-slideshow__copy {
        width: min(calc(100% - 4rem), var(--layout-shell-max-width));
        padding-block: 2.6rem;
    }

    .site-header-slideshow--no-sidebar .site-header-slideshow__copy {
        width: min(calc(100% - 4rem), calc(var(--layout-content-max-width) + var(--layout-sidebar-width)));
    }

    .site-header-slideshow__copy h1,
    .site-header-slideshow__copy h2,
    .site-header-slideshow__copy h3 {
        font-size: clamp(2.9rem, 4vw, 4rem);
    }

    .site-header-slideshow__copy p {
        font-size: clamp(1.2rem, 1.55vw, 1.55rem);
    }
}

.main,
.main-shell {
    width: 100%;
    flex: 1;
    margin: 0 auto;
    gap: 1rem;
}

.main {
    display: flex;
    flex-direction: column;
}

.main-shell {
    padding: var(--layout-main-top-spacing) 1rem 2rem;
    display: grid;
}

.page__title {
    margin: var(--layout-eyebrow-title-gap) 0 0;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.page__title:first-child {
    margin-top: 0;
}

.card {
    background: var(--page-bg);
    border: none;
    border-radius: var(--card-border-radius);
    padding: 1rem;
    box-shadow: 0 8px 18px var(--shadow-soft-color);
    backdrop-filter: blur(1px);
}

.card__title {
    margin: 0 0 0.7rem;
    font-size: 1.16rem;
    color: var(--text-main);
}

.placeholder-text {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.eyebrow {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.1rem;
    border: 1px solid transparent;
    background-color: var(--accent-strong);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    font-size: 1rem;
}

.button:hover {
    box-shadow: 0 12px 20px var(--shadow-button-hover-color);
}

.button-secondary {
    background: var(--accent-soft);
    color: var(--accent-strong);
    border-color: var(--border-strong);
}

.buttons-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.quota-display {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    max-width: 18rem;
    min-width: 0;
}

.quota-label {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-main);
    font-weight: 700;
}

.quota-bar {
    position: relative;
    width: 100%;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--surface);
    overflow: hidden;
    border: 1px solid var(--border);
}

.quota-bar__fill {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    border-radius: inherit;
    transition: width 0.25s ease;
}

.quota-bar__fill--safe {
    background: var(--state-success-text);
}

.quota-bar__fill--warning {
    background: var(--state-warning-text);
}

.quota-bar__fill--danger {
    background: var(--state-danger-text);
}

.quota-bar__fill--exempt {
    background: var(--accent);
}

.quota-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-muted);
    font-weight: 600;
}

.upload-progress {
    display: grid;
    gap: 0.35rem;
    width: min(100%, 34rem);
    margin: 0.75rem 0;
}

.upload-progress[hidden] {
    display: none;
}

.upload-progress__bar {
    position: relative;
    width: 100%;
    height: 0.6rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.upload-progress__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-strong);
    transition: width 0.2s ease;
}

.upload-progress__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
}

.upload-progress--indeterminate .upload-progress__fill {
    width: 38%;
    animation: upload-progress-slide 1.1s ease-in-out infinite;
}

.global-upload-progress {
    position: fixed;
    inset: 0 auto auto 50%;
    z-index: 30000;
    width: min(34rem, calc(100vw - 2rem));
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: var(--page-bg);
    box-shadow: 0 12px 24px var(--shadow);
    transform: translateX(-50%);
}

button[aria-disabled="true"],
input[type="submit"][aria-disabled="true"] {
    cursor: progress;
}

@keyframes upload-progress-slide {
    0% {
        transform: translateX(-105%);
    }

    50% {
        transform: translateX(90%);
    }

    100% {
        transform: translateX(265%);
    }
}

.flash-dismiss {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    min-height: 2rem;
    margin: -0.35rem -0.45rem -0.35rem 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    opacity: 0.72;
}

.flash-dismiss:hover,
.flash-dismiss:focus-visible {
    opacity: 1;
}

.flash-dismiss:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.special-page-content > :first-child {
    margin-top: 0;
}

.special-page-content > :last-child {
    margin-bottom: 0;
}

.special-page-content img,
.special-page-content iframe,
.special-page-content video,
.special-page-content table,
.special-page-content pre {
    max-width: 100%;
    height: auto;
}

.special-page-content {
    overflow-wrap: break-word;
    word-break: break-word;
}


a {
    color: var(--accent-strong);
    text-decoration: none;
}

.page-sidebar {
    display: grid;
    align-self: start;
}

.page-sidebar__card {
    width: 100%;
}

.page-sidebar__empty {
    margin: 1rem 0 0;
    padding: 0.9rem 1rem;
    border: 1px dashed var(--border);
    color: var(--text-muted);
    background: var(--page-bg);
}

.toggle-password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password-container,
.email-container,
.limited-width {
    width: 100%;
    max-width: 400px;
}

.toggle-password-container input {
    padding-right: 2.5rem !important;
    width: 100%;
}

.toggle-password-button,
.toggle-password-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--text-subtle);
    cursor: pointer;
    transition: color 0.15s ease-in-out;
    line-height: 1;
    z-index: 10;
}

.toggle-password-button:hover {
    color: var(--text-main);
}

.toggle-password-icon {
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
}

.password-strength {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.password-strength--very-weak {
    color: var(--state-danger-text);
}

.password-strength--weak {
    color: var(--accent-strong);
}

.password-strength--medium {
    color: var(--state-warning-text);
}

.password-strength--strong {
    color: var(--state-success-text-soft);
}

.password-strength--very-strong {
    color: var(--state-success-text);
}

.profile-avatar {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow-soft-color);
    background: var(--surface-soft);
    flex-shrink: 0;
}

.profile-avatar__image {
    width: 180px;
    height: 180px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex: none;
}

.profile-field--profile-image-upload {
    --profile-upload-max-width: min(100%, 520px);
    --profile-upload-radius: var(--upload-button-radius, 10px);
    max-inline-size: none;
    justify-items: center;
    text-align: center;
}

.profile-field--profile-image-upload .ea-fileupload {
    inline-size: var(--profile-upload-max-width);
}

.profile-field--profile-image-upload .ea-fileupload .input-group {
    inline-size: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-radius: var(--profile-upload-radius);
}

.profile-field--profile-image-upload .ea-fileupload .input-group :is(
    .input-group-text,
    .btn:last-child,
    .btn:last-child:hover,
    .btn:last-child:active,
    .btn:last-child:focus
) {
    border-start-end-radius: var(--profile-upload-radius);
    border-end-end-radius: var(--profile-upload-radius);
}

.profile-field--profile-image-upload .ea-fileupload .input-group .btn {
    margin: 0;
}

body:is(.ea-new-Survey, .ea-edit-Survey) .field-text .form-control,
body:is(.ea-new-Survey, .ea-edit-Survey) .field-datetime .form-control {
    margin-inline-start: 4px;
    width: calc(100% - 4px);
}

.role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.role-badge--admin {
    background: var(--state-danger-bg);
    color: var(--state-danger-text);
}

.role-badge--maintenance {
    background: var(--state-warning-bg);
    color: var(--state-warning-text);
}

.role-badge--editor {
    background: var(--state-info-bg);
    color: var(--state-info-text);
}

.role-badge--member {
    background: var(--surface-muted);
    color: var(--text-subtle);
}

.error-page {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    min-height: 62vh;
    padding: 1rem 0 2rem;
}

.error-page__content {
    display: grid;
    gap: 1rem;
    align-content: center;
}

.error-page__title {
    max-width: 40rem;
}

.error-page-eyebrow {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.error-page__lead {
    max-width: 42rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.error-page__actions {
    padding-top: 0.25rem;
}

.error-page__actions .button {
    min-height: 2.75rem;
}

@media (min-width: 900px) {
    .main-shell {
        justify-content: center;
        width: 100%;
        padding: var(--layout-main-top-spacing-desktop) 2rem 2.5rem;
        grid-template-columns: minmax(0, var(--layout-content-max-width)) var(--layout-sidebar-width);
        column-gap: 1rem;
    }

    .main-shell--no-sidebar {
        grid-template-columns: minmax(0, calc(var(--layout-content-max-width) + var(--layout-sidebar-width))) 0;
        justify-content: center;
        column-gap: 0;
    }

    .main {
        grid-column: 1;
    }

    .page-sidebar {
        margin-top: 3rem;
        grid-column: 2;
        justify-self: end;
        width: var(--layout-sidebar-width);
    }

    .error-page {
        gap: 2rem;
        padding-top: 2rem;
    }

    .error-page__visual {
        min-height: 24rem;
    }

    .error-page__code {
        right: 1.35rem;
        bottom: 0.8rem;
        font-size: 6.8rem;
    }
}

@media (min-width: 760px) {
    .quota-display {
        width: auto;
        min-width: 14rem;
    }
}
