@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/montserrat-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --imprenta-yellow: #ead801;
    --imprenta-ink: #1c1c1c;
    --imprenta-paper: #f5f4ef;
    --portal-max-width: 1440px;
    --portal-gutter: 24px;
    --bs-primary: #ead801;
    --bs-body-color: #1c1c1c;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: var(--imprenta-ink);
    background: var(--imprenta-paper);
}

a {
    color: inherit;
    text-underline-offset: .22em;
}

    a:hover {
        color: #625a00;
    }

h1, h2, h3 {
    font-weight: 750;
    letter-spacing: -.045em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.12rem;
    letter-spacing: -.025em;
}

h1:focus, h2:focus {
    outline: none;
}

.btn {
    border-radius: 5px;
    padding: .85rem 1.2rem;
    font-weight: 650;
    font-size: .9rem;
    transition: background .15s, transform .15s;
}

.btn-primary {
    --bs-btn-color: #1c1c1c;
    --bs-btn-bg: #ead801;
    --bs-btn-border-color: #ead801;
    --bs-btn-hover-color: #1c1c1c;
    --bs-btn-hover-bg: #d0c000;
    --bs-btn-hover-border-color: #d0c000;
    --bs-btn-active-color: #1c1c1c;
    --bs-btn-active-bg: #d0c000;
    --bs-btn-active-border-color: #d0c000;
}

.btn-dark {
    --bs-btn-bg: #1c1c1c;
    --bs-btn-border-color: #1c1c1c;
}

.btn-outline-dark {
    --bs-btn-hover-bg: #ead801;
}

.btn-sm {
    font-size: .78rem;
    padding: .5rem .8rem;
}

.btn:focus-visible, a:focus-visible {
    outline: 3px solid #8a7f00;
    outline-offset: 3px;
    box-shadow: none;
}

.form-control, .form-select {
    border: 1px solid #d4d3cd;
    border-radius: 5px;
    min-height: 50px;
    padding: .75rem .9rem;
    font-size: .9rem;
}

.form-select {
    padding-right: 2.5rem;
}

    .form-control:focus, .form-select:focus {
        border-color: #a69900;
        box-shadow: 0 0 0 3px #ead80135;
    }

.form-label {
    font-size: .8rem;
    font-weight: 650;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 25px 5%;
    background: white;
    min-height: 105px;
    border-bottom: 1px solid #e7e5e2;
}

.brand {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
}

    .brand img {
        width: 172px;
        max-height: 56px;
        object-fit: contain;
    }

.portal-label {
    font-size: .67rem;
    letter-spacing: .17em;
    font-weight: 700;
    padding-left: 28px;
    border-left: 1px solid #d4d3cd;
}

.website-link {
    margin-left: auto;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
}

    .website-link span {
        margin-left: 15px;
    }

.account-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.account-main {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    flex: 1;
    min-height: 710px;
}

.account-story {
    background: var(--imprenta-yellow);
    padding: 65px 10% 40px;
    position: relative;
    overflow: hidden;
}

.eyebrow {
    display: block;
    font-size: .65rem;
    letter-spacing: .18em;
    font-weight: 750;
    margin-bottom: 22px;
}

.account-story h1 {
    font-size: clamp(2.9rem, 4.3vw, 5rem);
    line-height: 1.07;
    letter-spacing: -.065em;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

    .account-story h1 span {
        color: white;
    }

.account-story > p {
    max-width: 330px;
    font-size: .88rem;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

.story-bottom {
    position: absolute;
    bottom: 38px;
    font-size: .72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1;
}

.story-line {
    height: 1px;
    width: 40px;
    background: #1c1c1c;
}

.board-art {
    position: absolute;
    width: 235px;
    height: 220px;
    background: #1c1c1c;
    color: white;
    right: -40px;
    bottom: 100px;
    transform: rotate(-12deg);
    padding: 26px;
    border: 8px solid #fff;
    box-shadow: 12px 15px 0 #c4b600;
}

    .board-art span {
        font-size: 1.8rem;
        line-height: 1.05;
        font-weight: 800;
        letter-spacing: -.05em;
    }

    .board-art b {
        color: #ead801;
        font-size: 1.14rem;
    }

.account-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 55px 45px 35px;
    background: #fbfbf8;
}

.account-card {
    max-width: 430px;
    width: 100%;
}

    .account-card > .eyebrow {
        color: #78766b;
        margin-bottom: 14px;
    }

    .account-card > h2 {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }

    .account-card > p {
        font-size: .85rem;
        line-height: 1.7;
    }

.passkey-choice .btn span {
    margin-left: 16px;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .65rem;
    color: #77766d;
    margin: 28px 0 24px;
}

    .form-divider::before, .form-divider::after {
        content: '';
        height: 1px;
        background: #dfded6;
        flex: 1;
    }

.password-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

    .password-label a {
        font-size: .72rem;
        padding-bottom: 8px;
    }

.security-note {
    background: #f0efe8;
    padding: 15px 17px;
    font-size: .67rem;
    line-height: 1.75;
    margin-top: 25px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .security-note > span {
        color: #6b6600;
    }

.invitation-note {
    font-size: .68rem !important;
    text-align: center;
    color: #73736b;
    margin: 20px 0 0;
}

.account-help {
    font-size: .64rem;
    color: #79776c;
    margin-top: 40px;
    text-align: center;
}

.brand-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    font-size: .63rem;
    color: #77756c;
    background: white;
    border-top: 1px solid #e7e5e2;
    gap: 20px;
}

.security-section {
    padding-top: 23px;
    margin-top: 23px;
    border-top: 1px solid #deddd4;
}

    .security-section p {
        font-size: .78rem;
        line-height: 1.7;
    }

.back-link {
    display: block;
    margin-top: 22px;
    font-size: .8rem;
}

.setup-key {
    display: block;
    overflow-wrap: anywhere;
    padding: 15px;
    background: #f0efe8;
    color: #1c1c1c;
}

.authenticator-qr {
    display: block;
    width: 256px;
    max-width: 100%;
    height: auto;
    background: white;
    image-rendering: pixelated;
}

.recovery-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    background: #f0efe8;
    gap: 12px;
}

    .recovery-codes code {
        color: #1c1c1c;
    }

.passkey-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: .8rem;
}

.code-input {
    font-size: 1.3rem;
    letter-spacing: .15em;
}

.validation-message, .validation-errors {
    color: #ae2121;
    font-size: .78rem;
    margin-top: 6px;
}

.invalid {
    border-color: #ae2121;
}

.portal-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-header {
    background: #fff;
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
}

.portal-chrome-inner {
    width: calc(min(100%, var(--portal-max-width)) - 2 * var(--portal-gutter));
    margin-inline: auto;
}

.portal-highlights {
    background: #fbf7cc;
    color: var(--imprenta-ink);
    font-size: .875rem;
    font-weight: 500;
}

.portal-highlights ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-block: 0;
    padding: 8px 0;
    list-style: none;
}

.portal-highlights li {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    line-height: 24px;
}

.portal-highlights img {
    flex: none;
}

.portal-header-main {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 116px;
    padding-block: 14px;
}

.portal-logo {
    flex: none;
    display: block;
}

.portal-logo img {
    display: block;
    width: 186px;
    height: auto;
}

.portal-greeting {
    min-width: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.portal-greeting strong,
.portal-greeting span {
    display: block;
}

.portal-navigation {
    --portal-nav-icon-size: 27px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-inline-start: auto;
}

.portal-navigation a {
    text-decoration: none;
}

.portal-navigation form {
    margin: 0;
}

.portal-navigation .fa-sharp {
    font-size: var(--portal-nav-icon-size);
    line-height: 1;
}

.portal-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    color: var(--imprenta-ink);
}

.portal-icon-link.active::after {
    position: absolute;
    inset: auto 5px 0;
    height: 2px;
    background: var(--imprenta-yellow);
    content: "";
}

.portal-icon-link:hover,
.portal-management-link:hover {
    background: #fbf7cc;
    border-radius: 8px;
}

.portal-management-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding-inline: 8px;
    font-weight: 600;
}

.portal-management-link.active {
    text-decoration: underline;
    text-decoration-color: #958b00;
    text-decoration-thickness: 2px;
}

.portal-navigation .portal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 24px;
}

.portal-navigation .portal-contact {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3a506b;
    --bs-btn-border-color: #3a506b;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1f2d3f;
    --bs-btn-hover-border-color: #1f2d3f;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1f2d3f;
    --bs-btn-active-border-color: #1f2d3f;
    min-width: 131px;
}

.portal-footer {
    background: var(--imprenta-ink);
    color: #fff;
}

.portal-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    min-height: 74px;
    padding-block: 16px;
    font-size: .875rem;
    line-height: 24px;
}

.portal-footer-main p { margin: 0; }
.portal-footer-main p span { margin-inline-start: 4px; }
.portal-footer-main nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.portal-footer-main nav a { text-decoration: none; }
.portal-footer-main a:hover { color: #fbf7cc; }

.portal-header-main.login-header-main {
    justify-content: space-between;
    flex-wrap: nowrap;
}

.login-website {
    border-radius: 12px;
    padding: 9px 20px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 24px;
}

.login-main {
    display: grid;
    align-items: center;
    flex: 1;
    padding-block: 46px;
    background: #f7f7f7;
}

.login-columns {
    display: grid;
    grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
    min-height: 684px;
    overflow: hidden;
    border-radius: 20px 10px 10px 20px;
    background: #fff;
}

.login-story {
    position: relative;
    grid-area: 1 / 1;
    display: grid;
    place-items: center;
    isolation: isolate;
    padding: 40px;
    background: #3a506b;
    color: #fff;
}

.login-story > img,
.login-story::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.login-story > img {
    object-fit: cover;
    z-index: -2;
}

.login-story::before {
    z-index: -1;
    background: rgb(0 0 0 / 50%);
    content: "";
}

.login-story-content {
    width: min(100%, 442px);
}

.login-story h2 {
    margin: 0 0 24px;
    font-size: clamp(2rem, 4.1vw, 55px);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.1;
}

.login-story p {
    max-width: 395px;
    margin: 0 0 0 8px;
    font-size: clamp(1rem, 2vw, 24px);
    line-height: 1.25;
}

.login-panel {
    grid-area: 1 / 2;
    display: grid;
    place-items: center;
    padding: 40px clamp(24px, 5vw, 80px);
}

.login-card { width: min(100%, 363px); }

.login-card:has(.account-security-heading) { width: min(100%, 560px); }

@media (min-width: 851px) {
    .login-columns:has(.account-security-heading) {
        grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    }

    .login-panel:has(.account-security-heading) {
        padding-inline: clamp(24px, 4vw, 60px);
    }
}

.login-card h1 {
    margin: 0 0 22px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: normal;
}

.login-card .form-label {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 600;
}

.login-card .form-control {
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 12px;
    border-color: #d9d6d1;
    font-size: 1rem;
    line-height: 24px;
}

.login-card .form-control.invalid { border-color: #ae2121; }
.login-card .form-control:focus { border-color: #a69900; }
.login-card .password-label a { padding-bottom: 6px; font-size: .875rem; }
.login-card .btn { min-height: 48px; border-radius: 12px; }

.login-card .login-submit {
    min-height: 55px;
    margin-top: 24px;
    font-size: 1.125rem;
    font-weight: 700;
}

.login-card .form-divider { margin: 14px 0; font-size: .8125rem; }

.login-help {
    margin-top: 20px;
    color: #625f59;
    font-size: .75rem;
    line-height: 1.6;
}

.login-help p { margin: 0 0 8px; }
.login-help p:last-child { margin-bottom: 0; }

@media (max-width: 850px) {
    .login-main { padding-block: 24px; }
    .login-columns { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 12px; }
    .login-panel, .login-story { grid-area: auto; }
    .login-panel { padding: 30px 20px; }
    .login-story { min-height: 240px; padding: 28px 20px; }
    .login-story p { margin-left: 0; }
}

@media (max-width: 560px) {
    .portal-header-main.login-header-main { min-height: 80px; }
    .login-website { padding-inline: 10px; font-size: .8125rem; }
    .login-shell .portal-logo img { width: clamp(105px, 38vw, 145px); }
}

@media (max-width: 1000px) {
    .portal-highlights ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portal-header-main { flex-wrap: wrap; gap: 12px 20px; }
    .portal-navigation { justify-content: flex-start; margin-inline-start: 0; }
}

@media (max-width: 560px) {
    .portal-highlights { font-size: .75rem; }
    .portal-highlights li { align-items: flex-start; line-height: 1.35; }
    .portal-logo img { width: 145px; }
    .portal-greeting { flex: 1; font-size: .875rem; }
    .portal-navigation { width: 100%; gap: 6px 8px; }
    .portal-navigation .portal-action { padding-inline: 12px; font-size: .875rem; }
    .portal-navigation .portal-contact { min-width: 0; }
}

.portal-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 23px;
    flex-wrap: wrap;
}

    .portal-nav a {
        text-decoration: none;
        font-size: .78rem;
        font-weight: 600;
    }

.portal-content {
    max-width: var(--portal-max-width);
    width: 100%;
    padding: 55px var(--portal-gutter) 80px;
    margin: auto;
    flex: 1;
}

    .portal-content > .eyebrow {
        color: #78766b;
    }

    .portal-content > .lead {
        color: #737166;
        font-size: 1rem;
        margin-bottom: 35px;
    }

.portal-card {
    background: white;
    border: 1px solid #e7e5e2;
    border-radius: 8px;
    padding: 28px;
}

    .portal-card.notification-in-progress {
        background: #fff8df;
        border-color: #e7cf76;
    }

    .portal-card h2 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .portal-card p {
        font-size: .85rem;
        line-height: 1.7;
    }

.office-welcome {
    display: flex;
    gap: 30px;
    align-items: center;
    border-left: 6px solid #ead801;
}

    .office-welcome-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 82px;
        height: 82px;
        font-size: 2rem;
        background: #fbf7cc;
        border-radius: 6px;
    }

    .office-welcome h2 {
        margin-bottom: 6px;
    }

    .office-welcome .eyebrow {
        margin-bottom: 10px;
    }

    .office-welcome p {
        margin: 0;
    }

.table {
    font-size: .8rem;
}

    .table thead th {
        font-size: .67rem;
        text-transform: uppercase;
        letter-spacing: .07em;
        color: #767369;
        padding-bottom: 16px;
    }

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px #0003;
    display: none;
    left: 0;
    padding: .6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        position: absolute;
        right: .75rem;
        top: .5rem;
        border: 0;
        background: none;
    }

@media (min-width: 1550px) {
    .account-story {
        padding-left: 14%;
    }

    .board-art {
        right: 0;
    }
}

@media (max-width: 1000px) {
    .account-story {
        padding: 50px 9%;
    }

        .account-story h1 {
            font-size: 3rem;
        }

    .board-art {
        width: 180px;
        height: 170px;
        bottom: 110px;
    }

        .board-art span {
            font-size: 1.4rem;
        }

        .board-art b {
            font-size: .85rem;
        }

    .portal-label {
        display: none;
    }

    .portal-nav {
        gap: 15px;
    }
}

@media (max-width: 700px) {
    .brand-header {
        min-height: 80px;
        padding: 18px 6%;
    }

    .brand img {
        width: 145px;
    }

    .website-link {
        font-size: .65rem;
    }

    .account-main {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .account-story {
        padding: 30px 7%;
    }

        .account-story .eyebrow {
            margin-bottom: 12px;
            font-size: .55rem;
        }

        .account-story h1 {
            font-size: 2.5rem;
            margin: 0;
        }

            .account-story h1 br {
                display: none;
            }

            .account-story h1 span {
                display: block;
            }

        .account-story > p, .story-bottom, .board-art {
            display: none;
        }

    .account-panel {
        padding: 35px 7% 20px;
    }

    .account-card > h2 {
        font-size: 2rem;
    }

    .account-help {
        margin-top: 28px;
    }

    .brand-footer {
        flex-wrap: wrap;
        font-size: .55rem;
        padding: 18px 6%;
        gap: 10px;
    }

    .portal-nav {
        margin-top: 15px;
        width: 100%;
    }

    .portal-shell .brand-header {
        flex-wrap: wrap;
    }

    .portal-content {
        padding-top: 32px;
    }

    .portal-card {
        padding: 22px;
    }

    .office-welcome {
        gap: 16px;
    }

        .office-welcome-icon {
            width: 64px;
            height: 64px;
        }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* changes on bootstrap css*/
.form-check-input:checked {
    background-color: #ead801;
    border-color: #ead801;
}

.badge {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 300;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: var(--bs-border-radius);
    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);
    letter-spacing: -.015em;
}

/* Bord bestellen — Figma Bordentool, scherm 1:2236. */
.xxl-preview:not(.board-order-preview) .xxl-product-column,
.xxl-preview:not(.board-order-preview) .xxl-summary-column { display: contents; }
.portal-content:has(.board-order-page) {
    padding-block: 48px 80px;
    background: #f7f7f7;
}
.portal-shell:has(.board-order-page) { background: #f7f7f7; }
.board-order-page { color: #1c1c1c; font-size: 16px; line-height: 1.5; }
.board-order-page h1, .board-order-page h2, .board-order-page h3, .board-order-page h4 { letter-spacing: normal; }
.board-order-page .order-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 56px;
    border-bottom: 1px solid #eae8e6;
}
.board-order-page .order-step {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 16px 8px 22px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #1c1c1c;
    font-size: 18px;
    font-weight: 400;
}
.board-order-page .order-step > span { width: 29px; height: 29px; flex: 0 0 29px; background: #eae8e6; }
.board-order-page .order-step.active { border-bottom-color: #ead801; background: transparent; font-weight: 600; }
.board-order-page .order-step.active > span { background: #ead801; }
.board-order-page .order-step:disabled { color: #1c1c1c; opacity: 1; }
.board-order-page .order-step:focus-visible { outline: 3px solid #958b00; outline-offset: -3px; }
.board-order-page .xxl-workspace { margin: 0; font-size: 16px; }
.board-order-page .board-order-preview { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 16px; }
.board-order-page .board-order-section-title { margin: 0 0 32px; font-size: 24px; line-height: 1.35; font-weight: 700; }
.board-order-page .xxl-preview-grid, .board-order-page .board-order-catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 753fr) minmax(0, 429fr);
    gap: 24px;
    align-items: start;
}
.board-order-page .xxl-product-column, .board-order-page .xxl-summary-column { min-width: 0; }
.board-order-page .xxl-product-panel, .board-order-page .board-order-catalog-panel { background: white; border-radius: 10px; padding: 0 26px 32px; }
.board-order-page .xxl-steps {
    display: flex;
    position: static;
    gap: 0;
    margin: 0 -26px 26px;
    padding: 0 26px;
    border: 0;
    border-bottom: 1px solid #eae8e6;
    border-radius: 10px 10px 0 0;
    background: transparent;
    overflow-x: auto;
}
.board-order-page .xxl-step, .board-order-page .xxl-form-jump {
    flex: 0 0 auto;
    padding: 26px 0 18px;
    margin-right: 48px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #1c1c1c;
    font-size: 18px;
    white-space: nowrap;
}
.board-order-page .xxl-step strong, .board-order-page .xxl-form-jump strong { font-weight: 400; }
.board-order-page .xxl-step.active { border-bottom-color: #1c1c1c; background: transparent; color: #1c1c1c; }
.board-order-page .xxl-step.active strong { font-weight: 600; }
.board-order-page .xxl-step > span, .board-order-page .xxl-form-jump > span { display: none; }
.board-order-page .board-order-product-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; color: #716c64; font-size: 13px; }
.board-order-page .board-order-product-intro p { margin: 0; }
.board-order-page .board-order-view-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.board-order-page .board-order-view-switch button { padding: 8px 12px; border: 1px solid #e7e5e2; border-radius: 6px; background: white; color: #1c1c1c; font: inherit; cursor: pointer; }
.board-order-page .board-order-view-switch button[aria-pressed="true"] { border-color: #958b00; background: #fbf7cc; font-weight: 600; }
.board-order-page .xxl-stage-heading { margin-bottom: 32px; }
.board-order-page .xxl-stage-heading .xxl-kicker { display: none; }
.board-order-page .xxl-stage-heading h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; }
.board-order-page .xxl-stage-heading p { margin: 0; color: #716c64; font-size: 14px; }
.board-order-page .xxl-question { margin: 0 0 48px; padding: 0; border: 0; }
.board-order-page .xxl-question-heading { margin-bottom: 28px; }
.board-order-page .xxl-question-heading h4 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.4; }
.board-order-page .xxl-question-heading > small { color: #716c64; font-size: 11px; }
.board-order-page .xxl-question > .xxl-muted { color: #716c64; font-size: 14px; }
.board-order-page .xxl-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; align-items: stretch; }
.board-order-page .xxl-choice { border: 1px solid #1c1c1c; border-radius: 10px; background: white; }
.board-order-page .xxl-choice > button { min-height: 72px; height: 100%; padding: 20px 24px; gap: 16px; color: #1c1c1c; font: inherit; }
.board-order-page .xxl-choice:has(.xxl-choice-copy > small) > button { min-height: 142px; align-items: flex-start; }
.board-order-page .xxl-choice:has(.xxl-option-input) > button { height: auto; }
.board-order-page .xxl-choice:hover { border-color: #958b00; box-shadow: inset 0 0 0 1px #958b00; }
.board-order-page .xxl-choice.selected { border-color: var(--imprenta-ink); background: var(--imprenta-yellow); box-shadow: inset 0 0 0 2px var(--imprenta-ink); }
.board-order-page .xxl-choice-copy > strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.board-order-page .xxl-choice-copy > small { margin-top: 8px; color: #1c1c1c; font-size: 14px; line-height: 24px; }
.board-order-page .xxl-choice .xxl-illustration { width: 47px; height: 36px; flex-basis: 47px; color: #1c1c1c; }
.board-order-page .xxl-choice-end { gap: 8px; color: #1c1c1c; }
.board-order-page .xxl-check:empty,
.board-order-page .xxl-choice.selected .xxl-check,
.board-order-page .xxl-choice.selected .xxl-choice-end:not(:has(.xxl-price:not(:empty), .xxl-unit-price)) { display: none; }
.board-order-page .xxl-price, .board-order-page .xxl-unit-price { color: #1c1c1c; font-size: 12px; }
.board-order-page .xxl-stage-actions { gap: 16px; margin-top: 32px; padding: 0; }
.board-order-page .xxl-button, .board-order-page .btn { border-radius: 12px; padding: 14px 20px; font-size: 18px; font-weight: 700; line-height: 24px; }
.board-order-page .xxl-button { background: #ead801; border: 1px solid #ead801; color: #1c1c1c; }
.board-order-page .xxl-button:hover { background: #d0c000; border-color: #d0c000; }
.board-order-page .xxl-button.secondary { background: white; border-color: #1c1c1c; color: #1c1c1c; }
.board-order-page .xxl-button:disabled { background: white; border-color: #eae8e6; color: #b1aba1; cursor: default; }
.board-order-page .xxl-text-button { padding: 0; color: #1c1c1c; font-size: 14px; font-weight: 400; text-decoration: underline; }
.board-order-page .xxl-summary-column { position: sticky; top: 24px; }
.board-order-page .xxl-summary, .board-order-page .board-order-summary-panel { position: static; padding: 28px 30px 32px; border: 0; border-radius: 10px; background: white; }
.board-order-page .xxl-summary-top { margin-bottom: 24px; }
.board-order-page .xxl-summary-top .xxl-text-button { font-size: 14px; }
.board-order-page .xxl-summary-group { margin: 0; padding: 0; border: 0; }
.board-order-page .xxl-summary-group > strong { display: none; }
.board-order-page .xxl-summary-line { gap: 12px; padding: 12px 0; border-bottom: 1px solid #eae8e6; color: #1c1c1c; font-size: 16px; font-weight: 600; }
.board-order-page .xxl-summary-line small { margin-bottom: 4px; color: #716c64; font-size: 14px; line-height: 24px; font-weight: 400; }
.board-order-page .xxl-summary-line b { font-size: 14px; }
.board-order-page .xxl-total { margin-top: 32px; padding: 8px 0 0; color: #1c1c1c; }
.board-order-page .xxl-total span, .board-order-page .xxl-total strong { font-size: 16px; font-weight: 600; letter-spacing: normal; }
.board-order-page .xxl-total small { display: inline; color: #1c1c1c; font-size: 14px; font-weight: 400; }
.board-order-page .xxl-summary-note { margin-top: 20px !important; border: 0; color: #716c64; font-size: 12px; }
.board-order-page .xxl-form-view .xxl-entry-section { padding: 0; border: 0; border-radius: 0; }
.board-order-page .xxl-form-options { display: block; border: 1px solid #deddd4; border-radius: 7px; overflow: hidden; }
.board-order-page .xxl-form-option { border: 0; border-radius: 0; background: white; }
.board-order-page .xxl-form-option + .xxl-form-option { border-top: 1px solid #deddd4; }
.board-order-page .xxl-form-option:hover { background: #f7f7f7; }
.board-order-page .xxl-form-option.selected { background: #fbf7cc; box-shadow: none; }
.board-order-page .xxl-form-option-label { min-height: 50px; }
.board-order-page .xxl-form-option-copy strong { font-size: 14px; color: #1c1c1c; }
.board-order-page .xxl-form-option-copy small, .board-order-page .xxl-form-option-price small { color: #1c1c1c; }
.board-order-page .board-order-catalog-panel { padding-top: 28px; }
.board-order-page .board-order-catalog-panel > h2 { margin: 0 0 28px; font-size: 20px; font-weight: 500; }
.board-order-page .xxl-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.board-order-page .xxl-catalog-card { position: relative; border: 1px solid #1c1c1c; border-radius: 10px; overflow: visible; }
.board-order-page .xxl-catalog-card:hover, .board-order-page .xxl-catalog-card:focus-within { background: #ead801; border-color: #ead801; }
.board-order-page .xxl-catalog-body { min-height: 142px; padding: 20px 24px; }
.board-order-page .xxl-catalog-body h2 { margin: 0 0 8px; font-size: 16px; line-height: 24px; font-weight: 600; }
.board-order-page .xxl-catalog-body p { margin: 0 0 16px; color: #1c1c1c; font-size: 14px; line-height: 24px; }
.board-order-page .xxl-catalog-body .btn { position: static; border: 0; padding: 0; background: transparent; color: #1c1c1c; font-size: 14px; text-decoration: underline; }
.board-order-page .xxl-catalog-body .btn::after { position: absolute; inset: 0; content: ""; border-radius: 10px; }
.board-order-page .board-order-summary-panel p { color: #716c64; font-size: 14px; }
.board-order-page .portal-card { border: 0; border-radius: 10px; }

.portal-shell:has(.office-home, .office-order-overview) {
    background: #f7f7f7;
}

.portal-content:has(.office-home, .office-order-overview) {
    padding-block: 54px 40px;
}

.office-home {
    --office-home-inset: clamp(16px, 3vw, 40px);
    color: #1c1c1c;
}

.office-home-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-inline: var(--office-home-inset);
    margin-bottom: 30px;
}

.office-home-heading h1,
.office-home .portal-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
    margin: 0;
}

.office-home-heading span {
    color: #626262;
    font-size: .875rem;
}

.office-home .portal-card {
    border: 0;
    border-radius: 10px;
    padding: var(--office-home-inset);
}

.office-home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 20px;
}

.office-home-action {
    display: grid;
    grid-template-columns: minmax(124px, 35%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    min-height: 233px;
    padding: 24px clamp(18px, 3vw, 40px);
    border-radius: 20px;
    box-shadow: 0 0 5px rgb(0 0 0 / 12%);
    color: inherit;
    text-decoration: none;
}

.office-home-action:hover {
    color: inherit;
    box-shadow: 0 0 0 2px #3a506b;
}

.office-home-action:hover h2 {
    text-decoration: underline;
}

.office-home-order {
    background: #ead801;
}

.office-home-help {
    background: #fbf7cc;
}

.office-home-action-icon {
    font-size: 6rem;
    line-height: 1;
}

.office-home .office-home-action p {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.5;
}

.office-home-orders-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 28px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.office-home-orders-header p {
    color: #626262;
    font-style: italic;
    margin: 4px 0 0;
}

.office-home-search {
    width: min(100%, 470px);
}

.office-home-search .input-group-text {
    padding: 9px;
    background: #3a506b;
    border-color: #3a506b;
}

:is(.office-home-orders, .office-order-overview-card) .table {
    font-size: .9375rem;
    margin-bottom: 0;
}

:is(.office-home-orders, .office-order-overview-card) .table > :last-child > tr > td {
    padding-block: 8px;
}

:is(.office-home-orders, .office-order-overview-card) .order-sort {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
}

:is(.office-home-orders, .office-order-overview-card) .order-sort:hover {
    text-decoration: underline;
}

:is(.office-home-orders, .office-order-overview-card) .btn-outline-dark,
.office-home-order-status {
    border-radius: 50rem;
    padding-inline: 16px;
    white-space: nowrap;
}

:is(.office-home-orders, .office-order-overview-card) .btn-outline-dark {
    padding-block: 4px;
}

.office-home-order-status {
    display: inline-block;
    padding-block: 2px;
    border: 1px solid #b8c4d1;
    color: #3a506b;
}

.office-home-order-status[data-status="Open"] {
    border-color: #298230;
    color: #23772a;
}

.office-home-order-status[data-closed="true"] {
    background: #ececec;
    border-color: transparent;
    color: #575757;
}

.office-home-orders-link {
    margin-top: 36px;
    text-align: center;
}

.office-home-orders-link .btn {
    border-radius: 12px;
    padding-inline: 30px;
}

.office-order-overview-header,
.office-order-overview-actions,
.office-order-overview-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
}

.office-order-overview-header,
.office-order-overview-toolbar {
    justify-content: space-between;
}

.office-order-overview-header {
    margin: 4px 0 40px;
}

.office-order-overview-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: normal;
    margin: 0 0 4px;
}

.office-order-overview-header p {
    margin: 0;
}

.office-order-overview-actions {
    gap: 10px;
}

.office-order-overview-actions .btn {
    border-radius: 12px;
}

.office-order-overview-actions .btn-primary {
    padding-inline: 24px;
}

.office-order-overview-card {
    padding: clamp(20px, 4.25vw, 60px) clamp(16px, 3vw, 42px) clamp(20px, 3.5vw, 48px);
    border: 0;
    border-radius: 10px;
}

.office-order-overview-toolbar {
    gap: 12px 20px;
    margin-bottom: clamp(20px, 3vw, 38px);
}

.office-order-overview-toolbar .office-home-search {
    flex: 1 1 260px;
    width: auto;
    max-width: 686px;
}

.office-order-overview-toolbar .form-control,
.office-order-overview-filter .form-select {
    min-height: 44px;
}

.office-order-overview-filter {
    position: relative;
    width: min(215px, 100%);
}

.office-order-overview-filter .form-select {
    padding: 8px 54px 8px 22px;
    border-radius: 10px;
    background-image: none;
    font-size: .875rem;
}

.office-order-overview-filter img {
    position: absolute;
    inset: 50% 18px auto auto;
    transform: translateY(-50%) rotate(180deg);
    pointer-events: none;
}

.office-order-overview-card .table {
    --bs-table-border-color: #e7e5e2;
}

.office-order-overview-card .table > :last-child > tr > td {
    padding-block: 6px;
}

.office-order-overview-card .table .text-end {
    font-weight: 600;
    white-space: nowrap;
}

.office-order-sort-icon {
    display: grid;
    gap: 1px;
}

.office-order-sort-icon img:last-child {
    transform: rotate(180deg);
}

.office-order-overview-note {
    padding-top: 12px;
    font-style: italic;
}

.portal-shell:has(.office-colleagues) {
    background: #f7f7f7;
}

.portal-content:has(.office-colleagues) {
    padding-block: 0 42px;
}

.office-colleagues-breadcrumb {
    border-bottom: 1px solid #e7e5e2;
    padding-block: 14px 18px;
    margin-bottom: 34px;
}

.office-colleagues-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider: ">";
    align-items: baseline;
    margin: 0;
    font-size: .875rem;
}

.office-colleagues-breadcrumb a {
    text-decoration: none;
}

.office-colleagues-breadcrumb a:hover {
    text-decoration: underline;
}

.office-colleagues h1,
.office-colleagues .portal-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
}

.office-colleagues h1 {
    margin-bottom: 40px;
}

.office-colleagues-card {
    border: 0;
    border-radius: 10px;
    padding: clamp(18px, 3vw, 42px);
    scroll-margin-top: 16px;
}

.office-colleagues-card .table {
    --bs-table-border-color: #e7e5e2;
    margin-bottom: 0;
    font-size: 1rem;
}

.office-colleagues-card .table th {
    font-weight: 600;
}

.office-colleagues-card .table td {
    padding-block: 14px;
    overflow-wrap: anywhere;
}

.office-colleagues-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.office-colleagues-actions .btn {
    border-radius: 50rem;
    padding-block: 4px;
    white-space: nowrap;
}

.office-colleagues-section {
    margin-top: clamp(24px, 3.3vw, 46px);
}

.office-colleagues .form-label {
    font-size: .9375rem;
}

.office-colleagues .form-control,
.office-colleagues .form-select {
    min-height: 53px;
    border-radius: 10px;
}

.office-colleagues :is(.form-control, .form-select):not(:focus, .invalid) {
    border-color: #e7e5e2;
}

.office-colleagues-invite {
    min-height: 55px;
    min-width: 196px;
    border-radius: 12px;
}

@media (max-width: 850px) {
    .office-home-actions {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .office-home-action {
        min-height: 170px;
    }
}

@media (max-width: 575.98px) {
    :root { --portal-gutter: 16px; }

    .portal-content:has(.office-home, .office-order-overview) {
        padding-block: 28px 36px;
    }

    .office-home-action {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .office-home-orders-header {
        margin-bottom: 20px;
    }

    .office-order-overview-header {
        margin-bottom: 24px;
    }

    .office-colleagues-breadcrumb,
    .office-colleagues h1 {
        margin-bottom: 24px;
    }

    .office-colleagues-invite {
        width: 100%;
        min-width: 0;
    }
}
.board-order-change-product { margin: 28px 0 0; font-size: 14px; }
@media (max-width: 1200px) {
    .portal-content:has(.board-order-page) { padding-block: 32px 64px; }
    .board-order-page .order-step { font-size: 15px; gap: 8px; }
    .board-order-page .xxl-choice-grid, .board-order-page .xxl-catalog { gap: 20px; }
    .board-order-page .xxl-choice > button { padding: 16px; flex-wrap: wrap; }
    .board-order-page .xxl-step, .board-order-page .xxl-form-jump { margin-right: 32px; font-size: 16px; }
}
@media (max-width: 900px) {
    .board-order-page .xxl-preview-grid, .board-order-page .board-order-catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .board-order-page .xxl-summary-column { position: static; }
    .board-order-page .order-step { flex-direction: column; font-size: 12px; gap: 8px; }
    .board-order-page .board-order-section-title { margin-bottom: 24px; }
}
@media (max-width: 540px) {
    .portal-content:has(.board-order-page) { padding-block: 24px 48px; }
    .board-order-page .order-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 32px; }
    .board-order-page .order-step { padding: 12px 4px; font-size: 13px; }
    .board-order-page .xxl-product-panel, .board-order-page .board-order-catalog-panel { padding: 0 20px 24px; }
    .board-order-page .board-order-catalog-panel { padding-top: 24px; }
    .board-order-page .xxl-steps { margin: 0 -20px 24px; padding: 0 20px; }
    .board-order-page .xxl-step, .board-order-page .xxl-form-jump { padding: 20px 0 16px; margin-right: 24px; font-size: 15px; }
    .board-order-page .xxl-choice-grid, .board-order-page .xxl-catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .board-order-page .xxl-question { margin-bottom: 32px; }
    .board-order-page .xxl-question-heading { margin-bottom: 20px; }
    .board-order-page .xxl-question-heading h4 { font-size: 18px; }
    .board-order-page .xxl-stage-actions { flex-wrap: wrap; }
    .board-order-page .xxl-stage-actions .xxl-button { flex: 1; padding: 12px 16px; font-size: 15px; }
    .board-order-page .xxl-summary, .board-order-page .board-order-summary-panel { padding: 24px 20px; }
    .board-order-page .btn { font-size: 15px; }
}

input[type="number"] {
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
