/* Read-only history uses the established portal palette and native disclosure controls. */
.employee-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.history-message { margin: 1rem 0; padding: 1.1rem 1.25rem; border: 1px solid #dce5e3; border-radius: 12px; background: #fff; }
.history-message summary { cursor: pointer; padding: .35rem 0; overflow-wrap: anywhere; }
.history-message summary span { display: block; margin-top: .4rem; color: #52625f; font-size: .9rem; }
.history-message[open] summary { border-bottom: 1px solid #e4ebe9; padding-bottom: 1rem; }
.history-message-body { padding: 1rem 0; line-height: 1.65; overflow-wrap: anywhere; }
.history-message dd { margin: .25rem 0 1rem; overflow-wrap: anywhere; }
.history-message dt { font-weight: 650; }
.history-message summary:focus-visible { outline: 3px solid #197d75; outline-offset: 4px; }
@media (max-width: 640px) { .employee-service-grid { grid-template-columns: 1fr; } .history-message { padding: .85rem; } }

/* Match history service cards to the established workspace surfaces. */
.workspace-shell .workspace-card { background: #fff; border: 1px solid #dce5e3; border-radius: 12px; padding: 1.25rem; }
.workspace-shell > section + section { margin-top: 2rem; }
.workspace-shell progress { display: block; width: min(100%, 15rem); accent-color: #197d75; }

.primary-nav.hosted-nav > div { flex-wrap: wrap; gap: 0 24px; align-items: center; }
.primary-nav.hosted-nav .status-pill { margin-left: auto; }
@media (max-width: 800px) { .primary-nav.hosted-nav > div { gap: 0 16px; } .primary-nav.hosted-nav .status-pill { margin: .5rem 0; } }
