body {
    background: #f4f6f8;
    color: #1f2933;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #eef2f6;
}

.login-shell {
    width: min(420px, calc(100vw - 32px));
}

.login-panel {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.login-panel h1,
.page-header h1 {
    font-size: 1.65rem;
    margin: 0;
}

.page-header {
    margin-bottom: 18px;
}

.page-header p {
    margin: 4px 0 0;
    color: #627386;
}

.metric {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 16px;
    min-height: 96px;
}

.metric span {
    display: block;
    color: #627386;
    font-size: .84rem;
    margin-bottom: 8px;
}

.metric strong {
    display: block;
    font-size: 1.15rem;
    overflow-wrap: anywhere;
}

.toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.table-surface {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    overflow-x: auto;
}

.table-surface .table {
    margin-bottom: 0;
    min-width: 1100px;
}

.table-surface th {
    white-space: nowrap;
    color: #52616f;
    font-size: .82rem;
    font-weight: 600;
}

.table-surface td {
    font-size: .88rem;
}
.action-panel {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 18px;
    max-width: 560px;
}

.action-panel dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 6px 14px;
    margin-bottom: 16px;
}

.action-panel dt {
    color: #627386;
    font-weight: 600;
}

.action-panel dd {
    margin-bottom: 0;
}

.action-panel h2 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.packaging-panel {
    max-width: none;
    height: 100%;
}

.packaging-scan {
    min-height: 100%;
}

.summary-table {
    margin-bottom: 12px;
    max-width: none;
}

.summary-table th {
    color: #52616f;
    font-size: .82rem;
    font-weight: 600;
}

.summary-table td {
    font-size: .9rem;
}
.summary-table .table {
    min-width: 0;
    width: 100%;
}
