.elaax-portal-host {
    --elaax-portal-header-height: 72px;
    --elaax-portal-footer-height: 25px;
    --elaax-portal-sidebar-width: 300px;
    background: #eef3f8;
    color: #06223b;
}

.elaax-portal-host #html-main {
    background:
        radial-gradient(circle at top left, rgba(11, 92, 171, 0.08), transparent 28rem),
        linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
    box-sizing: border-box;
    min-height: calc(100vh - var(--elaax-portal-header-height));
    padding: var(--elaax-portal-header-height) 0 var(--elaax-portal-footer-height);
}

.elaax-portal-host--auth-screen {
    height: 100svh;
    overflow: hidden;
}

.elaax-portal-host--auth-screen #html-main {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
}

.elaax-portal-host--legal,
.elaax-portal-host--legal #html-main {
    background: #ffffff;
}

.elaax-portal-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    min-height: var(--elaax-portal-header-height);
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.elaax-portal-topbar__inner {
    min-height: var(--elaax-portal-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1.4rem 0 0;
}

.elaax-portal-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #06223b;
    text-decoration: none;
}

.elaax-portal-topbar__brand img {
    width: var(--elaax-portal-header-height);
    height: var(--elaax-portal-header-height);
    max-width: none;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

.elaax-portal-topbar__brand-copy {
    display: grid;
    gap: 0.12rem;
}

.elaax-portal-topbar__brand-copy strong {
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 0.95;
}

.elaax-portal-topbar__brand-copy small {
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    line-height: 0.95;
}

.elaax-portal-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.elaax-portal-topbar__action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
    padding: 0;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #06223b;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.elaax-portal-topbar__action-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.elaax-portal-topbar__action::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 1200;
    min-width: max-content;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: ##FD500;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.2rem);
    transition: opacity 120ms ease, transform 120ms ease;
}

.elaax-portal-topbar__action:hover::after,
.elaax-portal-topbar__action:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.elaax-portal-topbar__action:hover,
.elaax-portal-topbar__action:focus-visible {
    background: #FFD500;
    border-color: #e0bb01;
    color: #ffffff;
}

.elaax-portal-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.elaax-portal-host #html-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    box-shadow: none;
}

.elaax-portal-host #html-header .header-container {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.elaax-portal-host #html-header .header-container .header-bottom {
    min-height: var(--elaax-portal-header-height);
    height: var(--elaax-portal-header-height);
    padding: 0 1.4rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
    background: transparent;
}

.elaax-portal-host .main-nav.elaax-portal-header-nav {
    display: none;
}

.elaax-portal-host #header-logo,
.elaax-portal-host #header-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #06223b;
    text-decoration: none;
}

.elaax-portal-host #header-logo .icon-logo img {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 14px;
}

.elaax-portal-host #header-logo .text-logo {
    display: grid;
    gap: 0.12rem;
}

.elaax-portal-host #header-logo .text-logo .elaax {
    font-size: 1rem;
    line-height: 1.2;
}

.elaax-portal-host #header-logo .text-logo .it-service {
    color: #5d738a;
    font-size: 0.82rem;
}

.elaax-portal-host #header-logo a::after {
    content: "Zur Homepage";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #06223b;
    font-weight: 600;
    line-height: 1;
}

.elaax-portal-host #html-footer {
    position: static;
    min-height: var(--elaax-portal-footer-height);
    border-top: 1px solid rgba(6, 34, 59, 0.08);
    background: rgba(255, 255, 255, 0.88);
    color: #5d738a;
    padding: 0;
}

.elaax-portal-host--auth-screen #html-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
}

.elaax-portal-host #html-footer .footer-container,
.elaax-portal-host #html-footer .footer-company-infos {
    display: none;
}

.elaax-portal-host #html-footer #footer-copyright {
    min-height: var(--elaax-portal-footer-height);
    justify-content: flex-end;
    background: transparent;
    color: #5d738a;
    padding: 0.55rem 1.5rem;
    text-align: right;
}

.elaax-portal-host--auth #html-footer #footer-copyright {
    padding-left: calc(var(--elaax-portal-sidebar-width) + 1.5rem);
}

.elaax-portal-host #html-footer #footer-copyright > p:first-child::after {
    content: " Powered by ELAAX IT-Service";
    display: inline-block;
    margin-left: 1rem;
    color: #06223b;
    font-weight: 600;
}

.elaax-portal-host #html-footer #footer-copyright > p:not(:first-child) {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    margin: 0;
    z-index: 1090;
}

.elaax-portal-shell {
    max-width: 1380px;
    margin: 0 auto;
    padding: 2rem 1rem 0;
}

.elaax-portal-shell--auth {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    min-height: calc(100svh - var(--elaax-portal-header-height) - var(--elaax-portal-footer-height));
    display: grid;
    align-items: start;
    justify-items: center;
    padding: 0;
    overflow-x: hidden;
}

.elaax-portal-shell--app {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - var(--elaax-portal-header-height));
    display: block;
}

.elaax-portal-panel {
    background: #ffffff;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 26px;
    padding: 1.75rem;
    box-shadow: none;
}

.elaax-portal-panel--auth {
    width: min(520px, 100%);
    border-radius: 18px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    box-shadow: 0 22px 58px rgba(6, 34, 59, 0.08);
}

.elaax-auth-layout {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    min-height: calc(100svh - var(--elaax-portal-header-height) - var(--elaax-portal-footer-height));
    margin: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr) clamp(520px, 30vw, 640px);
    gap: 0;
    align-items: stretch;
    justify-items: stretch;
    overflow-x: hidden;
}

.elaax-auth-layout,
.elaax-auth-layout *,
.elaax-auth-layout *::before,
.elaax-auth-layout *::after {
    box-sizing: border-box;
}

.elaax-auth-layout .elaax-portal-panel--auth {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: inherit;
    align-self: stretch;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(2.4rem, 3.5vw, 4rem);
}

.elaax-portal-host--auth-screen .elaax-portal-shell--auth,
.elaax-portal-host--auth-screen .elaax-auth-layout {
    height: calc(100svh - var(--elaax-portal-header-height) - var(--elaax-portal-footer-height));
    min-height: 0;
}

.elaax-portal-host--auth-screen .elaax-auth-layout .elaax-portal-panel--auth {
    min-height: 0;
    max-height: 100%;
}

.elaax-portal-host--auth-screen .elaax-auth-visual {
    height: 100%;
    min-height: 0;
    filter: contrast(1.25) brightness(1.2);
}

.elaax-portal-host--auth-screen .elaax-auth-visual img {
    min-height: 0;
}

.elaax-auth-layout .elaax-registration-panel--start,
.elaax-auth-layout .elaax-registration-panel--complete {
    width: 100%;
}

.elaax-portal-host--registration-complete .elaax-auth-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    padding: clamp(1.25rem, 2.5vw, 2.4rem);
    overflow: hidden;
}

.elaax-portal-host--registration-complete .elaax-auth-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.elaax-portal-host--registration-complete .elaax-auth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.elaax-portal-host--registration-complete .elaax-auth-visual__shade {
    background:
        linear-gradient(90deg, rgba(6, 34, 59, 0.36), rgba(6, 34, 59, 0.12) 42%, rgba(6, 34, 59, 0.36)),
        linear-gradient(180deg, rgba(6, 34, 59, 0.1), rgba(6, 34, 59, 0.3));
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete {
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: center;
    width: min(960px, calc(100vw - 3rem));
    min-height: 0;
    max-height: calc(100svh - var(--elaax-portal-header-height) - var(--elaax-portal-footer-height) - 2rem);
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 64px rgba(6, 34, 59, 0.18);
    backdrop-filter: blur(14px);
    overflow-y: auto;
    padding: clamp(1.6rem, 2.4vw, 2.4rem);
    transition: width 180ms ease;
    scrollbar-color: rgba(6, 34, 59, 0.28) rgba(255, 255, 255, 0.34);
    scrollbar-width: thin;
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete::-webkit-scrollbar {
    width: 0.55rem;
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete::-webkit-scrollbar-track {
    margin: 0.9rem 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete::-webkit-scrollbar-thumb {
    border: 2px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(6, 34, 59, 0.26);
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 34, 59, 0.38);
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete[data-registration-current-step="1"] {
    width: min(780px, calc(100vw - 3rem));
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete[data-registration-current-step="2"] {
    width: min(860px, calc(100vw - 3rem));
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete[data-registration-current-step="3"],
.elaax-portal-host--registration-complete .elaax-registration-panel--complete[data-registration-current-step="4"] {
    width: min(1040px, calc(100vw - 3rem));
}

.elaax-portal-host--registration-complete .elaax-portal-auth-intro {
    max-width: 44rem;
    width: 100%;
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete .elaax-portal-auth-intro h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.elaax-portal-host--registration-complete .elaax-portal-auth-intro p:not(.elaax-portal-kicker),
.elaax-portal-host--registration-complete .elaax-registration-panel--complete label,
.elaax-portal-host--registration-complete .elaax-registration-panel--complete legend {
    color: #06223b;
}

.elaax-portal-host--registration-complete .elaax-registration-panel--complete label {
    font-weight: 800;
}

.elaax-portal-host--registration-complete .elaax-registration-flow {
    gap: 1.15rem;
    width: 100%;
}

.elaax-portal-host--registration-complete .elaax-registration-step[data-registration-step-panel="1"] .elaax-registration-account-fields {
    width: 100%;
}

.elaax-portal-host--registration-complete .elaax-registration-progress,
.elaax-portal-host--registration-complete .elaax-registration-step,
.elaax-portal-host--registration-complete .elaax-registration-actions {
    width: 100%;
}

.elaax-auth-visual {
    position: relative;
    min-height: calc(100svh - var(--elaax-portal-header-height) - var(--elaax-portal-footer-height));
    justify-self: center;
    overflow: hidden;
}

.elaax-auth-visual img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.elaax-auth-visual__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 34, 59, 0.08), rgba(6, 34, 59, 0.42)),
        radial-gradient(circle at 22% 18%, rgba(255, 202, 40, 0.24), transparent 30%);
    pointer-events: none;
}

.elaax-portal-kicker {
    margin: 0 0 0.5rem;
    color: #0b5cab;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.elaax-portal-auth-intro h1,
.elaax-portal-pagehead h1 {
    margin: 0;
    color: #06223b;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.elaax-portal-auth-intro p,
.elaax-portal-pagelead {
    color: #516c84;
}

.elaax-portal-auth-intro {
    margin-bottom: 1.5rem;
}

.elaax-portal-auth-intro h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    max-width: 12ch;
}

.elaax-portal-auth-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    margin-top: 1rem;
    color: #5d738a;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.elaax-portal-auth-switch a {
    color: #0b5cab;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.elaax-portal-auth-switch a:hover,
.elaax-portal-auth-switch a:focus-visible {
    color: #06223b;
}

.elaax-portal-sidebar {
    position: fixed;
    top: var(--elaax-portal-header-height);
    left: 0;
    z-index: 1000;
    width: var(--elaax-portal-sidebar-width);
    height: calc(100vh - var(--elaax-portal-header-height));
    overflow-y: auto;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
    border-radius: 0;
    background: linear-gradient(180deg, #0d1c2d 0%, #15314a 100%);
    color: #d8e6f4;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.elaax-portal-sidebar__brand {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(216, 230, 244, 0.14);
}

.elaax-portal-sidebar__brand span {
    color: rgba(216, 230, 244, 0.68);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.elaax-portal-sidebar__brand strong {
    font-size: 1.15rem;
    line-height: 1.3;
}

.elaax-portal-sidebar__numbers {
    display: grid;
    gap: 0.12rem;
}

.elaax-portal-sidebar__numbers span {
    overflow-wrap: anywhere;
}

.elaax-portal-sidebar__brand small,
.elaax-portal-sidebar__brand > span:last-child {
    color: rgba(216, 230, 244, 0.8);
}

.elaax-portal-sidebar__nav {
    display: grid;
    gap: 0.35rem;
}

.elaax-portal-sidebar__link {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    color: #d8e6f4;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.elaax-portal-sidebar__link:hover,
.elaax-portal-sidebar__link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.elaax-portal-sidebar__link.is-active {
    background: #ffffff;
    color: #06223b;
}

.elaax-portal-sidebar__logout {
    margin-top: auto;
}

.elaax-portal-stage {
    min-width: 0;
    margin-left: var(--elaax-portal-sidebar-width);
    min-height: calc(100vh - var(--elaax-portal-header-height));
    padding: 2.25rem 2.5rem 3rem;
    border: 0;
    border-radius: 0;
    background: #f6f9fc;
    backdrop-filter: none;
}

.elaax-portal-shell--legal .elaax-portal-stage {
    width: min(1180px, calc(100% - 3rem));
    min-height: calc(100vh - var(--elaax-portal-header-height));
    margin: 0 auto;
    margin-left: auto;
    background: #ffffff;
    padding: clamp(2rem, 4vw, 3rem) 0 3rem;
}

.elaax-portal-shell--legal .elaax-portal-pagehead {
    display: grid;
    grid-template-columns: minmax(0, 36rem) 1fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(12, 43, 74, 0.12);
}

.elaax-portal-shell--legal .elaax-portal-pagehead h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.elaax-portal-shell--legal .elaax-portal-pagelead {
    margin-bottom: 0;
}

.elaax-portal-stage--dashboard {
    padding-top: 0;
}

.elaax-portal-pagehead {
    margin-bottom: 1.5rem;
}

.elaax-portal-pagelead {
    margin: 0.65rem 0 0;
    max-width: 44rem;
}

.elaax-portal-stack {
    display: grid;
    gap: 0;
}

.elaax-portal-section {
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(6, 34, 59, 0.08);
    border-radius: 0;
    padding: 1.5rem 0;
}

.elaax-portal-section h2 {
    margin: 0 0 1rem;
    color: #06223b;
    font-size: 1.05rem;
}

.elaax-portal-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
}

.elaax-portal-section-head h2 {
    margin: 0;
}

.elaax-portal-section-head p {
    margin: 0.35rem 0 0;
    color: #5d738a;
    font-size: 0.92rem;
    line-height: 1.45;
}

.elaax-portal-stack > .elaax-portal-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.elaax-portal-alert {
    border-radius: 16px;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
}

.elaax-portal-alert--success {
    background: #e7f8ee;
    color: #14532d;
}

.elaax-portal-alert--error {
    background: #fdecec;
    color: #8a1f11;
}

.elaax-portal-alert--warning {
    background: #fff3db;
    color: #8a5a00;
}

.elaax-portal-notifications {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 3600;
    display: grid;
    width: min(520px, calc(100vw - 2rem));
    gap: 0.65rem;
    pointer-events: none;
    transform: translateX(-50%);
}

.elaax-portal-toast {
    --toast-accent: #0b5cab;
    --toast-accent-soft: rgba(11, 92, 171, 0.1);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 4rem;
    padding: 0.85rem 0.8rem 0.85rem 0.85rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-left: 4px solid var(--toast-accent);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(6, 34, 59, 0.16);
    color: #06223b;
    pointer-events: auto;
    animation: elaax-portal-toast-lifecycle 6.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    backdrop-filter: blur(18px);
}

.elaax-portal-toast.is-closing {
    animation: elaax-portal-toast-close 220ms ease both;
}

.elaax-portal-toast--success {
    --toast-accent: #138a54;
    --toast-accent-soft: rgba(19, 138, 84, 0.12);
}

.elaax-portal-toast--error {
    --toast-accent: #c2412d;
    --toast-accent-soft: rgba(194, 65, 45, 0.12);
}

.elaax-portal-toast--warning {
    --toast-accent: #c47a11;
    --toast-accent-soft: rgba(196, 122, 17, 0.14);
}

.elaax-portal-toast__icon {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: var(--toast-accent-soft);
    color: var(--toast-accent);
}

.elaax-portal-toast__icon::before {
    content: "";
    display: block;
    width: 0.7rem;
    height: 0.4rem;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translateY(-0.06rem) rotate(-45deg);
}

.elaax-portal-toast--error .elaax-portal-toast__icon::before,
.elaax-portal-toast--warning .elaax-portal-toast__icon::before,
.elaax-portal-toast--info .elaax-portal-toast__icon::before {
    width: 0.25rem;
    height: 0.95rem;
    border: 0;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0.62rem 0 -0.08rem currentColor;
    transform: translateY(-0.2rem);
}

.elaax-portal-toast__body {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.elaax-portal-toast__body strong {
    color: #06223b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.elaax-portal-toast__body span {
    color: #314960;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.35;
}

.elaax-portal-toast__close {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6a7e91;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease;
}

.elaax-portal-toast__close::before,
.elaax-portal-toast__close::after {
    content: "";
    position: absolute;
    width: 0.85rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.elaax-portal-toast__close::before {
    transform: rotate(45deg);
}

.elaax-portal-toast__close::after {
    transform: rotate(-45deg);
}

.elaax-portal-toast__close:hover,
.elaax-portal-toast__close:focus-visible {
    background: rgba(6, 34, 59, 0.07);
    color: #06223b;
    outline: none;
}

.elaax-portal-toast:nth-child(2) {
    animation-delay: 120ms;
}

.elaax-portal-toast:nth-child(3) {
    animation-delay: 240ms;
}

.elaax-portal-toast:nth-child(n + 4) {
    animation-delay: 360ms;
}

@keyframes elaax-portal-toast-lifecycle {
    0% {
        opacity: 0;
        transform: translateY(-1.35rem) scale(0.98);
        visibility: visible;
    }

    8%,
    89% {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    100% {
        opacity: 0;
        transform: translateY(-0.95rem) scale(0.985);
        visibility: hidden;
    }
}

@keyframes elaax-portal-toast-close {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    100% {
        opacity: 0;
        transform: translateY(-0.95rem) scale(0.985);
        visibility: hidden;
    }
}

@media (max-width: 720px) {
    .elaax-portal-notifications {
        top: 0;
        width: calc(100vw - 1rem);
    }

    .elaax-portal-toast {
        min-height: 3.75rem;
        padding: 0.75rem 0.85rem;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elaax-portal-toast {
        animation-name: elaax-portal-toast-lifecycle-reduced;
    }
}

@keyframes elaax-portal-toast-lifecycle-reduced {
    0%,
    89% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.elaax-portal-form {
    display: grid;
    gap: 1rem;
}

.elaax-portal-form label {
    display: grid;
    gap: 0.42rem;
    font-weight: 600;
    color: #06223b;
}

.elaax-portal-form label small {
    color: #5d738a;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
}

.elaax-portal-form label > span {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
    line-height: 1.25;
}

.elaax-portal-form label > span small {
    color: #6f8192;
    font-size: 0.78rem;
    font-weight: 600;
}

.elaax-portal-form [hidden] {
    display: none !important;
}

.elaax-portal-form input,
.elaax-portal-form textarea,
.elaax-portal-form select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 3rem;
    border: 1px solid rgba(6, 34, 59, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: #06223b;
    font: inherit;
    padding: 0.85rem 1rem;
}

.elaax-portal-form select {
    appearance: none;
    padding-right: 2.7rem;
    background-image:
        linear-gradient(45deg, transparent 50%, #5d738a 50%),
        linear-gradient(135deg, #5d738a 50%, transparent 50%);
    background-position:
        calc(100% - 1.15rem) 50%,
        calc(100% - 0.82rem) 50%;
    background-size: 0.38rem 0.38rem, 0.38rem 0.38rem;
    background-repeat: no-repeat;
}

.elaax-portal-form input:focus,
.elaax-portal-form textarea:focus,
.elaax-portal-form select:focus {
    outline: 2px solid rgba(11, 92, 171, 0.18);
    border-color: #0b5cab;
}

.elaax-portal-form input:-webkit-autofill,
.elaax-portal-form input:-webkit-autofill:hover,
.elaax-portal-form input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-text-fill-color: #06223b;
    transition: background-color 9999s ease-in-out 0s;
}

.elaax-portal-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.elaax-portal-form-grid--three {
    grid-template-columns: minmax(8rem, 0.7fr) minmax(14rem, 1.25fr) minmax(12rem, 1fr);
}

.elaax-portal-form-fieldset {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 1rem 0 1.15rem;
    border: 0;
    border-top: 1px solid rgba(6, 34, 59, 0.08);
}

.elaax-portal-form-fieldset:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.elaax-portal-form-fieldset legend {
    display: block;
    margin: 0 0 0.15rem;
    padding: 0;
    color: #06223b;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
}

.elaax-portal-checkline {
    display: flex !important;
    align-items: center;
    gap: 0.65rem !important;
}

.elaax-portal-checkline input {
    width: 1.15rem !important;
    min-height: 1.15rem !important;
    padding: 0 !important;
}

.elaax-portal-required {
    color: #a9381c;
    font-weight: 800;
}

.elaax-portal-auth-extra {
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 14px;
    background: #ffffff;
    padding: 0.85rem 1rem;
}

.elaax-portal-auth-extra[open] {
    background: #f8fbff;
    border-color: rgba(11, 92, 171, 0.24);
}

.elaax-portal-auth-extra summary {
    cursor: pointer;
    color: #06223b;
    font-weight: 700;
}

.elaax-portal-auth-extra label {
    margin-top: 0.8rem;
}

.elaax-portal-auth-extra p {
    margin: 0.6rem 0 0;
    color: #516c84;
    font-size: 0.9rem;
    line-height: 1.45;
}

.elaax-registration-panel--start {
    width: min(560px, 100%);
}

.elaax-registration-panel--complete {
    width: min(940px, 100%);
}

.elaax-registration-panel--complete .elaax-portal-auth-intro h1 {
    max-width: 18ch;
}

.elaax-registration-success-shell .elaax-portal-panel--auth {
    justify-content: center;
}

.elaax-registration-success {
    align-items: flex-start;
    gap: 0.9rem;
}

.elaax-registration-success__mark {
    display: inline-grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 18px;
    background: #e7f4ed;
    color: #138a54;
}

.elaax-registration-success__mark::before {
    content: "";
    width: 1.3rem;
    height: 0.72rem;
    border-bottom: 3px solid currentColor;
    border-left: 3px solid currentColor;
    transform: translateY(-0.08rem) rotate(-45deg);
}

.elaax-registration-success__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.28rem 0.68rem;
    border: 1px solid rgba(11, 92, 171, 0.16);
    border-radius: 999px;
    background: #eef6ff;
    color: #0b5cab;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.elaax-registration-success h1 {
    max-width: 12ch;
    margin: 0.1rem 0 0;
    color: #06223b;
    font-size: clamp(2.05rem, 4vw, 3.35rem);
    line-height: 0.98;
}

.elaax-registration-success > p {
    max-width: 38rem;
    margin: 0;
    color: #516c84;
    font-size: 1rem;
    line-height: 1.55;
}

.elaax-registration-success__next {
    display: grid;
    gap: 0.22rem;
    width: 100%;
    margin: 0.45rem 0 0.25rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(6, 34, 59, 0.1);
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
}

.elaax-registration-success__next span {
    color: #0b5cab;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.elaax-registration-success__next strong {
    color: #06223b;
    font-size: 0.98rem;
    line-height: 1.45;
}

.elaax-registration-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
}

.elaax-registration-progress li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    min-height: 2.9rem;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #06223b;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.elaax-registration-progress span {
    width: 1.42rem;
    height: 1.42rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    background: #eef2f5;
    color: #06223b;
    font-size: 0.76rem;
}

.elaax-registration-progress li.is-active {
    border-color: rgba(253, 199, 41, 0.92);
    background: rgba(255, 248, 225, 0.98);
    color: #06223b;
}

.elaax-registration-progress li.is-active span,
.elaax-registration-progress li.is-complete span {
    background: #fdc729;
    color: #06223b;
}

.elaax-registration-progress li.is-complete {
    border-color: rgba(253, 199, 41, 0.52);
}

.elaax-registration-personal-head {
    display: grid;
    grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
    align-items: start;
    gap: 1.15rem;
    width: 100%;
}

.elaax-registration-personal-fields {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.elaax-profile-photo-card,
.elaax-media-upload-card {
    display: grid;
    gap: 0.6rem;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
}

.elaax-media-upload-card__label {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    color: #06223b;
    font-weight: 800;
    line-height: 1.25;
}

.elaax-media-upload-card__label small {
    color: #6f8192;
    font-size: 0.78rem;
    font-weight: 600;
}

.elaax-profile-photo-card__preview,
.elaax-media-upload-card__preview {
    position: relative;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(6, 34, 59, 0.12) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #5d738a !important;
    cursor: pointer;
    box-shadow: none !important;
}

.elaax-profile-photo-card__preview:hover,
.elaax-profile-photo-card__preview:focus-visible,
.elaax-media-upload-card__preview:hover,
.elaax-media-upload-card__preview:focus-visible {
    border-color: rgba(253, 199, 41, 0.9);
    outline: none;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(253, 199, 41, 0.42) !important;
}

.elaax-profile-photo-card__preview img,
.elaax-media-upload-card__preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.elaax-profile-photo-card__preview img {
    object-fit: cover;
}

.elaax-profile-photo-card__preview span,
.elaax-media-upload-card__preview span {
    font-size: 0.88rem;
    font-weight: 800;
}

.elaax-profile-photo-card__action,
.elaax-media-upload-card__action {
    width: 100%;
    min-height: 2.45rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 0.86rem;
}

.elaax-profile-photo-card > small,
.elaax-media-upload-card > small {
    overflow: hidden;
    color: #5d738a;
    font-size: 0.8rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.elaax-registration-name-grid,
.elaax-registration-position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elaax-registration-position-grid label {
    grid-column: 1;
}

.elaax-registration-court-field {
    align-self: start;
}

.elaax-registration-company-group {
    display: grid;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(6, 34, 59, 0.08);
}

.elaax-registration-company-group:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.elaax-registration-company-group h3 {
    margin: 0;
    color: #0b5cab;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.elaax-registration-company-media {
    width: min(100%, 28rem);
}

.elaax-profile-photo-modal[hidden],
.elaax-media-upload-modal[hidden] {
    display: none !important;
}

body.elaax-profile-photo-modal-open {
    overflow: hidden;
}

.elaax-profile-photo-modal,
.elaax-media-upload-modal {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.elaax-profile-photo-modal__backdrop,
.elaax-media-upload-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 34, 59, 0.42) !important;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.elaax-profile-photo-modal__panel,
.elaax-media-upload-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    width: min(34rem, 100%);
    padding: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(6, 34, 59, 0.28);
}

.elaax-profile-photo-modal__panel header,
.elaax-media-upload-modal__panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.elaax-profile-photo-modal__panel header strong,
.elaax-media-upload-modal__panel header strong {
    color: #06223b;
    font-size: 1rem;
}

.elaax-profile-photo-modal__panel header button,
.elaax-media-upload-modal__panel header button {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 50%;
    background: #ffffff !important;
    color: #06223b !important;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.elaax-password-field {
    position: relative;
    display: block !important;
    min-width: 0;
}

.elaax-password-field input {
    padding-bottom: 1.12rem;
}

.elaax-password-strength {
    position: absolute;
    right: 1rem;
    bottom: 0.58rem;
    left: 1rem;
    height: 0.28rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(6, 34, 59, 0.09);
    pointer-events: none;
}

.elaax-password-strength span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width 160ms ease, background-color 160ms ease;
}

.elaax-password-strength span[data-strength="weak"] {
    width: 33%;
    background: #c63c2d;
}

.elaax-password-strength span[data-strength="medium"] {
    width: 66%;
    background: #d89b17;
}

.elaax-password-strength span[data-strength="strong"] {
    width: 100%;
    background: #198754;
}

.elaax-password-hint {
    margin: 0;
    color: #5d738a;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
}

.elaax-password-hint[data-state="weak"] {
    color: #9f2f24;
}

.elaax-password-hint[data-state="medium"] {
    color: #8a5a00;
}

.elaax-password-hint[data-state="strong"] {
    color: #146c43;
}

.elaax-registration-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

@media (max-width: 1040px) {
    .elaax-registration-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.elaax-registration-flow.is-enhanced [data-registration-step-panel]:not(.is-active) {
    display: none;
}

.elaax-registration-step {
    position: relative;
    min-width: 0;
}

.elaax-registration-choices {
    display: grid;
    gap: 0.8rem;
}

.elaax-registration-choices--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elaax-registration-choice {
    position: relative;
    display: block !important;
    padding: 0;
    border: 1px solid rgba(6, 34, 59, 0.14);
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
}

.elaax-registration-choice input {
    position: absolute;
    inset: 1rem auto auto 1rem;
    width: 1rem !important;
    min-height: 1rem !important;
    padding: 0 !important;
}

.elaax-registration-choice span {
    display: grid;
    gap: 0.25rem;
    min-height: 5.4rem;
    padding: 1rem 1rem 1rem 2.8rem;
}

.elaax-registration-choice strong {
    color: #06223b;
}

.elaax-registration-choice small {
    color: #5d738a;
    font-size: 0.88rem;
    line-height: 1.35;
}

.elaax-registration-choice:has(input:checked) {
    border-color: #0b5cab;
    background: #f3f8fd;
}

.elaax-upload-field {
    min-width: 0;
}

.elaax-upload-field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.elaax-upload-dropzone {
    display: grid !important;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    min-height: 4.4rem;
    padding: 0.9rem 1rem;
    border: 1px dashed rgba(11, 92, 171, 0.35);
    border-radius: 16px;
    background: rgba(248, 251, 255, 0.86);
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.elaax-upload-dropzone:hover,
.elaax-upload-dropzone.is-dragover {
    border-color: #0b5cab;
    background: #eef6ff;
    box-shadow: inset 0 0 0 1px rgba(11, 92, 171, 0.08);
}

.elaax-upload-icon {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 12px;
    background: #0b5cab;
}

.elaax-upload-icon::before {
    content: "";
    width: 0.92rem;
    height: 0.92rem;
    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: translateY(0.12rem) rotate(45deg);
}

.elaax-upload-dropzone strong,
.elaax-upload-dropzone small {
    display: block;
    min-width: 0;
}

.elaax-upload-dropzone strong {
    overflow: hidden;
    color: #06223b;
    font-size: 0.95rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.elaax-upload-dropzone small {
    grid-column: 2;
    color: #5d738a;
    font-size: 0.82rem;
    font-weight: 600;
}

.elaax-registration-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.elaax-registration-legal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.elaax-registration-legal-row .elaax-portal-checkline {
    min-width: 0;
}

.elaax-registration-legal-link {
    appearance: none;
    border: 0;
    background: transparent;
    color: #0b5cab;
    cursor: pointer;
    flex: 0 0 auto;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    min-width: 0;
    padding: 0.2rem 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    white-space: nowrap;
}

.elaax-registration-legal-link:hover,
.elaax-registration-legal-link:focus-visible {
    color: #06223b;
}

.elaax-registration-legal-missing {
    color: #8a5a00;
    font-size: 0.9rem;
    font-weight: 700;
}

.elaax-registration-consent {
    display: grid;
    gap: 0.75rem;
}

.elaax-registration-consent-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7rem, max-content);
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 202, 40, 0.13), transparent 42%),
        #ffffff;
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.elaax-registration-consent-card.is-read {
    border-color: rgba(25, 135, 84, 0.34);
    background:
        linear-gradient(135deg, rgba(25, 135, 84, 0.12), transparent 42%),
        #fbfffd;
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.1);
}

.elaax-registration-consent-check {
    display: grid !important;
    grid-template-columns: 1.45rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem !important;
    min-width: 0;
    cursor: pointer;
}

.elaax-registration-consent-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.elaax-registration-consent-mark {
    width: 1.35rem;
    height: 1.35rem;
    border: 1px solid rgba(6, 34, 59, 0.25);
    border-radius: 8px;
    background: #ffffff;
    display: grid;
    place-items: center;
}

.elaax-registration-consent-check input:checked + .elaax-registration-consent-mark {
    border-color: #198754;
    background: #198754;
}

.elaax-registration-consent-check input:checked + .elaax-registration-consent-mark::before {
    content: "";
    width: 0.34rem;
    height: 0.65rem;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(42deg) translateY(-1px);
    margin: 5px 0 0 7px;
}

.elaax-registration-consent-check strong,
.elaax-registration-consent-check small {
    display: block;
    min-width: 0;
}

.elaax-registration-consent-check strong {
    color: #06223b;
}

.elaax-registration-consent-check small {
    color: #5d738a;
    font-size: 0.86rem;
    line-height: 1.35;
}

.elaax-registration-security {
    display: grid;
    grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 1fr);
    align-items: end;
    gap: 1rem;
    padding: 0.95rem;
    border: 1px solid rgba(11, 92, 171, 0.16);
    border-radius: 16px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 202, 40, 0.28), transparent 28%),
        linear-gradient(135deg, #eef6ff 0%, #ffffff 58%);
}

.elaax-registration-security.is-valid {
    border-color: rgba(25, 135, 84, 0.34);
    background:
        radial-gradient(circle at 18% 20%, rgba(25, 135, 84, 0.24), transparent 30%),
        linear-gradient(135deg, #ecfbf3 0%, #ffffff 62%);
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.1);
}

.elaax-registration-security.is-invalid {
    border-color: rgba(180, 35, 24, 0.34);
    background:
        radial-gradient(circle at 18% 20%, rgba(180, 35, 24, 0.18), transparent 30%),
        linear-gradient(135deg, #fff0ee 0%, #ffffff 62%);
    box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.08);
}

.elaax-registration-security__visual {
    min-height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #06223b;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px rgba(6, 34, 59, 0.16);
}

.elaax-registration-security label {
    min-width: 0;
}

.elaax-registration-security input.is-valid {
    border-color: #198754;
    outline-color: rgba(25, 135, 84, 0.2);
}

.elaax-registration-security input.is-invalid {
    border-color: #b42318;
    outline-color: rgba(180, 35, 24, 0.18);
}

.elaax-registration-security small {
    color: #5d738a;
    font-size: 0.86rem;
    font-weight: 700;
}

.elaax-registration-security small.is-valid {
    color: #198754;
}

.elaax-registration-security small.is-invalid {
    color: #b42318;
}

.elaax-portal-button,
.elaax-portal-form button,
.elaax-portal-sidebar__logout button {
    appearance: none;
    border: 0;
    border-radius: 14px;
    background: #06223b;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 600;
    padding: 0.85rem 1.1rem;
    text-decoration: none;
}

.elaax-portal-button:hover,
.elaax-portal-form button:hover,
.elaax-portal-sidebar__logout button:hover {
    background: #0b5cab;
}

.elaax-portal-button--secondary {
    border: 1px solid rgba(6, 34, 59, 0.14);
    background: #ffffff;
    color: #06223b;
}

.elaax-portal-button--secondary:hover {
    background: #f3f7fb;
}

.elaax-portal-button--danger {
    background: #8a1f11;
}

.elaax-portal-button--danger:hover {
    background: #b42318;
}

.elaax-portal-employee-section {
    background: transparent;
}

.elaax-portal-employee-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px);
    gap: 1rem;
    margin: 0 0 1rem;
}

.elaax-portal-employee-filters label {
    display: grid;
    gap: 0.4rem;
    color: #516c84;
    font-size: 0.86rem;
    font-weight: 700;
}

.elaax-portal-employee-filters input,
.elaax-portal-employee-filters select {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.8rem;
    border: 1px solid rgba(6, 34, 59, 0.14);
    border-radius: 12px;
    background: #ffffff;
    color: #06223b;
    font: inherit;
    padding: 0.75rem 0.9rem;
}

.elaax-portal-employee-list {
    display: grid;
    gap: 0.6rem;
    border-top: 0;
}

.elaax-portal-employee-row {
    display: grid;
    grid-template-columns: 2.6rem minmax(220px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0.85rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 14px;
    background: #ffffff;
}

.elaax-portal-employee-row:hover {
    background: #f8fbff;
    border-color: rgba(11, 92, 171, 0.22);
}

.elaax-portal-employee-row__avatar {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b5cab;
    font-weight: 800;
}

.elaax-portal-employee-row__main,
.elaax-portal-employee-row__details,
.elaax-portal-employee-row__meta,
.elaax-portal-employee-row__note {
    min-width: 0;
}

.elaax-portal-employee-row__details {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 0.8rem 1rem;
}

.elaax-portal-employee-row__main strong,
.elaax-portal-employee-row__main span,
.elaax-portal-employee-row__meta span,
.elaax-portal-employee-row__meta strong,
.elaax-portal-employee-row__note {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.elaax-portal-employee-row__main strong {
    color: #06223b;
    font-size: 1rem;
}

.elaax-portal-employee-row__main span,
.elaax-portal-employee-row__meta span,
.elaax-portal-employee-row__note {
    color: #5d738a;
    font-size: 0.86rem;
}

.elaax-portal-employee-row__meta strong {
    color: #06223b;
    font-size: 0.92rem;
}

.elaax-portal-employee-row__note {
    grid-column: 2 / -1;
}

.elaax-portal-employee-row__actions {
    grid-column: 3;
    grid-row: 1 / span 3;
    display: inline-flex;
    justify-content: flex-end;
    gap: 0.45rem;
    min-width: max-content;
}

.elaax-portal-employee-row__actions form {
    margin: 0;
}

.elaax-portal-employee-row__actions .elaax-portal-button {
    min-height: 2.35rem;
    padding: 0.6rem 0.8rem;
}

.elaax-portal-status-pill {
    width: fit-content;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    background: #eef3f8;
    color: #516c84 !important;
}

.elaax-portal-status-pill--active {
    background: #e7f8ee;
    color: #14532d !important;
}

.elaax-portal-status-pill--disabled {
    background: #fff3db;
    color: #8a5a00 !important;
}

.elaax-portal-status-pill--removed,
.elaax-portal-status-pill--deleted {
    background: #fdecec;
    color: #8a1f11 !important;
}

.elaax-portal-employee-form {
    overflow: auto;
    padding: 1.1rem;
}

.elaax-portal-employee-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
}

.elaax-portal-legal-grid {
    display: grid;
    gap: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.elaax-portal-legal-card {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto auto;
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1.05rem 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(12, 43, 74, 0.1);
    background: transparent;
    box-shadow: none;
}

.elaax-portal-legal-card:last-child {
    border-bottom: 0;
}

.elaax-portal-legal-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f6fa;
    color: #0b5cab;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.elaax-portal-legal-card__main {
    min-width: 0;
}

.elaax-portal-legal-card__head {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: flex-start;
}

.elaax-portal-legal-card__head h2 {
    margin: 0.2rem 0 0;
    font-size: 1.12rem;
    line-height: 1.25;
}

.elaax-portal-legal-card__version {
    margin: 0;
    white-space: nowrap;
    color: #4a6785;
    font-weight: 600;
    font-size: 0.9rem;
    justify-self: end;
}

.elaax-portal-legal-card__preview {
    margin: 0.55rem 0 0;
    color: #516c84;
    font-size: 0.95rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.elaax-portal-legal-card__open {
    white-space: nowrap;
    min-height: 2.65rem;
    padding-inline: 1rem;
}

.elaax-portal-legal-consent {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 0;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(12, 43, 74, 0.1);
    border-bottom: 0;
    background: transparent;
    color: #06223b;
    box-shadow: none;
}

.elaax-portal-legal-consent input {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    margin: 0;
    border-radius: 6px;
    border: 2px solid rgba(6, 34, 59, 0.35);
    background: #ffffff;
    display: grid;
    place-items: center;
}

.elaax-portal-legal-consent input:checked {
    border-color: #0b5cab;
    background: #0b5cab;
}

.elaax-portal-legal-consent input:checked::after {
    content: "";
    width: 0.38rem;
    height: 0.68rem;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -0.1rem;
}

.elaax-portal-legal-consent span {
    font-weight: 650;
    line-height: 1.4;
}

.elaax-portal-legal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.elaax-portal-legal-modal[hidden] {
    display: none;
}

.elaax-portal-legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1900;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.elaax-portal-legal-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 34, 59, 0.58);
    cursor: pointer;
}

.elaax-portal-legal-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(82vh, 860px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(6, 34, 59, 0.28);
}

.elaax-portal-legal-modal__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.35rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
}

.elaax-portal-legal-modal__header h2 {
    margin: 0.18rem 0 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.elaax-portal-legal-modal__header p:last-child {
    margin: 0.35rem 0 0;
    color: #5d738a;
    font-weight: 650;
}

.elaax-portal-legal-modal__close {
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: #06223b;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.elaax-portal-legal-modal__close:hover,
.elaax-portal-legal-modal__close:focus-visible {
    background: #06223b;
    color: #ffffff;
}

.elaax-portal-legal-modal__body {
    overflow: auto;
    padding: 1.25rem 1.35rem 1.6rem;
    color: #22384f;
    line-height: 1.65;
}

.elaax-portal-legal-modal__body > :first-child {
    margin-top: 0;
}

.elaax-portal-legal-modal__body > :last-child {
    margin-bottom: 0;
}

.elaax-portal-legal-modal__footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.35rem;
    border-top: 1px solid rgba(6, 34, 59, 0.1);
    background: #f7f9fc;
}

.elaax-portal-legal-proof-list {
    display: grid;
    border-top: 1px solid rgba(12, 43, 74, 0.1);
}

.elaax-portal-legal-proof-section {
    padding-bottom: 0;
}

.elaax-portal-legal-proof-details {
    border-top: 1px solid rgba(12, 43, 74, 0.1);
}

.elaax-portal-legal-proof-details summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
}

.elaax-portal-legal-proof-details summary::-webkit-details-marker {
    display: none;
}

.elaax-portal-legal-proof-details summary::after {
    content: "+";
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(6, 34, 59, 0.14);
    border-radius: 50%;
    color: #06223b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 2rem;
}

.elaax-portal-legal-proof-details[open] summary::after {
    content: "-";
}

.elaax-portal-legal-proof-details summary strong {
    display: block;
    color: #06223b;
    font-size: 1.05rem;
}

.elaax-portal-legal-proof-details summary small {
    display: block;
    margin-top: 0.35rem;
    color: #5d738a;
    font-size: 0.92rem;
    line-height: 1.45;
}

.elaax-portal-legal-proof-content {
    padding-bottom: 1.25rem;
}

.elaax-portal-legal-proof-row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) minmax(12rem, auto) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(12, 43, 74, 0.1);
}

.elaax-portal-legal-proof-row__type {
    color: #0b5cab;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elaax-portal-legal-proof-row__main,
.elaax-portal-legal-proof-row__meta {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.elaax-portal-legal-proof-row__main strong,
.elaax-portal-legal-proof-row__meta strong {
    color: #06223b;
}

.elaax-portal-legal-proof-row__main span,
.elaax-portal-legal-proof-row__meta span {
    color: #5d738a;
    font-size: 0.86rem;
}

.elaax-portal-legal-proof-meta {
    margin-bottom: 1rem;
}

.elaax-portal-legal-proof-hash {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.82rem;
}

.elaax-portal-legal-proof-separator {
    border: 0;
    border-top: 1px solid rgba(12, 43, 74, 0.12);
    margin: 0 0 1.25rem;
}

.elaax-portal-button--icon {
    gap: 0.48rem;
}

.elaax-portal-button__icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1rem;
}

.elaax-portal-button__icon svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

.elaax-portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.elaax-portal-button--secondary {
    background: #ffffff;
    border: 1px solid rgba(6, 34, 59, 0.12);
    color: #06223b;
}

.elaax-portal-button--secondary:hover {
    background: #f4f8fc;
    color: #06223b;
}

.elaax-portal-host.elaax-portal-viewer-open {
    overflow: hidden;
}

.elaax-portal-table {
    border-collapse: collapse;
    width: 100%;
}

.elaax-portal-table th,
.elaax-portal-table td {
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
    padding: 0.95rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.elaax-portal-table th {
    color: #4b647c;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elaax-portal-table tbody tr:last-child th,
.elaax-portal-table tbody tr:last-child td {
    border-bottom: 0;
}

.elaax-portal-table a {
    color: #06223b;
    font-weight: 700;
    text-decoration: none;
}

.elaax-portal-table a:hover,
.elaax-portal-table a:focus-visible {
    color: #0b5cab;
}

.elaax-portal-table a.elaax-portal-button {
    color: #ffffff;
}

.elaax-portal-table a.elaax-portal-button:hover,
.elaax-portal-table a.elaax-portal-button:focus-visible {
    color: #ffffff;
}

.elaax-portal-table a.elaax-portal-button.elaax-portal-button--secondary {
    color: #06223b;
}

.elaax-portal-table a.elaax-portal-button.elaax-portal-button--secondary:hover,
.elaax-portal-table a.elaax-portal-button.elaax-portal-button--secondary:focus-visible {
    color: #06223b;
}

.elaax-portal-table--summary th {
    color: #06223b;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    width: 72%;
}

.elaax-portal-align-right {
    text-align: right !important;
}

.elaax-portal-table-actions {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.elaax-portal-table-actions .elaax-portal-actions {
    margin: 0;
    gap: 0.45rem;
    justify-content: flex-end;
}

.elaax-portal-table-actions .elaax-portal-button--icon {
    position: relative;
    padding: 0.58rem;
    min-width: 2.35rem;
    border-radius: 12px;
}

.elaax-portal-table-actions .elaax-portal-button--icon .elaax-portal-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.elaax-portal-proposals-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1rem;
    margin: 0 0 0.9rem;
    color: #4f6780;
    font-size: 0.86rem;
    font-weight: 600;
}

.elaax-portal-proposals-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.elaax-portal-proposals-legend strong {
    color: #06223b;
}

.elaax-portal-proposals-legend svg {
    width: 0.95rem;
    height: 0.95rem;
    display: block;
    color: #294864;
}

.elaax-portal-proposal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.elaax-portal-proposal-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 34, 59, 0.16);
    background: #ffffff;
    color: #294864;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.elaax-portal-proposal-filter strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    padding: 0.14rem 0.4rem;
    border-radius: 999px;
    background: #f4f8fc;
    color: #06223b;
    font-size: 0.76rem;
    line-height: 1;
}

.elaax-portal-proposal-filter:hover,
.elaax-portal-proposal-filter:focus-visible {
    border-color: rgba(11, 92, 171, 0.45);
    color: #0b5cab;
    outline: none;
}

.elaax-portal-proposal-filter.is-active {
    background: #06223b;
    border-color: #06223b;
    color: #ffffff;
}

.elaax-portal-proposal-filter.is-active strong {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.elaax-portal-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.elaax-portal-table--proposals {
    border-collapse: separate;
    border-spacing: 0 0.6rem;
    table-layout: fixed;
    min-width: 980px;
}

.elaax-portal-table--proposals thead th {
    border-bottom: 0;
    padding: 0 0.6rem 0.35rem;
}

.elaax-portal-table--proposals th:nth-child(1) { width: 14%; }
.elaax-portal-table--proposals th:nth-child(2) { width: 11%; }
.elaax-portal-table--proposals th:nth-child(3) { width: 13%; }
.elaax-portal-table--proposals th:nth-child(4) { width: 10%; }
.elaax-portal-table--proposals th:nth-child(5) { width: 12%; }
.elaax-portal-table--proposals th:nth-child(6) { width: 26%; }
.elaax-portal-table--proposals th:nth-child(7) { width: 14%; }

.elaax-portal-proposal-row td {
    background: #ffffff;
    border-top: 1px solid rgba(6, 34, 59, 0.1);
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
    padding: 0.9rem 0.6rem;
    vertical-align: middle;
}

.elaax-portal-table--proposals tbody tr:last-child td {
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
}

.elaax-portal-proposal-row td:first-child {
    border-left: 1px solid rgba(6, 34, 59, 0.1);
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    padding-left: 0.85rem;
}

.elaax-portal-proposal-row td:last-child {
    border-right: 1px solid rgba(6, 34, 59, 0.1);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    padding-right: 0.85rem;
}

.elaax-portal-proposal-row:hover td {
    background: #f8fbff;
    border-color: rgba(11, 92, 171, 0.22);
}

.elaax-portal-proposal-ref {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}

.elaax-portal-proposal-date {
    display: inline-block;
    white-space: nowrap;
    color: #294864;
}

.elaax-portal-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 34, 59, 0.12);
    background: #f4f8fc;
    color: #1f3f5b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.elaax-portal-status-pill--open {
    background: rgba(11, 92, 171, 0.1);
    border-color: rgba(11, 92, 171, 0.25);
    color: #0b5cab;
}

.elaax-portal-status-pill--signed {
    background: rgba(20, 131, 86, 0.12);
    border-color: rgba(20, 131, 86, 0.3);
    color: #146e48;
}

.elaax-portal-status-pill--not-signed {
    background: rgba(169, 56, 28, 0.1);
    border-color: rgba(169, 56, 28, 0.24);
    color: #8c2f18;
}

.elaax-portal-status-pill--billed {
    background: rgba(39, 92, 144, 0.12);
    border-color: rgba(39, 92, 144, 0.26);
    color: #275c90;
}

.elaax-portal-table--proposals .elaax-portal-proposal-chain .elaax-portal-chain-list {
    gap: 0.36rem;
}

.elaax-portal-table--proposals .elaax-portal-proposal-chain .elaax-portal-chain-list span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.32rem;
    color: #37516c;
    line-height: 1.32;
}

.elaax-portal-table--proposals .elaax-portal-proposal-chain .elaax-portal-chain-list strong {
    color: #4a647d;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elaax-portal-table--proposals .elaax-portal-table-actions {
    width: 9.8rem;
    min-width: 9.8rem;
}

.elaax-portal-table--proposals .elaax-portal-table-actions .elaax-portal-actions {
    margin: 0;
    gap: 0.38rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.elaax-portal-table--proposals .elaax-portal-table-actions .elaax-portal-button--icon {
    width: 2.2rem;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border-radius: 999px;
}

.elaax-portal-table--proposals .elaax-portal-table-actions .elaax-portal-button__icon,
.elaax-portal-table--proposals .elaax-portal-table-actions .elaax-portal-button__icon svg {
    width: 1.08rem;
    height: 1.08rem;
}

.elaax-portal-list-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
}

.elaax-portal-list-toolbar > div {
    min-width: 0;
}

.elaax-portal-table--portal-list {
    border-collapse: separate;
    border-spacing: 0 0.6rem;
    table-layout: fixed;
    min-width: 920px;
}

.elaax-portal-table--portal-list thead th {
    border-bottom: 0;
    padding: 0 0.6rem 0.35rem;
}

.elaax-portal-list-row td {
    background: #ffffff;
    border-top: 1px solid rgba(6, 34, 59, 0.1);
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
    padding: 0.9rem 0.6rem;
    vertical-align: middle;
}

.elaax-portal-table--portal-list tbody tr:last-child td {
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
}

.elaax-portal-list-row td:first-child {
    border-left: 1px solid rgba(6, 34, 59, 0.1);
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    padding-left: 0.85rem;
}

.elaax-portal-list-row td:last-child {
    border-right: 1px solid rgba(6, 34, 59, 0.1);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    padding-right: 0.85rem;
}

.elaax-portal-list-row:hover td {
    background: #f8fbff;
    border-color: rgba(11, 92, 171, 0.22);
}

.elaax-portal-list-ref {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}

.elaax-portal-list-date {
    display: inline-block;
    white-space: nowrap;
    color: #294864;
}

.elaax-portal-table--portal-list .elaax-portal-list-chain .elaax-portal-chain-list {
    gap: 0.36rem;
}

.elaax-portal-table--portal-list .elaax-portal-list-chain .elaax-portal-chain-list span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.32rem;
    color: #37516c;
    line-height: 1.32;
}

.elaax-portal-table--portal-list .elaax-portal-list-chain .elaax-portal-chain-list strong {
    color: #4a647d;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elaax-portal-table--portal-list .elaax-portal-table-actions {
    width: 8.4rem;
    min-width: 8.4rem;
}

.elaax-portal-table--portal-list .elaax-portal-table-actions .elaax-portal-actions {
    margin: 0;
    gap: 0.38rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.elaax-portal-table--portal-list .elaax-portal-table-actions .elaax-portal-button--icon {
    width: 2.2rem;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border-radius: 999px;
}

.elaax-portal-table--portal-list .elaax-portal-table-actions .elaax-portal-button__icon,
.elaax-portal-table--portal-list .elaax-portal-table-actions .elaax-portal-button__icon svg {
    width: 1.08rem;
    height: 1.08rem;
}

.elaax-portal-table--invoices th:nth-child(1) { width: 14%; }
.elaax-portal-table--invoices th:nth-child(2) { width: 12%; }
.elaax-portal-table--invoices th:nth-child(3) { width: 12%; }
.elaax-portal-table--invoices th:nth-child(4) { width: 12%; }
.elaax-portal-table--invoices th:nth-child(5) { width: 34%; }
.elaax-portal-table--invoices th:nth-child(6) { width: 16%; }

.elaax-portal-table--orders th:nth-child(1) { width: 14%; }
.elaax-portal-table--orders th:nth-child(2) { width: 11%; }
.elaax-portal-table--orders th:nth-child(3) { width: 12%; }
.elaax-portal-table--orders th:nth-child(4) { width: 10%; }
.elaax-portal-table--orders th:nth-child(5) { width: 12%; }
.elaax-portal-table--orders th:nth-child(6) { width: 27%; }
.elaax-portal-table--orders th:nth-child(7) { width: 14%; }

.elaax-portal-table--supplier-invoices th:nth-child(1) { width: 16%; }
.elaax-portal-table--supplier-invoices th:nth-child(2) { width: 40%; }
.elaax-portal-table--supplier-invoices th:nth-child(3) { width: 15%; }
.elaax-portal-table--supplier-invoices th:nth-child(4) { width: 15%; }
.elaax-portal-table--supplier-invoices th:nth-child(5) { width: 14%; }

.elaax-portal-table--tickets th:nth-child(1) { width: 14%; }
.elaax-portal-table--tickets th:nth-child(2) { width: 42%; }
.elaax-portal-table--tickets th:nth-child(3) { width: 14%; }
.elaax-portal-table--tickets th:nth-child(4) { width: 18%; }
.elaax-portal-table--tickets th:nth-child(5) { width: 12%; }

.elaax-portal-status-pill--paid {
    background: rgba(20, 131, 86, 0.12);
    border-color: rgba(20, 131, 86, 0.3);
    color: #146e48;
}

.elaax-portal-status-pill--overdue {
    background: rgba(169, 56, 28, 0.1);
    border-color: rgba(169, 56, 28, 0.24);
    color: #8c2f18;
}

.elaax-portal-status-pill--draft {
    background: rgba(81, 108, 132, 0.12);
    border-color: rgba(81, 108, 132, 0.22);
    color: #37516c;
}

.elaax-portal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.elaax-portal-list li + li {
    border-top: 1px solid rgba(6, 34, 59, 0.08);
}

.elaax-portal-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.95rem 0;
    color: #06223b;
    text-decoration: none;
}

.elaax-portal-list strong {
    display: block;
    font-size: 1rem;
}

.elaax-portal-list span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.elaax-portal-empty {
    margin: 0;
    color: #5d738a;
}

.elaax-portal-meta {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 1.25rem;
}

.elaax-portal-meta span {
    color: #5d738a;
    display: block;
    font-size: 0.84rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.elaax-portal-meta strong {
    color: #06223b;
}

.elaax-portal-note {
    margin: 0 0 1.25rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(6, 34, 59, 0.08);
    border-radius: 16px;
    background: #f4f8fc;
}

.elaax-portal-note h2 {
    margin: 0 0 0.5rem;
    color: #06223b;
    font-size: 1rem;
}

.elaax-portal-note p {
    margin: 0;
    color: #516c84;
}

.elaax-portal-signature-meta {
    margin: 0 0 1.25rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 16px;
    background: #f8fbff;
    padding: 0.9rem 1rem 0.3rem;
}

.elaax-portal-signature-meta h2 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: #06223b;
}

.elaax-portal-table--meta th {
    width: 34%;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.85rem;
}

.elaax-portal-inline-code {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.82rem;
    line-height: 1.3;
    word-break: break-all;
    color: #0f3e6c;
}

.elaax-portal-document-chain {
    margin: 0 0 1.25rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 16px;
    background: #ffffff;
    padding: 0.9rem 1rem 0.3rem;
}

.elaax-portal-document-chain h2 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: #06223b;
}

.elaax-portal-empty-inline {
    color: #6b7f94;
}

.elaax-portal-link-separator {
    color: #6b7f94;
}

.elaax-portal-chain-list {
    display: grid;
    gap: 0.2rem;
}

.elaax-portal-chain-list span {
    display: block;
    color: #314b64;
    line-height: 1.35;
}

.elaax-portal-chain-list strong {
    color: #06223b;
}

.elaax-portal-archive {
    margin: 0 0 1.25rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.elaax-portal-archive summary {
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 1rem;
    font-weight: 700;
    color: #06223b;
    background: #f8fbff;
}

.elaax-portal-archive summary::-webkit-details-marker {
    display: none;
}

.elaax-portal-archive__body {
    padding: 0.95rem 1rem 0.4rem;
}

.elaax-portal-archive__hint {
    margin: 0 0 0.75rem;
    color: #516c84;
}

.elaax-portal-tabs {
    margin: 0 0 1.25rem;
}

.elaax-portal-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.12);
}

.elaax-portal-tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 34, 59, 0.14);
    background: #ffffff;
    color: #294864;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.elaax-portal-tabs__tab:hover,
.elaax-portal-tabs__tab:focus-visible {
    border-color: rgba(11, 92, 171, 0.45);
    color: #0b5cab;
    outline: none;
}

.elaax-portal-tabs__tab.is-active {
    background: #0b5cab;
    color: #ffffff;
    border-color: #0b5cab;
}

.elaax-portal-tabs__panel {
    display: none;
}

.elaax-portal-tabs__panel.is-active {
    display: block;
}

.elaax-portal-tabs__panel > .elaax-portal-document-chain,
.elaax-portal-tabs__panel > .elaax-portal-signature-meta,
.elaax-portal-tabs__panel > .elaax-portal-archive,
.elaax-portal-tabs__panel > .elaax-portal-note,
.elaax-portal-tabs__panel > .elaax-portal-table {
    margin-bottom: 0;
}

.elaax-portal-tabs__panel > .elaax-portal-note + .elaax-portal-table {
    margin-top: 1rem;
}

.elaax-portal-ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
}

.elaax-portal-ticket-header h2 {
    margin: 0;
}

.elaax-portal-ticket-new-button {
    flex: 0 0 auto;
    min-height: 2.75rem;
}

.elaax-portal-ticket-new-button .elaax-portal-button__icon {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

body.elaax-portal-modal-open {
    overflow: hidden;
}

.elaax-portal-ticket-modal[hidden] {
    display: none;
}

.elaax-portal-ticket-modal {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.elaax-portal-ticket-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(3, 15, 28, 0.58);
    cursor: pointer;
}

.elaax-portal-ticket-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(90vh, 760px);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(6, 34, 59, 0.16);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 72px rgba(3, 15, 28, 0.28);
}

.elaax-portal-employee-modal .elaax-portal-ticket-modal__dialog {
    width: min(920px, 100%);
}

.elaax-portal-ticket-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
    background: #f8fbff;
}

.elaax-portal-ticket-modal__header span {
    display: block;
    color: #5d738a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elaax-portal-ticket-modal__header h2 {
    margin: 0.15rem 0 0;
    color: #06223b;
    font-size: 1.18rem;
}

.elaax-portal-ticket-modal__tools {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.elaax-portal-ticket-modal__tool,
.elaax-portal-ticket-modal__close {
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #06223b;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
}

.elaax-portal-ticket-modal__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.elaax-portal-ticket-modal__tool svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elaax-portal-ticket-modal__tool[aria-pressed="true"],
.elaax-portal-ticket-modal__close:hover,
.elaax-portal-ticket-modal__close:focus-visible,
.elaax-portal-ticket-modal__tool:hover,
.elaax-portal-ticket-modal__tool:focus-visible {
    background: #06223b;
    color: #ffffff;
    outline: none;
}

.elaax-portal-ticket-modal.is-fullscreen {
    padding: 0.75rem;
}

.elaax-portal-ticket-modal.is-fullscreen .elaax-portal-ticket-modal__dialog {
    width: min(1180px, 100%);
    height: calc(100vh - 1.5rem);
    max-height: none;
    border-radius: 14px;
}

.elaax-portal-ticket-create-form {
    overflow-y: auto;
    padding: 1.25rem;
    background: #ffffff;
}

.elaax-portal-ticket-create-form > label {
    gap: 0.5rem;
}

.elaax-portal-ticket-template-fields {
    display: grid;
    gap: 0.85rem;
}

.elaax-portal-ticket-template-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid rgba(6, 34, 59, 0.08);
    border-radius: 10px;
    background: #f7fafc;
}

.elaax-portal-ticket-template-group[hidden] {
    display: none;
}

.elaax-portal-ticket-dynamic-fields {
    display: grid;
    gap: 1rem;
}

.elaax-portal-ticket-dynamic-field,
.elaax-portal-ticket-create-form > label,
.elaax-portal-ticket-upload {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.elaax-portal-ticket-dynamic-field > span,
.elaax-portal-ticket-create-form > label > span,
.elaax-portal-ticket-upload__label,
.elaax-portal-ticket-dynamic-checkboxes > legend {
    color: #06223b;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
}

.elaax-portal-ticket-dynamic-field select,
.elaax-portal-ticket-dynamic-field input,
.elaax-portal-ticket-dynamic-field textarea,
.elaax-portal-ticket-create-form > label > input,
.elaax-portal-ticket-create-form > label > textarea {
    border-color: rgba(6, 34, 59, 0.18);
    border-radius: 12px;
    background-color: #ffffff;
}

.elaax-portal-ticket-dynamic-field:focus-within,
.elaax-portal-ticket-create-form > label:focus-within,
.elaax-portal-ticket-upload:focus-within {
    box-shadow: none;
}

.elaax-portal-ticket-upload {
    display: grid;
    gap: 0.65rem;
}

.elaax-portal-ticket-upload__dropzone {
    position: relative;
    min-height: 7rem;
    display: grid;
    place-items: center;
    gap: 0.35rem;
    padding: 1.15rem;
    border: 1px dashed rgba(11, 92, 171, 0.36);
    border-radius: 14px;
    background: #ffffff;
    color: #06223b;
    cursor: pointer;
    text-align: center;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.elaax-portal-ticket-upload__dropzone:hover,
.elaax-portal-ticket-upload__dropzone.is-dragover {
    border-color: #0b5cab;
    background: #f7fbff;
    box-shadow: inset 0 0 0 2px rgba(11, 92, 171, 0.08);
}

.elaax-portal-ticket-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    opacity: 0;
    cursor: pointer;
}

.elaax-portal-ticket-upload__icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #06223b;
    color: #ffffff;
}

.elaax-portal-ticket-upload__icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elaax-portal-ticket-upload__dropzone strong {
    font-size: 0.98rem;
}

.elaax-portal-ticket-upload__dropzone small {
    color: #5d738a;
    font-weight: 600;
}

.elaax-portal-ticket-upload__files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elaax-portal-ticket-upload__files[hidden] {
    display: none;
}

.elaax-portal-ticket-upload__file {
    box-sizing: border-box;
    min-width: 0;
    height: 4.35rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(6, 34, 59, 0.1);
    background: #ffffff;
    color: #06223b;
    box-shadow: 0 8px 18px rgba(6, 34, 59, 0.045);
}

.elaax-portal-ticket-upload__file-icon {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef6ff;
    color: #0b5cab;
}

.elaax-portal-ticket-upload__file-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.elaax-portal-ticket-upload__file-text {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
}

.elaax-portal-ticket-upload__file-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.elaax-portal-ticket-upload__file-text small {
    color: #5d738a;
    font-weight: 600;
    white-space: nowrap;
}

.elaax-portal-ticket-upload__file-remove {
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(6, 34, 59, 0.07);
    color: #06223b;
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
}

.elaax-portal-ticket-upload__file-remove:hover,
.elaax-portal-ticket-upload__file-remove:focus-visible {
    background: #06223b;
    color: #ffffff;
    outline: none;
}

.elaax-portal-file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.elaax-portal-ticket-upload__file--image .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-image .elaax-portal-ticket-attachment-button__icon {
    background: #ecfdf3;
    color: #118052;
}

.elaax-portal-ticket-upload__file--pdf .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-pdf .elaax-portal-ticket-attachment-button__icon {
    background: #fff1f0;
    color: #c7352b;
}

.elaax-portal-ticket-upload__file--excel .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-upload__file--csv .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-excel .elaax-portal-ticket-attachment-button__icon,
.elaax-portal-ticket-attachment-button--type-csv .elaax-portal-ticket-attachment-button__icon {
    background: #eaf7ef;
    color: #137333;
}

.elaax-portal-ticket-upload__file--xml .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-xml .elaax-portal-ticket-attachment-button__icon {
    background: #fff7e6;
    color: #9a5b00;
}

.elaax-portal-ticket-upload__file--word .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-word .elaax-portal-ticket-attachment-button__icon {
    background: #edf5ff;
    color: #185abd;
}

.elaax-portal-ticket-upload__file--text .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-text .elaax-portal-ticket-attachment-button__icon {
    background: #f3f6f9;
    color: #516c84;
}

.elaax-portal-ticket-upload__file--zip .elaax-portal-ticket-upload__file-icon,
.elaax-portal-ticket-attachment-button--type-zip .elaax-portal-ticket-attachment-button__icon {
    background: #f3edff;
    color: #6b3fb5;
}

.elaax-portal-ticket-dynamic-checkboxes {
    min-width: 0;
    margin: 0;
}

.elaax-portal-ticket-dynamic-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.elaax-portal-ticket-dynamic-options label,
.elaax-portal-ticket-dynamic-boolean {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.7rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(6, 34, 59, 0.14);
    border-radius: 12px;
    background: #ffffff;
    font-weight: 600;
}

.elaax-portal-ticket-dynamic-options input,
.elaax-portal-ticket-dynamic-boolean input {
    width: 1.05rem;
    height: 1.05rem;
    min-height: 0;
    padding: 0;
    flex: 0 0 auto;
}

.elaax-portal-ticket-dynamic-options--segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.25rem;
    border-radius: 14px;
    background: #f1f6fb;
}

.elaax-portal-ticket-dynamic-options--segmented label {
    position: relative;
    min-height: 2.9rem;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.elaax-portal-ticket-dynamic-options--segmented input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.elaax-portal-ticket-dynamic-options--segmented span {
    width: 100%;
    min-height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #06223b;
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.elaax-portal-ticket-dynamic-options--segmented input:checked + span {
    background: #06223b;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(6, 34, 59, 0.18);
}

.elaax-portal-ticket-dynamic-options--segmented input:focus-visible + span {
    outline: 2px solid rgba(11, 92, 171, 0.35);
    outline-offset: 2px;
}

.elaax-portal-ticket-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    padding-top: 0.15rem;
}

.elaax-portal-ticket-tabs {
    display: grid;
    gap: 1rem;
}

.elaax-portal-ticket-tabs__nav {
    display: inline-flex;
    width: fit-content;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 14px;
    background: #ffffff;
}

.elaax-portal-ticket-tabs__nav button {
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #5d738a;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0.65rem 1rem;
}

.elaax-portal-ticket-tabs__nav button.is-active {
    background: #06223b;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(6, 34, 59, 0.16);
}

.elaax-portal-ticket-tabs__panel[hidden] {
    display: none;
}

.elaax-portal-thread {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.25rem 0;
}

.elaax-portal-message {
    width: min(72%, 860px);
    background: #ffffff;
    border: 1px solid rgba(6, 34, 59, 0.08);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 22px rgba(6, 34, 59, 0.06);
}

.elaax-portal-message__button {
    width: 100%;
    display: block;
    position: relative;
    border: 0;
    padding: 0;
    padding-right: 2rem;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.elaax-portal-message__button:focus-visible {
    outline: 3px solid rgba(29, 117, 209, 0.45);
    outline-offset: 4px;
    border-radius: 10px;
}

.elaax-portal-message__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.45;
}

.elaax-portal-message__open-indicator {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: rgba(6, 34, 59, 0.08);
    color: #06223b;
    font-weight: 800;
    line-height: 1;
}

.elaax-portal-message--customer .elaax-portal-message__open-indicator {
    background: rgba(18, 132, 82, 0.14);
    color: #0f5f3f;
}

.elaax-portal-message--backend {
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.elaax-portal-message--customer {
    align-self: flex-end;
    background: #e8f7ef;
    border-color: rgba(18, 132, 82, 0.14);
    border-top-right-radius: 4px;
}

.elaax-portal-message header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
    color: #5d738a;
    font-size: 0.88rem;
}

.elaax-portal-message header strong {
    color: #06223b;
}

.elaax-portal-message--customer header strong {
    color: #0f5f3f;
}

.elaax-portal-ticket-attachments {
    display: grid;
    gap: 0.65rem;
}

.elaax-portal-ticket-attachments-grid > .elaax-portal-ticket-attachments {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.elaax-portal-message .elaax-portal-ticket-attachments {
    margin-top: 0.75rem;
}

.elaax-portal-ticket-attachment-button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 4.35rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #06223b;
    cursor: pointer;
    font: inherit;
    padding: 0.75rem;
    text-align: left;
}

.elaax-portal-ticket-attachment-button:hover,
.elaax-portal-ticket-attachment-button:focus-visible {
    border-color: rgba(11, 92, 171, 0.35);
    box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.08);
    outline: none;
}

.elaax-portal-ticket-attachment-button--message {
    background: rgba(255, 255, 255, 0.72);
}

.elaax-portal-ticket-attachment-button__icon {
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f6fb;
    color: #0b5cab;
}

.elaax-portal-ticket-attachment-button__icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.elaax-portal-ticket-attachment-button__text {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
}

.elaax-portal-ticket-attachment-button__text strong {
    overflow: hidden;
    color: #06223b;
    font-size: 0.94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.elaax-portal-ticket-attachment-button__text small {
    color: #5d738a;
    font-weight: 700;
}

.elaax-portal-message-detail-modal__dialog {
    max-width: min(980px, calc(100vw - 2rem));
}

.elaax-portal-message-detail-modal__body {
    display: grid;
    gap: 1rem;
    overflow: auto;
    padding: 1.15rem;
}

.elaax-portal-message-detail-modal__body h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.elaax-portal-detail-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.elaax-portal-detail-list div {
    display: grid;
    grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
}

.elaax-portal-detail-list dt {
    color: #5d738a;
    font-weight: 700;
}

.elaax-portal-detail-list dd {
    min-width: 0;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.elaax-portal-muted {
    color: #5d738a;
    margin: 0;
}

.elaax-portal-viewer[hidden] {
    display: none;
}

.elaax-portal-viewer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.elaax-portal-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 34, 59, 0.58);
    backdrop-filter: blur(6px);
}

.elaax-portal-viewer__dialog {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    height: min(88vh, 100%);
    display: grid;
    grid-template-rows: auto 1fr auto;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(6, 34, 59, 0.18);
    overflow: hidden;
}

.elaax-portal-viewer__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
    background: #f8fbff;
}

.elaax-portal-viewer__heading {
    display: grid;
    gap: 0.18rem;
}

.elaax-portal-viewer__heading span {
    color: #5d738a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elaax-portal-viewer__heading strong {
    color: #06223b;
    font-size: 1rem;
    line-height: 1.2;
}

.elaax-portal-viewer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.elaax-portal-viewer__frame-wrap {
    min-height: 0;
    background: #d9e4ef;
}

.elaax-portal-viewer__frame {
    width: 100%;
    height: 100%;
    min-height: 60vh;
    border: 0;
    background: #d9e4ef;
}

.elaax-portal-viewer__hint {
    margin: 0;
    padding: 0.85rem 1.1rem 1rem;
    border-top: 1px solid rgba(6, 34, 59, 0.08);
    color: #516c84;
    font-size: 0.92rem;
    background: #ffffff;
}

.elaax-portal-sign-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
}

.elaax-portal-sign-viewer,
.elaax-portal-sign-card {
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
}

.elaax-portal-sign-viewer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(6, 34, 59, 0.08);
    background: #f8fbff;
}

.elaax-portal-sign-viewer__header span {
    display: block;
    color: #5d738a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elaax-portal-sign-viewer__header strong {
    color: #06223b;
    font-size: 1rem;
}

.elaax-portal-sign-viewer__frame {
    width: 100%;
    min-height: 78vh;
    border: 0;
    background: #d9e4ef;
}

.elaax-portal-sign-card {
    padding: 1.15rem;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.elaax-portal-sign-card__lead {
    margin: 0;
    color: #516c84;
}

.elaax-portal-sign-form {
    gap: 1rem;
}

.elaax-portal-sign-pad {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.elaax-portal-sign-pad__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.elaax-portal-sign-pad__head span {
    color: #06223b;
    font-weight: 700;
}

.elaax-portal-sign-pad__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.elaax-portal-sign-pad__actions .elaax-portal-button {
    padding: 0.62rem 0.88rem;
    min-height: 2.45rem;
}

.elaax-portal-sign-pad__canvas-slot {
    width: 100%;
}

.elaax-portal-sign-pad__canvas {
    width: 100%;
    min-height: 260px;
    display: block;
    border: 1px dashed rgba(6, 34, 59, 0.18);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.96)),
        repeating-linear-gradient(180deg, transparent 0, transparent 35px, rgba(6, 34, 59, 0.05) 35px, rgba(6, 34, 59, 0.05) 36px);
    touch-action: none;
    cursor: crosshair;
}

.elaax-portal-sign-pad small {
    color: #5d738a;
}

body.elaax-sign-modal-open {
    overflow: hidden;
}

.elaax-portal-sign-modal[hidden] {
    display: none;
}

.elaax-portal-sign-modal {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: grid;
    place-items: center;
    padding: 1.1rem;
}

.elaax-portal-sign-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(3, 15, 28, 0.56);
    cursor: pointer;
}

.elaax-portal-sign-modal__dialog {
    position: relative;
    width: min(1080px, 96vw);
    max-height: 94vh;
    border: 1px solid rgba(6, 34, 59, 0.18);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 52px rgba(3, 15, 28, 0.28);
    display: grid;
    gap: 0.85rem;
    grid-template-rows: auto 1fr auto;
    padding: 1rem;
    overflow: hidden;
}

.elaax-portal-sign-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    flex-wrap: wrap;
}

.elaax-portal-sign-modal__title {
    display: grid;
    gap: 0.2rem;
}

.elaax-portal-sign-modal__title small {
    color: #5d738a;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.elaax-portal-sign-modal__title strong {
    color: #06223b;
    font-size: 1.08rem;
}

.elaax-portal-sign-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.elaax-portal-sign-modal__actions .elaax-portal-button {
    padding: 0.62rem 0.88rem;
}

.elaax-portal-sign-modal__pad {
    min-height: 55vh;
    border: 1px solid rgba(6, 34, 59, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    padding: 0.45rem;
    display: flex;
}

.elaax-portal-sign-modal__pad .elaax-portal-sign-pad__canvas {
    flex: 1 1 auto;
    min-height: 52vh;
    height: 100%;
    border-style: solid;
    border-color: rgba(6, 34, 59, 0.16);
    border-radius: 14px;
}

.elaax-portal-sign-modal__hint {
    margin: 0;
    color: #5d738a;
    font-size: 0.9rem;
}

.elaax-portal-sign-form__consent {
    display: flex !important;
    gap: 0.85rem;
    align-items: flex-start;
    font-weight: 500 !important;
}

.elaax-portal-sign-form__consent input {
    margin-top: 0.2rem;
}

.elaax-portal-sign-form__evidence {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(11, 92, 171, 0.16);
    border-radius: 16px;
    background: rgba(11, 92, 171, 0.06);
}

.elaax-portal-sign-form__evidence strong {
    color: #06223b;
}

.elaax-portal-sign-form__evidence span {
    color: #516c84;
}

.elaax-portal-footer {
    position: static;
    min-height: var(--elaax-portal-footer-height);
    border-top: 1px solid rgba(6, 34, 59, 0.08);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.elaax-portal-host--auth-screen .elaax-portal-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
}

.elaax-portal-footer__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    min-height: var(--elaax-portal-footer-height);
    padding: 0.5rem 1.5rem;
    color: #5d738a;
    font-size: 0.82rem;
    text-align: right;
}

.elaax-portal-host--auth .elaax-portal-footer__inner {
    padding-left: calc(var(--elaax-portal-sidebar-width) + 1.5rem);
}

.elaax-portal-footer__inner p {
    margin: 0;
}

.elaax-portal-footer__inner a {
    color: inherit;
    text-decoration: none;
}

.elaax-portal-footer__inner a:hover,
.elaax-portal-footer__inner a:focus {
    color: #0b5cab;
    text-decoration: underline;
}

.elaax-portal-stack--dashboard {
    gap: 1.5rem;
}

.elaax-portal-dashboard-hero {
    position: relative;
    overflow: hidden;
    margin: 0 -2.5rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.elaax-portal-dashboard-hero__track {
    position: relative;
    aspect-ratio: 21 / 9;
    min-height: 27rem;
}

.elaax-portal-dashboard-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.elaax-portal-dashboard-overview-group .elaax-portal-dashboard-overview {
    margin-bottom: 10px;
}

.elaax-portal-dashboard-hero__nav {
    position: absolute;
    right: 2.1rem;
    bottom: 2.1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    background: rgba(8, 27, 43, 0.46);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.elaax-portal-dashboard-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 140ms ease, transform 140ms ease;
}

.elaax-portal-dashboard-hero__arrow:hover,
.elaax-portal-dashboard-hero__arrow:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.elaax-portal-dashboard-hero__dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.elaax-portal-dashboard-hero__dot {
    width: 0.8rem;
    height: 0.8rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: transform 140ms ease, background-color 140ms ease;
}

.elaax-portal-dashboard-hero__dot.is-active {
    background: #ffffff;
    transform: scale(1.14);
}

.elaax-portal-dashboard-panel,
.elaax-portal-dashboard-highlight,
.elaax-portal-dashboard-metric,
.elaax-portal-dashboard-news {
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(9, 28, 45, 0.08);
}

.elaax-portal-dashboard-panel,
.elaax-portal-dashboard-highlight {
    padding: 1.5rem;
}

.elaax-portal-dashboard-panel--welcome {
    background:
        radial-gradient(circle at top left, rgba(221, 170, 54, 0.18), transparent 18rem),
        linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
}

.elaax-portal-dashboard-eyebrow,
.elaax-portal-dashboard-section__eyebrow,
.elaax-portal-dashboard-news__kicker {
    margin: 0;
    color: #0b5cab;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.elaax-portal-dashboard-panel--welcome h2,
.elaax-portal-dashboard-highlight h1,
.elaax-portal-dashboard-highlight h2 {
    margin: 0 0 1rem;
    color: #06223b;
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.elaax-portal-dashboard-panel--welcome h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    max-width: 14ch;
}

.elaax-portal-dashboard-highlight h1,
.elaax-portal-dashboard-highlight h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
}

.elaax-portal-dashboard-copy,
.elaax-portal-dashboard-highlight__copy,
.elaax-portal-dashboard-news__body {
    color: #4f667d;
    line-height: 1.65;
}

.elaax-portal-dashboard-highlight__copy p:first-child,
.elaax-portal-dashboard-news__body p:first-child {
    margin-top: 0;
}

.elaax-portal-dashboard-highlight__copy p:last-child,
.elaax-portal-dashboard-news__body p:last-child {
    margin-bottom: 0;
}

.elaax-portal-dashboard-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.2rem;
}

.elaax-portal-dashboard-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(6, 34, 59, 0.08);
    color: #173a55;
    font-size: 0.82rem;
    font-weight: 700;
}

.elaax-portal-dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
}

.elaax-portal-dashboard-shortcut--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-shortcut--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-shortcut {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1rem 0.95rem;
    border-radius: 20px;
    background: #0e2338;
    color: #ffffff;
    text-decoration: none;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.elaax-portal-dashboard-shortcut:hover,
.elaax-portal-dashboard-shortcut:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(6, 34, 59, 0.22);
    background: #14456e;
    color: #ffffff;
}

.elaax-portal-dashboard-shortcut__label {
    font-size: 0.9rem;
    font-weight: 700;
}

.elaax-portal-dashboard-shortcut strong {
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.elaax-portal-dashboard-shortcut small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
}

.elaax-portal-dashboard-highlight {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    border-radius: 0;
    color: #ffffff;
    background-color: #14324a;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(2%);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.elaax-portal-dashboard-highlight.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.elaax-portal-dashboard-highlight::after {
    content: none;
}

.elaax-portal-dashboard-highlight::before {
    content: none;
}

.elaax-portal-dashboard-highlight > * {
    position: relative;
    z-index: 1;
}

.elaax-portal-dashboard-highlight__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    padding: 0;
    overflow: hidden;
}

.elaax-portal-dashboard-highlight__image,
.elaax-portal-dashboard-highlight__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--elaax-portal-hero-image-position, center bottom);
    background: transparent;
}

.elaax-portal-dashboard-highlight__content {
    display: grid;
    align-content: start;
    gap: 1.3rem;
    min-width: 0;
    align-self: center;
    width: min(40rem, calc(100% - 4.4rem));
    padding: 2rem 2rem 2.15rem;
    background: linear-gradient(135deg, rgba(10, 18, 29, 0.76) 0%, rgb(32 42 56 / 30%) 56%, rgba(255, 255, 255, 0.12) 100%);
    box-shadow: 0 34px 80px rgba(5, 18, 30, 0.34);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    margin: 2.2rem 0 0 2.2rem;
}

.elaax-portal-dashboard-highlight .elaax-portal-dashboard-eyebrow {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
    max-width: 32rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.elaax-portal-dashboard-highlight h1,
.elaax-portal-dashboard-highlight h2 {
    color: #ffffff;
    max-width: 12ch;
    text-wrap: balance;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.elaax-portal-dashboard-highlight .elaax-portal-dashboard-highlight__copy,
.elaax-portal-dashboard-highlight .elaax-portal-dashboard-highlight__copy p,
.elaax-portal-dashboard-highlight .elaax-portal-dashboard-highlight__copy li {
    color: rgba(255, 255, 255, 0.9);
}

.elaax-portal-dashboard-highlight__copy {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 46ch;
}

.elaax-portal-dashboard-highlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.35rem;
}

.elaax-portal-dashboard-highlight__copy a {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.elaax-portal-dashboard-highlight__copy img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.elaax-portal-dashboard-highlight .elaax-portal-button--secondary {
    justify-self: flex-start;
    min-height: 50px;
    padding: 0 1.35rem;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(5, 18, 30, 0.12);
    backdrop-filter: blur(10px);
}

.elaax-portal-dashboard-highlight .elaax-portal-button--secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.elaax-portal-dashboard-highlight--sunrise {
    background-color: #864826;
}

.elaax-portal-dashboard-highlight--ocean {
    background-color: #10354d;
}

.elaax-portal-dashboard-highlight--forest {
    background-color: #183023;
}

.elaax-portal-dashboard-highlight--graphite {
    background-color: #2b3138;
}

.elaax-portal-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.elaax-portal-dashboard-metric--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-metric--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.elaax-portal-dashboard-overview-group {
    position: relative;
    display: grid;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: -1.5rem 0 10px;
    padding: 1rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.elaax-portal-dashboard-overview-group::before {
    content: "";
    position: absolute;
    inset: 0 -2.5rem;
    z-index: 0;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 0 0 18px 18px;
    background: #ffffff;
}

.elaax-portal-dashboard-overview-group > * {
    position: relative;
    z-index: 1;
}

.elaax-portal-dashboard-areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.elaax-portal-dashboard-area--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-area--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-insight-card,
.elaax-portal-dashboard-rolepanel {
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(9, 28, 45, 0.08);
}

.elaax-portal-dashboard-insight-card {
    padding: 1.35rem 1.4rem;
}

.elaax-portal-dashboard-insight-card__head,
.elaax-portal-dashboard-rolepanel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.elaax-portal-dashboard-insight-card__head h3,
.elaax-portal-dashboard-rolepanel__head h3 {
    margin: 0.28rem 0 0;
    color: #06223b;
    font-size: 1.16rem;
}

.elaax-portal-dashboard-insight-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(11, 92, 171, 0.1);
    color: #0b5cab;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elaax-portal-dashboard-breakdown {
    display: grid;
    gap: 0.85rem;
}

.elaax-portal-dashboard-breakdown__row {
    display: grid;
    gap: 0.4rem;
}

.elaax-portal-dashboard-breakdown__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    color: #173a55;
}

.elaax-portal-dashboard-breakdown__meta span {
    font-weight: 700;
}

.elaax-portal-dashboard-breakdown__meta strong {
    font-size: 1.02rem;
    line-height: 1;
}

.elaax-portal-dashboard-breakdown__track {
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(6, 34, 59, 0.08);
    overflow: hidden;
}

.elaax-portal-dashboard-breakdown__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b5cab 0%, #2c8bc7 100%);
}

.elaax-portal-dashboard-breakdown__bar--alert {
    background: linear-gradient(90deg, #d55b28 0%, #ee8c55 100%);
}

.elaax-portal-dashboard-breakdown__bar--accent {
    background: linear-gradient(90deg, #0b6c90 0%, #42aac9 100%);
}

.elaax-portal-dashboard-breakdown__bar--neutral {
    background: linear-gradient(90deg, #5e7389 0%, #8a9daf 100%);
}

.elaax-portal-dashboard-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    color: #516c84;
    font-size: 0.84rem;
}

.elaax-portal-dashboard-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.elaax-portal-dashboard-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #0b5cab;
}

.elaax-portal-dashboard-dot--alert {
    background: #d55b28;
}

.elaax-portal-dashboard-dot--accent {
    background: #0b6c90;
}

.elaax-portal-dashboard-dot--neutral {
    background: #7e90a1;
}

.elaax-portal-dashboard-trend {
    --activity-color: #0b5cab;
    padding: 0.2rem 0 0.5rem;
}

.elaax-portal-dashboard-insight-card--trend {
    position: relative;
    overflow: hidden;
}

.elaax-portal-dashboard-insight-card--trend.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.elaax-portal-dashboard-insight-card--trend.is-loading::after {
    content: "";
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(6, 34, 59, 0.12);
    border-top-color: var(--activity-color);
    border-radius: 999px;
    animation: elaax-portal-dashboard-spin 700ms linear infinite;
}

.elaax-portal-dashboard-insight-card--trend::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--activity-color);
}

@keyframes elaax-portal-dashboard-spin {
    to {
        transform: rotate(360deg);
    }
}

.elaax-portal-dashboard-insight-card--activity-all {
    --activity-color: #0b5cab;
}

.elaax-portal-dashboard-insight-card--activity-tickets {
    --activity-color: #6b7f92;
}

.elaax-portal-dashboard-insight-card--activity-invoices {
    --activity-color: #d95b2b;
}

.elaax-portal-dashboard-insight-card--activity-orders {
    --activity-color: #1769aa;
}

.elaax-portal-dashboard-insight-card--activity-supplier {
    --activity-color: #0b7895;
}

.elaax-portal-dashboard-insight-card--activity-proposals {
    --activity-color: #138a54;
}

.elaax-portal-dashboard-activity-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 0.55rem;
    align-items: center;
    margin: -0.45rem 0 0.45rem;
}

.elaax-portal-dashboard-activity-tabs,
.elaax-portal-dashboard-activity-months {
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
    align-items: center;
}

.elaax-portal-dashboard-activity-tabs {
    justify-self: start;
}

.elaax-portal-dashboard-activity-months {
    justify-self: end;
}

.elaax-portal-dashboard-activity-tab,
.elaax-portal-dashboard-activity-month {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35rem;
    padding: 0.18rem 0.36rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 6px;
    background: #ffffff;
    color: #37516c;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.elaax-portal-dashboard-activity-tab:hover,
.elaax-portal-dashboard-activity-tab:focus-visible,
.elaax-portal-dashboard-activity-month:hover,
.elaax-portal-dashboard-activity-month:focus-visible {
    border-color: color-mix(in srgb, var(--activity-color) 38%, transparent);
    color: var(--activity-color);
    outline: none;
}

.elaax-portal-dashboard-activity-tab.is-active,
.elaax-portal-dashboard-activity-month.is-active {
    border-color: var(--activity-color);
    background: var(--activity-color);
    color: #ffffff;
}

.elaax-portal-dashboard-trend svg {
    width: 100%;
    height: auto;
    display: block;
}

.elaax-portal-dashboard-trend__grid line {
    stroke: rgba(6, 34, 59, 0.1);
    stroke-width: 1;
}

.elaax-portal-dashboard-trend polyline {
    fill: none;
    stroke: var(--activity-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elaax-portal-dashboard-trend__dots circle {
    fill: #ffffff;
    stroke: var(--activity-color);
    stroke-width: 3;
}

.elaax-portal-dashboard-trend__series--tickets {
    --activity-color: #6b7f92;
}

.elaax-portal-dashboard-trend__series--invoices {
    --activity-color: #d95b2b;
}

.elaax-portal-dashboard-trend__series--orders {
    --activity-color: #1769aa;
}

.elaax-portal-dashboard-trend__series--supplier {
    --activity-color: #0b7895;
}

.elaax-portal-dashboard-trend__series--proposals {
    --activity-color: #138a54;
}

.elaax-portal-dashboard-trend-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem 0.55rem;
    margin: 0 0 0.35rem;
    padding: 0;
    list-style: none;
    color: #516c84;
    font-size: 0.68rem;
    font-weight: 700;
}

.elaax-portal-dashboard-trend-legend__item {
    --activity-color: #0b5cab;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.elaax-portal-dashboard-trend-legend__item span {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: var(--activity-color);
}

.elaax-portal-dashboard-trend-legend__item--tickets {
    --activity-color: #6b7f92;
}

.elaax-portal-dashboard-trend-legend__item--invoices {
    --activity-color: #d95b2b;
}

.elaax-portal-dashboard-trend-legend__item--orders {
    --activity-color: #1769aa;
}

.elaax-portal-dashboard-trend-legend__item--supplier {
    --activity-color: #0b7895;
}

.elaax-portal-dashboard-trend-legend__item--proposals {
    --activity-color: #138a54;
}

.elaax-portal-dashboard-trend__labels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3.2rem, 1fr));
    gap: 0.6rem;
}

.elaax-portal-dashboard-trend__labels span {
    display: grid;
    gap: 0.15rem;
    color: #516c84;
    font-size: 0.78rem;
}

.elaax-portal-dashboard-trend__labels strong {
    color: #06223b;
    font-size: 1rem;
}

.elaax-portal-dashboard-metric {
    padding: 1.05rem 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.elaax-portal-dashboard-metric span {
    display: block;
    color: #4f667d;
    font-size: 0.82rem;
    font-weight: 700;
}

.elaax-portal-dashboard-metric strong {
    display: block;
    margin-top: 0.45rem;
    color: #06223b;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.elaax-portal-dashboard-metric--alert {
    background: linear-gradient(180deg, #fff4ef 0%, #ffffff 100%);
    border-color: rgba(171, 56, 20, 0.16);
}

.elaax-portal-dashboard-metric--accent {
    background: linear-gradient(180deg, #eef7fb 0%, #ffffff 100%);
    border-color: rgba(11, 108, 144, 0.16);
}

.elaax-portal-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 1.25rem;
}

.elaax-portal-dashboard-role-section {
    display: grid;
    gap: 0.75rem;
}

.elaax-portal-dashboard-rolefilters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin: -0.1rem 0 0.15rem;
}

.elaax-portal-dashboard-rolefilter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #35536f;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.elaax-portal-dashboard-rolefilter:hover,
.elaax-portal-dashboard-rolefilter:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(11, 92, 171, 0.22);
    color: #0b5cab;
    box-shadow: none;
}

.elaax-portal-dashboard-rolefilter.is-active {
    border-color: rgba(11, 92, 171, 0.18);
    background: linear-gradient(180deg, #0b5cab 0%, #1773c2 100%);
    color: #ffffff;
    box-shadow: none;
}

.elaax-portal-dashboard-role-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}

.elaax-portal-dashboard-rolepanel {
    display: grid;
    gap: 1.05rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.elaax-portal-dashboard-rolepanel--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-rolepanel--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-rolepanel.is-filtered-out {
    display: none;
}

.elaax-portal-dashboard-rolepanel--customer {
    background: transparent;
}

.elaax-portal-dashboard-rolepanel--supplier {
    background: transparent;
}

.elaax-portal-dashboard-rolepanel--marketing {
    background: transparent;
}

.elaax-portal-dashboard-rolepanel__copy {
    max-width: 72rem;
    margin: -0.35rem 0 0;
    color: #516c84;
    line-height: 1.6;
}

.elaax-portal-dashboard-rolepanel__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.elaax-portal-dashboard-column {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.elaax-portal-dashboard-section {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.elaax-portal-dashboard-section--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-section--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.elaax-portal-dashboard-section__head h3 {
    margin: 0.3rem 0 0;
    color: #06223b;
    font-size: 1.18rem;
}

.elaax-portal-dashboard-section__link {
    color: #0b5cab;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.elaax-portal-dashboard-section__link:hover,
.elaax-portal-dashboard-section__link:focus-visible {
    text-decoration: underline;
}

.elaax-portal-dashboard-section .elaax-portal-list li + li {
    border-top-color: rgba(6, 34, 59, 0.06);
}

.elaax-portal-dashboard-section .elaax-portal-list a {
    padding: 0.85rem 0;
}

.elaax-portal-dashboard-news-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elaax-portal-dashboard-news {
    display: grid;
    gap: 0.7rem;
    padding: 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.elaax-portal-dashboard-news--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-news--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-insight-card--full {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-insight-card--half {
    grid-column: span 1;
}

.elaax-portal-dashboard-news__media {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(6, 34, 59, 0.04);
}

.elaax-portal-dashboard-news__image,
.elaax-portal-dashboard-news__media img {
    display: block;
    width: 100%;
    height: 13rem;
    object-fit: cover;
    object-position: center;
}

.elaax-portal-dashboard-news h4 {
    margin: 0;
    color: #06223b;
    font-size: 1.08rem;
}

.elaax-portal-dashboard-news .elaax-portal-button--secondary {
    justify-self: flex-start;
}

.elaax-portal-dashboard-news--sunrise {
    border-color: rgba(196, 121, 33, 0.2);
}

.elaax-portal-dashboard-news--ocean {
    border-color: rgba(11, 108, 144, 0.22);
}

.elaax-portal-dashboard-news--forest {
    border-color: rgba(47, 123, 87, 0.22);
}

.elaax-portal-dashboard-news--graphite {
    border-color: rgba(74, 85, 97, 0.24);
}

@media (max-width: 980px) {
    .elaax-auth-layout {
        width: min(100%, calc(100% - 1.5rem));
        max-width: 48rem;
        min-height: auto;
        margin: 0 auto;
        padding: 1.25rem 0 2rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .elaax-portal-host--auth-screen .elaax-auth-layout {
        height: calc(100svh - var(--elaax-portal-header-height) - var(--elaax-portal-footer-height));
        min-height: 0;
        padding: 0.75rem 0;
        overflow: hidden;
    }

    .elaax-auth-layout .elaax-portal-panel--auth {
        min-height: auto;
        border: 1px solid rgba(6, 34, 59, 0.12);
        border-radius: 18px;
        box-shadow: 0 22px 58px rgba(6, 34, 59, 0.08);
    }

    .elaax-portal-host--auth-screen .elaax-auth-layout .elaax-portal-panel--auth {
        min-height: 0;
        max-height: 100%;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .elaax-auth-visual {
        display: none;
    }

    .elaax-portal-shell--app {
        display: block;
    }

    .elaax-portal-sidebar {
        position: static;
        width: auto;
        height: auto;
        padding: 1.5rem 1.2rem;
    }

    .elaax-portal-stage {
        margin-left: 0;
        min-height: 0;
        padding: 1.75rem 1.2rem 2.2rem;
    }

    .elaax-portal-stage--dashboard {
        padding-top: 0;
    }

    .elaax-portal-host--auth .elaax-portal-footer__inner {
        padding-left: 1.5rem;
    }

    .elaax-portal-host--auth #html-footer #footer-copyright {
        padding-left: 1.5rem;
    }

    .elaax-portal-dashboard-grid,
    .elaax-portal-dashboard-insights,
    .elaax-portal-dashboard-areas {
        grid-template-columns: 1fr;
    }

    .elaax-portal-dashboard-hero {
        margin: 0 -1.2rem;
        padding: 0;
    }

    .elaax-portal-dashboard-overview-group {
        margin: -1.5rem 0 10px;
    }

    .elaax-portal-dashboard-overview-group::before {
        inset: 0 -1.2rem;
    }

    .elaax-portal-dashboard-highlight {
        min-height: 0;
        padding: 1.4rem 1.4rem 4.3rem;
    }

    .elaax-portal-dashboard-hero__track {
        aspect-ratio: 21 / 9;
        min-height: 21rem;
    }
}

@media (max-width: 720px) {
    .elaax-portal-host {
        --elaax-portal-header-height: 64px;
    }

    .elaax-portal-shell {
        padding-top: 1.25rem;
    }

    .elaax-portal-shell--app {
        padding-top: 0;
    }

    .elaax-portal-host--registration-complete .elaax-auth-layout {
        align-items: start;
        padding: 0.85rem;
        overflow-y: auto;
    }

    .elaax-portal-host--registration-complete .elaax-registration-panel--complete {
        width: 100%;
        max-height: none;
        border-radius: 18px;
        padding: 1.15rem;
    }

    .elaax-registration-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elaax-portal-topbar__inner {
        padding: 0 1rem;
    }

    .elaax-portal-topbar__brand-copy small {
        display: none;
    }

    .elaax-portal-host #html-header .header-container .header-bottom {
        padding: 0 1rem;
    }

    .elaax-portal-host #header-logo .text-logo .it-service {
        display: none;
    }

    .elaax-portal-host #header-logo a::after {
        padding: 0.65rem 0.85rem;
        min-height: 2.4rem;
        font-size: 0.9rem;
    }

    .elaax-portal-stage,
    .elaax-portal-sidebar,
    .elaax-portal-panel {
        padding: 1.2rem;
    }

    .elaax-portal-stage--dashboard {
        padding-top: 0;
    }

    .elaax-portal-dashboard-panel,
    .elaax-portal-dashboard-highlight {
        padding: 1.2rem;
    }

    .elaax-portal-dashboard-rolepanel__body {
        grid-template-columns: 1fr;
    }

    .elaax-portal-dashboard-section {
        padding: 1rem 0 0;
    }

    .elaax-portal-dashboard-hero {
        margin: 0 -1.2rem;
        padding: 0;
        border-radius: 0;
    }

    .elaax-portal-dashboard-overview-group {
        margin: -1.5rem 0 10px;
    }

    .elaax-portal-dashboard-overview-group::before {
        inset: 0 -1.2rem;
        border-radius: 0;
    }

    .elaax-portal-dashboard-hero__track {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .elaax-portal-dashboard-hero__nav {
        position: static;
        margin-top: 0.9rem;
        justify-content: center;
        background: #0e2338;
    }

    .elaax-portal-dashboard-panel--welcome h2 {
        max-width: none;
    }

    .elaax-portal-dashboard-shortcuts,
    .elaax-portal-dashboard-metrics,
    .elaax-portal-dashboard-news-grid,
    .elaax-portal-dashboard-role-panels {
        grid-template-columns: 1fr;
    }

    .elaax-portal-dashboard-rolefilters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .elaax-portal-dashboard-rolefilter {
        white-space: nowrap;
    }

    .elaax-portal-dashboard-highlight {
        position: relative;
        min-height: 0;
        transform: none;
        gap: 1.1rem;
        padding: 1rem 1rem 1.2rem;
    }

    .elaax-portal-dashboard-highlight:not(.is-active) {
        display: none;
    }

    .elaax-portal-dashboard-highlight__content {
        width: min(100%, 30rem);
        padding: 1.2rem 1.1rem 1.25rem;
        margin: 0;
        border-radius: 18px;
    }

    .elaax-portal-dashboard-trend__labels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .elaax-portal-dashboard-section__head {
        flex-direction: column;
    }

    .elaax-portal-form-grid,
    .elaax-portal-employee-filters {
        grid-template-columns: 1fr;
    }

    .elaax-registration-progress,
    .elaax-registration-choices--two {
        grid-template-columns: 1fr;
    }

    .elaax-registration-personal-head,
    .elaax-registration-name-grid,
    .elaax-registration-position-grid {
        grid-template-columns: 1fr;
    }

    .elaax-profile-photo-card,
    .elaax-media-upload-card {
        width: min(100%, 18rem);
    }

    .elaax-profile-photo-modal,
    .elaax-media-upload-modal {
        right: 0;
        left: 0;
        display: grid;
        place-items: center;
        width: auto;
        min-width: 0;
        padding: 1rem;
    }

    .elaax-profile-photo-modal__backdrop,
    .elaax-media-upload-modal__backdrop {
        background: rgba(6, 34, 59, 0.42);
    }

    .elaax-registration-actions {
        flex-direction: column-reverse;
    }

    .elaax-registration-legal-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .elaax-registration-consent-card,
    .elaax-registration-security {
        grid-template-columns: 1fr;
    }

    .elaax-registration-security__visual {
        min-height: 2.7rem;
    }

    .elaax-portal-employee-row {
        grid-template-columns: 2.6rem minmax(0, 1fr);
        align-items: flex-start;
    }

    .elaax-portal-employee-row__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elaax-portal-employee-row__meta,
    .elaax-portal-employee-row__note,
    .elaax-portal-employee-row__actions {
        grid-column: 2;
    }

    .elaax-portal-employee-row__actions {
        grid-row: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
        min-width: 0;
    }

    .elaax-portal-list a,
    .elaax-portal-message header {
        flex-direction: column;
    }

    .elaax-portal-message {
        width: 100%;
    }

    .elaax-portal-ticket-template-group {
        grid-template-columns: minmax(0, 1fr);
    }

    .elaax-portal-ticket-dynamic-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .elaax-portal-ticket-dynamic-options--segmented {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elaax-portal-detail-list div {
        grid-template-columns: minmax(0, 1fr);
    }

    .elaax-portal-table th:nth-child(2),
    .elaax-portal-table td:nth-child(2) {
        display: none;
    }

    .elaax-portal-table--meta th:nth-child(2),
    .elaax-portal-table--meta td:nth-child(2) {
        display: table-cell;
    }

    .elaax-portal-proposal-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        margin-bottom: 0.85rem;
    }

    .elaax-portal-proposal-filter {
        white-space: nowrap;
    }

    .elaax-portal-table--proposals {
        table-layout: auto;
        min-width: 760px;
        border-spacing: 0 0.45rem;
    }

    .elaax-portal-table--proposals th:nth-child(3),
    .elaax-portal-table--proposals td:nth-child(3),
    .elaax-portal-table--proposals th:nth-child(6),
    .elaax-portal-table--proposals td:nth-child(6) {
        display: none;
    }

    .elaax-portal-table--proposals .elaax-portal-table-actions .elaax-portal-actions {
        justify-content: flex-start;
    }

    .elaax-portal-table--proposals .elaax-portal-table-actions {
        min-width: 8.8rem;
        width: 8.8rem;
    }

    .elaax-portal-list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .elaax-portal-table--portal-list {
        table-layout: auto;
        min-width: 760px;
        border-spacing: 0 0.45rem;
    }

    .elaax-portal-table--portal-list th:nth-child(2),
    .elaax-portal-table--portal-list td:nth-child(2) {
        display: table-cell;
    }

    .elaax-portal-table--portal-list .elaax-portal-table-actions .elaax-portal-actions {
        justify-content: flex-start;
    }

    .elaax-portal-table--portal-list .elaax-portal-table-actions {
        min-width: 8.8rem;
        width: 8.8rem;
    }

    .elaax-portal-ticket-header {
        flex-direction: column;
        align-items: stretch;
    }

    .elaax-portal-ticket-new-button {
        width: 100%;
    }

    .elaax-portal-ticket-modal {
        padding: 0.75rem;
    }

    .elaax-portal-ticket-modal__dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 16px;
    }

    .elaax-portal-ticket-modal__actions {
        justify-content: stretch;
    }

    .elaax-portal-ticket-modal__actions .elaax-portal-button {
        flex: 1 1 0;
    }

    .elaax-portal-sign-pad__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .elaax-portal-sign-pad__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .elaax-portal-sign-modal {
        padding: 0.75rem;
    }

    .elaax-portal-sign-modal__dialog {
        width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .elaax-portal-sign-modal__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .elaax-portal-sign-modal__pad {
        min-height: 44vh;
    }

    .elaax-portal-sign-modal__pad .elaax-portal-sign-pad__canvas {
        min-height: 40vh;
    }

    .elaax-portal-tabs__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .elaax-portal-tabs__tab {
        white-space: nowrap;
    }

    .elaax-portal-footer__inner {
        justify-content: flex-start;
        padding: 1rem;
        text-align: left;
    }

    .elaax-portal-host #html-footer #footer-copyright {
        justify-content: flex-start;
        padding: 1rem;
        text-align: left;
    }

    .elaax-portal-host #html-footer #footer-copyright > p:first-child::after {
        display: block;
        margin: 0.25rem 0 0;
    }

    .elaax-portal-host #html-footer #footer-copyright > p:not(:first-child) {
        left: 0.85rem;
        bottom: 0.85rem;
    }
}

@media (max-width: 900px) {
    .elaax-portal-legal-proof-row {
        grid-template-columns: 1fr auto;
    }

    .elaax-portal-legal-proof-row__type,
    .elaax-portal-legal-proof-row__main,
    .elaax-portal-legal-proof-row__meta {
        grid-column: 1 / -1;
    }

    .elaax-portal-shell--legal .elaax-portal-stage {
        width: min(100% - 2rem, 1180px);
    }

    .elaax-portal-shell--legal .elaax-portal-pagehead {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .elaax-portal-legal-card {
        grid-template-columns: 2.8rem minmax(0, 1fr);
    }

    .elaax-portal-legal-card__open {
        grid-column: 1 / -1;
        width: 100%;
    }

    .elaax-portal-legal-modal {
        padding: 0.75rem;
    }

    .elaax-portal-legal-modal__dialog {
        max-height: 94vh;
        border-radius: 16px;
    }

    .elaax-portal-viewer {
        padding: 0.75rem;
    }

    .elaax-portal-viewer__dialog {
        width: 100%;
        height: min(92vh, 100%);
        border-radius: 20px;
    }

    .elaax-portal-viewer__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .elaax-portal-viewer__actions {
        width: 100%;
        justify-content: stretch;
    }

    .elaax-portal-viewer__actions .elaax-portal-button {
        flex: 1 1 0;
    }

    .elaax-portal-sign-layout {
        grid-template-columns: 1fr;
    }

    .elaax-portal-sign-viewer__frame {
        min-height: 62vh;
    }

    .elaax-portal-sign-pad__head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .elaax-portal-section-head {
        display: block;
    }

    .elaax-portal-legal-proof-row {
        grid-template-columns: 1fr;
    }

    .elaax-portal-legal-proof-row .elaax-portal-button {
        width: 100%;
    }

    .elaax-portal-shell--legal .elaax-portal-stage {
        width: min(100% - 1.5rem, 1180px);
        padding-top: 1.5rem;
    }

    .elaax-portal-legal-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .elaax-portal-legal-card__icon {
        width: auto;
        height: 2rem;
        justify-self: start;
        padding: 0 0.7rem;
    }

    .elaax-portal-legal-card__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .elaax-portal-legal-consent {
        align-items: flex-start;
    }

    .elaax-portal-legal-actions .elaax-portal-button {
        width: 100%;
    }

    .elaax-portal-legal-modal {
        padding: 0;
    }

    .elaax-portal-legal-modal__dialog {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .elaax-portal-legal-modal__header {
        padding: 1rem;
    }

    .elaax-portal-legal-modal__body {
        padding: 1rem;
    }

    .elaax-portal-legal-modal__footer {
        padding: 0.85rem 1rem;
    }

    .elaax-portal-legal-modal__footer .elaax-portal-button {
        width: 100%;
    }

    .elaax-portal-viewer {
        padding: 0;
    }

    .elaax-portal-viewer__dialog {
        height: 100vh;
        border-radius: 0;
    }

    .elaax-portal-viewer__frame {
        min-height: 0;
    }

    .elaax-portal-sign-card {
        padding: 1rem;
    }

    .elaax-portal-sign-viewer__frame {
        min-height: 52vh;
    }
}

/* Dashboard refinement: flat status and role areas */
.elaax-portal-dashboard-panel--welcome {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
}

.elaax-portal-dashboard-panel--welcome h2 {
    max-width: 18ch;
}

.elaax-portal-dashboard-panel--welcome .elaax-portal-dashboard-copy {
    max-width: 84rem;
}

.elaax-portal-dashboard-badges {
    display: none;
}

.elaax-portal-dashboard-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.5rem;
    margin-top: 1.25rem;
    padding: 0.95rem 1rem 0.85rem;
    border-top: 1px solid rgba(6, 34, 59, 0.12);
    border-right: 1px solid rgba(6, 34, 59, 0.12);
    border-bottom: 1px solid rgba(6, 34, 59, 0.12);
    border-left: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 16px;
    background: #ffffff;
}

.elaax-portal-dashboard-shortcut {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem 1rem;
    min-height: 7.4rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 0;
    background: transparent;
    color: #06223b;
    box-shadow: none;
}

.elaax-portal-dashboard-shortcuts .elaax-portal-dashboard-shortcut:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.elaax-portal-dashboard-shortcut:hover,
.elaax-portal-dashboard-shortcut:focus-visible {
    transform: none;
    background: transparent;
    color: #0b5cab;
    box-shadow: none;
}

.elaax-portal-dashboard-shortcut__label {
    grid-column: 1;
    font-size: 0.94rem;
}

.elaax-portal-dashboard-shortcut strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 3.2rem;
    color: #06223b;
    font-size: 1.85rem;
    text-align: right;
}

.elaax-portal-dashboard-shortcut small {
    grid-column: 1;
    color: #516c84;
    font-size: 0.82rem;
}

.elaax-portal-dashboard-shortcut__stats {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.38rem;
    margin-top: 0.25rem;
}

.elaax-portal-dashboard-shortcut__stat {
    display: grid;
    grid-template-columns: 0.72rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.42rem;
    color: #37516c;
    font-size: 0.78rem;
    line-height: 1.2;
}

.elaax-portal-dashboard-shortcut__stat strong {
    grid-column: auto;
    grid-row: auto;
    min-width: 1.5rem;
    color: #06223b;
    font-size: 0.86rem;
    text-align: right;
}

.elaax-portal-dashboard-shortcut__stat-icon {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    background: #148356;
}

.elaax-portal-dashboard-shortcut__stat--warning .elaax-portal-dashboard-shortcut__stat-icon {
    background: #dca62b;
}

.elaax-portal-dashboard-shortcut__stat--danger .elaax-portal-dashboard-shortcut__stat-icon {
    background: #c7442f;
}

.elaax-portal-dashboard-shortcut__stat--warning strong {
    color: #986400;
}

.elaax-portal-dashboard-shortcut__stat--danger strong {
    color: #9f2f1d;
}

.elaax-portal-dashboard-rolefilter {
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.elaax-portal-dashboard-rolefilter.is-active {
    background: #06223b;
    box-shadow: none;
}

.elaax-portal-dashboard-rolefilters {
    margin: -0.25rem 0 0.35rem;
}

.elaax-portal-dashboard-role-section > .elaax-portal-dashboard-rolefilters {
    display: none;
}

.elaax-portal-dashboard-rolefilters--inline {
    margin: 0.75rem 0 0.65rem;
}

.elaax-portal-dashboard-rolefilter {
    min-height: 2rem;
    padding: 0.38rem 0.65rem;
    font-size: 0.8rem;
}

.elaax-portal-dashboard-insight-card {
    box-shadow: none;
}

@media (max-width: 720px) {
    .elaax-portal-dashboard-shortcuts {
        grid-template-columns: 1fr;
    }

    .elaax-portal-dashboard-shortcuts .elaax-portal-dashboard-shortcut:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(6, 34, 59, 0.1);
    }

    .elaax-portal-dashboard-shortcuts .elaax-portal-dashboard-shortcut:last-child {
        border-bottom: 0;
    }
}

@media (min-width: 721px) and (max-width: 1180px) {
    .elaax-portal-dashboard-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elaax-portal-dashboard-shortcuts .elaax-portal-dashboard-shortcut:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(6, 34, 59, 0.1);
    }

    .elaax-portal-dashboard-shortcuts .elaax-portal-dashboard-shortcut:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

/* Dashboard refinement: process lists aligned with the portal list pages */
.elaax-portal-dashboard-rolepanel__head,
.elaax-portal-dashboard-rolepanel__copy {
    display: none;
}

.elaax-portal-dashboard-rolepanel {
    gap: 0;
}

.elaax-portal-dashboard-role-panels {
    grid-template-columns: 1fr;
}

.elaax-portal-dashboard-rolepanel--half {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-rolepanel__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.elaax-portal-dashboard-rolepanel__body > .elaax-portal-dashboard-section:only-child {
    grid-column: 1 / -1;
}

.elaax-portal-dashboard-section {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 16px;
    background: rgb(255 255 255 / 12%);
    box-shadow: none;
}

.elaax-portal-dashboard-section__head {
    align-items: flex-end;
    margin: 0 0 0.75rem;
    padding: 0 0.1rem;
}

.elaax-portal-dashboard-section__head h3 {
    margin: 0.2rem 0 0;
    font-size: 1.08rem;
}

.elaax-portal-dashboard-section__eyebrow {
    margin: 0;
    color: #0b5cab;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.elaax-portal-dashboard-section__link {
    align-self: center;
    font-size: 0.86rem;
}

.elaax-portal-dashboard-section .elaax-portal-list {
    display: grid;
    gap: 0.75rem;
}

.elaax-portal-dashboard-section .elaax-portal-list li + li {
    border-top: 0;
}

.elaax-portal-dashboard-section .elaax-portal-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 3.85rem;
    padding: 0.82rem 0.9rem;
    border: 1px solid rgba(6, 34, 59, 0.1);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
}

.elaax-portal-dashboard-section .elaax-portal-list a:hover,
.elaax-portal-dashboard-section .elaax-portal-list a:focus-visible {
    border-color: rgba(11, 92, 171, 0.26);
    background: #f8fbff;
    color: #06223b;
    outline: none;
}

.elaax-portal-dashboard-section .elaax-portal-list strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.elaax-portal-dashboard-list-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    min-width: 0;
}

.elaax-portal-dashboard-marker {
    --dashboard-marker-color: #6b7f92;
    --dashboard-marker-ink: #ffffff;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.55rem;
    border: 0;
    background: transparent;
}

.elaax-portal-dashboard-marker--warning {
    --dashboard-marker-color: #c58a13;
    --dashboard-marker-ink: #ffffff;
}

.elaax-portal-dashboard-marker--danger {
    --dashboard-marker-color: #d53f2a;
    --dashboard-marker-ink: #ffffff;
}

.elaax-portal-dashboard-marker__icon {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.35rem;
    clip-path: polygon(50% 5%, 98% 92%, 2% 92%);
    background: var(--dashboard-marker-color);
    color: var(--dashboard-marker-ink);
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
    padding-top: 0.2rem;
}

.elaax-portal-dashboard-section .elaax-portal-list .elaax-portal-dashboard-list-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 12rem;
    padding: 0.2rem 0.58rem;
    overflow: hidden;
    border: 1px solid rgba(6, 34, 59, 0.12);
    border-radius: 999px;
    background: #f4f8fc;
    color: #37516c;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.elaax-portal-dashboard-section .elaax-portal-empty {
    margin: 0;
    padding: 0.95rem;
    border: 1px dashed rgba(6, 34, 59, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
    .elaax-portal-dashboard-rolepanel__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .elaax-portal-dashboard-section .elaax-portal-list a {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .elaax-portal-dashboard-section .elaax-portal-list span {
        justify-self: start;
    }
}
