.closeout-dashboard {
  display: grid;
  gap: 12px;
}

.closeout-register-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #ffffff;
}

.closeout-register-panel > .section-title button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: #214ee5;
  color: #ffffff;
  font-weight: 950;
  padding: 0 12px;
}

.closeout-register-panel > .section-title button:disabled {
  background: #cfdae6;
  color: #607083;
}

.closeout-register-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.closeout-register-filters label {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #f7fbff;
}

.closeout-register-filters label span,
.closeout-register-list span,
.closeout-register-list small {
  color: #607083;
  font-size: 12px;
  font-weight: 850;
}

.closeout-register-filters select {
  min-height: 38px;
  width: 100%;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 10px;
  color: #17212f;
  font-weight: 850;
}

.closeout-register-list {
  display: grid;
  gap: 8px;
}

.closeout-register-list article {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #cfdae6;
  border-left: 5px solid #214ee5;
  border-radius: 8px;
  background: #f7fbff;
}

.closeout-register-list article.missing,
.closeout-register-list article.revision {
  border-left-color: #b42318;
  background: #fff1f2;
}

.closeout-register-list article.submitted {
  border-left-color: #b86b00;
  background: #fff8ed;
}

.closeout-register-list article.approved,
.closeout-register-list article.sent {
  border-left-color: #167a5b;
  background: #eaf7f1;
}

.closeout-register-list span,
.closeout-register-list strong,
.closeout-register-list small {
  display: block;
}

.closeout-register-list strong {
  margin-top: 3px;
  color: #17212f;
}

.closeout-register-list button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: #214ee5;
  color: #ffffff;
  font-weight: 950;
  padding: 0 12px;
}

.closeout-dashboard > .section-title {
  padding: 12px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #ffffff;
}

.closeout-dashboard > .section-title button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #214ee5;
  color: #ffffff;
  font-weight: 900;
  padding: 0 12px;
}

.closeout-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.closeout-dashboard-stats article {
  min-height: 78px;
  display: grid;
  gap: 5px;
  align-content: center;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.closeout-dashboard-stats span {
  color: #607083;
  font-size: 12px;
  font-weight: 850;
}

.closeout-dashboard-stats strong {
  color: #17212f;
  font-size: 28px;
}

.closeout-dashboard-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.closeout-group {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #ffffff;
}

.closeout-group.warn {
  border-color: #f4c978;
}

.closeout-group.blocked {
  border-color: #f4b7bd;
}

.closeout-group.good {
  border-color: #addfca;
}

.closeout-group-list {
  display: grid;
  gap: 8px;
}

.closeout-dashboard-item {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #d3dee9;
  border-radius: 8px;
  background: #f7fbff;
  color: #17212f;
  padding: 10px;
  text-align: left;
}

.closeout-dashboard-item:hover {
  border-color: #214ee5;
}

.closeout-dashboard-item span,
.closeout-dashboard-item small {
  display: block;
  color: #607083;
  font-size: 12px;
}

.closeout-dashboard-item strong {
  display: block;
  margin-top: 3px;
}

.closeout-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 6px;
}

.closeout-badges b {
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
  padding: 5px 8px;
}

.closeout-badges .ready {
  background: #1f7a58;
}

.closeout-badges .blocked {
  background: #9a5b00;
}

.closeout-badges .neutral {
  background: #607083;
}

.project-closeout {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  background: #f3f7fb;
  padding: 12px;
}

.closeout-readiness {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  padding: 10px 12px;
}

.closeout-readiness strong,
.closeout-readiness span {
  display: block;
}

.closeout-readiness strong {
  color: #17212f;
}

.closeout-readiness span {
  color: #607083;
  font-size: 12px;
  font-weight: 850;
}

.closeout-readiness.ready {
  border: 1px solid #addfca;
  background: #eaf7f1;
}

.closeout-readiness.blocked {
  border: 1px solid #f4c978;
  background: #fff7e8;
}

.closeout-workflow {
  display: grid;
  gap: 10px;
}

.closeout-workflow > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.closeout-workflow article {
  min-height: 92px;
  padding: 10px;
  border: 1px solid #f4c978;
  border-radius: 8px;
  background: #fff5e5;
}

.closeout-workflow article.complete {
  border-color: #addfca;
  background: #eaf7f1;
}

.closeout-workflow span,
.closeout-workflow strong,
.closeout-workflow small {
  display: block;
}

.closeout-workflow span {
  color: #214ee5;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.closeout-workflow strong {
  margin-top: 5px;
  color: #17212f;
}

.closeout-workflow small {
  margin-top: 4px;
  color: #607083;
  font-size: 12px;
  font-weight: 850;
}

.closeout-workflow button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #214ee5;
  color: #ffffff;
  font-weight: 950;
}

.closeout-prefill {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid #b8c8ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.closeout-prefill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.closeout-prefill-grid div {
  min-height: 96px;
  border-radius: 8px;
  background: #f7fbff;
  padding: 10px;
}

.closeout-prefill-grid span {
  color: #214ee5;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.closeout-prefill-grid p {
  margin: 6px 0 0;
  color: #34465a;
  white-space: pre-wrap;
  line-height: 1.4;
}

.closeout-export-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.closeout-export-actions button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: #13283a;
  color: #ffffff;
  font-weight: 900;
  padding: 0 12px;
}

.closeout-export-actions .secondary {
  background: #214ee5;
}

.closeout-share-form {
  padding: 10px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.closeout-share-history {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.closeout-share-history > div:last-child {
  display: grid;
  gap: 8px;
}

.closeout-share-history article {
  border-radius: 8px;
  background: #f7fbff;
  padding: 10px;
}

.closeout-share-history span,
.closeout-share-history strong,
.closeout-share-history small,
.closeout-share-history p {
  display: block;
}

.closeout-share-history span {
  color: #607083;
  font-size: 12px;
  font-weight: 850;
}

.closeout-share-history strong {
  margin-top: 3px;
}

.closeout-share-history small {
  margin-top: 3px;
  color: #607083;
  font-size: 12px;
}

.closeout-share-history p {
  margin: 5px 0 0;
  color: #34465a;
  line-height: 1.4;
}

.requirement-upload-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 4px;
}

.requirement-upload-form label {
  display: grid;
  gap: 5px;
}

.requirement-upload-form label span {
  min-height: auto;
  display: block;
  padding: 0;
  background: transparent;
  color: #607083;
  font-size: 12px;
}

.requirement-upload-form input[type="file"] {
  width: 100%;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px;
}

.requirement-upload-form button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #214ee5;
  color: #ffffff;
  font-weight: 950;
  padding: 0 12px;
}

.project-closeout.submitted {
  border: 1px solid #f4c978;
  background: #fff8ed;
}

.project-closeout.approved {
  border: 1px solid #addfca;
  background: #eaf7f1;
}

.project-closeout.revision-requested {
  border: 1px solid #f4b7bd;
  background: #fff1f2;
}

.closeout-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.closeout-summary div {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 10px;
}

.closeout-summary span {
  color: #607083;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.closeout-summary p {
  margin: 5px 0 0;
  color: #34465a;
  line-height: 1.4;
}

.closeout-review-form {
  border-top: 1px solid #cfdae6;
  padding-top: 10px;
}

.my-day-closeout-guidance {
  border-color: #f4c978;
  background: #fff8ed;
}

.my-day-closeout-guidance.ready {
  border-color: #addfca;
  background: #eaf7f1;
}

.closeout-guidance-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.closeout-guidance-summary article {
  min-height: 82px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 10px;
  border: 1px solid #f4c978;
  border-radius: 8px;
  background: #ffffff;
}

.closeout-guidance-summary article.complete {
  border-color: #addfca;
  background: #eaf7f1;
}

.closeout-guidance-summary article.blocked {
  border-color: #f1b7bd;
  background: #fff1f2;
}

.closeout-guidance-summary span {
  color: #214ee5;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.closeout-guidance-summary small {
  color: #44596b;
  line-height: 1.35;
}

@media (max-width: 1040px) {
  .closeout-register-filters,
  .closeout-prefill-grid,
  .closeout-workflow > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .closeout-guidance-summary,
  .requirement-upload-form,
  .closeout-dashboard-groups,
  .closeout-dashboard-item,
  .requirement-upload-form {
    grid-template-columns: 1fr;
  }

  .closeout-register-filters,
  .closeout-register-list article {
    grid-template-columns: 1fr;
  }

  .closeout-prefill-grid,
  .closeout-workflow > div {
    grid-template-columns: 1fr;
  }

  .closeout-summary {
    grid-template-columns: 1fr;
  }
}

.closeout-dashboard-stats article {
  background: linear-gradient(135deg, var(--frost-command), var(--frost-command-2));
  border-color: #284256;
  border-top: 1px solid #284256;
  color: #ffffff;
}

.closeout-dashboard-stats article.warning {
  border-top-color: #284256;
}

.closeout-dashboard-stats article.complete {
  border-top-color: #284256;
}

.closeout-dashboard-stats article.blocked {
  border-top-color: #284256;
}

.closeout-dashboard-stats span,
.closeout-dashboard-stats strong {
  color: #ffffff;
}

.closeout-register-panel {
  border-color: var(--brand-border);
  background: color-mix(in srgb, var(--brand-surface) 94%, var(--brand-panel));
  box-shadow: 0 18px 42px rgba(var(--brand-command-rgb), 0.07);
}

.closeout-dashboard-stats article {
  background:
    linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.18), transparent 52%),
    linear-gradient(135deg, var(--brand-command), var(--brand-command-2));
  border-color: color-mix(in srgb, var(--brand-primary) 28%, var(--brand-command-2));
  box-shadow: 0 14px 34px rgba(var(--brand-command-rgb), 0.16);
}

/* Standard count / number bubbles across the app */
.closeout-badges b {
  min-width: 28px !important;
  min-height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(var(--brand-primary-rgb), 0.22) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  padding: 0 9px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.closeout-dashboard-stats article {
  background: var(--brand-command-gradient) !important;
  border-color: var(--brand-command-border) !important;
  border-top-color: var(--brand-command-border) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(var(--brand-command-rgb), 0.15) !important;
}

.closeout-dashboard-stats span,
.closeout-dashboard-stats strong {
  color: #ffffff !important;
}

.closeout-dashboard > .section-title {
  border-color: var(--brand-border) !important;
  background: var(--brand-surface) !important;
  color: var(--brand-text) !important;
}

.closeout-badges b {
  min-height: 26px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 22%, var(--brand-border)) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--brand-primary) 10%, #ffffff) !important;
  color: var(--brand-primary-strong) !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  padding: 0 9px !important;
  white-space: nowrap !important;
}

.closeout-badges .ready {
  border-color: var(--brand-success) !important;
  background: var(--brand-success) !important;
  color: #ffffff !important;
}

.closeout-badges .blocked {
  border-color: var(--brand-danger) !important;
  background: var(--brand-danger) !important;
  color: #ffffff !important;
}

.closeout-register-list article {
  border-color: var(--brand-border) !important;
  background: var(--brand-surface) !important;
  color: var(--brand-text) !important;
  box-shadow: var(--theme-card-shadow) !important;
}

.closeout-register-list article:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 42%, var(--brand-border)) !important;
  box-shadow: var(--theme-card-shadow-strong) !important;
}

/* Employee fleet group cards: keep inner panels and count badges on the standard theme. */
/* Keep opened fleet/equipment detail windows visually unified. */
/* Employee My Day closeout guidance: remove legacy pastel/white panels. */
#root .workspace .my-day .my-day-closeout-guidance,
#root .workspace .my-day .my-day-closeout-guidance.ready,
#root .workspace .my-day .my-day-closeout-guidance.blocked {
  border-color: var(--brand-command-border) !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
  box-shadow: 0 16px 34px rgba(var(--brand-command-rgb), 0.2) !important;
}

#root .workspace .my-day .my-day-closeout-guidance > .section-title,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary article,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary article.complete,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary article.blocked,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements.compact,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements span,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements article,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements .done,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements .missing,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements .waived,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements .approved,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements .revision,
#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
}

#root .workspace .my-day .my-day-closeout-guidance > .section-title {
  padding: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 8px !important;
}

#root .workspace .my-day .my-day-closeout-guidance > .section-title strong,
#root .workspace .my-day .my-day-closeout-guidance > .section-title span,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary span,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary strong,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary small,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements em,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements small,
#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form label span {
  color: inherit !important;
}

#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary span {
  width: fit-content !important;
  min-height: 26px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong)) !important;
  color: #ffffff !important;
  padding: 0 9px !important;
  line-height: 1 !important;
}

/* Closeout guidance follows the shared open/close header standard. */
#root .workspace .my-day details.my-day-closeout-guidance {
  padding: 12px !important;
  gap: 10px !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary {
  min-height: 70px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid var(--brand-primary) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong)) !important;
  color: var(--brand-on-primary) !important;
  list-style: none !important;
}

#root .workspace .my-day details.my-day-closeout-guidance[open] > summary {
  border-color: var(--brand-command-border) !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary::-webkit-details-marker {
  display: none !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary * {
  color: inherit !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary > b:not([data-details-toggle-state]) {
  min-width: 28px !important;
  min-height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(var(--brand-primary-rgb), 0.22) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  padding: 0 9px !important;
}

#root .workspace .my-day .closeout-guidance-body {
  display: grid !important;
  gap: 10px !important;
  padding-top: 10px !important;
  color: inherit !important;
}

/* Final Closeout Guidance standard: command header, readable detail body. */
#root .workspace .my-day details.my-day-closeout-guidance,
#root .workspace .my-day details.my-day-closeout-guidance.ready,
#root .workspace .my-day details.my-day-closeout-guidance.blocked {
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
  background: var(--brand-panel) !important;
  color: var(--brand-text) !important;
  box-shadow: 0 14px 30px rgba(var(--brand-command-rgb), 0.12) !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary:focus,
#root .workspace .my-day details.my-day-closeout-guidance > summary:focus-visible {
  outline: 0 !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.38) !important;
}

#root .workspace .my-day details.my-day-closeout-guidance > summary span:not([data-details-toggle-state]) {
  width: auto !important;
  min-height: 0 !important;
  display: block !important;
  place-items: initial !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#root .workspace .my-day .closeout-guidance-body {
  padding: 12px !important;
  background: var(--brand-panel) !important;
  color: var(--brand-text) !important;
}

#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary article,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary article.complete,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary article.blocked,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements.compact,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements article {
  border-color: var(--brand-border) !important;
  background: var(--brand-surface) !important;
  color: var(--brand-text) !important;
}

#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary strong,
#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary small,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements strong,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements small,
#root .workspace .my-day .my-day-closeout-guidance .document-requirements em {
  color: inherit !important;
}

#root .workspace .my-day .my-day-closeout-guidance .closeout-guidance-summary span {
  width: fit-content !important;
  min-height: 24px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong)) !important;
  color: #ffffff !important;
  padding: 0 9px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements {
  display: grid !important;
  gap: 10px !important;
  padding: 10px !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements article.requirement-item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  min-height: 132px !important;
  padding: 12px !important;
  border-left: 5px solid var(--brand-warning) !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements article.requirement-item > b {
  grid-column: 1 !important;
  align-self: start !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: var(--brand-warning) !important;
  color: var(--brand-text) !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements article.requirement-item > div {
  grid-column: 2 !important;
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements article.requirement-item > div > strong {
  color: var(--brand-text) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

#root .workspace .my-day .my-day-closeout-guidance .document-requirements .requirement-actions {
  grid-column: 2 !important;
}

#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 10px !important;
  margin-top: 6px !important;
  padding: 10px !important;
  border-color: color-mix(in srgb, var(--brand-primary) 20%, var(--brand-border)) !important;
  background: color-mix(in srgb, var(--brand-primary) 5%, #ffffff) !important;
}

#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form label {
  display: grid !important;
  gap: 5px !important;
}

#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form label span {
  color: var(--brand-primary-strong) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form input[type="file"] {
  min-height: 38px !important;
}

#root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form button {
  min-width: 92px !important;
  min-height: 42px !important;
}

@media (max-width: 900px) {
  #root .workspace .my-day .my-day-closeout-guidance .document-requirements > div:last-child,
  #root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form {
    grid-template-columns: 1fr !important;
  }

  #root .workspace .my-day .my-day-closeout-guidance .requirement-upload-form button {
    width: 100% !important;
  }
}

/* Project detail cleanup: cost, closeout, and document panels follow the current theme. */
#root .workspace .project-closeout,
#root .workspace .project-closeout.submitted,
#root .workspace .project-closeout.approved,
#root .workspace .project-closeout.revision-requested,
#root .workspace .closeout-prefill,
#root .workspace .closeout-share-form,
#root .workspace .closeout-share-history {
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
  background: var(--brand-panel) !important;
  color: var(--brand-text) !important;
  box-shadow: 0 14px 30px rgba(var(--brand-command-rgb), 0.06) !important;
}

#root .workspace .project-closeout.approved {
  border-left: 5px solid var(--brand-success) !important;
}

#root .workspace .project-closeout.submitted {
  border-left: 5px solid var(--brand-warning) !important;
}

#root .workspace .project-closeout.revision-requested {
  border-left: 5px solid var(--brand-danger) !important;
}

#root .workspace .project-closeout > .section-title,
#root .workspace .project-closeout > summary.section-title,
#root .workspace .closeout-prefill > .section-title,
#root .workspace .closeout-share-history > .section-title {
  min-height: 56px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--brand-primary) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong)) !important;
  color: var(--brand-on-primary) !important;
  box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.18) !important;
}

#root .workspace .project-closeout > summary.section-title {
  cursor: pointer !important;
  list-style: none !important;
}

#root .workspace .project-closeout[open] > summary.section-title {
  border-color: var(--brand-command-border) !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
  box-shadow: 0 16px 34px rgba(var(--brand-command-rgb), 0.2) !important;
}

#root .workspace .project-closeout > summary.section-title::-webkit-details-marker {
  display: none !important;
}

#root .workspace .project-closeout > summary.section-title > div {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

#root .workspace .project-closeout-body {
  display: grid !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding-top: 10px !important;
}

#root .workspace .project-closeout > .section-title strong,
#root .workspace .project-closeout > .section-title span,
#root .workspace .project-closeout > summary.section-title strong,
#root .workspace .project-closeout > summary.section-title span,
#root .workspace .project-closeout > summary.section-title b,
#root .workspace .closeout-prefill > .section-title strong,
#root .workspace .closeout-prefill > .section-title span,
#root .workspace .closeout-share-history > .section-title strong,
#root .workspace .closeout-share-history > .section-title span {
  color: inherit !important;
}

#root .workspace .project-closeout > .section-title > span,
#root .workspace .project-closeout > summary.section-title > b,
#root .workspace .closeout-prefill > .section-title > span,
#root .workspace .closeout-share-history > .section-title > span {
  min-height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  justify-self: end !important;
  padding: 0 10px !important;
  border: 1px solid var(--brand-command-border) !important;
  border-radius: 999px !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

#root .workspace .closeout-readiness.ready b {
  border-color: var(--brand-success) !important;
  background: var(--brand-success) !important;
  color: #ffffff !important;
}

#root .workspace .closeout-readiness.blocked b {
  border-color: var(--brand-warning) !important;
  background: var(--brand-warning) !important;
  color: var(--brand-text) !important;
}

#root .workspace .closeout-readiness,
#root .workspace .closeout-workflow article,
#root .workspace .closeout-prefill-grid div,
#root .workspace .closeout-summary div,
#root .workspace .closeout-share-history article,
#root .workspace .requirement-upload-form {
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
  background: var(--brand-surface) !important;
  color: var(--brand-text) !important;
  box-shadow: none !important;
}

#root .workspace .closeout-readiness.ready,
#root .workspace .closeout-workflow article.complete {
  border-left: 5px solid var(--brand-success) !important;
}

#root .workspace .closeout-readiness.blocked,
#root .workspace .closeout-workflow article:not(.complete) {
  border-left: 5px solid var(--brand-warning) !important;
}

#root .workspace .closeout-readiness span,
#root .workspace .closeout-workflow small,
#root .workspace .closeout-prefill-grid p,
#root .workspace .closeout-summary p,
#root .workspace .closeout-share-history small,
#root .workspace .closeout-share-history p,
#root .workspace .requirement-upload-form label span {
  color: var(--brand-muted) !important;
}

#root .workspace .closeout-workflow span,
#root .workspace .closeout-prefill-grid span,
#root .workspace .closeout-summary span,
#root .workspace .closeout-share-history span {
  color: var(--brand-primary-strong) !important;
  text-transform: none !important;
}

#root .workspace .closeout-readiness strong,
#root .workspace .closeout-workflow strong,
#root .workspace .closeout-share-history strong {
  color: var(--brand-text) !important;
}

#root .workspace .requirement-upload-form input[type="file"] {
  border-color: var(--brand-border) !important;
  background: color-mix(in srgb, var(--brand-panel) 82%, #ffffff) !important;
  color: var(--brand-text) !important;
}

#root .workspace .closeout-workflow button,
#root .workspace .closeout-export-actions button,
#root .workspace .requirement-upload-form button {
  border-color: var(--brand-primary) !important;
  background: var(--brand-primary) !important;
  color: var(--brand-on-primary) !important;
  box-shadow: var(--theme-primary-shadow) !important;
}

#root .workspace .closeout-export-actions .secondary {
  border-color: var(--brand-command-border) !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
}

#root .workspace .project-detail-page .closeout-form,
#root .workspace .project-detail-page .closeout-review-form {
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
  background: var(--brand-surface) !important;
  color: var(--brand-text) !important;
  box-shadow: none !important;
}

#root .workspace .project-closeout > summary.section-title > div > span:not([data-details-toggle-state]) {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
}

#root .workspace .project-closeout > summary.section-title > b[data-details-toggle-state] {
  min-width: 58px !important;
  min-height: 28px !important;
  border: 1px solid var(--brand-command-border) !important;
  border-radius: 999px !important;
  background: var(--brand-command-gradient) !important;
  color: var(--brand-on-command) !important;
  box-shadow: none !important;
}

#root .workspace .project-closeout[open] > summary.section-title > b[data-details-toggle-state] {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: var(--brand-primary) !important;
  color: var(--brand-on-primary) !important;
}

#root .workspace .project-detail-page .closeout-form button:not(.danger),
#root .workspace .project-detail-page .closeout-review-form button:not(.danger) {
  border-color: var(--brand-primary) !important;
  background: var(--brand-primary) !important;
  color: var(--brand-on-primary) !important;
  box-shadow: var(--theme-primary-shadow) !important;
}

#root .workspace .project-detail-page .closeout-review-form button.danger {
  border: 1px solid color-mix(in srgb, var(--brand-danger) 34%, var(--brand-border)) !important;
  background: var(--brand-command-gradient) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
