/* Escala compacta para utilização diária no backoffice. */
body.backoffice{font-size:14px;color:#1c344a}
body.backoffice .container{max-width:1480px}
body.backoffice main.container{padding-top:1.35rem!important;padding-bottom:1.5rem!important}
body.backoffice .team-nav{padding:.45rem 0;border-top:2px solid #0756a3;box-shadow:0 2px 12px #173a5e08}
body.backoffice .team-home{font-size:.95rem;gap:.45rem}
body.backoffice .team-home img{width:25px;height:25px}
body.backoffice .team-links{gap:.85rem}
body.backoffice .team-links>a{font-size:.84rem;font-weight:750}
body.backoffice .nav-primary{padding:.46rem .72rem;border-radius:8px}
body.backoffice .user-trigger{padding:.35rem .5rem;gap:.45rem;border-radius:10px}
body.backoffice .nav-avatar{width:32px;height:32px}
body.backoffice .user-trigger-copy strong{font-size:.78rem}
body.backoffice .user-trigger-copy small{font-size:.67rem}
body.backoffice h1,.client-list-head h1,.customer-head h1,.detail-head h1,.ops-head h1,.calendar-head h1,.iw-head h1{font-size:clamp(2rem,3vw,2.55rem);line-height:1.05}
body.backoffice h2{font-size:1.25rem}
body.backoffice .eyebrow{font-size:.66rem;letter-spacing:.14em}
body.backoffice .btn{font-size:.82rem;padding:.48rem .72rem;border-radius:8px}
body.backoffice .btn-lg{font-size:.9rem;padding:.58rem .85rem}
body.backoffice .form-control,body.backoffice select,body.backoffice textarea{font-size:.86rem}
body.backoffice .client-list-head,body.backoffice .customer-head,body.backoffice .detail-head,body.backoffice .calendar-head,body.backoffice .ops-head{margin:.55rem 0 1rem}
body.backoffice .client-list-head p,body.backoffice .customer-head p,body.backoffice .detail-head p,body.backoffice .calendar-head p,body.backoffice .ops-head p,body.backoffice .iw-head p{font-size:.88rem;margin:.3rem 0}
body.backoffice .client-search{padding:.7rem}
body.backoffice .client-search input{height:38px}
body.backoffice .client-table>header,body.backoffice .client-table>a{padding:.65rem .9rem}
body.backoffice .client-table>header{font-size:.65rem}
body.backoffice .client-table>a strong{font-size:.88rem}
body.backoffice .client-table>a small{font-size:.75rem}
body.backoffice .client-table>a>span:nth-child(3) b{font-size:.84rem}
body.backoffice .ops-metrics{gap:.65rem;margin-bottom:.9rem}
body.backoffice .ops-metrics>div{padding:.8rem;border-radius:12px}
body.backoffice .ops-metrics strong{font-size:1.45rem}
body.backoffice .ops-panel{padding:1rem}
body.backoffice .agenda-row{padding:.72rem 0;grid-template-columns:55px minmax(170px,1fr) auto auto auto}
body.backoffice .agenda-row time{font-size:1rem}
body.backoffice .calendar-toolbar,body.backoffice .calendar-filters{padding:.7rem}
body.backoffice .calendar-filters{gap:.65rem}
body.backoffice .calendar-filters select{min-width:170px;font-size:.78rem;padding:.45rem}
body.backoffice .space-row{min-height:125px}
body.backoffice .space-row>header{padding:.75rem}
body.backoffice .calendar-event{padding:.5rem}
body.backoffice .calendar-event.event-cancelado,body.backoffice .calendar-event.event-nao_compareceu{padding:.35rem .45rem;border:1px dashed #cf9b9b;border-left:3px solid #b44949;background:#faf3f3;opacity:.62}
body.backoffice .calendar-event.event-cancelado span,body.backoffice .calendar-event.event-cancelado small,body.backoffice .calendar-event.event-nao_compareceu span,body.backoffice .calendar-event.event-nao_compareceu small{display:none}
body.backoffice .calendar-event.event-cancelado:after{content:"Cancelada · horário libertado";font-size:.62rem;color:#934949;font-weight:800}
body.backoffice .calendar-event.event-nao_compareceu:after{content:"Não compareceu · horário libertado";font-size:.62rem;color:#934949;font-weight:800}
body.backoffice .internal-wizard{padding:1.15rem}
body.backoffice .iw-stepper{margin-bottom:1.6rem}
body.backoffice .service-card{min-height:75px;padding:.75rem}
body.backoffice .booking-recap{padding:1rem}
body.backoffice .customer-panel,body.backoffice .detail-card,body.backoffice .detail-form{padding:1rem}
body.backoffice :is(.customer-head>div,.detail-head>div,.os-head>div,.iw-head,.password-page)>a:first-child{display:flex!important;width:max-content;align-items:center;margin:0 0 .7rem!important;padding:0!important;border:0!important;background:transparent!important;color:#5f778b!important;text-decoration:none!important;font-size:.75rem!important;font-weight:750!important;line-height:1.2}
body.backoffice :is(.customer-head>div,.detail-head>div,.os-head>div,.iw-head,.password-page)>a:first-child:hover{color:#0756a3!important;transform:translateX(-2px)}
body.backoffice :is(.customer-head>div,.detail-head>div,.os-head>div,.iw-head,.password-page)>a:first-child:focus-visible{outline:2px solid #8eb9da;outline-offset:4px;border-radius:2px}
body.backoffice .history-panel>a{grid-template-columns:82px minmax(0,1fr) auto;gap:.8rem}
body.backoffice .history-panel time{padding-right:.65rem;border-right:1px solid #e2eaf0}
body.backoffice .history-panel a>span strong{font-size:.82rem;line-height:1.25}
body.backoffice .site-footer{font-size:.72rem;padding:.8rem 0}
body.backoffice .status-confirmado{background:#e2f0ff!important;color:#125da4!important}
body.backoffice .status-em_curso{background:#eee8ff!important;color:#6544ae!important}
body.backoffice .status-concluido{background:#ddf6e8!important;color:#167349!important}
@media(max-width:1050px){body.backoffice .team-links{gap:.5rem}body.backoffice .team-links>a{font-size:.76rem}body.backoffice .user-trigger-copy{display:none}}
@media(max-width:1024px){body.backoffice .ops-head{align-items:flex-start}body.backoffice .ops-head h1{font-size:1.8rem;line-height:1.05}body.backoffice .ops-head>.btn{display:none}body.backoffice .ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.backoffice .ops-metrics>div:last-child{grid-column:1/-1}body.backoffice .search-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto}body.backoffice .ops-panel{padding:.9rem}}
@media(max-width:480px){body.backoffice .product-brand-copy{display:none}body.backoffice .product-brand img{width:112px}body.backoffice .agenda-row{grid-template-columns:54px minmax(0,1fr) 34px;gap:.45rem}body.backoffice .agenda-row .origin{display:none}body.backoffice .agenda-row .dashboard-state{grid-column:2}body.backoffice .agenda-row .row-open{grid-column:3;grid-row:1/3}body.backoffice .service-legend{display:none}}
