/* Branch workspaces share the merchant shell's Readex typography and purchase controls. */
#branch-report-section, #branch-management-section {
  padding: 24px;
  border-color: #e0eaed;
  border-radius: 12px;
  color: #19343e;
}
#branch-report-section .panel-head, #branch-management-section .panel-head { margin-bottom: 20px; }
#branch-report-section .panel-head h2, #branch-management-section .panel-head h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.5; }
#branch-report-section .panel-head p, #branch-management-section .panel-head p { color: #607985; font-size: 13px; line-height: 1.8; }
.branch-report-filters { gap: 12px; padding: 18px; border: 1px solid #e0eaed; border-radius: 12px; background: #f8fbfb; }
.branch-report-filters label { display: grid; gap: 7px; flex: 1 1 180px; min-width: 0; margin: 0; color: #415e68; font-size: 13px; font-weight: 600; }
.branch-report-filters select, .branch-management-picker select, .branch-create input, .branch-search input, .branch-price-row input {
  min-height: 44px; height: 44px; width: 100%; padding: 0 12px; border: 1px solid #d5e3e7; border-radius: 9px; background: #fff; color: #19343e; font: inherit; font-size: 14px;
}
.branch-report-filters select { margin: 0; }
.branch-report-filters button, .branch-create button, .branch-search button, .branch-price-row button, .branch-member button {
  min-height: 44px; height: auto; padding: 0 17px; border: 1px solid #008a94; border-radius: 9px; background: #008a94; color: #fff; font: inherit; font-size: 13px; font-weight: 700;
}
.branch-report-filters button:hover:not(:disabled), .branch-management button:not(.outline-button):hover:not(:disabled) { background: #00747d; }
.branch-report-filters select:focus, .branch-management select:focus, .branch-management input:not([type=checkbox]):focus { outline: 2px solid #75c7ca; outline-offset: 1px; }
#branch-report-message { margin: 18px 0 12px; min-height: 20px; color: #526f79; font-size: 13px; line-height: 1.7; }
.branch-report-totals { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding: 0; }
.branch-report-metric { min-height: 86px; padding: 16px; border-color: #e0eaed; border-radius: 10px; background: #f8fbfb; }
.branch-report-metric span { color: #607985; font-size: 13px; }
.branch-report-metric strong { margin-top: 9px; color: #19343e; font-size: 18px; font-variant-numeric: tabular-nums; }
.branch-report-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 9px; background: #f4f8f9; color: #526f79; font-size: 13px; line-height: 1.8; }
.branch-report-note:empty { display: none; }
.branch-management-note { margin: 0; padding: 12px 16px; border-color: #d8ebeb; border-radius: 9px; background: #f2f9f9; color: #426971; font-size: 13px; }
.branch-create { gap: 10px; margin: 20px 0; padding: 18px; border: 1px solid #e0eaed; border-radius: 12px; background: #f8fbfb; }
.branch-create label { flex: 1 1 230px; min-width: 0; margin: 0; gap: 7px; color: #415e68; font-size: 13px; font-weight: 600; }
.branch-create input, .branch-search input { text-align: right; }
.branch-create small { color: #607985; font-size: 12px; line-height: 1.7; }
.branch-management-picker { align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0; color: #415e68; font-size: 13px; }
.branch-management-picker select { width: min(320px, 100%); min-width: 0; }
.branch-message { color: #526f79; font-size: 13px; line-height: 1.7; }
.branch-message:empty { display: none; }
.branch-prices, .branch-team { margin-top: 24px; padding-top: 22px; border-color: #e8eff1; }
.branch-prices h3, .branch-team h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.5; }
.branch-prices p, .branch-team p { margin: 0 0 16px; color: #607985; font-size: 13px; line-height: 1.7; }
.branch-search { max-width: 500px; gap: 8px; margin-bottom: 14px; }
.branch-search input { max-width: none; min-width: 0; }
.branch-price-row { gap: 10px; align-items: end; padding: 12px 0; }
.branch-price-row label { grid-template-columns: minmax(0, 1fr) minmax(120px, 170px); gap: 14px; min-width: 0; margin: 0; color: #263f48; font-size: 14px; overflow-wrap: anywhere; }
.branch-price-row input { text-align: left; font-variant-numeric: tabular-nums; }
.branch-member { gap: 12px 16px; min-height: 64px; padding: 14px 0; }
.branch-member strong { min-width: 160px; color: #263f48; font-size: 14px; overflow-wrap: anywhere; }
.branch-member label { gap: 8px; margin: 0; color: #526f79; font-size: 13px; }
.branch-member input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: #008a94; }
.branch-member button { margin-inline-start: auto; margin-right: 0; }
.branch-detail { padding-top: 22px; }
.branch-detail-actions button { min-height: 44px; border-color: #c8e0e1; border-radius: 9px; font-size: 13px; font-weight: 700; }
.branch-detail-actions button[aria-pressed=true] { background: #008a94; border-color: #008a94; }
.branch-detail-message, .branch-detail-note { font-size: 13px; line-height: 1.7; }
.branch-detail-metrics span { font-size: 13px; }
@media (max-width: 760px) {
  #branch-report-section, #branch-management-section { padding: 18px; }
  .branch-report-filters { padding: 14px; }
  .branch-report-filters label { flex: 1 1 140px; }
  .branch-report-filters button { flex: 1 1 100%; }
  .branch-report-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-report-metric { min-height: 78px; padding: 13px; }
  .branch-report-metric strong { font-size: 16px; }
  .branch-create { padding: 14px; }
  .branch-create label { flex-basis: 100%; }
  .branch-create button { width: 100%; }
  .branch-price-row label { grid-template-columns: 1fr; gap: 6px; }
  .branch-price-row button { flex: 0 0 auto; }
  .branch-member strong { width: 100%; }
  .branch-member button { width: 100%; margin: 0; }
  .branch-detail-head { align-items: flex-start; }
  .branch-detail-actions { width: 100%; }
  .branch-detail-actions button { flex: 1 1 auto; }
}
@media (min-width: 761px) {
  .branch-report-totals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .branch-price-row label { flex: 0 1 500px; }
}
