﻿:root {
    /* cache-bust 2026-07-23: force new fingerprint after empty gzip CSS */
    --mishirto-cyan: #00aeef;
    --mishirto-cyan-soft: #e8f8fe;
    --mishirto-cyan-mid: #b8e8fa;
    --mishirto-black: #000000;
    --mishirto-ink: #1a1a1a;
    --mishirto-muted: #5a6f7c;
    --mishirto-line: #d7e6ee;
    --mishirto-bg: #f7fafc;
    --font-brand: "Montserrat", "Segoe UI", sans-serif;
}

html, body {
    font-family: var(--font-brand);
    background: var(--mishirto-bg);
    color: var(--mishirto-ink);
}

a, .btn-link {
    color: var(--mishirto-cyan);
}

.btn-primary {
    color: #fff;
    background-color: var(--mishirto-cyan);
    border-color: var(--mishirto-cyan);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(0, 174, 239, 0.35);
}

.content {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

h1:focus {
    outline: none;
}

/* Home */
.home__header {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: nowrap;
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 16px;
    border-top: 4px solid var(--mishirto-cyan);
}

.home__logo {
    height: 44px;
    width: auto;
    max-width: 38vw;
    object-fit: contain;
    flex-shrink: 0;
}

.home__eyebrow {
    margin: 0 0 0.1rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mishirto-cyan);
}

.home__intro {
    flex: 1 1 auto;
    min-width: 0;
}

.home__intro h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mishirto-black);
    margin: 0 0 0.1rem;
}

.home__lead {
    margin: 0;
    color: var(--mishirto-muted);
    font-weight: 600;
    font-size: 0.82rem;
}

.home__refresh {
    flex-shrink: 0;
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.home-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
}

.home-quick__btn {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 2px solid #111;
    background: #fff;
    min-height: 4.4rem;
    justify-content: center;
}

.home-quick__btn--dtf {
    background: linear-gradient(180deg, #e8f8fe 0%, #fff 70%);
    border-color: var(--mishirto-cyan);
}

.home-quick__btn--work {
    background: #111;
    color: #fff;
    border-color: #111;
}

.home-quick__title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.15;
}

.home-quick__hint {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.75;
}

.home-jobs-block {
    margin-bottom: 1.5rem;
}

.home-jobs-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.home-jobs-block__head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: none;
    letter-spacing: 0;
}

.home-jobs-block__link {
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home__section {
    margin-bottom: 1.75rem;
}

.home__section h2 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--mishirto-cyan);
    margin-bottom: 0.75rem;
}

.home__modules {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--mishirto-line);
}

.home-jobs--empty {
    text-align: center;
    padding: 1.75rem 1rem;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.home-jobs--empty p {
    margin: 0;
    color: #64748b;
    font-weight: 600;
}

.home-jobs__summary {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    margin-bottom: 0.85rem;
}

.home-jobs__chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    min-height: 2.65rem;
}

.home-jobs__chip i {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--col, #94a3b8);
    flex-shrink: 0;
}

.home-jobs__chip strong {
    min-width: 1.25rem;
    text-align: center;
    background: #e2e8f0;
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
    font-size: 0.75rem;
}

.home-jobs__chip--on {
    border-color: #111;
    background: #111;
    color: #fff;
}

.home-jobs__chip--on strong {
    background: #fff;
    color: #111;
}

.home-jobs__chip--prio {
    border-color: #f59e0b;
}

.home-jobs-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-jobs-group {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-top: 4px solid var(--col, #94a3b8);
    border-radius: 14px;
    padding: 0.75rem;
}

.home-jobs-group--prio {
    background: linear-gradient(180deg, #fff7ed 0%, #fff 55%);
    border-color: #f59e0b;
    border-top-width: 6px;
}

.home-jobs-group__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.65rem;
}

.home-jobs-group__head h3 {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.home-jobs__prio {
    width: 100%;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
}

.home-jobs__count {
    min-width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-jobs-group--prio .home-jobs__count {
    background: #b45309;
}

.home-jobs__cards {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.home-job {
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.8rem 0.85rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
    font: inherit;
    color: inherit;
    min-height: 3.5rem;
    -webkit-tap-highlight-color: transparent;
}

.home-job:active {
    border-color: var(--mishirto-cyan);
    box-shadow: 0 0 0 2px rgba(0, 174, 239, 0.18);
}

.home-jobs-group--prio .home-job {
    border-color: #fdba74;
}

.home-job__top {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.home-job__code {
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--mishirto-cyan);
}

.home-job__client {
    font-size: 1.05rem;
    line-height: 1.2;
}

.home-job__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.home-job__qty {
    background: #111;
    color: #fff;
    border-radius: 6px;
    padding: 0.12rem 0.45rem;
}

.home-job__total {
    background: #0f766e;
    color: #fff;
    border-radius: 6px;
    padding: 0.12rem 0.45rem;
}

.home-job__areas {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.home-job__areas li {
    font-size: 0.8rem;
    color: #334155;
}

.home-job__areas strong {
    color: var(--mishirto-cyan);
    margin-right: 0.25rem;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

.home-job__note {
    margin: 0;
    font-size: 0.8rem;
    color: #475569;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
}

.home-job__go {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--mishirto-cyan);
}

.tile-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

@media (min-width: 700px) {
    .home-quick {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home__logo {
        height: 56px;
    }

    .home__intro h1 {
        font-size: 1.65rem;
    }
}

@media (min-width: 900px) {
    .home__logo {
        height: 64px;
    }

    .home__intro h1 {
        font-size: 1.85rem;
    }

    .home-jobs-stack {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 0.85rem;
        align-items: start;
    }
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 0.85rem;
}

.tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 104px;
    padding: 1.05rem;
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
    border-color: var(--mishirto-cyan);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.12);
}

.tile--active {
    border-color: var(--mishirto-cyan);
    background: linear-gradient(180deg, #fff 0%, var(--mishirto-cyan-soft) 100%);
}

.tile--active .tile__hint {
    color: var(--mishirto-cyan);
    font-weight: 700;
}

.tile__title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--mishirto-black);
}

.tile__hint {
    margin-top: 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8aa0ad;
}

.feature-stub {
    max-width: 40rem;
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 14px;
    padding: 1.5rem;
    border-top: 4px solid var(--mishirto-cyan);
}

.feature-stub__badge {
    display: inline-block;
    background: var(--mishirto-cyan-soft);
    color: #0077a8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.feature-stub__lead,
.feature-stub__meta {
    color: var(--mishirto-muted);
}

/* Prendi e Imbusta â€” stazione picking ad alta efficienza */
.pick {
    --pick-ink: #0b1220;
    --pick-muted: #5a6b7d;
    --pick-line: #d7e6ee;
    --pick-hot: var(--mishirto-cyan);
    --pick-hot-ink: #fff;
    --pick-hot-soft: var(--mishirto-cyan-soft);
    --pick-ok: #008fc4;
    --pick-danger: #d93025;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 5.5rem;
}

.pick__top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.pick__logo { height: 42px; width: auto; }

.pick__top-text { flex: 1; min-width: 0; }

.pick__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mishirto-cyan);
}

.pick__top h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pick-ink);
}

.pick__progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 12px;
    background: #111;
    color: #fff;
    line-height: 1.05;
}

.pick__queue-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.4rem 0.7rem;
    border-radius: 12px;
    background: rgba(0, 174, 239, 0.12);
    border: 1px solid rgba(0, 174, 239, 0.45);
    color: var(--pick-ink);
    text-decoration: none;
    line-height: 1.1;
}

.pick__queue-badge strong {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--mishirto-cyan);
    font-variant-numeric: tabular-nums;
}

.pick__queue-badge span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pick-muted);
}

.pick-prompt-overlay {
    z-index: 60;
}

.pick-prompt {
    width: min(420px, 92vw);
    margin: auto;
    padding: 1.35rem 1.25rem 1.15rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.pick-prompt__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mishirto-cyan, #00aeef);
}

.pick-prompt h2 {
    margin: 0 0 0.5rem;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111;
}

.pick-prompt__detail {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    color: #333;
}

.pick-prompt__help {
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #667;
}

.pick-prompt__actions {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.65rem;
}

.pick-prompt__btn {
    border: 0;
    border-radius: 12px;
    padding: 0.95rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.pick-prompt__btn:disabled { opacity: 0.55; cursor: wait; }

.pick-prompt__btn--yes {
    background: #111;
    color: #fff;
}

.pick-prompt__btn--no {
    background: #e8eef3;
    color: #222;
}

.pick__progress--done { background: var(--pick-hot); }

.pick__progress-num {
    font-size: 1.35rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.pick__progress-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pick__scanbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.45rem;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.55rem 0;
    background: linear-gradient(180deg, var(--mishirto-bg) 70%, transparent);
}

.pick__scan-input {
    border: 3px solid var(--mishirto-cyan);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    background: #fff;
}

.pick__scan-input:focus {
    outline: none;
    border-color: var(--mishirto-cyan);
    box-shadow: 0 0 0 3px var(--mishirto-cyan-mid);
}

.pick__scan-cam,
.pick__scan-go {
    border: none;
    border-radius: 12px;
    font-weight: 900;
    min-width: 3.4rem;
}

.pick__scan-cam {
    background: #111;
    color: #fff;
    font-size: 1.25rem;
}

.pick__scan-go {
    background: var(--mishirto-cyan);
    color: #fff;
    font-size: 1.05rem;
    padding: 0 1.1rem;
}

.pick__scan-go:disabled,
.pick__scan-cam:disabled { opacity: 0.5; }

.pick__last {
    font-size: 0.82rem;
    color: var(--pick-muted);
    margin: 0 0 0.65rem;
}

.pick__last code {
    background: var(--mishirto-cyan-soft);
    color: #0077a8;
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
    font-weight: 700;
}

.pick__alert {
    background: #fff;
    border: 2px solid var(--pick-line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.pick__alert--error {
    border-color: #f1aeb5;
    background: #fff5f5;
    color: #8a1f1f;
}

.pick-idle {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--pick-muted);
}

.pick-idle__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.pick-order {
    background: #fff;
    border: 2px solid #111;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}

.pick-order--refunded { background: #ffe8e8; border-color: var(--pick-danger); }
.pick-order--surcharge { background: var(--pick-hot-soft); border-color: var(--mishirto-cyan); }
.pick-order--late { background: #fff4e0; border-color: #e67e22; }

.pick-order__customer {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--pick-ink);
    letter-spacing: -0.02em;
}

.pick-order__meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pick-muted);
    margin-top: 0.15rem;
}

.pick-order__meta a {
    color: var(--mishirto-cyan);
    font-weight: 800;
}

.pick-order__dot { margin: 0 0.25rem; }

.pick-order__flags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.pick-flag {
    background: #f3f6f9;
    border-radius: 10px;
    padding: 0.45rem 0.55rem;
    text-align: center;
}

.pick-flag span {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--pick-muted);
}

.pick-flag strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--pick-ink);
    margin-top: 0.1rem;
    line-height: 1.15;
    word-break: break-word;
}

.pick-flag--box strong { color: #0077a8; }
.pick-flag--warn { background: var(--pick-hot); }
.pick-flag--warn strong { color: #fff; }

.pick-order__banner {
    margin-top: 0.65rem;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--mishirto-cyan);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    text-align: center;
}

.pick-order__banner--danger {
    background: var(--pick-danger);
    color: #fff;
}

.pick-order__banner--late {
    background: #e67e22;
    color: #fff;
}

.pick-order__banner--stock {
    background: var(--mishirto-cyan);
    color: #fff;
}

.pick-attr--stock-ok {
    background: var(--mishirto-cyan-soft);
}

.pick-attr--stock-ok strong { color: #0077a8; }

.pick-attr--stock-no {
    background: #ffe8e8;
}

.pick-attr--stock-no strong { color: var(--pick-danger); }

.pick-line--instock {
    border-color: var(--mishirto-cyan);
}

.pick-line--nostock {
    border-color: #e67e22;
}

.pick-ready {
    background: #fff;
    border: 2px solid var(--mishirto-cyan);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.pick-ready__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.pick-ready__head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--pick-ink);
}

.pick-ready__head p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--pick-muted);
    font-weight: 600;
}

.pick-ready__refresh {
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 800;
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
}

.pick-ready__refresh:disabled { opacity: 0.55; }

.pick-ready__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.65rem;
}

.pick-ready__card {
    text-align: left;
    border: 2px solid #111;
    border-radius: 14px;
    background: var(--mishirto-cyan-soft);
    padding: 0.85rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pick-ready__card:hover:not(:disabled) {
    border-color: var(--mishirto-cyan);
}

.pick-ready__card:disabled { opacity: 0.6; }

.pick-ready__order {
    font-size: 1rem;
    font-weight: 900;
    font-family: ui-monospace, Consolas, monospace;
    color: var(--pick-ink);
    word-break: break-all;
}

.pick-ready__customer {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--pick-ink);
}

.pick-ready__meta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--pick-ink);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.pick-ready__track {
    font-size: 0.78rem;
    font-weight: 700;
    font-family: ui-monospace, Consolas, monospace;
    color: var(--pick-muted);
}

.pick-ready__go {
    margin-top: 0.4rem;
    font-weight: 900;
    color: var(--mishirto-cyan);
    letter-spacing: 0.04em;
}

.pick-order__notes {
    margin-top: 0.5rem;
    font-weight: 700;
    color: #a11919;
}

.pick-lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pick-line {
    display: grid;
    grid-template-columns: auto minmax(88px, 120px) minmax(140px, 1.1fr) 110px minmax(0, 1.4fr);
    gap: 0.65rem;
    align-items: stretch;
    background: #fff;
    border: 3px solid #111;
    border-radius: 16px;
    padding: 0.65rem;
}

.pick-line--multi { box-shadow: 0 0 0 3px var(--pick-hot); }
.pick-line--done {
    opacity: 0.55;
    border-color: var(--mishirto-cyan);
    background: var(--pick-hot-soft);
}
.pick-line--done .pick-line__qty {
    background: var(--mishirto-cyan);
    color: #fff;
}
.pick-line--warn { border-color: var(--pick-danger); }

.pick-line__check {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 3px solid #111;
    background: #fff;
    font-weight: 900;
    font-size: 1rem;
    align-self: center;
    line-height: 1;
}

.pick-line__check--on {
    background: var(--mishirto-cyan);
    border-color: var(--mishirto-cyan);
    color: #fff;
}

.pick-line__qty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    border-radius: 14px;
    min-height: 110px;
    padding: 0.35rem;
    line-height: 0.9;
}

.pick-line__qty--hot {
    background: var(--pick-hot);
    color: var(--pick-hot-ink);
}

.pick-line__qty-num {
    font-size: clamp(2.8rem, 8vw, 4.2rem);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
}

.pick-line__qty-unit {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-top: 0.15rem;
}

.pick-line__qty-break {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 800;
    opacity: 0.85;
}

.pick-line__attrs {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.pick-attr {
    background: #f3f6f9;
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pick-attr span {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--pick-muted);
}

.pick-attr strong {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--pick-ink);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.15;
    word-break: break-word;
}

.pick-attr--size { background: #111; }
.pick-attr--size span { color: #9aa7b5; }
.pick-attr--size strong {
    color: #fff;
    font-size: 1.55rem;
}

.pick-attr--color strong { font-size: 1.05rem; }

.pick-swatch {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    display: inline-block;
    flex-shrink: 0;
}

.pick-line__media {
    border-radius: 12px;
    overflow: hidden;
    background: #eef3f7;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pick-line__media img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.pick-line__noimg {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--pick-muted);
}

.pick-line__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pick-line__info h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--pick-ink);
}

.pick-line__sku {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pick-muted);
    font-family: ui-monospace, Consolas, monospace;
}

.pick-line__desc {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: var(--pick-muted);
}

.pick-line__miss {
    margin: 0.35rem 0 0;
    font-weight: 800;
    color: var(--pick-danger);
    font-size: 0.82rem;
}

.pick-line__tap {
    grid-column: 1 / -1;
    border: none;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.06em;
    padding: 0.85rem 1rem;
    min-height: 3rem;
}

.pick-line__tap--done { background: var(--mishirto-cyan); }

.pick-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #111;
    color: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
}

.pick-dock__left {
    font-size: 0.95rem;
    font-weight: 600;
}

.pick-dock__done {
    font-weight: 900;
    color: var(--mishirto-cyan);
    font-size: 1rem;
}

.pick-dock__next {
    border: none;
    border-radius: 10px;
    background: var(--mishirto-cyan);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.1rem;
    white-space: nowrap;
}

.pick-dock__next--complete {
    background: #111;
    border: 2px solid var(--mishirto-cyan);
    color: var(--mishirto-cyan);
    font-size: 0.95rem;
}

.pick-dock__next--complete:disabled { opacity: 0.55; }

@media (max-width: 900px) {
    .pick-line {
        grid-template-columns: auto minmax(96px, 1fr) 1.2fr;
        grid-template-areas:
            "check qty attrs"
            "media media media"
            "info info info"
            "tap tap tap";
    }

    .pick-line__check { grid-area: check; }
    .pick-line__qty { grid-area: qty; min-height: 96px; }
    .pick-line__attrs { grid-area: attrs; }
    .pick-line__media { grid-area: media; }
    .pick-line__media img { height: 160px; }
    .pick-line__info { grid-area: info; }
    .pick-line__tap { grid-area: tap; }

    .pick-order__flags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pick-attr--size strong { font-size: 1.35rem; }
    .pick-line__qty-num { font-size: 3.2rem; }
}

@media (max-width: 520px) {
    .pick__top h1 { font-size: 1.15rem; }
    .pick__scan-input { font-size: 1rem; padding: 0.75rem; }
    .pick-line {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "check qty"
            "attrs attrs"
            "media media"
            "info info"
            "tap tap";
    }
}

/* Prendi e Imbusta (legacy helpers ancora usati altrove) */
.pack__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 14px;
    border-top: 4px solid var(--mishirto-cyan);
}

.pack__brand {
    height: 56px;
    width: auto;
}

.pack__eyebrow {
    margin: 0 0 0.1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mishirto-cyan);
}

.pack__header h1 {
    margin: 0 0 0.15rem;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mishirto-black);
}

.pack__header p {
    margin: 0;
    color: var(--mishirto-muted);
}

.pack__search {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pack__input {
    flex: 1;
    min-width: 200px;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border: 2px solid var(--mishirto-line);
    border-radius: 10px;
    background: #fff;
}

.pack__input:focus {
    outline: none;
    border-color: var(--mishirto-cyan);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.18);
}

.pack__btn {
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.8rem 1.35rem;
    border: none;
    border-radius: 10px;
    background: var(--mishirto-cyan);
    color: #fff;
    min-width: 128px;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.pack__btn:hover:not(:disabled) {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.pack__btn:disabled {
    opacity: 0.65;
}

.pack__btn--scan {
    background: #fff;
    color: var(--mishirto-cyan);
    border: 2px solid var(--mishirto-cyan);
}

.pack__btn--scan:hover:not(:disabled) {
    background: var(--mishirto-cyan-soft);
    filter: none;
}

.pack__hint {
    font-size: 0.82rem;
    color: var(--mishirto-muted);
    margin: -0.35rem 0 1rem;
    line-height: 1.45;
}

.pack__scanned {
    font-size: 0.88rem;
    color: var(--mishirto-muted);
    margin: -0.5rem 0 0.85rem;
}

.pack__scanned code {
    background: var(--mishirto-cyan-soft);
    color: var(--mishirto-black);
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.scan-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.scan-panel {
    width: min(480px, 100%);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border-top: 4px solid var(--mishirto-cyan);
}

.scan-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--mishirto-line);
}

.scan-panel__header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.scan-panel__close {
    border: none;
    background: var(--mishirto-cyan-soft);
    color: var(--mishirto-black);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1;
}

.scan-panel__view {
    width: 100%;
    min-height: min(55vh, 420px);
    background: #000;
}

.scan-panel__view video {
    object-fit: cover;
}

.scan-panel__help {
    margin: 0;
    padding: 0.85rem 1rem 1rem;
    font-size: 0.85rem;
    color: var(--mishirto-muted);
    text-align: center;
}

.pack__alert {
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.pack__alert--error {
    border-color: #f0b4b4;
    background: #fff5f5;
    color: #8a1f1f;
}

.pack-info {
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.pack-info--refunded { background: #fff1f1; border-color: #efb0b0; }
.pack-info--surcharge { background: #e6fff8; border-color: #7ad9c0; }
.pack-info--late { background: #fff4e5; border-color: #f0b46a; }

.pack-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.pack-info__row { margin-bottom: 0.35rem; }
.pack-info__status { color: #1b6e3a; font-style: italic; }
.pack-info__cap { color: #a11919; font-weight: 600; }
.pack-info__packaging { color: #0077a8; font-weight: 700; }
.pack-info__notes { color: #b22222; font-weight: 600; }
.pack-info__ship { color: #d26900; font-weight: 600; }
.pack-info__delivery { color: #2e8b57; font-weight: 600; }

.pack-info__banner {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #8a1f1f;
}

.pack-article {
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 14px;
    padding: 1.1rem;
    margin-bottom: 1rem;
}

.pack-article__main {
    display: grid;
    grid-template-columns: minmax(160px, 280px) 1fr;
    gap: 1rem;
}

.pack-article__media img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: var(--mishirto-cyan-soft);
    border-radius: 10px;
}

.pack-article__noimg {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mishirto-cyan-soft);
    border-radius: 10px;
    color: var(--mishirto-muted);
}

.pack-article__swatches {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: center;
}

.pack-article__color {
    width: 40px;
    height: 40px;
    border: 1px solid var(--mishirto-line);
    border-radius: 8px;
    display: inline-block;
}

.pack-article__size {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mishirto-line);
    border-radius: 8px;
    font-weight: 700;
    background: #fff;
}

.pack-article__details h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pack-article__sku {
    color: var(--mishirto-muted);
    margin-bottom: 0.75rem;
}

.pack-qty {
    font-size: 1.5rem;
    font-weight: 700;
    background: #fff8dc;
    border: 1px solid #e6d98a;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.5rem;
}

.pack-qty--multi {
    background: #ffe566;
    color: #c00;
    border-color: #e0b000;
}

.pack-block {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--mishirto-cyan-soft);
    border: 1px solid var(--mishirto-cyan-mid);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
}

.pack-block__hint {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mishirto-muted);
    margin-left: 0.35rem;
}

.pack-supplier {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--mishirto-line);
}

.pack-supplier__desc {
    color: var(--mishirto-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pack-supplier__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.pack-supplier__fields > div {
    background: var(--mishirto-cyan-soft);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

.pack-supplier__fields span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--mishirto-cyan);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pack-supplier__warn {
    margin-top: 0.65rem;
    color: #8a1f1f;
    font-weight: 600;
}

@media (max-width: 700px) {
    .home__logo {
        height: 56px;
    }

    .pack-info__grid,
    .pack-article__main,
    .pack-supplier__fields {
        grid-template-columns: 1fr;
    }

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

    .tile {
        min-height: 92px;
        padding: 0.85rem;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Si Ã¨ verificato un errore.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Raggruppamento ordini */
.grouping__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 12px;
    font-size: 0.92rem;
    color: var(--mishirto-muted);
}

.grouping__stats strong {
    color: var(--mishirto-black);
    font-size: 1.05rem;
}

.grouping__panel {
    background: #fff;
    border: 1px solid var(--mishirto-line);
    border-radius: 14px;
    padding: 1rem 1.1rem 1.1rem;
    margin-bottom: 1rem;
    border-top: 3px solid var(--mishirto-cyan);
}

.grouping__panel h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.grouping__lead {
    color: var(--mishirto-muted);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.grouping__table-wrap {
    overflow-x: auto;
}

.grouping__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.grouping__table th,
.grouping__table td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid var(--mishirto-line);
    text-align: left;
    white-space: nowrap;
}

.grouping__table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mishirto-cyan);
    background: var(--mishirto-cyan-soft);
}

.grouping__table--detail td:nth-child(3) {
    white-space: normal;
    min-width: 140px;
}

.grouping__cliente {
    margin-top: 2px;
    font-size: 0.82rem;
    color: #5a6570;
    font-weight: 500;
}

.grouping__row--need td:last-child {
    color: #b22222;
    font-weight: 700;
}

.grouping__row--ok td:last-child {
    color: #1b6e3a;
    font-weight: 700;
}

.grouping__row--warn {
    background: #fff8e6;
}

.grouping__alert--ok {
    border-color: #9ed8b0;
    background: #eefbf2;
    color: #1b6e3a;
}

.grouping__actions {
    margin-bottom: 0.85rem;
}

.grouping__btn-sendcloud {
    width: 100%;
    max-width: 420px;
    background: var(--mishirto-black);
    font-size: 1rem;
}

.grouping__btn-sendcloud:hover:not(:disabled) {
    filter: brightness(1.15);
}

.grouping__btn-camac {
    background: #111;
    color: #fff;
    border: 2px solid var(--mishirto-cyan);
}

.grouping__btn-camac:hover:not(:disabled) {
    background: var(--mishirto-cyan);
}

.grouping__legend {
    font-weight: 600;
}

.grouping__legend--need { color: #b22222; }
.grouping__legend--ok { color: #1b6e3a; }

.grouping__table-wrap--matrix {
    max-height: 70vh;
    overflow: auto;
}

.grouping__table--matrix {
    min-width: max-content;
}

.grouping__table--matrix th,
.grouping__table--matrix td {
    text-align: center;
    min-width: 2.5rem;
}

.grouping__table--matrix .grouping__sticky {
    position: sticky;
    left: 0;
    z-index: 2;
    text-align: left;
    background: #fff;
    min-width: 5.5rem;
    box-shadow: 2px 0 0 var(--mishirto-line);
}

.grouping__table--matrix .grouping__sticky--2 {
    left: 5.5rem;
    min-width: 7rem;
}

.grouping__table--matrix thead .grouping__sticky {
    background: var(--mishirto-cyan-soft);
    z-index: 3;
}

.grouping__code {
    font-weight: 700;
}

.grouping__size-col {
    font-size: 0.78rem;
    min-width: 2.2rem !important;
}

.grouping__cell {
    font-weight: 600;
    font-size: 0.95rem;
}

.grouping__cell--need {
    background: #ffe8e8;
    color: #b22222;
}

.grouping__cell--ok {
    background: #eefbf2;
    color: #1b6e3a;
}

.grouping__cell--empty {
    background: #fafbfc;
    color: #d0d8de;
}

.grouping__cell--total {
    background: var(--mishirto-cyan-soft);
    font-weight: 700;
}

.grouping__stat-warn {
    color: #b22222;
    font-weight: 600;
}

.grouping__panel--review {
    border-color: #111;
}

.grouping__panel--camac {
    border: 2px solid var(--mishirto-cyan);
}

.grouping__camac-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.grouping__camac-head h2 {
    margin: 0;
}

.grouping__table--camac .review-card__input {
    width: 100%;
    min-width: 7rem;
}

.grouping__table--camac td:last-child {
    font-weight: 900;
    text-align: center;
    width: 2.5rem;
}

.grouping__camac-sub {
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
}

.grouping__table--camac-size {
    max-width: 28rem;
}

.review-card {
    background: #fff;
    border: 1px solid #f0d8a0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.85rem;
}

.review-card__product {
    font-weight: 600;
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    line-height: 1.35;
}

.review-card__meta,
.review-card__reason {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    color: var(--mishirto-muted);
}

.review-card__reason {
    color: #a05a00;
    font-weight: 600;
}

.review-card__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.review-card__fields label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--mishirto-cyan);
}

.review-card__input {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--mishirto-line);
    border-radius: 8px;
}

.review-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bordero-queue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.35);
}

.bordero-queue__text {
    font-size: 0.95rem;
    color: var(--pick-ink, #111);
}

.bordero-queue__text strong {
    color: var(--mishirto-cyan, #00aeef);
    font-size: 1.15rem;
}

.bordero__row--cap {
    background: #ffe6e6;
}

.bordero__row--cap td {
    color: #8b0000;
}

.grouping__cell--pick {
    background: #fff3cd;
    color: #8a5a00;
    font-weight: 700;
    cursor: pointer;
}

.grouping__cell--pick:hover {
    background: #ffe08a;
}

.warehouse__tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.warehouse__tab {
    border: 1px solid var(--mishirto-line);
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

.warehouse__tab--active {
    background: var(--mishirto-cyan-soft);
    border-color: var(--mishirto-cyan);
    color: var(--mishirto-black);
}

.warehouse__qty {
    max-width: 90px;
}

.warehouse-pick {
    max-width: 480px;
}

.warehouse-pick__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--mishirto-line);
    border-radius: 10px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.warehouse-pick__item--selected {
    border-color: var(--mishirto-cyan);
    background: var(--mishirto-cyan-soft);
}

.warehouse-pick__qty {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.warehouse-action--wide {
    max-width: min(96vw, 720px);
}

.warehouse-matrix__cell {
    cursor: pointer;
    user-select: none;
    min-width: 2.6rem;
    font-weight: 700;
    text-align: center;
    transition: background .12s ease, color .12s ease;
}

.warehouse-matrix__cell--stock {
    background: rgba(0, 174, 239, 0.12);
    color: #0a6a8a;
}

.warehouse-matrix__cell--stock:hover {
    background: rgba(0, 174, 239, 0.28);
}

.warehouse-matrix__cell--selected {
    background: var(--mishirto-cyan-soft) !important;
    outline: 2px solid var(--mishirto-cyan);
}

.warehouse-matrix__cell--empty,
.warehouse-matrix__cell--add {
    color: #9aa3ad;
    font-weight: 600;
}

.warehouse-matrix__cell--add:hover {
    background: rgba(46, 160, 67, 0.15);
    color: #1b7a2e;
}

.wh-sheet__variant {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: #445;
}

.warehouse-action {
    max-width: 420px;
}

.warehouse-action__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

/* Magazzino mobile-first */
.warehouse-scan-home {
    text-align: center;
}

.warehouse-scan-btn {
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 1.6rem 1rem;
    background: linear-gradient(160deg, #00aeef 0%, #008fc4 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 10px 24px rgba(0, 174, 239, 0.28);
}

.warehouse-scan-btn__icon {
    font-size: 2.2rem;
    line-height: 1;
}

.warehouse-scan-btn__title {
    font-size: 1.35rem;
    font-weight: 800;
}

.warehouse-scan-btn__sub {
    font-size: 0.9rem;
    opacity: 0.92;
}

.warehouse-scan-or {
    margin: 1rem 0 0.5rem;
    color: var(--mishirto-muted);
    font-size: 0.85rem;
}

.warehouse-scan-manual {
    display: flex;
    gap: 0.5rem;
}

.warehouse-scan-manual__input {
    flex: 1;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.scan-overlay--fullscreen {
    padding: 0;
    align-items: stretch;
}

.scan-panel--fullscreen {
    width: 100%;
    max-width: none;
    min-height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.scan-panel__view--tall {
    flex: 1;
    min-height: 65vh;
}

.wh-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.wh-sheet {
    width: 100%;
    max-width: 520px;
    max-height: 94vh;
    overflow: auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 1rem 1rem 1.4rem;
    border-top: 4px solid var(--mishirto-cyan);
}

.wh-sheet__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.wh-sheet__code {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.wh-sheet__name {
    margin: 0.15rem 0 0;
    color: var(--mishirto-muted);
    font-size: 0.9rem;
}

.wh-step {
    margin-bottom: 0.95rem;
}

.wh-step__label {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mishirto-muted);
}

.wh-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.wh-choice__btn {
    border: 2px solid var(--mishirto-line);
    background: #fff;
    border-radius: 14px;
    padding: 0.95rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.wh-choice__btn--on.wh-choice__btn--load {
    border-color: #1f8a4c;
    background: #e8f8ef;
    color: #1f6b3f;
}

.wh-choice__btn--on.wh-choice__btn--pick {
    border-color: #c44;
    background: #fdeeee;
    color: #9b2c2c;
}

.wh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.wh-chip {
    border: 2px solid var(--mishirto-line);
    background: #fff;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    min-height: 2.8rem;
}

.wh-chip--size {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 3.4rem;
    border-radius: 14px;
}

.wh-chip__stock {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--mishirto-muted);
}

.wh-chip--on {
    border-color: var(--mishirto-cyan);
    background: var(--mishirto-cyan-soft);
    color: var(--mishirto-black);
}

.wh-chip--on .wh-chip__stock {
    color: var(--mishirto-ink);
}

.wh-chip--disabled {
    opacity: 0.35;
}

.wh-hint {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: var(--mishirto-muted);
}

.wh-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.wh-qty__btn {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 14px;
    border: 2px solid var(--mishirto-line);
    background: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.wh-qty__input {
    width: 5rem;
    height: 3.2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 2px solid var(--mishirto-line);
    border-radius: 14px;
}

.wh-qty-presets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.wh-confirm {
    width: 100%;
    margin-top: 0.35rem;
    border: none;
    border-radius: 16px;
    padding: 1.05rem 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.wh-confirm--load {
    background: #1f8a4c;
}

.wh-confirm--pick {
    background: #c44;
}

.wh-confirm--reserve {
    background: var(--mishirto-cyan, #00aeef);
}

.warehouse-reserve__need {
    color: #c44;
}

.warehouse-reserve__row--need td {
    background: #fff5f5;
}

@media (min-width: 700px) {
    .wh-sheet-overlay {
        align-items: center;
        padding: 1rem;
    }

    .wh-sheet {
        border-radius: 18px;
        max-height: 90vh;
    }
}

.warehouse-labels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.warehouse-label {
    border: 1px solid var(--mishirto-line);
    border-radius: 12px;
    padding: 0.65rem;
    text-align: center;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.warehouse-label input[type="checkbox"] {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    width: 1.1rem;
    height: 1.1rem;
}

.warehouse-label--selected {
    border-color: #111;
    box-shadow: 0 0 0 2px #111;
}

.warehouse-label img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.warehouse-label__size {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0.35rem 0 0;
}

.warehouse-label__meta,
.warehouse-label__sku,
.warehouse-label__qty {
    font-size: 0.75rem;
    color: var(--mishirto-muted);
    margin: 0.1rem 0;
}

.warehouse-label__brand {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.warehouse-labels--ql {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.warehouse-label--ql {
    aspect-ratio: 62 / 40;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    padding: 0.45rem 0.55rem;
    border: 2px solid #111;
    border-radius: 4px;
    cursor: default;
}

.warehouse-label--ql img {
    width: 38%;
    height: auto;
    max-height: 90%;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.warehouse-label--ql .warehouse-label__text {
    min-width: 0;
    flex: 1;
}

.warehouse-label--ql .warehouse-label__size {
    font-size: 1.15rem;
    margin: 0.15rem 0;
}

.warehouse-label--ql .warehouse-label__meta {
    color: #111;
    font-weight: 700;
}

.warehouse-labels--print {
    display: none;
}

@media (max-width: 700px) {
    .review-card__fields {
        grid-template-columns: 1fr;
    }
}

/* DTF */
.dtf__operator {
    margin-bottom: 1rem;
}

.dtf__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dtf__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.dtf__field--grow {
    flex: 1;
}

.dtf__field--unit {
    min-width: 7rem;
}

.dtf__length-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.dtf__textarea {
    min-height: 5rem;
    resize: vertical;
}

.dtf__optional {
    font-weight: 500;
    color: var(--mishirto-muted);
}

.dtf__list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.dtf__list-header h2 {
    margin: 0;
}

.dtf__table td {
    vertical-align: top;
}

.dtf__when {
    white-space: nowrap;
    font-size: 0.85rem;
}

.dtf__subjects {
    max-width: 16rem;
    white-space: pre-wrap;
    font-size: 0.9rem;
}

.dtf__note {
    display: block;
    margin-top: 0.2rem;
    color: var(--mishirto-muted);
    font-size: 0.82rem;
}

.dtf__acks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dtf__ack {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--mishirto-line);
    background: #fff;
}

.dtf__ack--ok {
    background: #e8f8ef;
    border-color: #9ed4b4;
    color: #1f6b3f;
}

.dtf__ack--bad {
    background: #fdeeee;
    border-color: #efb8b8;
    color: #9b2c2c;
}

.dtf__ack--pending {
    color: var(--mishirto-muted);
    font-weight: 500;
}

.dtf__actions {
    display: flex;
    gap: 0.35rem;
}

.dtf__pending-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 11rem;
}

.dtf__pending-actions .pack__btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.55rem;
    white-space: normal;
    line-height: 1.2;
}

.dtf__dest {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.dtf__dest--delivery {
    background: #e8f7fd;
    color: #0369a1;
}

.dtf__dest--work {
    background: #f3e8ff;
    color: #7e22ce;
}

.dtf__btn {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 10px;
    border: 1px solid var(--mishirto-line);
    background: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.dtf__btn--ok.dtf__btn--active {
    background: #e8f8ef;
    border-color: #3a9d5c;
}

.dtf__btn--bad.dtf__btn--active {
    background: #fdeeee;
    border-color: #c44;
}

.dtf__btn--delete {
    font-size: 0.85rem;
}

.dtf__check-col {
    width: 2.5rem;
    text-align: center;
}

/* Etichette DTF */
.dtf-labels h3 {
    margin: 1rem 0 0.5rem;
    font-size: 0.95rem;
}

.dtf-labels__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.dtf-label {
    border: 1px solid var(--mishirto-line);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    background: #fff;
}

.dtf-label__brand {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mishirto-cyan);
}

.dtf-label__client {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.dtf-label__job {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--mishirto-ink);
    line-height: 1.25;
}

.dtf-label__length {
    margin: 0.45rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mishirto-black);
}

.dtf-labels__grid--ql {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.dtf-label--ql {
    aspect-ratio: 62 / 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid #111;
    border-radius: 4px;
    gap: 0.15rem;
    padding: 0.45rem 0.5rem;
}

.dtf-label--ql .dtf-label__brand {
    margin: 0;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: #111;
}

.dtf-label--ql .dtf-label__client {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111;
}

.dtf-label--ql .dtf-label__job {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.dtf-label--ql .dtf-label__length {
    margin: 0.2rem 0 0;
    display: inline-block;
    padding: 0.15rem 0.65rem;
    background: #111;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 3px;
}

.dtf-label--ql.dtf-label--with-qr {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.4rem;
    padding: 0.35rem 0.4rem;
}

.dtf-label__qr {
    width: 38%;
    max-width: 3.4rem;
    aspect-ratio: 1;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: pixelated;
}

.dtf-label__side {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
}

.dtf-label--with-qr .dtf-label__brand {
    font-size: 0.52rem;
}

.dtf-label--with-qr .dtf-label__client {
    font-size: 0.78rem;
}

.dtf-label--with-qr .dtf-label__job {
    font-size: 0.62rem;
}

.dtf-label__code {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.04em;
}

.dtf-label--with-qr .dtf-label__length {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    padding: 0.1rem 0.4rem;
}

.dtf-label-hint {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
}

.dtf-labels--print {
    display: none;
}

@media print {
    .dtf-labels--print-ql,
    .dtf-labels--print-ql * {
        visibility: visible;
    }

    .dtf-labels--print-ql {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 62mm;
    }

    .dtf-label--ql-print {
        width: 62mm;
        height: 40mm;
        box-sizing: border-box;
        break-after: page;
        page-break-after: always;
        border: 1px solid #000;
        border-radius: 0;
        padding: 2.5mm;
        margin: 0;
    }

    .dtf-label--ql-print .dtf-label__client {
        font-size: 12pt;
    }

    .dtf-label--ql-print .dtf-label__job {
        font-size: 8pt;
    }

    .dtf-label--ql-print .dtf-label__length {
        font-size: 14pt;
    }
}

.dtf-price__gate {
    max-width: 28rem;
}

.dtf-price__login {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.dtf-price__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.dtf-price__bulk {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mishirto-muted);
}

.dtf-price__grand {
    margin-right: 0.5rem;
    font-size: 0.95rem;
}

.dtf-price__input {
    max-width: 7.5rem;
}

.dtf-price__total {
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .dtf__table thead {
        display: none;
    }

    .dtf__table tr {
        display: block;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--mishirto-line);
    }

    .dtf__table td {
        display: block;
        padding: 0.2rem 0;
    }

    .dtf__table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--mishirto-muted);
        display: block;
    }
}

/* â€”â€”â€” Lavori (custom jobs) â€”â€”â€” */
.work {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.work__tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    margin: 0.75rem 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f7fafc;
    padding-top: 0.35rem;
}

.work__tab {
    border: 2px solid #111;
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex: 1 1 0;
    justify-content: center;
    min-height: 2.75rem;
}

.work__tab span {
    background: #111;
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    min-width: 1.4rem;
    text-align: center;
}

.work__tab--on {
    background: var(--mishirto-cyan);
    border-color: var(--mishirto-cyan);
    color: #fff;
}

.work__tab--on span {
    background: #fff;
    color: #111;
}

.work__btn-new {
    background: var(--mishirto-cyan) !important;
    border-color: var(--mishirto-cyan) !important;
    color: #fff !important;
    white-space: nowrap;
}

.work__back {
    margin-right: 0.35rem;
}

.work__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    align-items: end;
}

.work__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.work__field--full { grid-column: 1 / -1; }

.work__opt {
    font-weight: 500;
    color: var(--mishirto-muted, #666);
}

.work__check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.work__areas {
    grid-column: 1 / -1;
    border: 2px solid #111;
    border-radius: 12px;
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.work__areas legend {
    font-weight: 900;
    padding: 0 0.35rem;
}

.work__area-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed #ddd;
}

.work__area-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.work__area-text {
    width: 100%;
    min-height: 3.2rem;
    resize: vertical;
    font-weight: 600;
}

.work-card__areas {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.work-card__areas li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.88rem;
    background: #f5f7f9;
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
}

.work-card__areas strong {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mishirto-cyan, #00aeef);
}

.work-card__areas--compact {
    margin: 0 0 0.65rem;
}

.work-card__areas--compact li {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    align-items: baseline;
}

.work__areas-cell {
    min-width: 14rem;
}

.work__list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.work__list-head h2 { margin: 0; }

.work__empty {
    color: var(--mishirto-muted, #666);
    font-weight: 600;
}

.work__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.work-card {
    border: 2px solid #111;
    border-radius: 14px;
    padding: 0.9rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.work-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: flex-start;
}

.work-card__client {
    font-weight: 900;
    font-size: 1.05rem;
}

.work-card__meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-top: 0.15rem;
}

.work-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    white-space: nowrap;
}

.work-card__badge::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--dot, #94a3b8);
}

.work-card__note {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
}

.work-status__actions {
    margin-top: 0.65rem;
}

.work-label-modal {
    max-width: 420px;
}

.work-label-modal__hint {
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    margin: 0 0 0.75rem;
}

.work-label-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.work-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.work-card__actions .pack__btn,
.work-card__actions .work__btn-del {
    min-height: 2.5rem;
    flex: 1 1 auto;
}

.work__btn-del {
    border: none;
    background: transparent;
    color: #b91c1c;
    font-weight: 800;
    cursor: pointer;
}

.work-board-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.work-board-filter {
    border: 1.5px solid #cbd5e1;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.work-board-filter__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--col, #94a3b8);
    flex-shrink: 0;
}

.work-board-filter__n {
    min-width: 1.25rem;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.work-board-filter--on {
    border-color: #111;
    background: #111;
    color: #fff;
}

.work-board-filter--on .work-board-filter__n {
    background: #fff;
    color: #111;
}

.work-board {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    align-items: stretch;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.work-board__col {
    flex: 0 0 min(82vw, 280px);
    width: min(82vw, 280px);
    min-width: min(82vw, 280px);
    max-width: min(82vw, 280px);
    box-sizing: border-box;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-top: 4px solid var(--col, #94a3b8);
    border-radius: 14px;
    padding: 0.65rem;
    min-height: 12rem;
    position: relative;
    z-index: 0;
    scroll-snap-align: start;
}

.work-board__col--priority {
    flex-basis: min(88vw, 300px);
    width: min(88vw, 300px);
    min-width: min(88vw, 300px);
    max-width: min(88vw, 300px);
    background: linear-gradient(180deg, #fff7ed 0%, #fff 55%);
    border-color: #f59e0b;
    border-top-width: 6px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18);
}

.work-board--filtered .work-board__col,
.work-board--filtered .work-board__col--priority {
    flex: 1 1 auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.work-board__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.65rem;
}

.work-board__head h3 {
    margin: 0;
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.2;
}

.work-board__prio {
    width: 100%;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
}

.work-board__count {
    min-width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
}

.work-board__col--priority .work-board__count {
    background: #b45309;
}

.work-board__empty {
    margin: 0;
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 0.5rem 0.25rem;
}

.work-board__cards {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.work-board-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.work-board__col--priority .work-board-card {
    border-color: #fdba74;
}

.work-board-card--hi {
    outline: 2px solid var(--mishirto-cyan);
}

.work-board-card__top {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.work-board-card__top strong {
    font-size: 0.98rem;
}

.work-board-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.work-board-card__qty {
    background: #111;
    color: #fff;
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
}

.work-board-card__note {
    margin: 0;
    font-size: 0.8rem;
    color: #334155;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.35rem 0.45rem;
}

.work-board-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.work-board-card__actions .pack__btn {
    font-size: 0.72rem;
    padding: 0.45rem 0.55rem;
    min-height: 2.5rem;
    line-height: 1.15;
    flex: 1 1 auto;
}

.work-board-card__track {
    gap: 0.3rem;
    padding-top: 0.35rem;
    flex-wrap: wrap;
}

.work-board-card__track .work-dot {
    min-width: 4.2rem;
    max-width: 5.2rem;
    padding: 0.25rem 0.15rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.work-board-card__track .work-dot span {
    display: block;
    font-size: 0.58rem;
    font-weight: 800;
    color: #64748b;
    line-height: 1.15;
}

.work-board-card__track .work-dot i {
    width: 0.7rem;
    height: 0.7rem;
}

.work-board-card__track .work-dot--on {
    background: #fff;
    border-color: color-mix(in srgb, var(--c, #00aeef) 45%, #e2e8f0);
}

.work-board-card__track .work-dot--on span {
    color: #0f172a;
}

.work-board-card__track .work-dot--now {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--c, #00aeef) 35%, transparent);
    border-color: var(--c, #00aeef);
}

@media (max-width: 700px) {
    .work-board__col,
    .work-board__col--priority {
        flex-basis: min(85vw, 280px);
        width: min(85vw, 280px);
        min-width: min(85vw, 280px);
        max-width: min(85vw, 280px);
    }

    .work-board--filtered .work-board__col,
    .work-board--filtered .work-board__col--priority {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.work__status-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.work-status {
    border: 2px solid #111;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.work-status--hi {
    border-color: var(--mishirto-cyan);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.work-focus {
    border: 2px solid var(--mishirto-cyan);
    border-radius: 16px;
    padding: 1rem 1.1rem 1.15rem;
    background: linear-gradient(180deg, #e8f7fd 0%, #fff 42%);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.work-focus__head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
}

.work-focus__eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mishirto-cyan);
}

.work-focus h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.15;
}

.work-focus__product {
    margin: 0.35rem 0 0;
    font-weight: 600;
    color: #334155;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.work-open-code {
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.85rem;
}

.work-open-code__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.55rem;
}

.work-open-code__row .work__field {
    flex: 1;
    min-width: 7rem;
    margin: 0;
}

.work-open-code__input {
    font-size: 1.25rem !important;
    font-weight: 800;
    letter-spacing: 0.18em;
    max-width: 8.5rem;
}

@media (min-width: 900px) {
    .work-board__col {
        flex-basis: 250px;
        width: 250px;
        min-width: 250px;
        max-width: 250px;
    }

    .work-board__col--priority {
        flex-basis: 270px;
        width: 270px;
        min-width: 270px;
        max-width: 270px;
    }

    .work-board--filtered .work-board__col,
    .work-board--filtered .work-board__col--priority {
        flex: 1 1 auto;
        width: min(100%, 420px);
        min-width: min(100%, 280px);
        max-width: 480px;
    }

    .work-mock {
        display: block;
    }

    .work-focus__codes {
        display: flex;
        width: auto;
    }

    .work-focus__head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .work__tab {
        flex: 0 1 auto;
    }
}

@media (max-width: 700px) {
    .work__header .pack__brand {
        height: 2rem;
    }

    .work__header h1 {
        font-size: 1.45rem;
    }

    .work-open-code__row .pack__btn {
        flex: 1 1 auto;
        min-height: 2.75rem;
    }

    .work-board-filter {
        flex-shrink: 0;
    }

    .work__table {
        font-size: 0.82rem;
    }
}

.work-edit-code {
    font-size: 0.95rem;
    font-weight: 700;
    margin-right: auto;
}

.work-edit-code strong {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    color: var(--mishirto-cyan);
}

.work-card__code {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--mishirto-cyan);
    margin-bottom: 0.15rem;
}

.work-focus__codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
}

.work-focus__code {
    min-width: 5.2rem;
    text-align: center;
    background: var(--mishirto-cyan);
    color: #fff;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    line-height: 1.05;
}

.work-focus__code strong {
    display: block;
    font-size: 1.85rem;
    letter-spacing: 0.06em;
}

.work-focus__code span {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
}

.work-focus__total {
    min-width: 5.8rem;
    text-align: center;
    background: #0f766e;
    color: #fff;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    line-height: 1.05;
}

.work-focus__unit {
    min-width: 5.2rem;
    text-align: center;
    background: #334155;
    color: #fff;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    line-height: 1.05;
}

.work-focus__unit strong {
    display: block;
    font-size: 1.05rem;
}

.work-focus__unit span {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
}

.work__totale-hint {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
}

.work__totale-hint span {
    color: var(--mishirto-muted);
    font-weight: 500;
    margin-left: 0.35rem;
}

.work__totale-cell {
    font-weight: 800;
    color: #0f766e;
    white-space: nowrap;
}

.work-board-card__unit {
    background: #334155;
    color: #fff;
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.work-focus__total strong {
    display: block;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.work-focus__total span {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
}

.work-card__total {
    color: #0f766e;
    font-weight: 800;
}

.work-board-card__total {
    background: #0f766e;
    color: #fff;
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.work-focus__qty {
    min-width: 5.2rem;
    text-align: center;
    background: #111;
    color: #fff;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    line-height: 1.05;
}

.work-focus__qty strong {
    display: block;
    font-size: 1.85rem;
}

.work-focus__qty span {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.85;
}

.work-focus__notes {
    background: #fff;
    border: 1px solid #cce8f5;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
}

.work-focus__notes strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.work-focus__notes p {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 650;
    white-space: pre-wrap;
}

.work-focus__notes--empty p {
    font-weight: 500;
    color: #94a3b8;
}

.work-focus__templates h4 {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
}

.work-focus__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.65rem;
}

.work-focus__gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #cce8f5;
    background: #fff;
}

.work-focus__track {
    padding-top: 0.25rem;
}

.work-status__info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.work-status__info strong {
    font-size: 1.05rem;
}

.work-status__track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.work-dot {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 4.6rem;
    padding: 0.25rem 0.2rem;
    cursor: pointer;
}

.work-dot i {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid #cbd5e1;
    display: block;
}

.work-dot span {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    text-align: center;
    line-height: 1.15;
}

.work-dot--on i {
    background: var(--c, var(--mishirto-cyan));
    border-color: var(--c, var(--mishirto-cyan));
}

.work-dot--on span {
    color: #111;
}

.work-dot--now i {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--mishirto-cyan)) 35%, transparent);
    transform: scale(1.15);
}

.work__totals {
    font-weight: 700;
}

.work__price {
    max-width: 7rem;
}

.work__editor {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1.25rem;
    align-items: start;
}

.work__form-actions {
    grid-column: 1 / -1;
}

.work-mock {
    display: none;
    background: #f4fafd;
    border: 1px solid #cce8f5;
    border-radius: 12px;
    padding: 0.9rem 1rem 1rem;
}

.work-mock h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.work-mock__lead {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    color: var(--mishirto-muted);
}

.work-mock__views {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.work-mock__label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    color: #64748b;
}

.work-mock__shirt {
    display: flex;
    align-items: stretch;
    min-height: 9rem;
    opacity: 0.55;
}

.work-mock__shirt--on {
    opacity: 1;
}

.work-mock__sleeve {
    width: 18%;
    background: #dbe4ea;
    border: 1px solid #94a3b8;
    border-radius: 6px 0 0 6px;
}

.work-mock__sleeve--r {
    border-radius: 0 6px 6px 0;
}

.work-mock__sleeve--on {
    background: color-mix(in srgb, var(--mishirto-cyan) 35%, #fff);
    border-color: var(--mishirto-cyan);
}

.work-mock__body {
    flex: 1;
    background: #e8eef2;
    border: 1px solid #94a3b8;
    border-left: 0;
    border-right: 0;
    display: flex;
    padding: 0.4rem;
}

.work-mock__zone {
    flex: 1;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.72rem;
    overflow: hidden;
}

.work-mock__zone--on {
    border-style: solid;
    border-color: var(--mishirto-cyan);
    background: #e8f7fd;
}

.work-mock__zone strong {
    font-size: 0.75rem;
}

.work-mock__zone span {
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-mock__off {
    color: #94a3b8;
    margin: auto;
}

.work-mock__sleeve-note,
.work-mock__altro,
.work-mock__meta {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    color: #475569;
}

.work-mock__meta {
    font-weight: 700;
    color: #0f172a;
}

.work-files {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.work-files h3 {
    margin: 0 0 0.35rem;
}

.work-files__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.work-files__upload {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.88rem;
    background: #fff;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    padding: 0.75rem;
}

.work-files__sub {
    margin: 0.85rem 0 0.45rem;
    font-size: 0.92rem;
}

.work-files__templates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.work-files__tpl {
    margin: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.work-files__tpl img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #f1f5f9;
}

.work-files__tpl figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
}

.work-files__tpl figcaption span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-files__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.work-files__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
}

.work-files__list li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-files__list li span {
    color: var(--mishirto-muted);
    font-size: 0.78rem;
}

.work-files__link {
    display: block;
    padding: 2rem 0.5rem;
    text-align: center;
}

.work-card--editing {
    border-color: var(--mishirto-cyan);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--mishirto-cyan) 25%, transparent);
}

.work-card__files {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.work-status__tpl {
    display: inline-block;
    margin: 0.5rem 0;
}

.work-status__tpl img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .work__editor { grid-template-columns: 1fr; }
    .work-files__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .work__form { grid-template-columns: 1fr; }
    .work-status__track { justify-content: flex-start; }
    .work-mock__views { grid-template-columns: 1fr; }
}

/* Login */
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse 70% 50% at 80% 0%, rgba(0, 174, 239, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 100%, rgba(0, 174, 239, 0.08), transparent 50%),
        #f4f8fb;
}

.login-card {
    width: min(100%, 26rem);
    background: #fff;
    border: 2px solid #111;
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.login-card__logo {
    display: block;
    height: 2.25rem;
    width: auto;
    margin-bottom: 1rem;
}

.login-card__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mishirto-cyan, #00aeef);
}

.login-card h1 {
    margin: 0.25rem 0 0.35rem;
    font-size: 1.55rem;
    font-weight: 800;
}

.login-card__lead {
    margin: 0 0 1.15rem;
    color: #475569;
    font-size: 0.92rem;
}

.login-card__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.login-card__btn {
    width: 100%;
    justify-content: center;
}

.work-arrival {
    margin: 0.15rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fff7ed;
    border: 1.5px solid #f59e0b;
    color: #9a3412;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
}

.work-deadline {
    margin: 0.25rem 0 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

.work-deadline--compact {
    font-size: 0.72rem;
    padding: 0.18rem 0.5rem;
}

.work-deadline--later {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
}

.work-deadline--soon7 {
    background: #fffbeb;
    border-color: #fbbf24;
    color: #92400e;
}

.work-deadline--soon3 {
    background: #fff7ed;
    border-color: #fb923c;
    color: #9a3412;
}

.work-deadline--overdue {
    background: #fef2f2;
    border-color: #f87171;
    color: #991b1b;
}

.work-deadline--tax {
    box-shadow: inset 0 0 0 1.5px #dc2626;
}

.work__delivery-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: flex-end;
    grid-column: 1 / -1;
}

.work__check--delivery {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.9rem;
    padding-bottom: 0.55rem;
    cursor: pointer;
}

.work__delivery-hint {
    margin: -0.25rem 0 0.5rem;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    grid-column: 1 / -1;
}

.work__delivery-hint--tax {
    color: #b91c1c;
}

.home-deadlines {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #fff7ed;
    border: 1.5px solid #fdba74;
}

.home-deadlines__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.home-deadlines__head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 900;
    color: #9a3412;
}

.home-deadlines__n {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 900;
    background: #9a3412;
    color: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
}

.home-deadlines__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.home-deadlines__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1.5px solid transparent;
}

.home-deadlines__chip--overdue {
    background: #fef2f2;
    border-color: #f87171;
    color: #991b1b;
}

.home-deadlines__chip--soon3 {
    background: #fff7ed;
    border-color: #fb923c;
    color: #9a3412;
}

.home-deadlines__chip--soon7 {
    background: #fffbeb;
    border-color: #fbbf24;
    color: #92400e;
}

.home-deadlines__list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.home-deadline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.65rem;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1.5px solid #fed7aa;
    background: #fff;
    cursor: pointer;
    font: inherit;
}

.home-deadline:hover {
    border-color: #fb923c;
}

.home-deadline--overdue {
    border-color: #fca5a5;
    background: #fef2f2;
}

.home-deadline--soon3 {
    border-color: #fdba74;
    background: #fff7ed;
}

.home-deadline--soon7 {
    border-color: #fcd34d;
    background: #fffbeb;
}

.home-deadline__code {
    font-weight: 900;
    color: #00aeef;
    font-variant-numeric: tabular-nums;
}

.home-deadline__client {
    font-weight: 800;
    color: #111;
}

.home-deadline__when {
    font-size: 0.78rem;
    font-weight: 700;
    color: #9a3412;
}

.home-deadline__tax {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #fff;
    background: #dc2626;
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
}

.home-job__deadline {
    margin: 0.3rem 0 0;
    font-size: 0.75rem;
    font-weight: 800;
}

.home-job__deadline.home-deadline--overdue { color: #991b1b; }
.home-job__deadline.home-deadline--soon3 { color: #9a3412; }
.home-job__deadline.home-deadline--soon7 { color: #92400e; }

.work-ship {
    margin-top: 0.65rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #f0f9ff;
    border: 1.5px solid #7dd3fc;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-start;
    justify-content: space-between;
}

.work-ship--empty {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.work-ship__main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.work-ship__carrier {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0369a1;
}

.work-ship__status {
    font-size: 1rem;
    font-weight: 900;
    color: #0c4a6e;
    line-height: 1.2;
}

.work-ship__code {
    font-size: 0.82rem;
    color: #334155;
    background: rgba(255,255,255,0.7);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    width: fit-content;
}

.work-ship__detail,
.work-ship__when {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.work-ship__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.work-ship-badge {
    margin: 0.25rem 0 0;
    display: inline-flex;
    max-width: 100%;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e0f2fe;
    border: 1.5px solid #38bdf8;
    color: #075985;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-origin-modal .grouping__lead {
    margin-bottom: 0.75rem;
}

.work-advance {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.65rem;
    align-items: center;
    margin: 0.5rem 0 1rem;
}

.work-advance__from,
.work-advance__to {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
}

.work-advance__from span,
.work-advance__to span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.work-advance__from strong,
.work-advance__to strong {
    font-size: 1.05rem;
    font-weight: 900;
    color: #111;
    line-height: 1.2;
}

.work-advance__to {
    background: color-mix(in srgb, var(--c, #00aeef) 14%, #fff);
    border-color: color-mix(in srgb, var(--c, #00aeef) 55%, #fff);
}

.work-advance__to strong {
    color: #0f172a;
}

.work-advance__arrow {
    font-size: 1.4rem;
    font-weight: 900;
    color: #00aeef;
}

.work-origin__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.work-origin__chip {
    border: 1.5px solid #cbd5e1;
    background: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 2.4rem;
}

.work-origin__chip--on {
    border-color: #f59e0b;
    background: #fff7ed;
    color: #9a3412;
}

.work-notify-modal .work__field {
    margin-bottom: 0.65rem;
}

.work-notify__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.work-notify__hint {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.35;
}

/* â€”â€” Preventivi â€”â€” */
.quote {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 0.75rem 2rem;
}

.quote__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quote__panel h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.quote__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.quote__section-head h2 { margin: 0; }

.quote__client-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}

.quote__field-grow { flex: 1 1 14rem; }
.quote__field-full { width: 100%; }

.quote__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.55rem;
}

.quote__suggest {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.quote__suggest li + li {
    border-top: 1px solid #f1f5f9;
}

.quote__suggest-btn {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.65rem 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.quote__suggest-btn:hover { background: #f0f9ff; }
.quote__suggest-btn span {
    font-size: 0.8rem;
    color: #64748b;
}

.quote__selected-client {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
}

.quote__new-customer {
    margin-top: 0.75rem;
    padding: 0.85rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
}

.quote__new-customer h3 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.quote__list {
    display: grid;
    gap: 0.65rem;
}

.quote-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.quote-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.quote-card__code {
    font-weight: 800;
    color: #00aeef;
    letter-spacing: 0.04em;
}

.quote-card__status {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.quote-card__client {
    display: block;
    font-size: 1.05rem;
}

.quote-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.35rem 0 0.65rem;
    font-size: 0.85rem;
    color: #64748b;
}

.quote-card__total {
    font-weight: 800;
    color: #0f172a;
}

.quote-card__actions {
    display: flex;
    gap: 0.4rem;
}

.quote-line {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
}

.quote-line__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.quote__btn-link {
    border: 0;
    background: transparent;
    color: #dc2626;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
}

.quote__btn-danger {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.quote__check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
    font-size: 0.88rem;
    font-weight: 650;
    cursor: pointer;
}

.quote__tier {
    font-weight: 600;
    color: #0369a1;
    font-size: 0.8rem;
}

.quote-line__tot {
    margin-top: 0.45rem;
    text-align: right;
    font-weight: 700;
    color: #334155;
}

.quote__grand {
    position: sticky;
    bottom: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #0ea5e9;
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.quote__grand strong {
    font-size: 1.25rem;
}

.quote-line input[readonly] {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    cursor: default;
}


/* Storico articoli */
.history__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.history__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mishirto-cyan);
}

.history__field input[type="date"] {
    border: 1px solid var(--mishirto-line);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    font: inherit;
    min-width: 10rem;
    background: #fff;
}

.history__search {
    margin-bottom: 1rem;
}

.history__chart-panel {
    border-left: 4px solid var(--mishirto-cyan);
}

.history__chart {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.history__bar-row {
    display: grid;
    grid-template-columns: minmax(8rem, 14rem) 1fr minmax(5.5rem, 7rem);
    gap: 0.65rem;
    align-items: center;
}

.history__bar-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: ui-monospace, Consolas, monospace;
}

.history__bar-track {
    height: 1.35rem;
    background: #e8eef3;
    border-radius: 999px;
    overflow: hidden;
}

.history__bar-fill {
    height: 100%;
    background: var(--mishirto-cyan);
    border-radius: 999px;
    min-width: 4px;
}

.history__bar-value {
    text-align: right;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.2;
}

.history__bar-value strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
}

.history__article {
    font-weight: 800;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.95rem;
}

.history__table td:nth-child(3),
.history__table td:nth-child(4),
.history__table td:nth-child(6) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
    .history__bar-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding-bottom: 0.55rem;
        border-bottom: 1px solid var(--mishirto-line);
    }

    .history__bar-value {
        text-align: left;
    }
}

/* Spesa Camac / spedizione gratuita */
.grouping__panel--spend {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 55%);
}

.grouping__panel--spend.is-free-ship {
    border-left-color: #16a34a;
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
}

.grouping__spend-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
}

.grouping__spend-head h2 {
    margin: 0 0 0.25rem;
}

.grouping__spend-total {
    text-align: right;
}

.grouping__spend-total span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #92400e;
}

.grouping__panel--spend.is-free-ship .grouping__spend-total span {
    color: #166534;
}

.grouping__spend-total strong {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.grouping__spend-meter {
    height: 0.85rem;
    background: #fde68a;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.55rem;
}

.grouping__panel--spend.is-free-ship .grouping__spend-meter {
    background: #bbf7d0;
}

.grouping__spend-meter-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 999px;
    min-width: 4px;
    transition: width 0.25s ease;
}

.grouping__panel--spend.is-free-ship .grouping__spend-meter-fill {
    background: #16a34a;
}

.grouping__spend-status {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #92400e;
}

.grouping__spend-status.is-ok {
    color: #166534;
}

.grouping__cell--euro {
    white-space: nowrap;
    text-align: right;
    min-width: 4.5rem;
}

.grouping__euro-unit {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}

.history__search {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.history__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.history__chip {
    border: 1.5px solid #cbd5e1;
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.history__chip strong {
    background: #e2e8f0;
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
    font-size: 0.75rem;
}

.history__chip.is-on {
    border-color: #111;
    background: #111;
    color: #fff;
}

.history__chip.is-on strong {
    background: #fff;
    color: #111;
}

.history__chip--biz.is-on {
    border-color: #7c3aed;
    background: #7c3aed;
}

.history__biz-badge {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #ede9fe;
    color: #5b21b6;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
}

.history__biz-stat {
    color: #5b21b6;
}

.history__biz-panel {
    border-left: 4px solid #7c3aed;
}

.history__article {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

/* Profitto Amazon */
.profit-stats {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
}
.profit-stats__ok { color: #15803d; }
.profit-stats__bad { color: #b91c1c; }
.profit-table__name {
    max-width: 14rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profit-row--neg {
    background: #fef2f2 !important;
    color: #7f1d1d;
}
.profit-row--neg td { color: inherit; }
.profit-row--crit {
    background: #fff7ed !important;
}
.profit-row--noprice td:nth-child(10) { color: #b45309; font-weight: 600; }
.profit-table__toggle {
    width: 2.2rem;
    padding-left: 0.35rem !important;
    padding-right: 0.15rem !important;
}
.profit-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #c5d0d8;
    border-radius: 0.4rem;
    background: #fff;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.profit-expand:hover {
    background: #e8f7fd;
    border-color: #00aeef;
}
.profit-expand--open {
    transform: rotate(180deg);
    background: #e8f7fd;
    border-color: #00aeef;
    color: #0077a8;
}
.profit-row--open > td {
    border-bottom-color: transparent !important;
}
.profit-detail-row > td {
    background: #f4fbfe;
    padding: 0.85rem 1rem 1rem !important;
    border-top: none !important;
}
.profit-detail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.profit-detail__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 0.55rem 1.25rem;
}
.profit-detail__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.9rem;
}
.profit-detail__item span {
    color: #64748b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.profit-detail__item--wide {
    grid-column: 1 / -1;
}
.profit-detail__formula {
    font-size: 0.92rem;
    color: #475569;
    padding: 0.45rem 0.65rem;
    border-left: 3px solid #00aeef;
    background: #fff;
}
.profit-detail__total {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    flex-wrap: wrap;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid #c5e8f5;
    background: #fff;
    font-size: 1rem;
}
.profit-detail__total span {
    color: #475569;
    font-weight: 600;
}
.profit-detail__total strong {
    font-size: 1.2rem;
}
.profit-detail__total em {
    color: #64748b;
    font-style: normal;
    font-size: 0.9rem;
}
.profit-detail__total--ok {
    border-color: #86efac;
    background: #f0fdf4;
}
.profit-detail__total--ok strong { color: #15803d; }
.profit-detail__total--bad {
    border-color: #fca5a5;
    background: #fef2f2;
}
.profit-detail__total--bad strong { color: #b91c1c; }

/* Tracking spedizioni */
.tracking__tabs { margin-bottom: 1rem; flex-wrap: wrap; }
.tracking__tab-badge {
    display: inline-block;
    margin-left: 0.35rem;
    min-width: 1.25rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #c44;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}
.tracking__row--late { background: #fff7ed !important; }
.tracking__row--stuck { background: #fffbeb !important; }
.tracking__status { font-weight: 600; }
.tracking__late-badge,
.tracking__stuck-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}
.tracking__late-badge { background: #fed7aa; color: #9a3412; }
.tracking__stuck-badge { background: #fef3c7; color: #92400e; }
.tracking__due--late { color: #c2410c; font-weight: 700; }
.tracking__table td { vertical-align: middle; }
.tracking__section { margin-bottom: 1.25rem; }
.tracking__section--late { border-left: 4px solid #ea580c; padding-left: 0.85rem; }
.tracking__section--stuck { border-left: 4px solid #d97706; padding-left: 0.85rem; }
.tracking__n {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--mishirto-cyan, #00aeef);
    font-weight: 700;
}
.tracking__phase {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.tracking__phase--late { background: #ffedd5; color: #9a3412; }
.tracking__phase--problem { background: #fee2e2; color: #991b1b; }
.tracking__phase--stuck { background: #fef3c7; color: #92400e; }
.tracking__phase--transit { background: #e0f2fe; color: #075985; }
.tracking__phase--done { background: #dcfce7; color: #166534; }
.tracking__phase--other { background: #f3f4f6; color: #374151; }

.supplier__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.supplier__add {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.7fr auto;
    gap: 0.65rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
}

@media (max-width: 900px) {
    .supplier__add {
        grid-template-columns: 1fr 1fr;
    }
}

.supplier__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.supplier__toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.supplier__table-wrap {
    overflow-x: auto;
}

.supplier__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.supplier__table th {
    text-align: left;
    padding: 0.55rem 0.45rem;
    background: #111;
    color: #fff;
    font-weight: 800;
}

.supplier__table td {
    padding: 0.35rem 0.3rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.supplier__table tfoot td {
    padding-top: 0.75rem;
    font-weight: 800;
    border-bottom: 0;
}

.supplier__cell {
    width: 100%;
    min-width: 4.5rem;
}

.supplier__cell--qty {
    max-width: 5.5rem;
}

.supplier__del {
    border: 0;
    background: #fee2e2;
    color: #991b1b;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
}

.supplier__del:hover {
    background: #fecaca;
}

.supplier__add--row {
    grid-template-columns: 1.4fr 1.4fr auto;
}

.supplier-matrix__cell {
    padding: 0.15rem !important;
    min-width: 3.2rem;
    text-align: center;
}

.supplier-matrix__cell--qty {
    background: #e0f2fe;
}

.supplier-matrix__input {
    width: 100%;
    min-width: 2.6rem;
    max-width: 4.2rem;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.35rem 0.2rem;
    background: #fff;
}

.supplier-matrix__input:focus {
    outline: none;
    border-color: #00aeef;
    box-shadow: 0 0 0 2px rgba(0, 174, 239, 0.2);
}

.supplier-matrix .supplier__cell--code {
    font-weight: 800;
}
