/* Home dashboard: keep gold as an accent rather than the dominant tile colour. */
.quick-launch-tile {
    border-color: var(--line);
    background: var(--surface);
}

.quick-launch-title {
    color: var(--text);
    font-weight: 700;
}

.quick-launch-tile:active {
    border-color: var(--gold);
    background: var(--gold-soft);
}

/* Give operational controls clear separation on compact mobile layouts. */
.production-inline-scan {
    margin-bottom: 22px;
}

.production-qc-actions {
    margin: 16px 0 18px;
    gap: 10px;
}

.production-qc-actions .button-full {
    margin-top: 0;
}

.joinery-workflow-actions {
    display: grid;
    gap: 12px;
    margin: 20px 0 24px;
}

.joinery-workflow-actions .button-full {
    margin-top: 0;
}

.production-checklist-overview {
    margin-top: 4px;
}

.production-joinery-entry {
    gap: 12px;
    margin-bottom: 4px;
}

.production-progress-control {
    margin-top: 0;
}

/* When Carcass Built is ready to be marked, the Mark action is the useful state.
   Hide the duplicate Assembly / Ready to Build block that competed with it. */
.production-checklist-card:has(.production-checklist-state.ready) .production-stage-block {
    display: none;
}

/* A little more breathing room between the checklist header actions and first card. */
.production-checklist-list {
    margin-top: 14px;
}

@media (max-width: 520px) {
    .quick-launch-grid {
        gap: 14px;
    }

    .quick-launch-tile {
        min-height: 122px;
    }
}
