html {
    color-scheme: only light;
    background: #f4f7fb;
    color: #212121;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f7fb;
    color: #212121;
}

h1, h2, h3, h4, h5, h6, p, li, td, th {
    color: #212121;
}

input,
textarea,
select,
.select-dropdown {
    color-scheme: light;
    color: #212121;
    caret-color: #212121;
    background-color: transparent;
}

.dropdown-content {
    background-color: #fff;
    color: #212121;
}

.dropdown-content li > a,
.dropdown-content li > span {
    color: #212121;
}

.platform-main {
    flex: 1;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

.platform-logo {
    display: block;
    width: 7.5rem;
    height: auto;
    margin: 0 auto 1rem;
}

.platform-doors {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.platform-door {
    flex: 1 1 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    margin: 0;
    color: #1565c0;
    text-decoration: none;
}

.platform-door .card-title {
    margin: 0;
    font-weight: 650;
}

.platform-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    padding: 1.2rem 8rem 1.6rem;
}

.platform-footer a {
    color: #5f6b76;
}

.platform-contact {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 997;
}

.nappe-plot {
    width: 100%;
    height: auto;
    background: #fff;
}

.nappe-note {
    display: none;
}

.nappe-note.active {
    display: block;
}

.nappe-tip {
    position: fixed;
    z-index: 1000;
    background: #263238;
    color: #fff;
    padding: 4px 8px;
    font-size: 13px;
    pointer-events: none;
}

.nappe-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin: 0.6rem 0;
}

.nappe-legend li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nappe-swatch {
    width: 1.4rem;
    height: 0;
    border-top: 3px solid;
}

.nappe-point {
    cursor: crosshair;
}

.nappe-point:hover {
    fill: #212121;
}

.input-field > .nappe-help {
    position: absolute;
    right: 1.5rem;
    top: 0.85rem;
    z-index: 2;
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    cursor: help;
    color: #1565c0;
}

.nappe-actions {
    margin-top: 0.8rem;
}

.nappe-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 1.2rem 0.6rem 0;
}

.nappe-action[hidden] {
    display: none !important;
}

.nappe-action .btn-flat {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    height: auto;
    line-height: 1.3;
    padding: 0 0.35rem;
    margin: 0;
}

.nappe-action button:disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.input-field > .nappe-unit {
    position: absolute;
    right: 3.6rem;
    bottom: 1.6rem;
    color: #607d8b;
    pointer-events: none;
    line-height: 1;
}

.input-field > input.nappe-with-unit {
    width: 100%;
    box-sizing: border-box;
    padding-right: 5.4rem;
}

.nappe-formula-side {
    padding-top: 1.7rem;
}

.nappe-formula {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #263238;
}

.material-tooltip {
    position: absolute;
    inset: unset;
    width: max-content;
    max-width: 16rem;
    height: auto;
    margin: 0;
    padding: 0.45rem 0.7rem;
    overflow: visible;
    border: none;
    border-radius: 2px;
    background: #263238;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.35;
    pointer-events: none;
    z-index: 1002;
}

.material-tooltip[data-position="top"] {
    position-area: top;
    margin-bottom: 8px;
}

.material-tooltip[data-position="bottom"] {
    position-area: bottom;
    margin-top: 8px;
}

.material-tooltip[data-position="left"] {
    position-area: left;
    margin-right: 8px;
}

.material-tooltip[data-position="right"] {
    position-area: right;
    margin-left: 8px;
}

.nappe-coeff[hidden],
.nappe-table-only[hidden] {
    display: none !important;
}
