/* Client-provided peach/beige, turquoise, white and soft grey. */
.sidebar-menu li a.active { background: var(--accent); color: #4e3020; }
.brand-mark { color: #5a3c2d; }
.sidebar-menu li a:hover { background: #56605a; }
.sidebar-menu li a.active:hover { background: #edbfa4; }
.btn-primary { background: var(--accent); color: #4e3020; border-color: #d8b096; }
.btn-primary:hover { background: #ebbaa0; color: #422a20; }
.welcome-strip { background: #f3e9e0; border-color: #e7d9cb; }
.welcome-strip p, #todayLabel { color: #6c5d51; }
.welcome-strip .btn { border-color: #cdb8a7; }
.chip.active { background: #3c756a; border-color: #3c756a; }
.badge.current, .badge.upcoming, .badge.in_progress, .badge.selected { background: #f5e1d5; color: #7a4d33; }
.badge.worked, .badge.completed { background: #dcefeb; color: #315e54; }
.stage-strip { background: #eef4f1; }
.date-tile { background: #f4e0d3; }
.stage-overview a strong { color: #3c655d; }
.stage-overview a:hover { background: #f2f7f5; }
.avatar { background: #e1eee9; color: #42675d; }
.map-status-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 12px 0 20px; font-size: 12px; }
.map-status-legend > span { display: flex; align-items: center; gap: 8px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.in-progress, .marker-content.in_progress { background: #f2bda1; color: #4b3329; border-color: #96644c; }
.legend-dot.worked, .marker-content.worked { background: #8bc9be; color: #244d45; border-color: #4b8375; }
.legend-dot.never { background: #b8bfba; }
.team-work-stats { background: #edf4f1; padding: 10px 12px; border-radius: 7px; color: #42675d; font-size: 12px; }
.employee-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.employee-links h3 { width: 100%; }
.employee-links a { color: #326b60; }
.employee-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; margin-top: 20px; }
.calendar-weekday { color: #6c746e; padding: 8px; font-size: 12px; }
.employee-day { min-height: 95px; padding: 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; min-width: 0; }
.employee-day.has-events { background: #f9eee7; border-color: #e8cbb9; }
.employee-day > strong { font-size: 12px; color: #5f6860; }
.employee-event { display: block; width: 100%; text-align: left; padding: 6px 2px; background: transparent; border: 0; border-top: 1px solid #e8cbb9; color: #73513e; font-size: 11px; overflow-wrap: anywhere; margin-top: 6px; }
.employee-event.performed { color: #285f52; border-color: #a9cabe; }
.product-note { display: block; color: #6e756f; font-size: 11px; margin-top: 4px; max-width: 55ch; }
.sale-details { margin: 20px 0; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.sale-details > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #6b4e3c; }
.sale-details[open] > summary { margin-bottom: 18px; }
#saleItemForm { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 18px; }
.payment-details { padding: 16px 0; }
.user-create { margin: 20px 0; }
.user-create > summary { cursor: pointer; margin-bottom: 16px; }
.participation-summary { padding: 12px; background: #eef4f1; border-radius: 7px; font-size: 13px; }
.finance-mode { padding: 8px 0 20px; max-width: 430px; }
.finance-mode label { display: grid; gap: 6px; font-size: 12px; }
body[data-role=viewer] [data-action=new-order], body[data-role=viewer] [data-action=new-location], body[data-role=viewer] [data-action=new-member], body[data-role=viewer] [data-action=edit-order], body[data-role=viewer] [data-action=edit-location], body[data-role=viewer] [data-action=edit-member], body[data-role=viewer] #stageForm, body[data-role=viewer] #saleItemForm, body[data-role=viewer] #chargeForm, body[data-role=viewer] #entryForm { display: none; }
body:not([data-role=admin]) fieldset:has(.document-gallery) { display: none; }
body[data-role=viewer] [data-action=void-entry], body[data-role=viewer] [data-action=sale-remove], body[data-role=viewer] [data-action=sale-paid], body[data-role=viewer] [data-action=archive-location], body[data-role=viewer] [data-action=review-resolve], body[data-role=viewer] [data-action=review-archive], body[data-role=viewer] #priceForm { display: none; }
@media (max-width: 768px) {
 .employee-calendar { gap: 3px; }
 .employee-day { min-height: 74px; padding: 5px 3px; }
 .employee-event { font-size: 10px; }
 .calendar-weekday { padding: 4px; font-size: 11px; }
}
