.daily-report-heading { margin-bottom: 22px; }
.daily-report-table { border-radius: 11px; overflow-x: auto; }
.daily-report-table table { min-width: 980px; }
.daily-report-table td:first-child strong, .daily-report-table td:first-child small { display: block; }
.daily-report-table td:first-child small { margin-top: 4px; color: #77817c; }
.daily-report-table td:last-child { width: 70px; text-align: right; }
.daily-report-open { font-weight: 700; }
.daily-report-draft { background: #fff1d2; color: #765715; }
.daily-report-final { background: #e3f2eb; color: #245f4c; }
.daily-report-sync-state { color: #68756f; white-space: nowrap; }
.daily-report-sync-state.error { color: #a13e37; }
.daily-report-sync-state.not_configured { color: #836522; }
.daily-report-card { max-width: 920px; padding: 0; overflow: hidden; }
.daily-report-form-head { padding: 20px 22px; border-bottom: 1px solid #e2e8e5; }
.daily-report-form-head p { margin: 6px 0 0; color: #6d7973; font-size: 13px; }
.daily-report-form { padding: 22px; }
.daily-report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.daily-report-grid label, .daily-report-form > label { display: block; font-size: 12px; color: #68756f; font-weight: 700; }
.daily-report-grid input, .daily-report-form textarea { display: block; width: 100%; margin-top: 7px; }
.daily-report-fixed-field { border: 1px solid #dfe5e2; border-radius: 8px; background: #f7f9f8; padding: 10px 12px; }
.daily-report-fixed-field span { display: block; color: #748079; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.daily-report-fixed-field strong { display: block; margin-top: 5px; font-size: 14px; }
.daily-report-form > label { margin-top: 18px; }
.daily-report-form textarea { resize: vertical; min-height: 92px; }
.daily-report-xero-panel { margin-top: 20px; border: 1px solid #dfe5e2; border-radius: 10px; overflow: hidden; background: #fbfcfb; }
.daily-report-xero-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid #e2e8e5; }
.daily-report-xero-head span { color: #33433c; font-size: 13px; font-weight: 800; }
.daily-report-xero-head p { margin: 3px 0 0; color: #6d7973; font-size: 11px; }
.daily-report-xero-head p.synced { color: #2d6a56; }
.daily-report-xero-head p.error { color: #a13e37; }
.daily-report-sales-summary, .daily-report-sales-breakdown { display: grid; }
.daily-report-sales-summary { grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid #e2e8e5; }
.daily-report-sales-breakdown { grid-template-columns: repeat(4, 1fr); }
.daily-report-sales-summary > div, .daily-report-sales-breakdown > div { padding: 16px; border-right: 1px solid #e2e8e5; }
.daily-report-sales-summary > div:last-child, .daily-report-sales-breakdown > div:last-child { border-right: 0; }
.daily-report-sales-summary span, .daily-report-sales-breakdown span { display: block; color: #748079; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.daily-report-sales-summary strong, .daily-report-sales-breakdown strong { display: block; margin-top: 6px; font-size: 18px; }
.daily-report-sales-summary > div:first-child strong { font-size: 24px; }
.daily-report-documents { border-top: 1px solid #e2e8e5; }
.daily-report-documents-head { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px 16px; background: #f7f9f8; cursor: pointer; list-style: none; }
.daily-report-documents-head::-webkit-details-marker { display: none; }
.daily-report-documents-head::after { content: "⌄"; color: #52615a; font-size: 17px; line-height: 1; transition: transform .15s ease; }
.daily-report-documents-disclosure[open] > .daily-report-documents-head::after { transform: rotate(180deg); }
.daily-report-documents-head > span { color: #33433c; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.daily-report-documents-head small, .daily-report-document small { color: #748079; }
.daily-report-document { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-top: 1px solid #e7ece9; }
.daily-report-document:first-child { border-top: 0; }
.daily-report-document > div:first-child { min-width: 0; }
.daily-report-document span, .daily-report-document strong, .daily-report-document small { display: block; }
.daily-report-document span { color: #748079; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.daily-report-document strong { margin-top: 3px; }
.daily-report-document small { margin-top: 3px; overflow-wrap: anywhere; }
.daily-report-document-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.daily-report-document-actions a { font-size: 12px; font-weight: 700; }
.daily-report-document-error { color: #a13e37 !important; }
.daily-report-documents-empty { padding: 15px 16px; color: #748079; font-size: 12px; }
.daily-report-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.daily-report-actions p { margin: 0; color: #2d6a56; font-size: 12px; }
#daily-report-view-meta { margin: 5px 0 0; color: #6d7973; font-size: 13px; }
.daily-report-view-card { padding: 0; overflow: hidden; }
.daily-report-view-details { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; }
.daily-report-view-details > div { grid-column: span 4; padding: 18px 22px; border-right: 1px solid #e7ece9; border-bottom: 1px solid #e7ece9; }
.daily-report-view-details > div:nth-child(3) { border-right: 0; }
.daily-report-view-details .daily-report-category { grid-column: span 3; background: #fafbfa; }
.daily-report-view-details .daily-report-category:nth-child(7) { border-right: 0; }
.daily-report-view-details .wide { grid-column: 1 / -1; border-right: 0; }
.daily-report-view-details .daily-report-view-documents { padding: 0; }
.daily-report-view-documents .daily-report-documents { border-top: 0; }
.daily-report-view-details span { display: block; color: #748079; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.daily-report-view-details strong, .daily-report-view-details p { display: block; margin: 7px 0 0; line-height: 1.55; }
.daily-report-not-recorded { color: #89928e !important; font-size: inherit !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; }
@media(max-width: 800px) {
  .daily-report-grid, .daily-report-view-details { grid-template-columns: 1fr; }
  .daily-report-view-details .wide, .daily-report-view-details > div, .daily-report-view-details .daily-report-category { grid-column: 1; }
  .daily-report-view-details > div { border-right: 0; }
  .daily-report-sales-summary { grid-template-columns: 1fr 1fr; }
  .daily-report-sales-summary > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #e2e8e5; }
  .daily-report-sales-breakdown { grid-template-columns: 1fr 1fr; }
  .daily-report-sales-breakdown > div:nth-child(2) { border-right: 0; }
  .daily-report-sales-breakdown > div:nth-child(-n+2) { border-bottom: 1px solid #e2e8e5; }
  .daily-report-document { align-items: flex-start; flex-direction: column; }
}
