:root {
    --bg: #f7f6f2;
    --panel: #ffffff;
    --text: #171714;
    --muted: #74746e;
    --line: #e9e7df;
    --accent: #20201d;
    --soft: #eeece5;

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}


.app-shell {
    min-height: 100vh;
    display: flex;
}


.sidebar {
    position: fixed;
    inset: 0 auto 0 0;

    width: 238px;

    padding: 30px 20px 24px;

    background: #f1f0eb;
    border-right: 1px solid var(--line);

    display: flex;
    flex-direction: column;

    z-index: 20;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 760;
    letter-spacing: -0.6px;
}


.brand-mark {
    width: 31px;
    height: 31px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;

    padding: 5px;

    border-radius: 10px;
    background: #1d1d1a;
}

.brand-mark span {
    border-radius: 20px;
}

.brand-mark span:nth-child(1) {
    background: #ec776f;
}

.brand-mark span:nth-child(2) {
    background: #eebe58;
}

.brand-mark span:nth-child(3) {
    background: #71b783;
}


.side-nav {
    margin-top: 42px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.side-nav a {
    min-height: 44px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 0 13px;

    border-radius: 13px;

    color: #66655f;

    font-size: 14px;
    font-weight: 600;

    transition: 0.16s ease;
}

.side-nav a:hover {
    background: #e9e7e0;
    color: var(--text);
}

.side-nav a.active {
    background: #dedbd1;
    color: var(--text);
}

.nav-icon {
    width: 22px;
    text-align: center;
    font-size: 18px;
}


.sidebar-footer {
    margin-top: auto;

    color: #8b8a83;

    font-size: 11px;
    line-height: 1.5;
}

.version {
    display: inline-block;

    margin-right: 5px;
    padding: 3px 7px;

    border-radius: 100px;

    background: #e2e0d8;
    color: #696861;
}


.content {
    width: calc(100% - 238px);

    margin-left: 238px;
    padding: 48px clamp(28px, 4vw, 72px) 80px;
}


.mobile-header {
    display: none;
}


.page-heading {
    max-width: 1180px;

    margin: 0 auto 30px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.page-heading h1 {
    max-width: 720px;

    margin: 6px 0 8px;

    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.98;
    letter-spacing: -2.1px;
}

.page-heading p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.55;
}

.eyebrow,
.panel-kicker {
    color: #9a9991;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}


.primary-button,
.secondary-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 17px;

    border-radius: 14px;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.primary-button {
    background: var(--accent);
    color: white;
}

.secondary-button {
    background: var(--soft);
    color: var(--text);
}


.stats-grid {
    max-width: 1180px;

    margin: 0 auto 18px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-card,
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.02),
        0 8px 30px rgba(0, 0, 0, 0.025);
}

.stat-card {
    padding: 20px;

    border-radius: var(--radius-lg);
}

.stat-label {
    display: block;

    margin-bottom: 15px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

.stat-card strong {
    display: block;

    margin-bottom: 5px;

    font-size: 34px;
    line-height: 1;
    letter-spacing: -1.4px;
}

.stat-hint {
    color: #aaa8a0;

    font-size: 11px;
}


.dashboard-grid {
    max-width: 1180px;

    margin: 0 auto 18px;

    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: 18px;
}

.panel {
    padding: 25px;

    border-radius: var(--radius-xl);
}

.panel-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.panel h2 {
    margin: 5px 0 0;

    font-size: 22px;
    letter-spacing: -0.7px;
}

.badge {
    padding: 6px 9px;

    border-radius: 100px;

    background: #f1efe8;

    color: #85837b;

    font-size: 10px;
    font-weight: 700;
}


.coverage-body {
    margin-top: 26px;

    display: flex;
    align-items: center;
    gap: 36px;
}

.coverage-ring {
    --value: 0;

    width: 154px;
    height: 154px;

    flex: 0 0 154px;

    padding: 13px;

    border-radius: 50%;

    background:
        conic-gradient(
            #24241f calc(var(--value) * 1%),
            #efede6 0
        );
}

.coverage-ring > div {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coverage-ring strong {
    font-size: 31px;
    letter-spacing: -1.4px;
}

.coverage-ring span {
    margin-top: 2px;

    color: #a09f98;

    font-size: 10px;
}


.coverage-info {
    flex: 1;
}

.coverage-info > p {
    margin: 0 0 16px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}

.family-list {
    display: grid;
    gap: 9px;
}

.family-list > div {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 10px;

    color: #7c7b74;

    font-size: 10px;
}

.bar {
    height: 6px;

    overflow: hidden;

    border-radius: 100px;

    background: #eeece5;
}

.bar i {
    display: block;
    height: 100%;

    border-radius: inherit;

    background: #282823;
}


.empty-illustration {
    min-height: 115px;

    margin: 24px 0 14px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
}

.empty-illustration span {
    width: 27px;

    border-radius: 14px 14px 7px 7px;

    background: var(--c);
}

.empty-illustration span:nth-child(1) {
    height: 69px;
}

.empty-illustration span:nth-child(2) {
    height: 95px;
}

.empty-illustration span:nth-child(3) {
    height: 80px;
}

.empty-illustration span:nth-child(4) {
    height: 103px;
}

.empty-illustration span:nth-child(5) {
    height: 75px;
}

.empty-illustration.large span {
    width: 35px;
}

.muted {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.55;
}


.quick-panel {
    max-width: 1180px;

    margin: 0 auto;
}

.feature-grid {
    margin-top: 23px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.feature {
    min-height: 142px;

    padding: 17px;

    border-radius: 18px;

    background: #f8f7f3;
    border: 1px solid #eeece6;
}

.feature-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 10px;

    background: #e8e6df;

    font-weight: 800;
}

.feature strong {
    display: block;

    font-size: 13px;
}

.feature p {
    margin: 5px 0 0;

    color: #8a8881;

    font-size: 11px;
    line-height: 1.45;
}


.empty-state {
    min-height: 440px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.empty-state h2 {
    margin: 5px 0 7px;

    font-size: 27px;
}

.empty-state p {
    max-width: 410px;

    margin: 0 0 23px;

    color: var(--muted);

    line-height: 1.55;
}


.coming-card {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    text-align: left;
}

.coming-card > div {
    max-width: 480px;
}

.coming-card p {
    color: var(--muted);
    line-height: 1.6;
}

.coming-icon {
    width: 80px;
    height: 80px;

    flex: 0 0 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;

    background: #f0eee7;

    font-size: 34px;
}


.comparison-demo {
    max-width: 1180px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 15px;
}

.compare-box {
    min-height: 230px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa89f;

    font-size: 28px;
}


.bottom-nav {
    display: none;
}


@media (max-width: 980px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 720px) {

    body {
        padding-bottom: 78px;
    }

    .sidebar {
        display: none;
    }

    .content {
        width: 100%;

        margin: 0;
        padding: 0 16px 35px;
    }

    .mobile-header {
        height: 72px;

        display: flex;
        align-items: center;

        margin-bottom: 15px;
    }

    .mobile-header .brand {
        font-size: 18px;
    }

    .mobile-header .brand-mark {
        width: 29px;
        height: 29px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 22px;
    }

    .page-heading h1 {
        font-size: 38px;
        line-height: 1;
        letter-spacing: -1.7px;
    }

    .page-heading p {
        font-size: 14px;
    }

    .primary-button {
        width: 100%;
    }

    .stats-grid {
        gap: 9px;
    }

    .stat-card {
        padding: 17px;
    }

    .stat-card strong {
        font-size: 29px;
    }

    .panel {
        padding: 20px;

        border-radius: 22px;
    }

    .coverage-body {
        align-items: flex-start;
        flex-direction: column;

        gap: 24px;
    }

    .coverage-ring {
        margin: 0 auto;
    }

    .coverage-info {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: auto;
    }

    .feature-icon {
        margin-bottom: 14px;
    }

    .comparison-demo {
        grid-template-columns: 1fr;
    }

    .compare-arrow {
        height: 24px;

        transform: rotate(90deg);
    }

    .bottom-nav {
        position: fixed;
        inset: auto 10px 10px 10px;

        height: 62px;

        display: grid;
        grid-template-columns: repeat(4, 1fr);

        padding: 5px;

        border: 1px solid rgba(222, 219, 210, .9);
        border-radius: 20px;

        background: rgba(248, 247, 243, .94);
        backdrop-filter: blur(16px);

        box-shadow:
            0 8px 35px rgba(0, 0, 0, .10);

        z-index: 50;
    }

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;

        border-radius: 15px;

        color: #97958e;

        font-size: 9px;
        font-weight: 650;
    }

    .bottom-nav a span {
        font-size: 19px;
        line-height: 1;
    }

    .bottom-nav a.active {
        background: #e8e5dc;
        color: #23231f;
    }

}


/* ColorOS v0.2 */

.sidebar-version {
    margin-top: 12px;
}

.logout-form {
    margin: 0;
}

.text-button {
    padding: 0;
    border: 0;
    background: none;
    color: #77756e;
    cursor: pointer;
    font-size: 11px;
    font-weight: 650;
}

.text-button:hover {
    color: #252521;
}

.admin-dot {
    margin-left: auto;

    padding: 5px 9px;

    border-radius: 999px;

    background: #e4efe4;
    color: #47704e;

    font-size: 10px;
    font-weight: 750;
}


.catalog-note {
    max-width: 1180px;

    margin: 0 auto 18px;

    padding: 14px 17px;

    display: flex;
    align-items: center;
    gap: 13px;

    border: 1px solid #e6e2d7;
    border-radius: 15px;

    background: #efede6;

    color: #6f6d65;

    font-size: 11px;
    line-height: 1.45;
}

.catalog-note strong {
    color: #282823;
    white-space: nowrap;
}


.set-grid {
    max-width: 1180px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.set-card {
    display: flex;
    flex-direction: column;
}

.set-card.owned {
    border-color: #d8e3d5;
}

.set-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.set-card-top h2 {
    margin-top: 7px;
}

.count-badge,
.owned-badge {
    flex: 0 0 auto;

    padding: 7px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 750;
}

.count-badge {
    background: #efede7;
    color: #66645d;
}

.owned-badge {
    background: #e5efe3;
    color: #527352;
}


.set-metrics {
    margin: 27px 0;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.set-metrics > div {
    padding: 15px;

    border-radius: 16px;

    background: #f8f7f3;
}

.set-metrics strong {
    display: block;

    font-size: 25px;
    letter-spacing: -1px;
}

.set-metrics span {
    color: #929087;
    font-size: 10px;
}


.set-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.set-actions form {
    margin: 0;
}

.set-actions .primary-button,
.set-actions .secondary-button,
.danger-button {
    min-height: 42px;
}

.danger-button {
    padding: 0 15px;

    border: 0;
    border-radius: 13px;

    background: #f5e9e7;
    color: #9f524b;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}


.source-line {
    margin-top: 22px;
    padding-top: 13px;

    border-top: 1px solid #eeece5;

    display: flex;
    justify-content: space-between;

    color: #aaa79f;

    font-size: 9px;
}

.source-line a {
    color: #77756e;
}


.marker-family {
    max-width: 1180px;
    margin: 0 auto 28px;
}

.family-heading {
    margin-bottom: 11px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.family-heading h2 {
    margin: 0;

    font-size: 17px;
    letter-spacing: -.4px;
}

.family-heading span {
    padding: 3px 7px;

    border-radius: 999px;

    background: #e9e7df;

    color: #7c7a72;

    font-size: 9px;
    font-weight: 750;
}


.marker-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(116px, 1fr)
        );

    gap: 9px;
}

.marker-card {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: white;
}

.marker-swatch {
    position: relative;

    height: 82px;

    background:
        var(--marker-color);
}

.quantity-badge {
    position: absolute;

    top: 8px;
    right: 8px;

    padding: 4px 7px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.86);

    color: #252522;

    font-size: 9px;
    font-weight: 800;
}

.marker-meta {
    padding: 10px 11px 11px;
}

.marker-meta strong {
    display: block;

    font-size: 14px;
}

.marker-meta span {
    display: block;

    margin-top: 2px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #99978f;

    font-size: 9px;
}


.compare-selector {
    max-width: 1180px;
    margin: 0 auto 16px;
}

.compare-selector label,
.login-card label {
    display: block;

    margin-bottom: 8px;

    color: #77756e;

    font-size: 11px;
    font-weight: 700;
}

.select-row {
    display: flex;
    gap: 9px;
}

.select-row select {
    flex: 1;

    min-height: 46px;

    padding: 0 13px;

    border: 1px solid #dfddd5;
    border-radius: 13px;

    background: #faf9f6;
    color: #242420;
}


.compare-result-grid {
    max-width: 1180px;

    margin: 0 auto 16px;

    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 11px;
}

.metric-panel {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-panel strong {
    margin-top: 11px;

    font-size: 38px;
    letter-spacing: -1.8px;
}

.metric-panel > span:last-child {
    color: #929087;
    font-size: 10px;
}

.metric-panel.highlight {
    background: #20201d;
    color: white;
}

.metric-panel.highlight .panel-kicker,
.metric-panel.highlight > span:last-child {
    color: #aaa9a2;
}


.compare-summary {
    max-width: 1180px;
    margin: 0 auto;
}

.compare-summary p {
    margin-bottom: 0;

    color: var(--muted);
    line-height: 1.6;
}


.login-wrap {
    min-height: calc(100vh - 120px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: min(430px, 100%);
}

.login-card h1 {
    margin: 6px 0 8px;

    font-size: 33px;
    letter-spacing: -1.4px;
}

.login-card > p {
    margin: 0 0 25px;

    color: var(--muted);
    line-height: 1.55;
}

.login-card form {
    display: grid;
}

.login-card input {
    width: 100%;
    height: 48px;

    margin-bottom: 11px;
    padding: 0 13px;

    border: 1px solid #ddd9d0;
    border-radius: 13px;

    outline: none;

    background: #faf9f6;
}

.login-card input:focus {
    border-color: #8e8b82;
}

.login-error {
    margin-bottom: 16px;
    padding: 11px 13px;

    border-radius: 11px;

    background: #f5e6e4;
    color: #9c504a;

    font-size: 11px;
}


@media (max-width: 860px) {

    .set-grid {
        grid-template-columns: 1fr;
    }

    .compare-result-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 720px) {

    .catalog-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-note strong {
        white-space: normal;
    }

    .marker-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .marker-swatch {
        height: 72px;
    }

    .set-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .set-actions form,
    .set-actions .primary-button,
    .set-actions .secondary-button,
    .set-actions .danger-button {
        width: 100%;
    }

    .select-row {
        flex-direction: column;
    }

    .compare-result-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 390px) {

    .marker-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ColorOS v0.2.1 */

.set-kickers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 7px;

    border-radius: 999px;

    background: #e7efe4;
    color: #557354;

    font-size: 9px;
    font-weight: 750;
}

.official-name {
    max-width: 550px;

    margin: 7px 0 0;

    color: #8e8b83;

    font-size: 10px;
    line-height: 1.45;
}

.set-metrics-three {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.set-loaded {
    margin: -12px 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    color: #939087;

    font-size: 9px;
}

.set-loaded strong {
    color: #587456;
    font-weight: 750;
}


.collection-summary {
    margin: 27px 0 20px;

    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.collection-summary > div {
    padding: 14px 10px;

    border-radius: 15px;

    background: #f8f7f3;

    text-align: center;
}

.collection-summary strong {
    display: block;

    font-size: 24px;
    letter-spacing: -1px;
}

.collection-summary span {
    display: block;

    margin-top: 3px;

    color: #98958c;

    font-size: 9px;
}


.compare-extra {
    margin-top: 18px;
    padding: 13px 15px;

    border-radius: 14px;

    background: #f3f1ea;

    color: #716f67;

    font-size: 11px;
    line-height: 1.5;
}


@media (max-width: 720px) {

    .set-metrics-three {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .set-metrics-three > div {
        padding: 12px 8px;
    }

    .set-metrics-three strong {
        font-size: 21px;
    }

    .collection-summary {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* ColorOS v0.2.2 */

.research-card {
    border-color: #e7dcb9;
}

.research-badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 7px;

    border-radius: 999px;

    background: #f3ead1;
    color: #81691d;

    font-size: 9px;
    font-weight: 750;
}

.ru-badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 7px;

    border-radius: 999px;

    background: #e6ebf2;
    color: #53677f;

    font-size: 9px;
    font-weight: 800;
}


.research-summary {
    margin: 25px 0 20px;

    padding: 17px;

    border-radius: 17px;

    background: #fbf8ef;
    border: 1px solid #eee2bd;
}

.research-summary > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.research-summary strong {
    font-size: 30px;
    letter-spacing: -1px;
}

.research-summary span {
    color: #8d8262;
    font-size: 10px;
}

.research-summary p {
    margin: 12px 0 0;

    color: #746d59;

    font-size: 11px;
    line-height: 1.55;
}


.market-snapshot {
    margin: 0 0 20px;

    padding: 12px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-radius: 14px;

    background: #f3f5f7;
}

.market-snapshot div {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.market-snapshot span,
.market-snapshot small {
    color: #7d8287;
    font-size: 9px;
}

.market-snapshot strong {
    font-size: 15px;
}


.disabled-action {
    min-height: 42px;

    display: inline-flex;
    align-items: center;

    padding: 0 14px;

    border-radius: 13px;

    background: #f3ead1;
    color: #81691d;

    font-size: 10px;
    font-weight: 700;
}


.product-status-grid {
    max-width: 1180px;

    margin: 0 auto 18px;

    display: grid;
    grid-template-columns:
        1.4fr 1fr .8fr;

    gap: 13px;
}

.status-card {
    min-height: 190px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-card > strong {
    display: block;

    margin-top: 10px;

    font-size: 24px;
    letter-spacing: -.8px;
}

.status-card > p {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}

.status-card > small {
    margin-top: 8px;

    color: #98958d;
    font-size: 9px;
}

.status-good {
    color: #507650;
}

.status-warning {
    color: #8b6b16;
}


.provenance-panel {
    max-width: 1180px;
    margin: 0 auto 18px;
}

.source-list,
.listing-list {
    margin-top: 22px;

    display: grid;
    gap: 10px;
}

.source-item {
    padding: 15px 16px;

    border: 1px solid #ece9e0;
    border-radius: 16px;

    background: #faf9f6;
}

.source-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.source-item-top > div {
    display: grid;
    gap: 5px;
}

.source-item strong,
.listing-card strong {
    font-size: 13px;
}

.source-kind {
    color: #98958c;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.source-date {
    color: #aaa79e;

    font-size: 9px;
    white-space: nowrap;
}

.source-item p {
    margin: 11px 0;

    color: #78766e;

    font-size: 10px;
    line-height: 1.55;
}

.source-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    color: #99968d;
    font-size: 9px;
}

.source-footer a {
    color: #5f5d57;
}


.listing-card {
    padding: 17px;

    border: 1px solid #e8e5dc;
    border-radius: 17px;

    background: #faf9f6;
}

.listing-card > div:first-child {
    display: grid;
    gap: 5px;
}

.listing-card p {
    color: #85827a;

    font-size: 10px;
    line-height: 1.5;
}

.listing-price {
    margin: 16px 0 8px;

    display: flex;
    align-items: baseline;
    gap: 9px;
}

.listing-price strong {
    font-size: 24px;
    letter-spacing: -1px;
}

.listing-price span {
    color: #99968d;
    font-size: 9px;
}

.listing-note {
    max-width: 650px;
}


@media (max-width: 860px) {

    .product-status-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 720px) {

    .market-snapshot {
        align-items: flex-start;
        flex-direction: column;
    }

    .source-item-top,
    .source-footer {
        flex-direction: column;
    }

}


/* ColorOS v0.2.3 */

.research-stats {
    max-width: 1180px;

    margin: 0 auto 18px;

    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 11px;
}

.research-table-panel {
    max-width: 1180px;
    margin: 0 auto;
}

.research-table {
    margin-top: 20px;

    display: grid;
    gap: 7px;
}

.research-row {
    min-height: 64px;

    padding: 11px 13px;

    display: grid;
    grid-template-columns:
        minmax(220px, 2fr)
        minmax(100px, .8fr)
        90px
        minmax(120px, 1fr);

    align-items: center;
    gap: 12px;

    border: 1px solid #ece9e0;
    border-radius: 14px;

    background: #faf9f6;
}

.research-row:hover {
    border-color: #d7d3c7;
}

.research-row > div:first-child {
    display: grid;
    gap: 3px;
}

.research-row strong {
    font-size: 12px;
}

.research-row > div:first-child span,
.research-sources {
    color: #98958c;
    font-size: 9px;
}

.crossborder-badge {
    display: inline-flex;

    padding: 4px 7px;

    border-radius: 999px;

    background: #ece8f3;
    color: #6a5d82;

    font-size: 9px;
    font-weight: 750;
}


@media (max-width: 820px) {

    .research-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .research-row {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 520px) {

    .research-row {
        grid-template-columns: 1fr;
    }

}
