.olim {
    box-sizing: border-box;
    margin-block: 1.5rem;
    padding: clamp(.75rem, 3vw, 1.75rem);
    color: #142b35;
    background: #f5faf9;
    border: 1px solid #afc8c5;
    border-radius: .75rem;
    overflow-wrap: anywhere;
}

.olim h2, .olim caption { color: inherit; }
.olim h2 { margin-block: 0 .75rem; }
.olim [hidden] { display: none !important; }
.olim a { color: #00575a; text-decoration: underline; }
.olim :focus-visible { outline: 3px solid #805100; outline-offset: 3px; }
.olim .olim-note { color: #38525c; font-size: .9em; }

.olim-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: .9rem;
    margin-block: .9rem;
}

.olim label { display: block; min-width: 0; }
.olim input, .olim select, .olim button {
    box-sizing: border-box;
    font: inherit;
    min-height: 44px;
    padding: .5em;
    border: 1px solid #496872;
    border-radius: .35rem;
}

.olim input, .olim select {
    display: block;
    width: 100%;
    margin-top: .35rem;
    color: #142b35;
    background: #fff;
}

.olim button {
    max-width: 100%;
    color: #fff;
    background: #00575a;
    cursor: pointer;
}

.olim-result { font-weight: 700; min-height: 1.5em; }
.olim .olim-chart { margin: 0; padding: 0; list-style: none; }
.olim-chart li + li { margin-top: .75rem; }
.olim-chart-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.olim progress { display: block; width: 100%; height: 1rem; accent-color: #00575a; }
.olim table { width: 100%; border-collapse: collapse; }
.olim caption { font-weight: 700; text-align: start; margin-bottom: .5rem; }
.olim th, .olim td { padding: .5em; border-bottom: 1px solid #afc8c5; text-align: start; }
.olim iframe { display: block; width: 100%; max-width: 100%; border: 1px solid #afc8c5; box-sizing: border-box; }
