html {
    scrollbar-gutter: stable;
}

.site-header .brand,
.footer-brand {
    position: relative;
}

.footer-brand {
    display: block;
    width: 130px;
}

.site-header .brand::after,
.footer-brand::after {
    background: var(--teal);
    content: "";
    inset: 0;
    -webkit-mask: url('/assets/cleverminds-logo.png') center / contain no-repeat;
    mask: url('/assets/cleverminds-logo.png') center / contain no-repeat;
    pointer-events: none;
    position: absolute;
}

.site-header .brand img,
.footer-brand img {
    filter: none;
    opacity: 0;
}

.login-link {
    border-bottom: 1px solid transparent;
    color: #d7dfda;
    font-size: 12px;
    padding: 10px 0;
    text-decoration: none;
    white-space: nowrap;
}

.login-link:hover {
    border-color: var(--teal);
    color: #fff;
}

.login-link:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}

.import-layout,
.enrichment-layout {
    background: #f2f4f1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    min-height: 355px;
}

.import-main,
.enrichment-guide {
    padding: 22px;
}

.import-steps {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 17px;
}

.import-steps span {
    align-items: center;
    border-bottom: 2px solid #d9dfdb;
    color: #748079;
    display: flex;
    font-size: 7px;
    gap: 7px;
    padding-bottom: 8px;
}

.import-steps i {
    border: 1px solid #bcc8c2;
    border-radius: 50%;
    display: grid;
    font-style: normal;
    height: 18px;
    place-items: center;
    width: 18px;
}

.import-steps .done,
.import-steps .active {
    border-color: #32aaa5;
    color: #1c5e58;
    font-weight: 800;
}

.import-steps .done i {
    background: #218e88;
    border-color: #218e88;
    color: #fff;
}

.import-steps .active i {
    border: 2px solid #218e88;
}

.import-file {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4e0;
    display: grid;
    gap: 10px;
    grid-template-columns: 38px 1fr auto;
    padding: 10px 12px;
}

.import-file > span {
    background: #173035;
    border-radius: 3px;
    color: #72d4cf;
    display: grid;
    font-size: 7px;
    font-weight: 800;
    height: 33px;
    place-items: center;
}

.import-file strong,
.import-file small {
    display: block;
}

.import-file strong {
    font-size: 8px;
}

.import-file small {
    color: #78847e;
    font-size: 6px;
    margin-top: 4px;
}

.import-file > b {
    color: #1c9188;
}

.mapping-grid {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, 1fr);
    margin: 11px 0;
}

.mapping-grid > div {
    background: #e7ece8;
    border: 1px solid #d9e0db;
    padding: 8px;
}

.mapping-grid small,
.mapping-grid strong,
.mapping-grid span {
    display: block;
}

.mapping-grid small {
    color: #7a8780;
    font-size: 5px;
}

.mapping-grid strong {
    font-size: 7px;
    margin: 4px 0;
}

.mapping-grid span {
    color: #197c75;
    font-size: 6px;
}

.import-table {
    background: #fff;
    border: 1px solid #e0e5e1;
}

.import-row {
    align-items: center;
    border-top: 1px solid #e8ebe8;
    display: grid;
    font-size: 7px;
    gap: 7px;
    grid-template-columns: .8fr 1fr .8fr .8fr;
    padding: 8px 9px;
}

.import-row.heading {
    border-top: 0;
    color: #78847e;
    font-size: 5px;
    letter-spacing: .6px;
}

.change-pill {
    border-radius: 8px;
    font-size: 5px;
    justify-self: start;
    padding: 4px 6px;
}

.change-pill.update {
    background: #fff0d9;
    color: #8a5a19;
}

.change-pill.new {
    background: #dcf4ee;
    color: #16766b;
}

.change-pill.same {
    background: #edf0ed;
    color: #6b7771;
}

.import-review,
.enrichment-review {
    background: #173035;
    color: #fff;
    padding: 23px 17px;
}

.import-review > small,
.enrichment-review > small,
.enrichment-head small {
    color: #79cbc6;
    display: block;
    font-size: 6px;
    letter-spacing: 1px;
}

.import-review > strong,
.enrichment-review > strong {
    display: block;
    font-size: 13px;
    margin: 5px 0 16px;
}

.review-counts {
    border: 1px solid #ffffff18;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.review-counts span {
    border: 1px solid #ffffff10;
    color: #aab9b4;
    font-size: 6px;
    padding: 10px;
}

.review-counts b {
    color: #fff;
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.import-review p,
.enrichment-review p {
    color: #aab9b4;
    font-size: 7px;
    line-height: 1.6;
    margin: 17px 0;
}

.import-review button,
.enrichment-actions button {
    background: var(--teal);
    border: 0;
    border-radius: 3px;
    color: #12302d;
    font-size: 7px;
    font-weight: 800;
    padding: 9px;
    width: 100%;
}

.enrichment-head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 13px;
}

.enrichment-head strong {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.enrichment-head > span {
    background: #daf3ee;
    border-radius: 12px;
    color: #167a72;
    font-size: 6px;
    font-weight: 800;
    padding: 6px 8px;
}

.enrichment-result {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe5e1;
    display: grid;
    gap: 11px;
    grid-template-columns: 58px 1fr auto;
    margin-top: 7px;
    padding: 9px;
}

.enrichment-product {
    background: #edf1ee;
    border-radius: 3px;
    height: 42px;
    position: relative;
}

.enrichment-product i {
    background: #697c75;
    border-radius: 3px;
    inset: 9px 17px;
    position: absolute;
}

.enrichment-product.image i {
    border-radius: 50% 50% 4px 4px;
}

.enrichment-product.text i {
    background: repeating-linear-gradient(#708079 0 2px, transparent 2px 6px);
    inset: 11px 9px;
}

.enrichment-product.link i {
    background: transparent;
    border: 3px solid #708079;
    border-radius: 50%;
    inset: 11px 18px;
    transform: rotate(-35deg);
}

.enrichment-result span small,
.enrichment-result span strong,
.enrichment-result span em {
    display: block;
}

.enrichment-result span small {
    color: #77847d;
    font-size: 5px;
}

.enrichment-result span strong {
    font-size: 8px;
    margin: 3px 0;
}

.enrichment-result span em {
    color: #188078;
    font-size: 5px;
    font-style: normal;
}

.enrichment-result > b {
    color: #188b82;
}

.enrichment-change {
    align-items: center;
    border-top: 1px solid #ffffff17;
    display: flex;
    gap: 9px;
    padding: 10px 0;
}

.enrichment-change > span {
    background: #254147;
    border-radius: 3px;
    color: #6ad0ca;
    display: grid;
    height: 25px;
    place-items: center;
    width: 25px;
}

.enrichment-change b,
.enrichment-change small {
    display: block;
}

.enrichment-change b {
    font-size: 7px;
}

.enrichment-change small {
    color: #9dafaa;
    font-size: 6px;
    margin-top: 3px;
}

.enrichment-actions {
    display: flex;
    gap: 6px;
}

.enrichment-actions button:last-child {
    background: transparent;
    border: 1px solid #5c706c;
    color: #c2cfca;
}
