/* Relecture RH et saisie des journées : cartes, calendrier, pièces jointes et dialogues de confirmation. */
/* Navigation des journées et colonnes heures/frais. */
#staff-workspace.reviewing-detail > .staff-welcome {
  display: none;
}
#page-detail > .page-head {
  margin: 4px 0 14px;
  align-items: center;
}
#page-detail > .page-head h1 {
  font-size: 27px;
  margin: 5px 0 7px;
  line-height: 1.2;
}
#page-detail > .page-head .eyebrow {
  margin: 0;
}
#page-detail > .back-link {
  padding-bottom: 12px;
}
.daily-workspace {
  margin: 24px 0;
  font-size: 14px;
}
.daily-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 0 18px;
}
.daily-navigation h2 {
  margin: 5px 0 6px;
  font-size: 23px;
  letter-spacing: -0.6px;
}
.daily-navigation p:not(.eyebrow) {
  margin: 0;
  color: #80778d;
  font-size: 13px;
  line-height: 1.5;
}
.daily-week-control {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.daily-week-control button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  color: var(--violet);
  font-size: 24px;
}
.daily-week-control button:disabled {
  opacity: 0.35;
}
.daily-day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}
.daily-day {
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
.daily-day:hover {
  border-color: #b8a4e2;
}
.daily-day > span {
  font-size: 12px;
  text-transform: capitalize;
  color: #797184;
}
.daily-day > strong {
  font-size: 23px;
  font-weight: 750;
}
.daily-day > small {
  font-size: 10px;
  color: #80778d;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.daily-day.is-selected {
  background: #eee7fc;
  border-color: #9d82d5;
  box-shadow: 0 0 0 1px #9d82d5;
}
.daily-day.is-selected > span,
.daily-day.is-selected > small {
  color: #634b93;
}
.daily-day-content {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.daily-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.daily-day-heading h3 {
  font-size: 25px;
  letter-spacing: -0.5px;
  text-transform: capitalize;
  margin: 4px 0 6px;
}
.daily-day-heading p:not(.eyebrow) {
  color: #80778d;
  margin: 0;
  font-size: 12px;
}
.daily-status-label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  color: #746b80;
  min-width: 205px;
}
.daily-status-label select {
  border: 1px solid var(--line);
  background: #faf8fe;
  color: #4e3b78;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13px;
}
.daily-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 0 22px;
  margin: 20px 0 24px;
  border-top: 1px solid #eeebf3;
  border-bottom: 1px solid #eeebf3;
}
.daily-totals > div {
  display: grid;
  gap: 7px;
  border-right: 1px solid #eeebf3;
  padding-right: 12px;
}
.daily-totals > div:last-child {
  border: 0;
}
.daily-totals span {
  font-size: 12px;
  color: #80778d;
}
.daily-totals strong {
  font-size: 22px;
  letter-spacing: -0.4px;
}
.daily-totals small {
  font-size: 11px;
  line-height: 1.5;
  color: #80778d;
}
.excel-panel > p {
  color: #80778d;
  line-height: 1.6;
}
.excel-panel .notice {
  margin: 16px 0;
}
.excel-panel input[type="file"] {
  max-width: 100%;
  margin: 10px 0 16px;
}
.excel-panel #excel-message {
  overflow-wrap: anywhere;
}
.archive-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  align-items: end;
  gap: 16px;
}
.archive-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.archive-row h3 {
  margin: 0 0 8px;
}
.archive-row p {
  margin: 0 0 8px;
}
.archive-row small {
  color: #80778d;
}
.archive-filters label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #645b73;
}
.archive-filters select {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dfd8e9;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.archive-filters select:focus-visible {
  outline: 2px solid #8766bd;
  outline-offset: 2px;
}
#archive-count {
  color: var(--muted);
  font-size: 12px;
}
#page-archives .button:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
  box-shadow: none;
}
@media (max-width: 760px) {
  .archive-filters {
    grid-template-columns: 1fr 1fr;
  }
  .archive-row {
    align-items: stretch;
    flex-direction: column;
  }
  .archive-row .action-row {
    flex-wrap: wrap;
  }
}
.daily-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.daily-column {
  min-width: 0;
}
.daily-column + .daily-column {
  border-left: 1px solid #eeebf3;
  padding-left: 28px;
}
.daily-column-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.daily-column-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.daily-column-heading h3 {
  font-size: 16px;
  margin: 0;
  letter-spacing: -0.2px;
}
.daily-column-heading h3 small {
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: #eee9f7;
  min-width: 21px;
  height: 21px;
  color: #7c6c9b;
  font-size: 11px;
  margin-left: 4px;
}
.daily-column-icon {
  display: grid;
  place-items: center;
  background: #f0eafb;
  color: #7256a5;
  border-radius: 9px;
  width: 30px;
  height: 30px;
  font-size: 19px;
}
.daily-column-icon.expenses-icon {
  color: #3c8068;
  background: #edf7f2;
}
.daily-column-heading .button {
  font-size: 11px;
  padding: 10px 12px;
}
.daily-entries {
  display: grid;
  gap: 13px;
}
.daily-entry {
  border: 1px solid #e9e4f0;
  border-radius: 13px;
  padding: 17px;
  min-width: 0;
  background: #fff;
}
.daily-entry-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.daily-entry-top > strong {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.daily-entry-top > strong span {
  color: #a097af;
  padding: 0 2px;
  font-weight: 400;
}
.entry-type {
  color: #6d588d;
  background: #f1edf8;
  font-size: 10px;
  padding: 5px 7px;
  border-radius: 6px;
  font-weight: 700;
}
.entry-type.travel-type {
  color: #4f6b9d;
  background: #edf2fa;
}
.entry-type.expense-type {
  color: #438069;
  background: #edf7f2;
}
.daily-duration {
  margin-left: auto;
  font-size: 12px;
  color: #8a8197;
}
.daily-entry h4 {
  font-size: 15px;
  margin: 12px 0 5px;
}
.daily-entry-top h4 {
  margin: 0;
  flex: 1;
}
.daily-place {
  color: #756c81;
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 14px;
  overflow-wrap: anywhere;
}
.daily-entry-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.daily-review-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #726782;
  font-size: 12px;
  font-weight: 500;
}
.daily-review-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
}
.daily-delete {
  border: 0;
  background: transparent;
  color: #9c737d;
  font-size: 11px;
  padding: 7px 0 7px 9px;
}
.daily-delete:hover {
  color: #a23850;
  text-decoration: underline;
}
.daily-editor {
  border-top: 1px solid #eeeaf3;
  margin-top: 12px;
  padding-top: 12px;
}
.daily-editor > summary {
  color: var(--violet);
  font-size: 12px;
  cursor: pointer;
  font-weight: 650;
}
.daily-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.daily-fields label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: #756c81;
}
.daily-fields input:not([type="checkbox"]),
.daily-fields select {
  min-width: 0;
  width: 100%;
  border: 1px solid #dfd8e9;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  color: var(--ink);
  background: #fff;
}
.daily-fields .daily-review-check {
  display: flex;
  font-size: 12px;
}
.daily-field-wide {
  grid-column: 1/-1;
}
.daily-warning {
  margin: 12px 0;
  padding: 10px 12px;
  background: #fff7e8;
  border: 1px solid #f0ddba;
  color: #946b2f;
  font-size: 12px;
  border-radius: 9px;
  line-height: 1.65;
}
.daily-receipt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #e6e0f0;
  border-radius: 10px;
  padding: 11px 12px;
  background: #faf8fe;
  text-align: left;
  color: #7356a6;
  font-size: 12px;
}
.daily-receipt > span:first-child {
  font-size: 20px;
}
.daily-receipt > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  font-weight: 650;
}
.daily-receipt small {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 3px;
  font-size: 10px;
  color: #9384a8;
  font-weight: 400;
}
.daily-missing {
  color: #9a8594;
  font-size: 11px;
  margin: 12px 0;
}
.expense-delete {
  display: block;
  margin-left: auto;
  margin-top: 8px;
}
.daily-empty {
  border: 1px dashed #e3ddec;
  border-radius: 13px;
  background: #fcfbfe;
  padding: 32px 18px;
  text-align: center;
  color: #7c7289;
  font-size: 12px;
  line-height: 1.6;
}
.daily-empty strong {
  color: #5e526c;
  font-size: 13px;
}
.daily-empty p {
  margin-bottom: 0;
}
.daily-meal {
  margin-top: 17px;
  padding: 15px;
  background: #f7f5fb;
  border-radius: 12px;
}
.daily-meal label {
  display: grid;
  gap: 9px;
  font-size: 12px;
  color: #6c5d7e;
}
.daily-meal select {
  font-size: 12px;
  padding: 10px;
  border: 1px solid #ded6e9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.daily-meal p {
  font-size: 11px;
  color: #8c809a;
  line-height: 1.5;
  margin: 9px 0 0;
}
#page-detail .correction-box {
  font-size: 13px;
}
#page-detail .correction-box > label {
  font-size: 12px;
}
#page-detail .correction-box textarea {
  font-size: 13px;
  padding: 12px;
}
#page-detail .action-row .button {
  font-size: 12px;
}
.submission-delete-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.submission-delete-area > div {
  min-width: 0;
}
.submission-delete-area strong {
  font-size: 13px;
}
.submission-delete-area p {
  margin: 6px 0 0;
  color: #80778d;
  font-size: 12px;
  line-height: 1.6;
}
.submission-delete-area .button-danger,
.submission-delete-dialog .button-danger {
  background: #fff3f3;
  color: #a43448;
  border: 1px solid #edc7ce;
  box-shadow: none;
  white-space: normal;
  text-align: center;
  font-size: 12px;
}
.submission-delete-area .button-danger:hover,
.submission-delete-dialog .button-danger:hover {
  background: #ffe8eb;
}
.submission-delete-area button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.submission-delete-dialog {
  width: min(480px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 20px 80px #30233b33;
}
.submission-delete-dialog::backdrop {
  background: #30233b66;
}
.submission-delete-dialog h2 {
  font-size: 22px;
  margin: 0 0 18px;
}
.submission-delete-dialog p {
  font-size: 13px;
  line-height: 1.7;
}
.submission-delete-dialog .action-row {
  justify-content: flex-end;
  margin-top: 20px;
}
.submission-delete-dialog .submission-delete-error {
  color: #a43448;
}
.submission-delete-dialog button:disabled {
  opacity: 0.55;
  cursor: wait;
}
@media (max-width: 760px) {
  .submission-delete-area {
    align-items: stretch;
    flex-direction: column;
  }
  .submission-delete-dialog .action-row {
    align-items: stretch;
    flex-direction: column;
  }
}
.daily-workspace button:focus-visible,
.daily-workspace summary:focus-visible,
.daily-workspace input:focus-visible,
.daily-workspace select:focus-visible {
  outline: 2px solid #8766bd;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .daily-columns {
    gap: 18px;
  }
  .daily-column + .daily-column {
    padding-left: 18px;
  }
  .daily-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .daily-field-wide {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .daily-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .daily-week-control {
    justify-content: space-between;
  }
  .daily-day-strip {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 10px;
  }
  .daily-day {
    min-width: 100px;
    flex: 1;
  }
  .daily-day-content {
    padding: 17px;
  }
  .daily-day-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .daily-day-heading h3 {
    font-size: 22px;
  }
  .daily-totals {
    gap: 10px;
  }
  .daily-totals strong {
    font-size: 17px;
  }
  .daily-totals span {
    font-size: 10px;
    line-height: 1.5;
  }
  .daily-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .daily-column + .daily-column {
    border-left: 0;
    border-top: 1px solid #eeebf3;
    padding: 23px 0 0;
  }
}

.daily-breakfast-budget {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f5f1fc;
  color: #665783;
  font-size: 12px;
  line-height: 1.5;
}

/* Relevé compact : contenu, fichiers et décisions suivent la même hiérarchie visuelle. */
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.review-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 22px;
}
#page-detail {
  scroll-margin-top: 95px;
}
.review-topbar .back-link {
  padding: 8px 0 !important;
  font-size: 12px;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.review-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.review-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--violet-soft);
  color: var(--violet);
  font-weight: 750;
  font-size: 23px;
}
.review-header h1 {
  font-size: 27px;
  margin: 4px 0 6px;
  overflow-wrap: anywhere;
}
.review-header .eyebrow {
  font-size: 10px;
  margin: 0;
}
.review-header .muted {
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
.review-files {
  max-width: 440px;
  min-width: 0;
}
.review-downloads {
  display: flex;
  justify-content: end;
  gap: 8px;
  flex-wrap: wrap;
}
.review-files #excel-message:empty {
  display: none;
}
.review-files #excel-message {
  font-size: 11px;
  margin: 8px 0 0;
  line-height: 1.5;
}
.review-matrix {
  margin-top: 12px;
  color: var(--amber);
  font-size: 12px;
}
.review-matrix summary {
  cursor: pointer;
  text-align: right;
}
.review-matrix[open] {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.review-matrix p {
  font-size: 12px;
  margin: 12px 0;
}
.review-matrix label {
  display: grid;
  font-size: 11px;
  color: var(--muted);
}
.review-feedback {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--violet-soft);
  font-size: 13px;
}
.review-feedback summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--violet);
}
.review-feedback p {
  margin: 12px 0 0;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.daily-workspace {
  margin: 24px 0;
}
.daily-navigation {
  margin-bottom: 12px;
  gap: 12px;
}
.daily-navigation h2 {
  font-size: 17px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.daily-navigation h2 span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.daily-week-control {
  gap: 12px;
  font-size: 12px;
}
.daily-week-control button {
  width: 32px;
  height: 32px;
}
.daily-day-strip {
  gap: 7px;
  margin-bottom: 16px;
}
.daily-day {
  padding: 11px 13px;
  gap: 4px;
  border-radius: 12px;
}
.daily-day > strong {
  font-size: 21px;
}
.daily-day > small {
  font-size: 10px;
}
.daily-day-content {
  padding: 20px;
  border-radius: 17px;
  box-shadow: none;
}
.daily-day-heading {
  gap: 16px;
}
.daily-heading-date {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.daily-day-heading h3 {
  font-size: 20px;
  margin: 0 0 4px;
  line-height: 1.3;
}
.daily-day-heading p:not(.eyebrow) {
  font-size: 11px;
}
.daily-heading-date .daily-step {
  padding: 0;
  min-width: 30px;
  width: 30px;
  height: 34px;
  font-size: 23px;
}
.daily-step:disabled {
  opacity: 0.35;
  cursor: default;
}
.daily-status-label {
  min-width: 180px;
  font-size: 11px;
}
.daily-status-label select {
  padding: 10px 12px;
  font-size: 12px;
}
.review-mode {
  font-size: 11px;
  color: var(--muted);
  padding: 8px 11px;
  background: var(--surface-soft, #f3f0f8);
  border-radius: 20px;
  white-space: nowrap;
}
.daily-totals {
  gap: 10px;
  padding: 14px 0;
  margin: 16px 0 20px;
}
.daily-totals > div {
  gap: 5px;
}
.daily-totals strong {
  font-size: 21px;
}
.daily-totals span {
  font-size: 11px;
}
.daily-totals small {
  font-size: 10px;
}
.daily-columns {
  gap: 20px;
}
.daily-column + .daily-column {
  padding-left: 20px;
}
.daily-column-heading {
  margin-bottom: 12px;
}
.daily-column-heading h3 {
  font-size: 15px;
}
.daily-column-heading .button {
  padding: 8px 11px;
  font-size: 11px;
}
.daily-entry {
  padding: 14px;
  border-color: var(--line);
  background: var(--surface);
  border-radius: 12px;
}
.daily-entry h4 {
  font-size: 14px;
  margin: 9px 0 4px;
}
.daily-entry-top h4 {
  margin: 0;
}
.daily-entry-top > strong {
  font-size: 15px;
}
.daily-place {
  font-size: 12px;
  margin: 3px 0 10px;
}
.daily-entry-bottom {
  padding-top: 3px;
}
.daily-review-check {
  font-size: 11px;
}
.daily-editor {
  padding-top: 9px;
  margin-top: 9px;
}
.daily-editor > summary {
  font-size: 11px;
}
.daily-note {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin: 10px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.daily-empty {
  padding: 21px 14px;
  font-size: 12px;
  background: transparent;
}
.daily-meal {
  padding: 12px;
  margin-top: 12px;
  background: var(--surface-soft, #f7f5fb);
}
.daily-meal label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  flex-wrap: wrap;
}
.daily-meal select {
  padding: 8px;
  max-width: 100%;
  font-size: 11px;
}
.daily-meal details {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.daily-meal summary {
  cursor: pointer;
}
.daily-breakfast-budget {
  padding: 10px 12px;
  font-size: 11px;
}
.daily-breakfast-budget summary {
  cursor: pointer;
  line-height: 1.6;
}
.daily-breakfast-budget strong {
  float: right;
  font-variant-numeric: tabular-nums;
}
.daily-breakfast-budget p {
  margin: 8px 0 0;
  line-height: 1.6;
}
.daily-day-off {
  padding: 30px 16px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 9px;
}
.daily-day-off > span {
  font-size: 25px;
  color: var(--violet);
  background: var(--violet-soft);
  border-radius: 16px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 5px 0;
}
.daily-day-off strong {
  font-size: 16px;
}
.daily-day-off small {
  color: var(--muted);
  font-size: 12px;
}
.review-note-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--surface);
  margin: 16px 0;
}
.review-note-panel > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
}
.review-note-panel > summary span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 10px;
}
.review-note-panel > label {
  display: grid;
  gap: 8px;
  margin-top: 15px;
  font-size: 11px;
  color: var(--muted);
}
.review-corrections {
  display: contents;
}
.review-decision-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  bottom: 12px;
  z-index: 2;
}
.review-decision-bar > span {
  font-size: 11px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.review-decision-bar > span strong {
  font-size: 12px;
  color: var(--ink);
}
.review-corrections .submission-delete-area {
  padding-top: 14px;
  margin: 18px 0;
  font-size: 11px;
}
.review-corrections .submission-delete-area strong {
  font-size: 12px;
}
.review-corrections .submission-delete-area p {
  font-size: 11px;
}
.review-maintenance {
  margin: 18px 0;
  font-size: 12px;
  color: var(--muted);
}
.review-maintenance > summary {
  cursor: pointer;
  width: fit-content;
}
@media (max-width: 760px) {
  #page-detail {
    scroll-margin-top: 145px;
  }
  .review-decision-bar {
    position: static;
  }
}
.daily-history {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 12px;
  box-shadow: none;
}
.daily-history summary {
  cursor: pointer;
  color: var(--muted);
}
@media (max-width: 900px) {
  .review-header {
    align-items: flex-start;
  }
  .review-downloads {
    flex-direction: column;
    align-items: stretch;
  }
  .review-files {
    max-width: 290px;
  }
  .review-decision-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .review-decision-bar .action-row {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .review-header {
    flex-direction: column;
    gap: 18px;
  }
  .review-files {
    width: 100%;
    max-width: none;
  }
  .review-downloads {
    flex-direction: row;
    justify-content: start;
  }
  .review-matrix summary {
    text-align: left;
  }
  .review-header h1 {
    font-size: 24px;
  }
  .review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }
  .daily-navigation {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .daily-navigation h2 span {
    display: none;
  }
  .daily-day {
    min-width: 80px;
    padding: 10px;
  }
  .daily-day-strip {
    margin-bottom: 12px;
  }
  .daily-day-content {
    padding: 16px;
  }
  .daily-day-heading {
    align-items: stretch;
    gap: 12px;
  }
  .daily-day-heading h3 {
    font-size: 18px;
  }
  .daily-heading-date {
    justify-content: space-between;
    gap: 8px;
  }
  .daily-status-label {
    min-width: 0;
  }
  .review-mode {
    align-self: start;
  }
  .daily-totals strong {
    font-size: 18px;
  }
  .daily-totals span {
    font-size: 10px;
  }
  .daily-columns {
    gap: 20px;
  }
  .daily-column + .daily-column {
    padding: 20px 0 0;
  }
  .review-decision-bar .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .review-decision-bar .button {
    white-space: normal;
  }
  .review-note-panel > summary span {
    display: block;
    margin: 5px 0 0;
  }
  .daily-breakfast-budget strong {
    float: none;
    display: block;
  }
  .review-topbar {
    margin-bottom: 16px;
  }
}
