/* MYAXISVM portal: visual rules from new_design. Layout hooks stay in style.css. */
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/InterVariable.woff2') format('woff2');
}

:root {
    --brand-teal: #105D73;
    --brand-navy: #00151D;
    --brand-aqua: #A1DEE7;
    /* Use the visible PDF swatches where the annotations disagree. */
    --button-hover: #105D73;
    --button-pressed: #093943;
    --button-dark-hover: #88CDD3;
    --button-dark-pressed: #6CB6BD;
    --brand-gradient: linear-gradient(180deg, var(--brand-teal), var(--brand-navy));
    --error-color: #C51828;
    --required-color: #E20613;
    --success-color: #20734C;
    --warning-color: #875C12;
    --muted-color: #52656D;
    --surface-color: #F2F7F8;
    --main-color: var(--brand-teal);
    --main-font-color: var(--brand-navy);
    --white-color: #FFFFFF;
    --border-color: #7B898F;
    --divider-color: #D9E2E5;
    --card-radius: 5px;
    --control-radius: 4px;
    --card-shadow: 0 2px 14px rgb(0 21 29 / 30%);
    --page-gutter: clamp(24px, 5.5vw, 140px);
    font-family: Inter, Arial, sans-serif;
    color: var(--main-font-color);
    font-weight: 400;
    line-height: 1.5;
    font-synthesis: none;
}

body { background: var(--white-color); font-size: 16px; }
#page { min-height: 100vh; grid-template-rows: auto 1fr auto; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea, [tabindex] { -webkit-tap-highlight-color: transparent; }
a { color: var(--brand-teal); text-underline-offset: 3px; }
a:hover { color: var(--brand-navy); }
:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: var(--brand-navy); background: var(--brand-aqua); }

/* White header, supplied MYAXISVM wordmark, and existing navigation destinations. */
#header {
    position: relative;
    align-items: center;
    min-height: 138px;
    margin: 0;
    padding: 30px var(--page-gutter);
    gap: 40px;
    z-index: 20;
}
.logo-header { flex: none; }
.logo-header img { width: 268px; height: auto; }
#menu { min-width: 0; }
#menu-top { gap: clamp(20px, 3.1vw, 80px); flex-shrink: 1; }
.menu-item, .menu-item-mobile {
    color: var(--brand-navy);
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
}
button.menu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 400;
}
.menu-item:hover, .menu-item-mobile:hover { color: var(--brand-teal); }
.menu-item img { width: 48px; height: 48px; }
.language-arrow, .panel-arrow { font-size: 11px; }
.menu-dropdown { position: relative; display: inline-flex; flex-shrink: 0; }
#menu .language-div, #menu .menu-panel {
    position: absolute;
    top: calc(100% + 26px);
    left: 0;
    width: max-content;
    max-width: calc(100vw - 2 * var(--page-gutter));
    padding: 22px 26px;
    border: 1px solid var(--divider-color);
    border-radius: var(--card-radius);
    background: var(--white-color);
    box-shadow: 0 8px 24px rgb(0 21 29 / 16%);
    gap: 16px;
    align-items: stretch;
}
#menu .menu-panel .languages-div { flex-direction: column; align-items: flex-start; }
#menu .language-div { left: auto; right: 0; flex-direction: row; }
#menu .language-div .languages-div { flex-direction: column; align-items: flex-start; }
.language-div > hr, .menu-panel > hr { display: none; }
.languages-div { gap: 16px 24px; flex-wrap: wrap; }
#header-mobile, #menu-items-mobile { display: none; }

/* The original portal image and small white cards match the supplied examples. */
#main, #main-without-bg {
    min-width: 0;
    padding: 80px var(--page-gutter) 120px;
    background: #DCE3E8 url('../img/design/background-1.webp') center top / cover no-repeat;
    /* Keep cover sizing tied to the viewport when computer details expand. */
    background-attachment: fixed;
}
#main-without-bg { display: grid; place-items: center; }
#greeting {
    max-width: 2280px;
    margin: 0 auto 36px;
    font-size: 23px;
    font-weight: 500;
    color: var(--white-color);
    text-shadow: 0 1px 5px rgb(0 21 29 / 65%);
}
#content { max-width: 2012px; margin-inline: auto; gap: 36px; align-items: start; }
.content-column {
    flex: 1 1 420px;
    min-width: 0;
    width: 100%;
    max-width: 1000px;
    height: auto;
    gap: 36px;
}
.content-column-center { flex: 0 1 676px; max-width: 676px; }
.content-container, .content-container-form, .content-container-bottom-padding {
    min-width: 0;
    height: auto;
    padding: clamp(28px, 3.1vw, 55px);
    border-radius: var(--card-radius);
    background: var(--white-color);
    box-shadow: var(--card-shadow);
    overflow-wrap: anywhere;
}
.content-container-form { padding: clamp(36px, 4.1vw, 90px) clamp(28px, 5.4vw, 138px) clamp(40px, 5vw, 109px); }
.content-container-center { width: 100%; }
.content-container-bottom-padding { padding-bottom: 65px; }
.content-container-form form { max-width: 100%; }
.logo-on-top { margin-bottom: 28px; }
.logo-in-content { margin-block: 28px; }
.logo-on-top img, .logo-in-content img { max-width: 100%; height: auto; }
p, ul, ol { font-size: 16px; }
p { line-height: 1.55; }
ul, ol { line-height: 1.55; }
h1, h2 { font-size: 28px; font-weight: 500; line-height: 1.3; margin-bottom: 34px; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
h4 { font-size: 22px; font-weight: 500; line-height: 1.4; }
h5 { font-size: 20px; font-weight: 500; line-height: 1.4; margin: 36px 0 20px; }
h6 { font-size: 25px; font-weight: 700; line-height: 1.3; margin-bottom: 36px; color: var(--brand-teal); }
hr { background: var(--divider-color); }
.button-container-right { flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.button-container-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.button-container-grid .button { max-width: 100%; }
.computer-container { grid-template-columns: minmax(80px, 145px) minmax(0, 1fr); gap: 12px; }
.computer-container > div, .data-change-value { min-width: 0; overflow-wrap: anywhere; }

/* Medium Inter labels, four-pixel corners, gradient/default and solid interaction states. */
.button, .button-small, .site-toggle-btn, .chatbot-send, .cookies-eu-banner button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    height: auto;
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: var(--control-radius);
    color: var(--white-color);
    background: var(--brand-gradient);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: box-shadow .15s, border-color .15s;
}
.button { min-width: min(255px, 100%); }
.button-small { min-height: 36px; padding: 8px 16px; font-size: 12px; }
.button:hover, .button-small:hover, .site-toggle-btn:hover,
.chatbot-send:hover:not(:disabled), .cookies-eu-banner button:hover {
    background: var(--button-hover);
    color: var(--white-color);
    border-color: transparent;
}
.button:active, .button-small:active, .site-toggle-btn:active,
.chatbot-send:active:not(:disabled), .cookies-eu-banner button:active {
    background: var(--button-pressed);
    color: var(--white-color);
}
button:disabled, input:disabled, select:disabled, .button[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
}
.button:disabled, .button-small:disabled, .chatbot-send:disabled { background: var(--surface-color); color: var(--muted-color); border-color: var(--divider-color); }
button:disabled:hover { background: var(--surface-color); color: var(--muted-color); border-color: var(--divider-color); }
.button-danger { background: var(--error-color); }
.button-danger:hover { background: #9F1220; }
.button-danger:active { background: #7E0D18; }

/* Fluid fields retain the 400px reference width where space permits. */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), select, textarea {
    width: 400px;
    max-width: 100%;
    min-height: 46px;
    height: auto;
    margin-top: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--control-radius);
    background: var(--white-color);
    color: var(--brand-navy);
    font-size: 16px;
    line-height: 1.5;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 2px;
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error-color); }
input[type=checkbox], input[type=radio] {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--brand-teal);
    cursor: pointer;
}
.input-container { min-width: 0; max-width: 100%; margin-bottom: 32px; font-size: 16px; }
.checkbox-container { gap: 0 12px; align-items: start; }
.checkbox-container > label { margin: 0; line-height: 1.5; }
.red-star { color: var(--required-color); }
.error-message, .modal-error, .chat-error .chat-text, .deny-message { color: var(--error-color); }
.error-message { font-size: 15px; margin-bottom: 24px; }
.error-message:empty { display: none; }
#limit { margin-top: 4px; font-size: 12px; color: var(--muted-color); }
#forgotpass { margin-top: 24px; font-size: 15px; }
#forgotpass > a { color: var(--brand-teal); }
.data-change { gap: 6px; margin-bottom: 24px; }
.contact-card { border-color: var(--divider-color); border-radius: var(--card-radius); padding: 24px; }
.contact-card > *, .contact-row { min-width: 0; max-width: 100%; }
.contact-row .input-container > input { width: 100%; }
.upload-container { position: relative; gap: 16px; }
.upload-container input[type=file] {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 58px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.upload-container:focus-within { outline: 3px solid var(--brand-teal); outline-offset: 5px; border-radius: 4px; }
.upload-title { font-weight: 500; }
.upload-details { margin-top: 5px; font-size: 13px; color: var(--muted-color); }
#selected-files { font-size: 14px; overflow-wrap: anywhere; }
#request-steps { grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 25px 24px; }
.request-step-number { font-size: 36px; line-height: 1.2; font-weight: 700; color: var(--brand-teal); }
.request-step-description { padding-top: 5px; font-size: 15px; line-height: 1.55; }

/* Company example: centered cards and compact invitation rows. */
.company-page { flex: 0 1 1000px; gap: 36px; }
.company-page .content-container { gap: 20px; }
.company-page h1 { margin: 0 0 10px; }
.company-page h3 { font-size: 16px; }
.company-page p { margin: 0; }
.company-page form { min-width: 0; max-width: 100%; gap: 18px; }
.company-page .company-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.company-intro .button { min-width: 0; }
.company-page .table-scroll { max-width: 100%; overflow-x: auto; }
.company-page table { border-collapse: collapse; font-size: 15px; }
.company-page td { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--divider-color); vertical-align: middle; }
.company-page tr:last-child td { border-bottom: 0; }
.company-page td:last-child { padding-right: 0; text-align: right; }
.company-page td .button { min-width: 150px; }
.company-page td form { align-items: flex-end; }
.company-page:has(.company-members) { flex-basis: 1280px; max-width: 1280px; }
.module-grid { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.module-grid .checkbox-container > p { margin-left: 0; color: var(--muted-color); }
.module-grid .checkbox-container > p.module-reason { color: var(--warning-color); }

/* Full-width supplied footer artwork with the exact AXISVM mark from the PDF. */
#footer {
    margin: 0;
    padding: 100px var(--page-gutter) 130px;
    min-height: 580px;
    background: var(--brand-navy) url('../img/design/footer.webp') center bottom / cover no-repeat;
    color: var(--white-color);
}
#footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    max-width: 2280px;
    margin: 0 auto;
    gap: 45px;
}
.footer-column { min-width: 0; margin: 0; }
#footer-support { display: flex; flex-direction: column; align-items: flex-start; }
#footer h4 { color: var(--brand-aqua); font-size: 25px; font-weight: 400; margin: 0 0 72px; }
#footer a { color: var(--white-color); text-decoration: none; }
#footer a:hover { color: var(--brand-aqua); }
#footer a:focus-visible { outline-color: var(--brand-aqua); }
#footer-intercad-logo-container { margin-bottom: 44px; }
#footer-intercad-img { width: 255px; height: auto; margin: 0 0 10px; }
#footer-company-subtitle { margin: 0; font-size: 16px; font-weight: 400; }
#footer-contact-grid { grid-template-columns: 18px minmax(0, 1fr); gap: 22px 28px; font-size: 16px; line-height: 1.5; }
.footer-contact-icon { width: 18px; height: 20px; object-fit: contain; margin-top: 2px; }
.footer-contact-value { overflow-wrap: anywhere; }
#footer .footer-button, .cookies-eu-banner button {
    color: var(--brand-navy);
    background: var(--brand-aqua);
    border-color: transparent;
}
#footer .footer-button { width: 265px; min-width: 0; min-height: 52px; margin-bottom: 22px; }
#footer .footer-button:hover, .cookies-eu-banner button:hover { color: var(--brand-navy); background: var(--button-dark-hover); }
#footer .footer-button:active, .cookies-eu-banner button:active { color: var(--brand-navy); background: var(--button-dark-pressed); }
#sm-icons { gap: 16px; flex-wrap: wrap; }
#sm-icons img { width: 36px; height: 36px; }
#logo-footer { display: block; align-self: start; margin: 0; }
#logo-footer img { width: 139px; height: auto; }

/* Dialogs, utility screens, and the existing cookie notice. */
dialog, .modal-window {
    width: min(812px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    max-height: calc(100dvh - 40px);
    padding: 48px;
    border: 0;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    color: var(--brand-navy);
    background: var(--white-color);
    overflow-y: auto;
}
dialog::backdrop { background: rgb(0 21 29 / 65%); opacity: 1; }
.modal-overlay { background: rgb(0 21 29 / 65%); }
.modal-window { max-width: 600px; }
#content-404 { gap: 20px; padding: 55px; border-radius: var(--card-radius); background: var(--white-color); box-shadow: var(--card-shadow); }
.title-404 { font-size: 30px; font-weight: 500; margin: 0; }
.title-404-red { color: var(--brand-teal); font-size: 64px; font-weight: 700; }
.cookies-eu-banner { padding: 15px var(--page-gutter); background: var(--brand-navy); color: var(--white-color); font-size: 13px; box-shadow: 0 -2px 12px rgb(0 21 29 / 15%); z-index: 50; }
.cookies-eu-banner button { min-height: 36px; margin-left: 12px; padding: 8px 20px; font-size: 13px; }

/* Extend the same palette to support filters, DataTables, and cloud tables. */
.ta-wrapper { max-width: 1500px; }
.ta-header-row h2 { color: var(--brand-navy); font-size: 28px; font-weight: 500; }
#filterDiv { border-color: var(--divider-color); background: var(--surface-color); border-radius: var(--card-radius); }
.filter-grid { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.multiselect-box, .multiselect-dropdown { border-radius: var(--control-radius); }
.multiselect-option:hover, #taTable tbody tr:hover { background: #E9F5F7; }
.multiselect-text, .multiselect-chevron, .dt-info { color: var(--muted-color); }
.multiselect-text.has-selection { color: var(--brand-navy); }
.multiselect-actions, #taTable thead th { background: var(--surface-color); }
.site-input, input.site-input { width: 100% !important; margin-top: 0 !important; }
.text-filter-checkboxes { height: auto; min-height: 42px; }
.ta-wrapper .dt-container .dt-paging .dt-paging-button { border-radius: var(--control-radius); min-width: 36px; min-height: 36px; }
.ta-wrapper .dt-container .dt-paging .dt-paging-button.current,
.ta-wrapper .dt-container .dt-paging .dt-paging-button.current:hover { background: var(--brand-gradient) !important; color: var(--white-color) !important; border-color: var(--brand-teal) !important; }
.ta-wrapper .dt-container .dt-paging .dt-paging-button:hover:not(.disabled):not(.current) { background: var(--brand-teal) !important; color: var(--white-color) !important; border-color: var(--brand-teal) !important; }
.ta-wrapper .dt-container .dt-paging .dt-paging-button:active:not(.disabled) { background: var(--button-pressed) !important; box-shadow: none; }
.ta-wrapper .dt-container select { width: auto; min-height: 36px; margin: 0 5px; }
.ta-wrapper table.dataTable thead th { background: var(--surface-color); color: var(--brand-navy); border-bottom: 2px solid var(--brand-teal); white-space: nowrap; overflow-wrap: normal; }
.lang-tab-active { background: var(--brand-teal) !important; }
#mainDiv { min-width: 0; }
#mainDiv table { display: block; max-width: 100%; overflow-x: auto; }
#mainDiv img { height: auto; }
.cloud-page table, .unregister-dialog table { font-size: 14px; }
.cloud-page thead, .unregister-dialog thead { background: var(--surface-color); }
.cloud-page th, .cloud-page td, .unregister-dialog th, .unregister-dialog td { border-bottom: 1px solid var(--divider-color); }
.cloud-page .button, .cloud-page .button-small { min-width: 0; }

/* Assistant keeps its chat behavior and code/math formatting. */
.content-container.chatbot-container { padding: 0; border: 0; }
.chatbot-avatar, .chat-user { background: var(--brand-gradient); }
.chatbot-online, .chatbot-welcome p, .chat-status, .chat-popover-meta { color: var(--muted-color); }
.chatbot-online::before { background: var(--success-color); }
.chatbot-body { background: var(--surface-color); }
.chat-message { border-radius: 6px; }
.chat-bot { border-color: var(--divider-color); }
.chat-error .chat-text { color: var(--error-color); }
.chatbot-form, .license-item, .chatbot-license-info #chatbot-license-label, .chat-popover { border-radius: var(--control-radius); }
.chatbot-form textarea { width: 100%; min-width: 0; min-height: 40px; margin: 0; padding: 9px 0; border: 0; border-radius: 0; }
.chatbot-form textarea:focus-visible { outline: 0; }
.chatbot-form:focus-within { outline: 2px solid var(--brand-teal); outline-offset: 2px; }
.chatbot-send { width: 42px; height: 42px; min-height: 42px; padding: 0; }
.chat-cite { border-radius: 3px; background: var(--brand-teal); }
.chat-cite:hover { background: var(--button-pressed); }
.chat-video-play { background: var(--brand-gradient); }
.chat-text pre { background: var(--brand-navy); }
.chat-user .chat-text a { color: var(--brand-aqua); }
.chat-text .chat-math { background: var(--surface-color); }

/* No mobile mockups were supplied: preserve content and stack the existing layouts. */
@media (max-width: 1199px) {
    #header { display: none; }
    #header-mobile {
        display: flex;
        position: relative;
        grid-area: header;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin: 0;
        padding: 22px var(--page-gutter);
        background: var(--white-color);
        z-index: 20;
    }
    #header-mobile .logo-header img { width: 215px; }
    .sandwich-container { display: flex; width: 44px; height: 44px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
    .sandwich-bar1, .sandwich-bar2, .sandwich-bar3 { display: block; width: 28px; height: 2px; background: var(--brand-navy); transition: transform .15s; }
    .sandwich-change .sandwich-bar1 { transform: translateY(9px) rotate(45deg); }
    .sandwich-change .sandwich-bar2 { opacity: 0; }
    .sandwich-change .sandwich-bar3 { transform: translateY(-9px) rotate(-45deg); }
    #menu-items-mobile { display: flex; position: absolute; inset: 88px 0 auto; z-index: 19; max-height: calc(100dvh - 88px); overflow-y: auto; padding: 28px var(--page-gutter); gap: 22px; background: var(--white-color); box-shadow: 0 10px 24px rgb(0 21 29 / 16%); flex-direction: column; align-items: stretch; }
    #menu-items-mobile > hr { display: none; }
    #menu-items-mobile .language-div { align-items: stretch; }
    #menu-items-mobile .languages-div { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 16px 24px; }
    #menu-items-mobile .menu-item-mobile { min-height: 30px; }
    #main, #main-without-bg { padding-top: 55px; padding-bottom: 70px; }
    #content { gap: 28px; }
    .content-container-form { padding: 40px 32px 50px; }
    #footer { padding-top: 65px; padding-bottom: 80px; min-height: 0; }
    #footer-columns { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
    #logo-footer { grid-column: 3; }
    #footer h4 { font-size: 20px; margin-bottom: 38px; }
    #footer-intercad-img { width: 210px; }
    #footer-company-subtitle, #footer-contact-grid { font-size: 14px; }
    #footer-contact-grid { column-gap: 16px; }
}

@media (max-width: 900px) {
    .content-column { flex-basis: 100%; max-width: 100%; }
    .content-column-center { flex-basis: 676px; max-width: 676px; }
    #content { max-width: 760px; }
    #content:has(.ta-wrapper), #content:has(.cloud-page), #content:has(.chatbot-container) { max-width: none; }
    .content-container-form { padding: 40px; }
    .content-container-form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), .content-container-form select { width: 100%; }
    .content-container-form form { max-width: 520px; }
    #footer-columns { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
    #logo-footer { grid-column: 2; }
    .button-container-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'button-top-left' 'button-top-right' 'button-bottom-left' 'button-bottom-right'; }
}

@media (max-width: 520px) {
    :root { --page-gutter: 20px; }
    #header-mobile { padding-block: 18px; }
    #header-mobile .logo-header img { width: 180px; }
    #menu-items-mobile { top: 80px; max-height: calc(100dvh - 80px); }
    #main, #main-without-bg { padding-block: 32px 45px; }
    #greeting { font-size: 18px; margin-bottom: 25px; }
    #content, .content-column, .company-page { gap: 24px; }
    .content-container, .content-container-form, .content-container-bottom-padding { padding: 28px 24px 32px; }
    h1, h2, .ta-header-row h2 { font-size: 23px; margin-bottom: 25px; }
    h6 { font-size: 21px; margin-bottom: 25px; }
    p, ul, ol, .input-container { font-size: 15px; }
    h5 { font-size: 18px; }
    .input-container { margin-bottom: 25px; }
    .button { min-width: 0; width: 100%; min-height: 46px; padding: 12px 16px; }
    .button-small { max-width: 100%; }
    #request-steps { grid-template-columns: 28px minmax(0, 1fr); gap: 20px 14px; }
    .request-step-number { font-size: 28px; }
    .request-step-description { padding-top: 2px; font-size: 14px; }
    .company-page td { min-width: 120px; font-size: 13px; }
    .company-page td .button { min-width: 110px; }
    .company-page .company-intro { align-items: stretch; }
    .company-intro > * { width: 100%; }
    .company-invitations table, .company-invitations tbody { display: block; }
    .company-invitations tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 12px; }
    .company-invitations td { min-width: 0; padding: 0; border: 0; align-self: center; }
    .company-invitations td:first-child { grid-column: 1 / -1; font-weight: 500; }
    .company-invitations td .button { width: auto; }
    .button-container-right { gap: 12px; margin-top: 25px; }
    .computer-container { grid-template-columns: 85px minmax(0, 1fr); font-size: 13px; }
    .contact-card { padding: 20px 16px; }
    .contact-row { gap: 20px; }
    dialog, .modal-window { padding: 28px 24px; }
    #content-404 { padding: 32px 24px; }
    .title-404 { font-size: 24px; }
    .title-404-red { font-size: 56px; }
    #footer { padding: 46px var(--page-gutter) 65px; }
    #footer-columns { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    #footer h4 { margin-bottom: 24px; font-size: 20px; }
    #footer-intercad-logo-container { margin-bottom: 28px; }
    #logo-footer { grid-column: auto; margin-top: 4px; }
    #logo-footer img { width: 100px; }
    #footer .footer-button { max-width: 100%; min-height: 46px; }
    .cookies-eu-banner { text-align: left; }
    .cookies-eu-banner button { margin: 10px 0 0; }
    #filterDiv { padding: 16px; }
    .text-input-col { flex-basis: 100%; min-width: 0; }
    .chatbot-container { height: 75dvh; min-height: 400px; }
    .chatbot-license-info { flex-wrap: wrap; }
    .chatbot-form textarea { font-size: 16px; }
    .chat-feedback { flex-wrap: wrap; }
    .chat-message { max-width: 94%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
