.system-information-shell {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.system-information-card,
.system-information-history-card,
.system-information-entry {
    border: 1px solid rgba(21, 32, 51, 0.1);
    border-radius: var(--erp-control-radius);
    background: var(--theme-surface-strong);
    box-shadow: none;
}

.system-information-card,
.system-information-history-card {
    padding: 18px;
}

.system-information-card-head,
.system-information-section-head,
.system-information-entry summary,
.system-information-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.system-information-card-head {
    margin-bottom: 16px;
}

.system-information-kicker,
.system-information-section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #176b75;
    font-size: var(--app-font-size-11);
    font-weight: var(--app-font-weight-extrabold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.system-information-title,
.system-information-section-title {
    margin: 0;
    color: #152033;
    font-family: var(--app-font-display);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.system-information-title {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.system-information-section-title {
    font-size: var(--app-font-size-18);
}

.system-information-copy,
.system-information-section-copy,
.system-information-legend-note,
.system-information-summary-item small {
    color: #64748b;
    font-size: var(--app-font-size-12);
    line-height: 1.6;
}

.system-information-legend {
    display: grid;
    justify-items: end;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--erp-control-radius);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(21, 32, 51, 0.08);
    white-space: nowrap;
}

.system-information-legend-chip,
.system-information-action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: var(--app-font-size-11);
    font-weight: var(--app-font-weight-extrabold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.system-information-legend-chip {
    background: rgba(23, 107, 117, 0.1);
    color: #176b75;
}

.system-information-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.system-information-summary-item {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: var(--erp-control-radius);
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.system-information-summary-item span,
.system-information-block-head span,
.system-information-child-group-head span,
.system-information-entry-meta span {
    color: #64748b;
    font-size: var(--app-font-size-10);
    font-weight: var(--app-font-weight-extrabold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.system-information-summary-item strong {
    color: #152033;
    font-size: var(--app-font-size-14);
    font-weight: var(--app-font-weight-bold);
}

.system-information-history-card {
    display: grid;
    gap: 14px;
}

.system-information-history-list {
    display: grid;
    gap: 12px;
}

.system-information-entry {
    overflow: hidden;
}

.system-information-entry summary {
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.system-information-entry summary::-webkit-details-marker {
    display: none;
}

.system-information-entry[open] summary {
    border-bottom: 1px solid rgba(21, 32, 51, 0.08);
    background: rgba(248, 251, 255, 0.82);
}

.system-information-entry-summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.system-information-entry-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.system-information-entry-copy strong,
.system-information-child-row-head strong {
    color: #152033;
    font-size: var(--app-font-size-14);
    font-weight: var(--app-font-weight-extrabold);
}

.system-information-entry-copy span,
.system-information-child-row-head span {
    color: #64748b;
    font-size: var(--app-font-size-12);
    line-height: 1.4;
}

.system-information-entry-meta {
    flex: 0 0 auto;
    align-self: center;
    padding-top: 1px;
}

.system-information-action-create {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.system-information-action-approved {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.system-information-action-change {
    background: rgba(59, 130, 246, 0.14);
    color: #1d4ed8;
}

.system-information-action-rejected {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
}

.system-information-action-delete {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
}

.system-information-entry-body {
    display: grid;
    gap: 14px;
    padding: 16px 18px 18px;
}

.system-information-change-block,
.system-information-child-group,
.system-information-child-subgroup {
    display: grid;
    gap: 10px;
}

.system-information-block-head,
.system-information-child-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.system-information-block-head strong,
.system-information-child-group-head strong,
.system-information-child-subgroup h5 {
    color: #152033;
    font-size: var(--app-font-size-13);
    font-weight: var(--app-font-weight-extrabold);
}

.system-information-child-subgroup h5 {
    margin: 0;
}

.system-information-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(21, 32, 51, 0.08);
    border-radius: var(--erp-control-radius);
    background: rgba(255, 255, 255, 0.78);
}

.system-information-change-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.system-information-change-table.compact {
    min-width: 520px;
}

.system-information-change-table th,
.system-information-change-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(21, 32, 51, 0.08);
    font-size: var(--app-font-size-12);
    line-height: 1.55;
}

.system-information-change-table thead th {
    background: rgba(248, 250, 252, 0.96);
    color: #334155;
    font-size: var(--app-font-size-10);
    font-weight: var(--app-font-weight-extrabold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.system-information-change-table tbody tr:last-child td {
    border-bottom: 0;
}

.system-information-change-table td:first-child {
    color: #152033;
    font-weight: var(--app-font-weight-bold);
}

.system-information-change-table td:nth-child(2),
.system-information-change-table td:nth-child(3) {
    color: #475569;
}

.system-information-empty-state {
    padding: 18px;
    border-radius: var(--erp-control-radius);
    border: 1px dashed rgba(21, 32, 51, 0.14);
    background: rgba(255, 255, 255, 0.68);
}

.system-information-empty-state strong {
    display: block;
    color: #152033;
    font-size: var(--app-font-size-14);
    font-weight: var(--app-font-weight-extrabold);
}

.system-information-empty-state p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: var(--app-font-size-12);
    line-height: 1.6;
}

.system-information-local-datetime {
    font: inherit;
    color: inherit;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .system-information-summary-grid {
        grid-template-columns: 1fr;
    }

    .system-information-card-head,
    .system-information-section-head,
    .system-information-entry summary,
    .system-information-entry-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .system-information-legend {
        justify-items: start;
    }
}
