/* Rodada 1: ajustes incrementais sobre a identidade aprovada. */
.welcome.welcome-compact{padding:12px 18px;margin-bottom:18px;gap:15px;border-radius:10px;min-height:44px}
.welcome-compact>span{font-size:15px;font-family:Georgia,serif}
.welcome-compact>small{font-size:10px;letter-spacing:.3px;color:#718695}
.heading-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.heading-actions .primary{font-size:12px}
.metrics-help,.filter-help{font-size:11px;line-height:1.6;color:#748895}
.metrics-help{margin-top:-10px;margin-bottom:20px}
.filter-help{margin:12px 0}
.metric small{display:block;min-height:30px}
.metric strong{margin-top:7px}
.activity-list article{border-top:1px solid #edf2f5;padding:15px 0}
.activity-list article strong{font-size:12px;font-weight:600}
.activity-list article p{font-size:11px;color:#7d8e9b;margin:6px 0;line-height:1.6}
.activity-list article small{font-size:10px}
.day-navigation{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.day-buttons{display:flex;gap:8px;flex-wrap:wrap}
.day-buttons button{font-size:12px}
.day-buttons .active{background:#e7f3fa;border-color:#b7d4e5;font-weight:600}
.day-navigation label,.period-filters label{font-size:11px;color:#6c8090;display:flex;flex-direction:column;gap:7px}
.day-navigation input{width:auto}
.date-heading{font-size:13px;font-weight:600;padding-bottom:15px;border-bottom:1px solid #edf2f5}
.period-filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:16px;background:#f7fafc;border-radius:10px;margin:16px 0}
.period-filters label{flex:1;min-width:135px;max-width:240px}
.period-filters input,.period-filters select{font-size:12px;width:100%;min-width:0}
.filter-error{font-size:12px;color:#956b42;line-height:1.6}
.service-value{display:flex;flex-direction:column;gap:5px}
.service-value small,.financial-value>small{font-size:9px;color:#8b9ba6;font-weight:400}
.financial-record .financial-value{display:flex;align-items:flex-start;flex-direction:column;gap:5px;grid-column:auto}
.financial-value>small{display:none}
.payment-date{display:block;font-size:9px;margin-top:6px}
.client-operation{border-top:1px solid #eaf0f4;padding-top:13px;width:100%;line-height:1.5;color:#5e7b8d}
.client-card{height:100%}
.drawer-tabs{display:flex;overflow:auto;border-bottom:1px solid #dde8ee;gap:2px;padding:5px 0 12px;margin-top:10px}
.drawer-tabs button{border:0;flex:1;padding:10px 7px;font-size:12px;white-space:nowrap;background:none}
.drawer-tabs button.active{background:#e9f3fa;color:#275c7f;font-weight:600}
.drawer .selected-appointment{padding-bottom:18px}
.quick-actions,.modal-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:17px}
.modal-actions{justify-content:flex-end}
.modal-actions button{flex:1}
.client-summary{margin:0 0 20px;display:grid;gap:6px}
.client-summary dt{font-size:11px;color:#7a8e9b;margin-top:10px}
.client-summary dd{font-size:13px;line-height:1.5;margin:0;color:#27455d;overflow-wrap:anywhere}
.whatsapp-placeholder:disabled{color:#8495a0;background:#f3f6f8;border-color:#e6edf1;cursor:default;font-size:12px}
.history-item{padding:16px 0;border-top:1px solid #ecf1f4;font-size:12px}
.history-item p{line-height:1.7;margin-bottom:8px}
.timeline .note{border-left:2px solid #b9d4e5;text-align:left}
.note header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.note header strong{font-size:12px}
.note p{font-size:13px;line-height:1.7}
.note small{line-height:1.7}
.note button{display:block;margin-top:12px;font-size:11px;min-height:36px}
.drawer .note header{flex-direction:column;gap:6px}
.modal{width:490px}
.modal h2{margin:0;line-height:1.4}
.modal form>label{font-size:12px;display:block;margin:15px 0 8px}
.modal form>input,.modal form>select,.modal form>textarea{margin-bottom:4px}
.modal>p{line-height:1.7;font-size:13px}
.overlay-open{overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){.financial-record .financial-value{grid-column:auto}.page-heading{gap:15px}.heading-actions{flex-direction:column;align-items:flex-end}.heading-actions .date-chip{font-size:11px}}
@media(max-width:700px){
  .page-heading{align-items:flex-start;flex-wrap:wrap;gap:6px}
  .heading-actions{width:100%;align-items:flex-start;margin-bottom:12px}
  .heading-actions .primary{min-height:44px;padding:12px 16px}
  .welcome.welcome-compact{padding:11px 14px;flex-wrap:wrap;gap:6px}
  .welcome-compact>small{display:none}
  .day-navigation{align-items:stretch;gap:14px}
  .day-buttons{width:100%;gap:6px;flex-wrap:nowrap}
  .day-buttons button{padding:10px 8px;font-size:11px;flex:1;min-height:44px}
  .day-navigation label{width:100%}
  .day-navigation input{width:100%}
  .period-filters{padding:12px;gap:12px}
  .period-filters label{max-width:none;min-width:0;flex-basis:100%}
  .period-filters input,.period-filters select{font-size:16px}
  .financial-value>small{display:block}
  .financial-record .person{min-width:0}
  .financial-record .financial-value{align-items:flex-end}
  .financial-record>div:last-child{grid-column:1/-1}
  .drawer{padding:22px}
  .drawer-tabs button{font-size:11px;min-height:44px}
  .modal-actions{flex-direction:column-reverse;align-items:stretch}
  .modal-actions button{width:100%;min-height:44px}
  .note header{flex-direction:column;gap:5px}
  .metric small{font-size:11px;min-height:32px}
  .metric strong{font-size:23px}
  .metric span{line-height:1.6;display:block}
  input,select,textarea{font-size:16px}
  button{min-height:44px}
}
.operational-dashboard .dashboard-metric-pending strong{color:#6c8090;font-weight:500}
.operational-dashboard .dashboard-metric-pending small{line-height:1.5}
.operational-dashboard .dashboard-appointment .time strong{display:block;color:var(--navy);font-size:19px;font-variant-numeric:tabular-nums}
.operational-dashboard .dashboard-appointment .time small{font-size:11px;font-weight:400}
.operational-dashboard .dashboard-appointment .person{min-width:0;flex:1;text-align:left}
.operational-dashboard .dashboard-appointment .person strong{display:block;line-height:1.4}
.operational-dashboard .dashboard-appointment .person small{display:block;line-height:1.5;white-space:normal}
.operational-dashboard .dashboard-status-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
.operational-dashboard .dashboard-status-card{border:1px solid #e1eaf0;border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;background:#f4f8fb}
.operational-dashboard .dashboard-status-card>strong{font-size:22px;color:var(--navy);font-variant-numeric:tabular-nums}
.operational-dashboard .dashboard-timeline>article{position:relative;border-left:2px solid #e1eaf0;padding:0 0 18px 16px;margin:0 0 0 4px}
.operational-dashboard .dashboard-timeline>article::before{content:"";position:absolute;left:-5px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--gold)}
.operational-dashboard .dashboard-timeline>article:last-child{padding-bottom:0}
.operational-dashboard .dashboard-timeline time{display:block;font-size:11px;color:#6c8090;margin-bottom:6px;font-variant-numeric:tabular-nums}
.operational-dashboard .dashboard-timeline>article>strong{display:block;line-height:1.4;color:var(--navy)}
.operational-dashboard .dashboard-timeline p{margin:5px 0;line-height:1.5}
@media(max-width:700px){.operational-dashboard .dashboard-appointment{flex-wrap:wrap}.operational-dashboard .dashboard-appointment>.badge{margin-left:0}.operational-dashboard .dashboard-status-card{flex-wrap:wrap}.operational-dashboard .dashboard-status-card>strong{margin-left:auto}}
.filters .appointments-refresh{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.appointments-refresh-icon{display:inline-block;font-size:16px;line-height:1;vertical-align:baseline}
.appointment-refined .time>strong{display:block;font-size:18px;color:var(--navy);font-variant-numeric:tabular-nums}
.appointment-refined .time>.appointment-end{font-size:12px;white-space:nowrap;font-weight:400;margin-top:3px;font-variant-numeric:tabular-nums}
.appointment-refined .time>small:last-child{font-size:11px;font-weight:400}
/* Atendimentos: equal desktop control heights; keep existing widths and mobile rules. */
@media(min-width:701px){
 .filters:has(>#source-date) .br-date-control>input,
 .filters:has(>#source-date)>#search,
 .filters:has(>#source-date)>#filter{height:48px}
}
.client-card.client-refined{cursor:pointer;transition:background-color .15s ease}.client-card.client-refined:hover{background-color:#f7fafc}.client-card.client-refined>.avatar{width:54px;height:54px;font-size:22px}
