.prod-page {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 16px;
}

.prod-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.prod-header h1,
.prod-header .prod-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.prod-process {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 14px;
}

.prod-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #1f2328;
    font-size: 12px;
    font-weight: 600;
}

.prod-status.is-current {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f0f6ff;
}

.prod-status.is-done {
    border-color: #198754;
    color: #146c43;
    background: #f0faf4;
}

.prod-status.is-side {
    border-color: #cc9a06;
    color: #7a5b00;
    background: #fff8e1;
}

.prod-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 12px;
}

.prod-grid {
    width: 100%;
    border-collapse: collapse;
}

.prod-grid th,
.prod-grid td {
    padding: 6px 8px;
    border-bottom: 1px solid #eef0f2;
    font-size: 13px;
    vertical-align: middle;
}

.prod-grid th {
    background: #f8f9fa;
    font-weight: 600;
    white-space: nowrap;
}

.prod-grid .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.prod-readiness,
.prod-material,
.prod-qc,
.prod-remake,
.prod-progress {
    overflow: auto;
}

.prod-warning {
    border: 1px solid #f1c40f;
    background: #fffbeb;
    color: #7a5b00;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.prod-page input:focus,
.prod-page select:focus,
.prod-page button:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
}

@media (max-width: 768px) {
    .prod-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Shared native Daily Planning card styling retained from the former grid stylesheet. */
.daily-planning-page .daily-planning-card {
    padding: 0;
}
