/* /Components/DeviceCard.razor.rz.scp.css */
/* A file named X.razor.css is "scoped": these styles only apply to X.razor,
   like a CSS module. */

.device-card[b-285eu2690m] {
    /* Each colour variant below only changes these three variables. */
    --accent: #555;
    --tint: #f5f5f5;
    --ink: #222;

    background: var(--tint);
    border: 1px solid var(--accent);
    border-top: 0.4rem solid var(--accent);
    border-radius: 0.6rem;
    padding: 1rem 1.1rem;
    color: #222;
}

.device-card--ready[b-285eu2690m] {
    --accent: #1a7f37;
    --tint: #ebf7ee;
    --ink: #14602a;
}

.device-card--too-heavy[b-285eu2690m] {
    --accent: #d97706;
    --tint: #fff4e2;
    --ink: #8a4700;
}

.device-card--broken[b-285eu2690m] {
    --accent: #c62828;
    --tint: #fdecea;
    --ink: #9b1c1c;
}

.device-card__name[b-285eu2690m] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.device-card__verdict[b-285eu2690m] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0.15rem 0 0.4rem;
}

.device-card__detail[b-285eu2690m] {
    margin: 0 0 0.75rem;
}

.device-card__bar[b-285eu2690m] {
    height: 0.5rem;
    background: #fff;
    border: 1px solid var(--accent);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.device-card__bar-fill[b-285eu2690m] {
    height: 100%;
    background: var(--accent);
}

.device-card__budget[b-285eu2690m] {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* One centred column that stays readable on wide screens and fits on a phone. */
.page[b-v25zy7rtr3] {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
}
/* /Pages/Home.razor.rz.scp.css */
.intro h1[b-q0d3wmlvic] {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.intro__lead[b-q0d3wmlvic] {
    font-size: 1.1rem;
    color: #444;
    max-width: 42rem;
}

/* Upload on the left, samples on the right; they stack on a narrow screen. */
.picker[b-q0d3wmlvic] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    background: #f6f8fa;
    border: 1px solid #d8dee4;
    border-radius: 0.6rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.picker__label[b-q0d3wmlvic] {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.picker__hint[b-q0d3wmlvic] {
    font-size: 0.85rem;
    color: #555;
    margin: 0.4rem 0 0;
}

.picker__buttons[b-q0d3wmlvic] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status[b-q0d3wmlvic] {
    font-weight: 600;
    color: #444;
}

.results h2[b-q0d3wmlvic] {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    overflow-wrap: anywhere;
}

.stats[b-q0d3wmlvic] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.stats dt[b-q0d3wmlvic] {
    font-size: 0.85rem;
    font-weight: 400;
    color: #555;
}

.stats dd[b-q0d3wmlvic] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.cards[b-q0d3wmlvic] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.warnings h3[b-q0d3wmlvic] {
    font-size: 1.1rem;
}

.warnings ul[b-q0d3wmlvic] {
    padding-left: 1.2rem;
}

.warnings li[b-q0d3wmlvic] {
    margin-bottom: 0.25rem;
    overflow-wrap: anywhere;
}

.warnings__more[b-q0d3wmlvic] {
    color: #444;
}

.footnote[b-q0d3wmlvic] {
    font-size: 0.85rem;
    color: #555;
    margin-top: 1.5rem;
}
