#renovationView { color: var(--ink); }
.reno-layout { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: 20px; align-items: start; }
.reno-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(14px, 2.5vw, 28px); min-width: 0; }
.reno-card h1, .reno-card h2 { margin: 0 0 12px; }
.reno-card h2 { font-size: 1.1rem; }
.reno-card header p { color: var(--muted); overflow-wrap: anywhere; }
.reno-card label { display: grid; gap: 5px; font-size: .85rem; font-weight: 600; margin: 0; }
.reno-card input, .reno-card select, .reno-card textarea { width: 100%; min-width: 0; }
.reno-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin: 14px 0 24px; }
.reno-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 12px 0; }
.reno-actions label { flex: 1 1 160px; min-width: 0; }
.reno-lines { margin: 12px 0; }
.reno-line { display: grid; grid-template-columns: 42px minmax(0, 1fr) repeat(3, 96px) 112px 90px; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: end; }
.reno-line output { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; overflow-wrap: anywhere; padding: 0 3px 10px; }
.reno-line > label, .reno-line > button { min-width: 0; }
.reno-line > label { grid-template-columns: minmax(0, 1fr); }

.reno-line > label input, .reno-description select { box-sizing: border-box; height: 44px; }
.reno-line > label:has([data-key="rate"]) { white-space: nowrap; }
.reno-card button { border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent-strong); border-radius: 8px; padding: 9px 12px; cursor: pointer; }
.reno-card button[type="submit"] { background: var(--accent-strong); color: #fff; }
.reno-card button:disabled { opacity: .55; cursor: wait; }
.reno-card .reno-check { display: flex; align-items: center; margin: 16px 0; }
.reno-check input { width: auto; }
.reno-total { font-weight: 700; }
.reno-drafts { display: grid; gap: 8px; margin-top: 12px; }
.reno-drafts button { text-align: left; overflow-wrap: anywhere; }
.reno-drafts span { display: block; margin-top: 3px; font-size: .8rem; }
.reno-card aside label, .reno-card [data-search] { margin-top: 10px; }
.reno-print { display: none; }
@media (max-width: 720px) {
  .reno-layout { grid-template-columns: 1fr; }
  .reno-drafts { max-height: 220px; overflow: auto; }
}
.reno-print { font: 10pt/1.35 Arial, sans-serif; color: #111; }
.reno-print header { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #333; margin-bottom: 12px; }
.reno-print header img { height: 65px; width: auto; }
.reno-print h1 { font-size: 22pt; }
.reno-print h2 { font-size: 11pt; margin: 8px 0; }
.reno-paper-grid, .reno-paper-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.reno-print table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; }
.reno-print td, .reno-print th { padding: 4px 6px; border: 1px solid #aaa; vertical-align: top; text-align: left; }
.reno-paper-band { background: #eef1f3; }
.reno-print td:nth-last-child(-n+3) { font-variant-numeric: tabular-nums; }
.reno-multiline { white-space: pre-wrap; overflow-wrap: anywhere; }
.reno-paper-summary, .reno-paper-terms, .reno-paper-signatures { margin-top: 12px; }
.reno-document-controls, .reno-document-paper { max-width: 900px; margin-inline: auto; }
.reno-document-paper { display: block; background: white; padding: clamp(12px, 3vw, 32px); margin-top: 16px; overflow-wrap: anywhere; }
.reno-document-controls form:not([hidden]) { display: grid; gap: 10px; max-width: 440px; margin-top: 16px; }
.reno-document-controls form button { justify-self: start; }
.reno-saved-entry { border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.reno-saved-entry .reno-actions { align-items: center; margin-bottom: 0; }
@media print {
  @page { size: A4; margin: 12mm; }
  body:has(:is(#renovationView, #renovationDocumentView).active) { background: #fff !important; }
  body:has(:is(#renovationView, #renovationDocumentView).active) .shell { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .shell:has(#renovationView.active) > :not(#renovationView),
  .shell:has(#renovationDocumentView.active) > :not(#renovationDocumentView),
  #renovationView .reno-layout, .reno-document-controls { display: none !important; }
  #renovationView .reno-print { display: block; }
  .reno-document-paper { padding: 0; margin: 0; max-width: none; }
  .reno-print tr { break-inside: avoid; }
  .reno-print thead { display: table-header-group; }
  .reno-paper-band { break-after: avoid; print-color-adjust: exact; }
  .reno-paper-summary, .reno-paper-terms, .reno-paper-signatures { break-inside: avoid; }
}

.reno-owner { padding: 16px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 12px; }
.reno-owner-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.reno-owner-heading h2 { margin: 0; }
.reno-owner-heading [hidden] { display: none; }
.reno-owner-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0; }
.reno-more { border-top: 1px solid var(--line); padding-top: 10px; }
.reno-more summary { cursor: pointer; font-weight: 600; color: var(--accent-strong); }
.reno-more .reno-fields { align-items: start; margin-bottom: 0; }
@media (max-width: 480px) {
  .reno-owner-fields { grid-template-columns: 1fr; }
}

.reno-work-section { margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px 12px; }
.reno-work-section > header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 12px; margin: 0 -12px; background: var(--accent-soft); border-radius: 9px 9px 0 0; }
.reno-work-section h3 { margin: 0; font-size: 1rem; }
.reno-section-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reno-section-actions [hidden] { display: none; }
.reno-item-heading { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.reno-item-number { align-self: center; font-weight: 600; }
@media print {
  .reno-paper-subheading { break-after: avoid; }
}

.reno-footer-section { padding: 14px; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; }
.reno-footer-section > label + label { margin-top: 10px; }
.reno-complimentary-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px; gap: 8px; align-items: start; margin-bottom: 8px; }
.reno-complimentary-row textarea { min-height: 0; }
.reno-footer-section [name="discount"], .reno-footer-section [name="validity"] { max-width: 190px; }
@media (max-width: 480px) {
  .reno-complimentary-row { grid-template-columns: 1fr 1fr; }
  .reno-complimentary-row label:first-child { grid-column: 1 / -1; }
}
@media print {
  .reno-paper-complimentary { margin-top: 14px !important; }
  .reno-paper-terms th:last-child { width: 25%; }
}

.reno-payment-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(105px, 145px) 90px; gap: 8px; align-items: end; margin-bottom: 8px; }
.reno-complimentary-row { grid-template-columns: minmax(0, 1fr) 70px 110px auto; }
.reno-complimentary-row button { align-self: end; }
.reno-work-section textarea { field-sizing: content; min-height: 3.5em; }
@media (max-width: 560px) {
  .reno-payment-row, .reno-complimentary-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reno-payment-row label:first-child, .reno-complimentary-row label:first-child { grid-column: 1 / -1; }
  .reno-payment-row label:nth-child(2) { grid-column: span 2; }
  .reno-complimentary-row button { padding-inline: 4px; }
}

.reno-dashboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reno-dashboard-link { position: relative; display: block; color: var(--ink); text-decoration: none; padding-right: 54px; }
.reno-dashboard-link:hover, .reno-dashboard-link:focus-visible { border-color: var(--accent-strong); background: var(--accent-wash); }
.reno-dashboard-link p, #renovationCommissionView p { margin: 0; color: var(--muted); }
.reno-dashboard-link span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent-strong); font-size: 1.5rem; }
.reno-back { display: inline-block; color: var(--accent-strong); font-weight: 600; margin-bottom: 14px; }
@media (max-width: 640px) {
  .reno-dashboard { grid-template-columns: 1fr; }
}
@media print {
  #renovationView .reno-back { display: none; }
}

.reno-description { display: grid; gap: 6px; min-width: 0; }
.reno-description select { text-overflow: ellipsis; }
.reno-description textarea[hidden] { display: none; }
@media (max-width: 850px) {
  .reno-line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reno-line .reno-description { grid-column: span 2; }
  .reno-line output { grid-column: span 2; }
}
@media (max-width: 480px) {
  .reno-line .reno-description { grid-column: 1 / -1; }
}

#renovationQuotationWorkspace .reno-layout { display: block; }
#renovationQuotationWorkspace[data-page="saved"] [data-editor],
#renovationQuotationWorkspace[data-page="editor"] [data-saved-list],
#renovationQuotationWorkspace [data-new][hidden] { display: none; }
#renovationQuotationWorkspace [data-new] { margin-bottom: 14px; }

.reno-description [hidden] { display: none; }
.reno-description button[data-description-template] {
  justify-self: start;
  background: transparent;
  border: 0;
  color: var(--accent-strong);
  padding: 2px 0;
  font-size: .82rem;
  text-decoration: underline;
}

.reno-admin-filter, .reno-admin-panel { margin-bottom: 16px; }
.reno-admin-filter label, .reno-admin-panel input { max-width: 420px; }
.reno-admin-quote { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reno-admin-quote summary { cursor: pointer; overflow-wrap: anywhere; }
.reno-record-scroll { overflow-x: auto; }
.reno-record-table { width: 100%; border-collapse: collapse; }
.reno-record-table th, .reno-record-table td { padding: 9px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.reno-record-table th { background: var(--accent-soft); }
.reno-record-table th:last-child, .reno-record-table td:last-child { text-align: right; }

.reno-catalog-editor details { border-top: 1px solid var(--line); padding: 12px 0; }
.reno-catalog-editor summary { font-weight: 650; cursor: pointer; }
.reno-catalog-editor details label { margin-top: 10px; }
.reno-catalog-editor textarea { field-sizing: content; min-height: 3.5em; }
.reno-catalog-actions { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; background: #fff; border-top: 1px solid var(--line); padding: 10px 0; }
.reno-description [data-addon-message]:empty { display: none; }
.reno-description [data-save-addon] { justify-self: start; }

.reno-catalog-row { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 12px; align-items: start; }
@media (max-width: 480px) {
  .reno-catalog-row { grid-template-columns: 1fr; }
  .reno-catalog-row input { max-width: 145px; }
}

.reno-catalog-version { max-width: 280px; margin-bottom: 12px !important; }
@media (min-width: 481px) {
  .reno-catalog-row { grid-template-columns: minmax(0, 1fr) 85px 130px; }
}

.reno-dealing-search { max-width: 520px; margin-bottom: 14px !important; }
#renovationDealingView .reno-record-table td:nth-last-child(-n+4) { white-space: nowrap; }

.reno-quotation-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.reno-quotation-metrics > div { min-width: 0; padding: 10px; background: var(--accent-soft); border-radius: 8px; }
.reno-quotation-metrics dt { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.reno-quotation-metrics dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.reno-inventory-search { max-width: 360px; margin-bottom: 14px !important; }
.reno-inventory-scroll { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: 8px; }
.reno-inventory-sheet { table-layout: fixed; width: max-content; border-collapse: separate; border-spacing: 0; font-size: .82rem; }
.reno-inventory-sheet col { width: 108px; }
.reno-inventory-sheet .reno-inventory-unit { width: clamp(124px, 24vw, 210px); }
.reno-inventory-sheet .reno-inventory-notes { width: 250px; }
.reno-inventory-sheet :is(th, td) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 7px; vertical-align: middle; overflow-wrap: anywhere; }
.reno-inventory-sheet thead th { position: sticky; top: 0; z-index: 2; text-align: center; background: var(--accent-soft); }
.reno-inventory-sheet thead tr:first-child th:not([rowspan]) { height: 34px; padding-block: 0; }
.reno-inventory-sheet thead tr:nth-child(2) th { top: 34px; }
.reno-inventory-sheet thead .group-0 { background: #f9edbd; }
.reno-inventory-sheet thead .group-1 { background: #dceee4; }
.reno-inventory-sheet thead .group-2 { background: #fbe2ca; }
.reno-inventory-sheet thead .reno-inventory-group.group-0 { background: #f1d777; }
.reno-inventory-sheet thead .reno-inventory-group.group-1 { background: #acd4bb; }
.reno-inventory-sheet thead .reno-inventory-group.group-2 { background: #f3bd8b; }
.reno-inventory-sheet .reno-inventory-sticky { position: sticky; left: 0; z-index: 1; background: var(--accent-soft); }
.reno-inventory-sheet thead .reno-inventory-sticky { z-index: 3; background: var(--accent-soft); }
.reno-inventory-sheet tbody .reno-inventory-sticky { text-align: left; }
.reno-inventory-sheet tbody :is(span, small) { display: block; font-weight: 400; }
.reno-inventory-sheet tbody td { text-align: center; font-variant-numeric: tabular-nums; background: #fff; }
.reno-inventory-sheet tbody tr:nth-child(even) td { background: var(--accent-wash); }
.reno-inventory-sheet tbody .reno-inventory-note { text-align: left; white-space: pre-wrap; }

.reno-commission-settings { border: 1px solid var(--line); padding: 12px; margin-bottom: 14px; border-radius: 8px; }
.reno-commission-settings summary { cursor: pointer; font-weight: 650; }
.reno-commission-override { display: grid; gap: 6px; min-width: 130px; }
.reno-commission-override input { max-width: 130px; }
.reno-inventory-sheet tbody .reno-inventory-layout { color: var(--accent-strong); font-weight: 650; }
.reno-payment-metrics dd { overflow-wrap: anywhere; }

.reno-inventory-orders {
  margin-block: 1rem;
}
.reno-order-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.reno-order-groups > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--accent-soft);
  border-radius: 0.5rem;
}
.reno-order-groups button {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
}
.reno-order-groups button:disabled {
  opacity: 0.45;
}

.reno-owner-unit {
  width: 100%;
  margin-top: 0.6rem;
  text-align: left;
}
.reno-owner-unit > span {
  display: block;
  position: static;
  transform: none;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}
.reno-owner-scroll {
  max-height: 65vh;
}
.reno-owner-sheet thead {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--accent-soft);
}
.reno-owner-sheet td {
  min-width: 8rem;
  max-width: 20rem;
  overflow-wrap: anywhere;
}

.reno-admin-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.reno-admin-nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}
.reno-admin-nav a:hover,
.reno-admin-nav a:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-soft);
}
#renovationOwnersWorkspace [data-owner-units] button.reno-owner-unit {
  background: var(--accent-soft);
  border-color: var(--line);
  color: var(--ink);
}
#renovationOwnersWorkspace [data-owner-units] button.reno-owner-unit:hover,
#renovationOwnersWorkspace [data-owner-units] button.reno-owner-unit:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent-strong);
}
#renovationOwnersView .reno-owner-unit > span {
  color: var(--muted);
}

.reno-commission-portions label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reno-commission-portions input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin: 0;
}

#renovationWorkspaceTabs:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#renovationWorkspaceTabs button {
  min-width: 7rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent-strong);
}
#renovationWorkspaceTabs button[aria-pressed="true"] {
  background: var(--accent-strong);
  color: #fff;
}

:is(#renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-link {
  display: flex;
  align-items: center;
  min-height: 7rem;
}
:is(#renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-link h2 {
  margin: 0;
}

.reno-sales-metric-link {
  color: var(--accent-strong);
  text-underline-offset: 0.15em;
}
.reno-sales-metric-link:hover {
  color: var(--accent-strong);
}

.reno-unit-stage-counts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
#renovationUnitStatusWorkspace form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
  margin-block: 1rem;
}
.reno-weekly-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.reno-quotation-metrics > div,
#renovationUnitStatusView h2,
#renovationUnitStatusWorkspace > p {
  text-align: center;
}
body:not(:has(#loginView.active)) .reno-unit-stage-counts button[data-unit-stage] {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  align-content: start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--ink);
}
body:not(:has(#loginView.active)) .reno-unit-stage-counts button[data-unit-stage]:hover,
body:not(:has(#loginView.active)) .reno-unit-stage-counts button[data-unit-stage][aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-strong);
}
.reno-unit-stage-counts button strong {
  font-size: 1.25rem;
}

#renovationAdminWorkspace > .reno-admin-panel > h2,
#renovationAdminWorkspace > .reno-admin-panel .reno-record-table :is(th, td) {
  text-align: center;
}

.reno-amendment-sheet {
  margin-block: 0.75rem 1rem;
}
.reno-amendment-sheet [role="status"]:empty {
  display: none;
}
.reno-amendment-sheet summary {
  color: var(--accent-strong);
  cursor: pointer;
  white-space: nowrap;
}
.reno-amendment-sheet details ul {
  min-width: min(16rem, 50vw);
  padding-inline-start: 1.25rem;
}
.reno-amendment-sheet label.reno-amendment-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.reno-amendment-sheet .reno-amendment-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  padding: 0;
  margin: 0;
  accent-color: var(--accent-strong);
}
.reno-invite-fields {
  display: grid;
  gap: 0.75rem;
  align-items: end;
}
#renovationRegistration {
  width: min(28rem, calc(100% - 2rem));
  border: 0;
  padding: 0;
  border-radius: 1rem;
}
#renovationRegistration::backdrop {
  background: rgb(24 37 54 / 45%);
}

.reno-amendment-table {
  min-width: 42rem;
}
.reno-amendment-table th,
.reno-amendment-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  overflow-wrap: normal;
  word-break: normal;
}
.reno-amendment-table thead th,
.reno-amendment-table td:nth-child(2),
.reno-amendment-table td:nth-child(3),
.reno-amendment-table td:last-child {
  white-space: nowrap;
}
.reno-amendment-table tbody th {
  background: transparent;
  min-width: 8rem;
}
.reno-amendment-table td:nth-child(4) {
  width: 45%;
}
.reno-amendment-sheet details p,
.reno-amendment-sheet details ul {
  margin: 0.5rem 0;
}

.reno-amendment-table tr[hidden] {
  display: none;
}
.reno-amendment-pages {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.reno-sales-case-count {
  text-align: center;
  color: var(--muted);
  margin: 0 0 1rem;
}
.reno-overall-sales-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}
.reno-overall-sales-metrics > div {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  min-height: 4.5rem;
}
.reno-overall-sales-metrics dd {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .reno-overall-sales-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reno-inventory-design {
  margin-block: 0.4rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.reno-inventory-design span {
  white-space: pre-wrap;
}

[data-design-fields] {
  align-items: start;
}

.reno-quotation-status {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body:not(:has(#loginView.active)) .reno-quotation-status button[data-quotation-status] {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--ink);
  text-align: center;
}
body:not(:has(#loginView.active)) .reno-quotation-status button[data-quotation-status]:hover,
body:not(:has(#loginView.active)) .reno-quotation-status button[data-quotation-status][aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-strong);
}
.reno-quotation-status > div {
  display: grid;
  align-content: center;
}
.reno-quotation-status > div br {
  display: none;
}

.reno-more.reno-design-options {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
}
.reno-weekly-history {
  margin: 1rem 0 1.25rem;
}
.reno-weekly-history summary {
  cursor: pointer;
}
.reno-weekly-updates {
  display: grid;
  gap: 0.75rem;
}
.reno-unit-stage-overview {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.reno-commission-overview { margin-top: 20px; }
.reno-invite-fields fieldset[data-invite-opening] { grid-column: 1 / -1; min-width: 0; }
.reno-invite-fields fieldset[data-invite-opening][hidden] { display: none; }
[data-bonus-tiers] fieldset { margin: 10px 0; min-width: 0; }

[data-invite-bonus], .reno-agent-bonus-settings { grid-column: 1 / -1; min-width: 0; }
[data-invite-bonus][hidden] { display: none; }
.reno-agent-bonus-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reno-agent-bonus-levels fieldset { min-width: 0; margin: 0; }
.reno-agent-bonus-levels label { display: grid; gap: 6px; margin-bottom: 10px; }
.reno-agent-bonus-levels input { width: 100%; box-sizing: border-box; }
@media (max-width: 650px) { .reno-agent-bonus-levels { grid-template-columns: 1fr; } }

.reno-agent-quotations { border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; }
.reno-agent-quotations > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 16px; cursor: pointer; }
.reno-agent-quotations > summary::before { content: "▸"; }
.reno-agent-quotations[open] > summary::before { content: "▾"; }
.reno-agent-quotation-name { flex: 1; min-width: 180px; font-weight: 700; }
.reno-agent-quotation-name small { display: block; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.reno-agent-quotation-list { padding: 0 16px 16px; }
.reno-agent-quotations > summary > span:not(.reno-agent-quotation-name) { font-size: .9rem; }

.reno-inventory-visibility-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
.reno-inventory-visibility-controls label { display: grid; gap: 6px; }
.reno-inventory-visibility-controls p { flex-basis: 100%; margin: 0; }
.reno-inventory-select { display: flex; align-items: center; gap: 8px; }
.reno-inventory-select input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 0; }

#renovationInventoryWorkspace label.reno-inventory-select { display: flex; align-items: center; gap: 8px; }
[data-invite-opening], [data-opening-email] { display: grid; gap: 12px; }
[data-invite-opening] > label, [data-opening-email] > label { min-width: 0; }
[data-invite-opening] input, [data-opening-email] input { width: 100%; box-sizing: border-box; }

.reno-agent-quote-pages { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }

.reno-dealing-quotation-links { display: grid; gap: 6px; margin-top: 8px; }

.reno-defect-password { display: flex; align-items: center; gap: 8px; }
.reno-defect-password input { width: 12rem; max-width: 100%; min-width: 0; }
.reno-unit-defect-login { margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.reno-unit-defect-login dt { font-weight: 600; }
.reno-unit-defect-login dd { margin: 4px 0 12px; overflow-wrap: anywhere; }
.reno-unit-keys { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.reno-unit-keys small { display: block; margin-top: 6px; }
.reno-unit-keys form { display: grid; gap: 12px; margin-top: 12px; }

.reno-remark-preview { display: block; max-width: min(100%, 320px); max-height: 240px; object-fit: contain; margin: 10px 0; }
.reno-remark-picture-link { display: block; margin-top: 8px; }
.reno-owner-sheet .reno-defect-password { display: flex; }

.reno-inventory-sheet thead .group-3 { background: var(--accent-soft); }

.reno-claim-overall-progress { display: block; width: 100%; height: 14px; accent-color: #bd3541; margin: 0 0 24px; }
.reno-supervisor-claim-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.reno-supervisor-task-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--accent-soft); }
.reno-supervisor-task-card h3 { font-size: 1rem; margin: 0 0 12px; }
.reno-supervisor-task-card > strong { font-size: 1.5rem; }
.reno-supervisor-task-card p { margin: 8px 0 0; color: var(--muted); }
#renovationSupervisorClaimsWorkspace .reno-supervisor-task-check { display: flex; align-items: center; gap: 8px; }
#renovationSupervisorClaimsWorkspace input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: #bd3541; }
.reno-supervisor-claim-table td, .reno-supervisor-claim-table th { vertical-align: middle; }
@media (max-width: 650px) { .reno-supervisor-claim-tasks { grid-template-columns: 1fr; } }

.reno-agent-case-history { grid-column: 1 / -1; min-width: 0; }
.reno-agent-case-history p { font-size: .85rem; color: var(--muted); }

.reno-current-commission-tier { margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
[data-agent-rate-email] { display: grid; gap: 12px; margin: 16px 0; }

.reno-supervisor-claim-table td { min-width: 180px; vertical-align: top; }
.reno-supervisor-claim-table form { display: grid; gap: 8px; margin-top: 14px; }
.reno-supervisor-claim-table input[type="file"] { width: 240px; max-width: 100%; }
.reno-claim-evidence { display: grid; gap: 10px; margin-top: 12px; overflow-wrap: anywhere; }
.reno-claim-evidence small { display: block; }
.reno-claim-pagination { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 20px; }
.reno-co-broke > summary { cursor: pointer; font-weight: 700; }
.reno-co-broke form { display: grid; gap: 14px; margin-top: 18px; }
.reno-co-broke .reno-supervisor-task-check { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.reno-co-broke input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; padding: 0; margin: 0; }
[data-monthly-update-history] button[aria-pressed="true"] { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

[data-monthly-update-history] { width: 100%; table-layout: fixed; }
[data-monthly-update-history] th, [data-monthly-update-history] td { padding: 14px 18px; vertical-align: middle; }
[data-monthly-update-history] th:first-child { width: 40%; text-align: left; }
[data-monthly-update-history] th:not(:first-child), [data-monthly-update-history] td { width: 20%; text-align: center !important; font-variant-numeric: tabular-nums; }
[data-monthly-update-history] button { min-width: 0; width: auto; padding: 9px 14px; font-size: 1rem; }
.reno-claim-unit-list { width: 100%; max-width: 1120px; margin: 24px auto 0; display: grid; gap: 14px; }
.reno-claim-unit-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.reno-claim-unit-card > summary { cursor: pointer; padding: 18px 22px; background: var(--accent-soft); text-align: center; }
.reno-claim-unit-card > summary strong { margin-right: 24px; }
.reno-claim-unit-card > summary span { display: inline-block; color: var(--muted); font-size: .95rem; }
.reno-claim-unit-tasks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 22px; text-align: center; }
.reno-claim-task-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.reno-claim-task-panel h4 { margin: 0 0 12px; min-height: 44px; }
.reno-claim-task-panel form { display: grid; gap: 9px; margin-top: 18px; }
.reno-claim-task-panel input[type="file"] { width: 100%; min-width: 0; box-sizing: border-box; font-size: .85rem; }
.reno-claim-task-panel button { width: 100%; padding: 10px; font-size: .95rem; }
.reno-claim-unit-actions { text-align: center; padding: 0 22px 18px; }
.reno-claim-unit-actions:empty { display: none; }
@media (max-width: 850px) { .reno-claim-unit-tasks { grid-template-columns: 1fr; } .reno-claim-unit-card > summary strong { display: inline-block; margin: 0 12px 6px; } }

.reno-dealing-table a:link, .reno-dealing-table a:visited { color: var(--accent-strong); }
.reno-dealing-table a:hover { color: #a72e3b; }
.reno-dealing-table td { vertical-align: top; padding-top: 16px; padding-bottom: 16px; }
.reno-dealing-table .reno-dealing-paid { text-align: center !important; }
.reno-dealing-paid-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.reno-dealing-paid-stack .reno-dealing-quotation-links { margin: 0; text-align: center; }
.reno-dealing-table th:nth-last-child(2) { text-align: center; }

.reno-claim-toolbar { display: grid; grid-template-columns: minmax(0,2fr) minmax(220px,1fr); align-items: end; gap: 20px; max-width: 1120px; margin: 26px auto 0; }
.reno-claim-toolbar label { display: grid; gap: 8px; margin: 0; }
.reno-claim-toolbar input, .reno-claim-toolbar select { width: 100%; height: 46px; min-height: 46px; margin: 0; box-sizing: border-box; }
.reno-claim-list-caption { max-width: 1120px; margin: 12px auto 0; color: var(--muted); font-size: .9rem; }
.reno-claim-unit-card > summary { display: grid; grid-template-columns: 20px minmax(0,1fr) 180px; align-items: center; gap: 14px; text-align: left; padding: 18px 24px; list-style: none; }
.reno-claim-unit-card > summary::-webkit-details-marker { display: none; }
.reno-claim-unit-card > summary::before { content: "›"; font-size: 1.5rem; line-height: 1; text-align: center; color: var(--muted); }
.reno-claim-unit-card[open] > summary::before { transform: rotate(90deg); }
.reno-claim-unit-card > summary strong { margin: 0; font-size: 1rem; }
.reno-claim-unit-card > summary span { text-align: right; font-size: .9rem; white-space: nowrap; }
@media (max-width: 650px) { .reno-claim-toolbar { grid-template-columns: 1fr; gap: 14px; } .reno-claim-unit-card > summary { grid-template-columns: 18px minmax(0,1fr); gap: 8px 12px; padding: 16px; } .reno-claim-unit-card > summary span { grid-column: 2; text-align: left; } }

[data-monthly-update-history] { max-width: 900px; margin: 0 auto; }
[data-monthly-update-history] th:first-child { width: 28%; white-space: nowrap; }
[data-monthly-update-history] th:not(:first-child), [data-monthly-update-history] td { width: 24%; }
[data-monthly-update-history] tbody th { font-weight: 600; background: white; }
[data-monthly-update-history] th, [data-monthly-update-history] td { padding: 14px 16px; }

.reno-dealing-quotation > a { display: inline-block; }
.reno-dealing-owner { margin-top: 10px; line-height: 1.5; }
.reno-dealing-quotation .reno-dealing-quotation-links { margin-top: 12px; }

.reno-supervisor-weekly { margin-bottom: 24px; }
.reno-supervisor-weekly > p { color: var(--muted); }

.reno-sales-overview { margin-bottom: 24px; }
.reno-sales-overview > p { color: var(--muted); font-size: .9rem; }

.reno-sales-overview { padding: 22px 26px; }
[data-sales-overview-totals] button { background: transparent; color: var(--ink); border: 0; padding: 4px 8px; font-size: 1.35rem; width: 100%; }
[data-sales-overview-totals] button small { display: block; margin-top: 6px; font-size: .8rem; color: var(--accent-strong); font-weight: 500; }
.reno-sales-detail-dialog { width: min(1050px,90vw); max-height: 85vh; border: 1px solid var(--line); border-radius: 16px; padding: 24px; color: var(--ink); }
.reno-sales-detail-dialog::backdrop { background: rgb(39 24 26 / 45%); }
.reno-sales-detail-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.reno-sales-detail-dialog header h3 { margin: 0; }
/* Sales metrics use the same quiet link treatment as Admin metrics. */
#renovationSalesOverview h2 { text-align: center; }
#renovationSalesOverview [data-sales-overview-totals] button {
  background: transparent !important;
  color: var(--accent-strong) !important;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 4px 0;
  font-size: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#renovationSalesOverview [data-sales-overview-totals] button:hover { color: var(--accent-strong) !important; }
#renovationSalesOverview [data-sales-overview-totals] button small { display: inline; color: inherit; font-size: inherit; font-weight: inherit; margin: 0; }
.reno-dashboard-groups { display: grid; gap: 32px; margin-top: 24px; }
.reno-dashboard-group { border-top: 1px solid var(--line); padding-top: 22px; }
.reno-dashboard-group-heading { font-size: 1.1rem; color: #653b40; margin: 0 0 16px; text-align: left; }
.reno-dashboard-group .reno-dashboard { margin: 0; }
.reno-dashboard-group .reno-dashboard-link { padding: 24px 28px; min-height: 120px; }
.reno-dashboard-group .reno-dashboard-link p { font-size: .95rem; line-height: 1.5; margin-top: 10px; max-width: 90%; }
/* Shared navigation layout for Sales, Admin and Supervisor. */
.reno-dashboard-groups .reno-dashboard { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
:is(#renovationDashboardView, #renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-groups .reno-dashboard-link {
  display: grid; grid-template-columns: minmax(0,1fr) 28px; grid-template-rows: auto auto;
  gap: 10px 20px; align-content: center; align-items: center;
  min-height: 140px; box-sizing: border-box; padding: 24px 28px; text-align: left;
}
:is(#renovationDashboardView, #renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-groups .reno-dashboard-link h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: 1.12rem; line-height: 1.35; text-align: left; }
:is(#renovationDashboardView, #renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-groups .reno-dashboard-link p { grid-column: 1; grid-row: 2; margin: 0; max-width: none; font-size: .95rem; line-height: 1.45; }
:is(#renovationDashboardView, #renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-groups .reno-dashboard-link > span { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end; }
@media (max-width: 700px) { .reno-dashboard-groups .reno-dashboard { grid-template-columns: 1fr; } :is(#renovationDashboardView, #renovationAdminWorkspace, #renovationSupervisorView) .reno-dashboard-groups .reno-dashboard-link { padding: 22px; } }

.reno-dashboard-groups .reno-dashboard-link > span { position: static; transform: none; }

.reno-contractor-inventory [data-inventory-select] { display: none; }
.reno-inventory-visibility-controls[hidden] { display: none; }

body #companySelectionView button.reno-dashboard-link {
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 24px 56px 24px 24px;
  min-height: 130px;
  border: 1px solid var(--line);
}
body #companySelectionView button.reno-dashboard-link:hover { background: var(--accent-wash); border-color: var(--accent-strong); }
body #companySelectionView button.reno-dashboard-link h2 { color: var(--ink); margin: 0 0 10px; }
body #companySelectionView button.reno-dashboard-link p { margin: 0; font-weight: 400; }

.reno-stage-timing { display: inline-block; color: var(--muted); font-size: .85rem; font-weight: 400; margin: 0 8px; }

.reno-dealing-table .reno-dealing-quotation { width: 155px; max-width: 180px; }
.reno-dealing-table .reno-dealing-quotation > a { font-size: .78rem; overflow-wrap: anywhere; }
.reno-dealing-add-on summary { cursor: pointer; color: var(--accent-strong); text-decoration: underline; white-space: nowrap; }
.reno-dealing-add-on details > ul { min-width: 12rem; padding-inline-start: 1.25rem; text-align: left; }
.reno-dealing-add-on li { margin-block: .35rem; overflow-wrap: anywhere; }

/* Keep Sales Dealing headings and values aligned within each column. */
#renovationDealingWorkspace .reno-dealing-table th,
#renovationDealingWorkspace .reno-dealing-table td {
  text-align: center !important;
  vertical-align: middle;
}
#renovationDealingWorkspace .reno-dealing-table .reno-stage-timing {
  display: block;
  margin: 7px 0 0;
  line-height: 1.4;
}
#renovationDealingWorkspace .reno-dealing-table select {
  text-align: center;
  text-align-last: center;
}
#renovationDealingWorkspace .reno-dealing-quotation-links,
#renovationDealingWorkspace .reno-dealing-paid-stack {
  text-align: center;
  justify-items: center;
  align-items: center;
}

body:has(#companySelectionView.active) #companyNavigation {
  display: none !important;
}

.reno-dealing-table .reno-dealing-quotation > a { white-space: nowrap; }

body #companyNavigation [data-company-home] {
  background: transparent;
  color: var(--accent-strong);
  border: 0;
  box-shadow: none;
  text-decoration: underline;
  padding: 0;
  min-height: 32px;
  width: auto;
  justify-self: start;
  font-weight: 600;
}

body #companyNavigation [data-company-home] { background: transparent !important; color: var(--accent-strong) !important; border: none !important; box-shadow: none !important; }
body:has(#companySelectionView.active) .roleNav { display: none !important; }
.reno-template-files { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: 16px; margin-top: 24px; }
.reno-template-file { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; display: grid; gap: 12px; align-content: start; }
.reno-template-file h3 { margin: 0; overflow-wrap: anywhere; }
.reno-template-file p { margin: 8px 0; color: var(--muted); }
.reno-template-file small { color: var(--muted); }
.reno-template-file-icon { color: #ba3041; font-size: 32px; line-height: 1; }
.reno-template-line { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 18px 0; }
.reno-shared-template-editor { margin-top: 24px; }
.reno-shared-template-editor textarea { width: 100%; }
.reno-template-create { display: inline-block; padding: 12px 20px; border-radius: 10px; background: #ba3041; color: #fff; font-weight: 700; text-decoration: none; }
.reno-template-create:hover { background: #992637; }

/* Shared file actions: primary use action, secondary editing and removal. */
.reno-template-file > .reno-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.reno-template-file h3 a { color: var(--ink); text-decoration: none; }
.reno-template-file h3 a:hover { color: #a92e3e; text-decoration: underline; }
.reno-template-file .reno-template-open { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; margin-right: auto; }
.reno-template-file .reno-template-open:hover { color: #a92e3e; text-decoration: underline; }
.reno-template-file [data-template-use] { width: auto; padding: 10px 16px; font-size: 14px; line-height: 1.4; border-radius: 8px; }
.reno-template-file [data-template-remove-file] { flex: 0 0 auto; width: auto; min-height: 30px; padding: 5px 9px; margin: 0; background: transparent; border: 1px solid #ead5d8; border-radius: 6px; color: #9b4651; font-size: 12px; font-weight: 500; line-height: 1.4; box-shadow: none; }
.reno-template-file [data-template-remove-file]:hover { background: #fff3f4; border-color: #c98791; color: #a22437; }
.reno-template-file [data-template-remove-file]:focus-visible { outline: 2px solid #ba3041; outline-offset: 3px; }
body #renovationDescriptionWorkspace .reno-template-file [data-template-remove-file] { background: transparent; color: #9b4651; border: 1px solid #ead5d8; box-shadow: none; }
body #renovationDescriptionWorkspace .reno-template-file [data-template-remove-file]:hover { background: #fff3f4; color: #a22437; border-color: #c98791; }

:is(.view[id^="renovation"], #renovationRegistration, #companySelectionView) {
  accent-color: var(--accent);
}

:is(.view[id^="renovation"], #renovationRegistration, #companySelectionView) a:any-link {
  color: var(--accent-strong);
}

:is(.view[id^="renovation"], #renovationRegistration, #companySelectionView) :focus-visible {
  outline-color: var(--accent-strong);
}

[data-agent-leaderboard] .reno-record-table tbody th {
  background: var(--panel);
}

#renovationAdminView :is(.reno-dashboard-group-heading, .reno-dashboard-link h2, .reno-dashboard-link p, .reno-dashboard-link span, .reno-sales-case-count, .reno-owner-fields, .reno-record-table, .reno-record-table a:any-link),
#renovationAdminView .reno-overall-sales-metrics :is(dt, dd, a:any-link),
#renovationAdminView .reno-owner-fields label {
  color: var(--ink);
}

body:has(#renovationAdminView.active) #companyNavigation [data-company-home] {
  color: var(--ink) !important;
}

#renovationAdminView .reno-overall-sales-metrics > div {
  background: var(--panel-soft);
}

/* Deco dashboard text and metric links use the standard black text color. */
body #renovationDashboardView .reno-dashboard-group-heading,
body #renovationDashboardView .reno-dashboard-link :is(h2, p, span),
body #renovationSalesOverview :is(h2, p, dt, dd),
body #renovationSalesOverview [data-sales-overview-totals] button,
body #renovationSalesOverview [data-sales-overview-totals] button:hover,
body #renovationSalesOverview [data-sales-overview-totals] button small {
  color: #242122 !important;
}

#renovationAdminWorkspace .reno-dashboard-link:has(> p) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 10px;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > h2 {
  grid-column: 1;
  grid-row: 1;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > span {
  grid-column: 2;
  grid-row: 1 / 3;
  position: static;
  transform: none;
}

body #renovationDescriptionWorkspace .reno-template-file :is(p, small, .reno-template-open, [data-template-remove-file]),
body #renovationDescriptionWorkspace .reno-template-file :is(.reno-template-open:hover, [data-template-remove-file]:hover) {
  color: #242122;
}
body #renovationDescriptionWorkspace .reno-template-file h3 a {
  color: #922832;
}
body #renovationDescriptionWorkspace .reno-template-create {
  color: #242122;
  background: #fff;
  border: 1px solid var(--line);
}

/* Deco dashboard text and metric links use the standard black text color. */
body #renovationDashboardView .reno-dashboard-group-heading,
body #renovationDashboardView .reno-dashboard-link :is(h2, p, span),
body #renovationSalesOverview :is(h2, p, dt, dd),
body #renovationSalesOverview [data-sales-overview-totals] button,
body #renovationSalesOverview [data-sales-overview-totals] button:hover,
body #renovationSalesOverview [data-sales-overview-totals] button small {
  color: #242122 !important;
}

#renovationAdminWorkspace .reno-dashboard-link:has(> p) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 10px;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > h2 {
  grid-column: 1;
  grid-row: 1;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > span {
  grid-column: 2;
  grid-row: 1 / 3;
  position: static;
  transform: none;
}

body #renovationDescriptionWorkspace .reno-template-file :is(p, small, .reno-template-open, [data-template-remove-file]),
body #renovationDescriptionWorkspace .reno-template-file :is(.reno-template-open:hover, [data-template-remove-file]:hover) {
  color: #242122;
}
body #renovationDescriptionWorkspace .reno-template-file h3 a {
  color: #922832;
}
body #renovationDescriptionWorkspace .reno-template-create {
  color: #242122;
  background: #fff;
  border: 1px solid var(--line);
}

/* Deco dashboard text and metric links use the standard black text color. */
body #renovationDashboardView .reno-dashboard-group-heading,
body #renovationDashboardView .reno-dashboard-link :is(h2, p, span),
body #renovationSalesOverview :is(h2, p, dt, dd),
body #renovationSalesOverview [data-sales-overview-totals] button,
body #renovationSalesOverview [data-sales-overview-totals] button:hover,
body #renovationSalesOverview [data-sales-overview-totals] button small {
  color: #242122 !important;
}

#renovationAdminWorkspace .reno-dashboard-link:has(> p) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 10px;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > h2 {
  grid-column: 1;
  grid-row: 1;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
#renovationAdminWorkspace .reno-dashboard-link:has(> p) > span {
  grid-column: 2;
  grid-row: 1 / 3;
  position: static;
  transform: none;
}

body #renovationDescriptionWorkspace .reno-template-file :is(p, small, .reno-template-open, [data-template-remove-file]),
body #renovationDescriptionWorkspace .reno-template-file :is(.reno-template-open:hover, [data-template-remove-file]:hover) {
  color: #242122;
}
body #renovationDescriptionWorkspace .reno-template-file h3 a {
  color: #922832;
}
body #renovationDescriptionWorkspace .reno-template-create {
  color: #242122;
  background: #fff;
  border: 1px solid var(--line);
}
