#top[hidden], .assessment-history-page[hidden], .assessment-restore-notice[hidden] { display: none; }
.top-nav { gap: 18px; white-space: nowrap; }
.top-nav a[aria-current="page"] { color: #75e2df; border-bottom: 2px solid #75e2df; padding-block: 9px; }
.assessment-history-page { max-width: 1500px; min-height: calc(100vh - 150px); margin: auto; padding: 42px 34px; }
.assessment-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.assessment-history-heading h1 { color: var(--navy); font-size: 30px; margin: 4px 0 10px; }
.assessment-history-heading p:last-child { font-size: 13px; color: var(--muted); line-height: 1.7; }
.assessment-history-panel { padding: 24px; }
.assessment-history-tools { display: flex; align-items: flex-end; gap: 18px; }
.assessment-history-tools label { color: #496474; font-size: 12px; width: min(360px, 100%); }
.assessment-history-tools span { margin-right: auto; font-size: 12px; color: #6d7e8a; padding-bottom: 10px; }
.assessment-history-tools input { height: 40px; }
.assessment-history-panel button, .history-back-button { padding: 10px 14px; border: 1px solid #b6d5d7; border-radius: 8px; background: white; color: #16535d; font-size: 12px; cursor: pointer; white-space: nowrap; }
.assessment-history-panel button[data-load-assessment] { background: #168a91; border-color: #168a91; color: white; }
.assessment-history-panel button:disabled { opacity: .5; cursor: wait; }
.assessment-history-status { font-size: 12px; color: #6e8590; line-height: 1.7; margin: 18px 0; }
.assessment-history-empty { padding: 64px 24px; text-align: center; font-size: 14px; color: #80949e; background: #f7fafb; border: 1px dashed #cbdde5; border-radius: 10px; }
.assessment-history-table-wrap { overflow-x: auto; }
.assessment-history-table-wrap table { width: 100%; min-width: 900px; }
.assessment-history-table-wrap th, .assessment-history-table-wrap td { text-align: left; padding: 18px 12px; }
.assessment-history-table-wrap td { font-size: 12px; }
.assessment-history-table-wrap small { display: block; font-size: 10px; color: #8395a0; margin-top: 5px; }
.assessment-history-table-wrap strong { font-size: 14px; color: var(--navy); }
.assessment-history-table-wrap tr:hover td { background: #f4fafa; }
.assessment-restore-notice { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #bce1d7; border-radius: 9px; background: #edf9f3; color: #246c5e; font-size: 12px; line-height: 1.7; }
@media (max-width: 1250px) {
  .header-inner { gap: 16px; }
  .top-nav { gap: 13px; font-size: 12px; }
  .model-chip { display: none; }
}
@media (max-width: 1000px) {
  .header-inner { height: auto; min-height: 72px; flex-wrap: wrap; gap: 12px; padding: 16px 22px 10px; }
  .top-nav { display: flex; order: 4; width: 100%; overflow-x: auto; padding-bottom: 5px; gap: 20px; }
  .top-nav a { flex-shrink: 0; }
  .assessment-history-page { padding: 26px 18px; }
  .assessment-history-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .assessment-history-panel { padding: 16px; }
  .assessment-history-tools { flex-wrap: wrap; gap: 10px; }
  .assessment-history-tools label { width: 100%; }
}
@media print { .assessment-restore-notice { display: none; } }

#reviewPage > .assessment-history-heading { margin-bottom: 16px; }
#reviewPage .formula-review { padding-top: 0; }
#reviewPage .formula-flow { margin-top: 0; }
