/* Doggy Parque — sistema visual compartilhado. Somente apresentação. */
:root {

  color-scheme:light;

  --brown:#4B2926;
   --gold:#D2AF59;
   --ink:#292525;
   --muted:#716966;

  --cream:#F6F5F3;
   --surface:#FFFFFF;
   --surface-soft:#FAF9F7;

  --soft:#EFEBE7;
   --line:#E8E4E0;
   --border:var(--line);

  --danger:#9D302B;
   --warning:#795B24;
   --success:#41614D;

  --shadow:0 2px 10px #29252504;
   --sidebar:230px;

  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;

  color:var(--ink);
   background:var(--cream);
   font-synthesis:none;

  -webkit-font-smoothing:antialiased;


}

*{
  box-sizing:border-box
}
body{
  margin:0;
  background:var(--cream);
  font-size:14px;
  line-height:1.5
}

button,input,select,textarea{
  font:inherit
}
button,a,input,select,textarea,summary{
  -webkit-tap-highlight-color:transparent
}

h1,h2,h3,h4{
  color:var(--ink);
  letter-spacing:-.025em;
  line-height:1.25
}

h1{
  margin:0
}
h2{
  font-size:26px;
  font-weight:700;
  margin:0 0 20px
}
h3{
  font-size:17px;
  font-weight:650;
  margin:20px 0 12px
}

p{
  overflow-wrap:anywhere
}
a{
  color:var(--brown);
  text-underline-offset:3px
}
svg{
  vertical-align:middle
}
.brand-icon{
  pointer-events:none
}

button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:10px 15px;
  border:1px solid transparent;
  border-radius:9px;
  background:var(--brown);
  color:white;
  font-size:13px;
  font-weight:600;
  line-height:1.25;
  cursor:pointer;
  transition:background .14s,box-shadow .14s
}

button:hover:not(:disabled){
  background:#603B37
}
button:active:not(:disabled){
  filter:brightness(.96)
}

button.secondary{
  background:var(--soft);
  color:var(--brown);
  border-color:transparent
}
button.secondary:hover:not(:disabled){
  background:#E5DFDA
}

button.danger{
  background:var(--danger);
  color:#fff
}
button:disabled{
  opacity:.42;
  cursor:not-allowed;
  box-shadow:none
}

button svg{
  width:17px;
  height:17px;
  flex-shrink:0
}

:where(button,a,summary):focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px
}

input,select,textarea{
  width:100%;
  min-width:0;
  min-height:42px;
  padding:10px 12px;
  border:1px solid #D9D3CE;
  border-radius:9px;
  background:var(--surface);
  color:var(--ink);
  font-size:14px
}

input::placeholder,textarea::placeholder{
  color:#8B817B
}
textarea{
  min-height:80px;
  resize:vertical
}

input:focus,select:focus,textarea:focus{
  outline:3px solid #D2AF5938;
  outline-offset:1px;
  border-color:#9B7D66
}

input[type=checkbox],input[type=radio]{
  width:auto;
  min-height:0;
  accent-color:var(--brown)
}
input[type=file]{
  padding:8px;
  font-size:12px;
  max-width:100%
}

input::file-selector-button{
  border:0;
  border-radius:5px;
  background:var(--soft);
  color:var(--brown);
  padding:6px 9px;
  margin-right:10px;
  font:inherit
}

label{
  display:block;
  font-size:12px;
  font-weight:600;
  color:#5B514D;
  margin-bottom:6px
}
form{
  display:grid;
  gap:16px
}
fieldset{
  min-width:0
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:16px
}
.actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px
}

.panel{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  margin:0 0 20px;
  box-shadow:var(--shadow)
}

.item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  padding:16px 18px;
  margin:8px 0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface)
}

.dog-card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  margin:12px 0;
  background:var(--surface-soft)
}

.dog-row{
  margin-top:10px;
  padding-top:12px;
  border-top:1px solid var(--line)
}
.dog-row button{
  margin-top:8px
}

.muted,.summary-note,.loading{
  color:var(--muted);
  font-size:12px
}
.status{
  font-weight:600;
  font-size:12px
}
.red,.error{
  color:var(--danger)
}
.orange{
  color:var(--warning)
}
.green{
  color:var(--success)
}
.hide{
  display:none!important
}

pre{
  white-space:pre-wrap
}
.audit-entry{
  overflow-wrap:anywhere
}
summary{
  cursor:pointer
}
details>summary{
  list-style-position:inside
}
small{
  font-size:12px
}

/* Navegação persistente: mesma estrutura e permissões. */
header{
  position:fixed;
  top:0;
  left:0;
  width:var(--sidebar);
  height:112px;
  padding:27px 20px;
  background:#F0EEEA;
  border-right:1px solid var(--line);
  display:flex;
  align-content:flex-start;
  flex-wrap:wrap;
  gap:8px;
  z-index:20
}

header h1{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--brown);
  font-size:17px;
  font-weight:700;
  white-space:nowrap
}

header h1 img{
  width:42px;
  height:42px;
  object-fit:contain
}
header>span{
  font-size:10px;
  color:var(--muted);
  padding-left:52px;
  margin-top:-9px
}

main{
  max-width:1600px;
  margin:0 auto 0 var(--sidebar);
  padding:36px 36px 64px
}

#nav{
  position:fixed;
  left:0;
  top:112px;
  bottom:174px;
  width:var(--sidebar);
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:5px;
  padding:6px 14px 16px;
  margin:0;
  background:#F0EEEA;
  border-right:1px solid var(--line);
  overflow:auto;
  z-index:15
}

#nav button{
  flex-shrink:0;
  justify-content:flex-start;
  gap:11px;
  min-height:42px;
  padding:11px 13px;
  background:transparent;
  color:#625651;
  font-size:13px;
  font-weight:500;
  border:0;
  box-shadow:none
}

#nav button svg{
  width:19px;
  height:19px
}
#nav button.active{
  background:#E2DAD4;
  color:var(--brown);
  font-weight:650
}
#nav button:hover:not(:disabled){
  background:#E7E1DC;
  color:var(--brown)
}

#sessionBar{
  position:fixed;
  bottom:0;
  left:0;
  width:var(--sidebar);
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:16px 20px;
  background:#F0EEEA;
  border-right:1px solid var(--line);
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
  z-index:21
}

#sessionBar button{
  justify-content:flex-start;
  min-height:34px;
  background:#E5DFDA;
  font-size:12px
}

#serverVersion{
  position:fixed;
  left:20px;
  bottom:131px;
  width:190px;
  margin:0!important;
  color:var(--muted);
  font-size:9px;
  line-height:1.5;
  z-index:22
}

.secondary-navigation{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid #DED7D1;
  width:100%
}
.secondary-navigation summary{
  padding:10px 12px;
  color:var(--muted);
  font-size:12px;
  font-weight:600
}
.secondary-nav-items{
  display:flex;
  flex-direction:column;
  gap:4px
}
.secondary-nav-items button{
  width:100%
}

#nav [data-tab="perfil"],#nav [data-tab="tutorPerfil"]{
  display:none!important
}

.brand-eyebrow{
  font-size:10px;
  font-weight:650;
  letter-spacing:.13em;
  color:#80672E;
  text-transform:uppercase;
  margin:0 0 8px
}

.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px
}
.section-heading h2{
  margin:0
}
.quick-open{
  white-space:nowrap
}

/* Botões segmentados, indicadores e tabelas comuns a todos os módulos. */
.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:12px;
  margin:16px 0
}

.stats span{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:15px 20px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--surface);
  color:var(--muted);
  font-size:12px;
  font-weight:500
}

.stats span strong{
  color:var(--brown);
  font-size:30px;
  font-weight:650;
  line-height:1;
  letter-spacing:-.04em
}

:where(.dog-tabs,.dog-view-toggle,[aria-label="Filtrar agenda"],[aria-label="Filtrar tutores"],.registry-controls .actions){
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  padding:4px;
  background:var(--soft);
  border-radius:10px;
  width:max-content;
  max-width:100%;
  margin:16px 0
}

:where(.dog-tabs,.dog-view-toggle,[aria-label="Filtrar agenda"],[aria-label="Filtrar tutores"],.registry-controls .actions) button{
  background:transparent;
  color:var(--muted);
  border:0;
  box-shadow:none;
  min-height:34px;
  padding:8px 14px;
  font-size:12px
}

:where(.dog-tabs,.dog-view-toggle,[aria-label="Filtrar agenda"],[aria-label="Filtrar tutores"],.registry-controls .actions) button:is(.active,[aria-pressed=true],[aria-selected=true]){
  background:var(--surface);
  color:var(--brown);
  box-shadow:0 1px 4px #29252510
}

table{
  width:100%;
  border-collapse:collapse;
  text-align:left
}
th,td{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  font-size:13px;
  vertical-align:top
}
th{
  font-size:11px;
  font-weight:600;
  color:var(--muted);
  background:var(--surface-soft)
}
tbody tr:hover{
  background:var(--surface-soft)
}
tr:last-child td{
  border-bottom:0
}
.table-wrap{
  overflow-x:auto;
  max-width:100%;
  border:1px solid var(--line);
  border-radius:10px
}

/* Agenda operacional: ações primárias diretas, sem aumentar os cartões. */
#agenda>.panel:first-child{
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none
}
#agendaTitle{
  font-size:32px;
  letter-spacing:-.04em;
  margin-bottom:6px
}
#agendaDayLabel{
  color:var(--muted);
  font-size:15px;
  margin:0 0 22px
}

.agenda-datebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:18px;
  border-bottom:1px solid var(--line);
  padding-bottom:16px
}
.agenda-datebar #agendaDayLabel{
  margin:0
}
.agenda-navigation{
  display:flex;
  justify-content:flex-end;
  align-items:end;
  gap:6px;
  padding:0;
  border:0;
  margin:0
}
.agenda-navigation>div{
  min-width:170px
}
.agenda-navigation button{
  background:white;
  color:var(--brown);
  border:1px solid var(--line);
  font-size:12px;
  min-height:38px
}
.agenda-navigation input{
  min-height:38px;
  font-size:12px
}

#agendaStats{
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:0 0 18px
}
#agendaStats.single-stat{
  grid-template-columns:minmax(0,1fr)
}
#agendaStats>span{
  min-width:0
}
#agendaStats strong{
  flex-shrink:0
}

#agendaList{
  overflow-anchor:none;
  margin-top:16px
}
#agendaList>.item{
  flex-wrap:nowrap;
  min-height:90px;
  padding:14px 16px;
  gap:18px;
  box-shadow:var(--shadow)
}

#agendaList .agenda-dog-name{
  font-size:16px;
  font-weight:650;
  color:var(--brown)
}
#agendaList .agenda-dog-text>.muted{
  font-size:12px
}
#agendaList .status{
  min-height:18px;
  font-size:11px;
  margin:5px 0
}

#agendaList .actions{
  min-width:0;
  max-width:450px;
  flex-shrink:0;
  justify-content:flex-end;
  min-height:38px;
  gap:6px
}
#agendaList .actions button{
  min-height:36px;
  font-size:12px;
  padding:8px 11px
}

#agendaList [data-act="checkin"],#agendaList [data-act="checkout"]{
  background:var(--brown);
  color:white
}
#agendaList [data-act="absent"]{
  background:var(--soft);
  color:var(--brown)
}
#agendaList [data-daily-dog]{
  background:var(--surface-soft);
  border:1px solid var(--line);
  color:var(--brown)
}

.agenda-more{
  font-size:12px;
  color:var(--muted)
}
.agenda-more>summary{
  padding:8px 10px;
  min-height:36px;
  border-radius:8px;
  background:var(--surface-soft);
  border:1px solid var(--line)
}
.agenda-more-content{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:8px 0 0 auto;
  max-width:350px
}
.agenda-more[open]{
  flex-basis:100%;
  text-align:right
}

.agenda-help{
  font-size:11px;
  color:var(--muted);
  margin:12px 0
}
.agenda-help p{
  line-height:1.6;
  margin:8px 0
}
.agenda-add-dog{
  margin-bottom:0
}
.agenda-heading-actions{
  justify-content:flex-end
}

.bulk-area{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  padding:12px 14px;
  background:#EFEBE7;
  border-radius:10px;
  margin-bottom:16px
}
.bulk-area>p.muted{
  margin:0;
  flex:1;
  min-width:180px;
  font-size:11px
}
.bulk-area #checkoutBatchResult{
  flex-basis:100%;
  margin:0;
  min-height:0
}
#checkoutBatchResult:empty{
  display:none
}
#checkoutAll{
  font-size:12px;
  min-height:36px;
  background:var(--surface);
  color:var(--brown);
  border:1px solid #D7CCC4
}
.bulk-warning{
  background:#FBF3E0;
  color:var(--warning);
  border:1px solid #E8D7AC;
  padding:14px;
  border-radius:10px
}
.daily-care-marker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:15px;
  height:15px;
  border-radius:50%;
  background:var(--soft);
  color:#715A29;
  font-size:10px;
  margin-left:4px
}

.pending-exits{
  background:#FBF4E7;
  border:1px solid #EADABE;
  color:#754D27;
  border-radius:12px;
  padding:14px 18px;
  margin:0 0 20px
}
.pending-exits summary{
  padding-top:8px
}
.pending-exit-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-top:1px solid #EADABE;
  padding:10px 0
}
.pending-exit-row button{
  white-space:nowrap
}

#tutores>.panel:has(#registry){background:transparent;border:0;box-shadow:none;padding:0}
#tutores>.panel:has(#registry)>h2{display:none}
#registryStats,#ownerStats{gap:8px;margin:12px 0}
#registryStats>span,#ownerStats>span{flex-direction:row;align-items:center;gap:9px;padding:12px 14px;font-size:11px}
#registryStats strong,#ownerStats strong{font-size:23px}
.registry-controls>.muted,#registryShown{font-size:12px;margin:10px 0}
.registry-controls .dog-view-toggle{margin:12px 0}
/* Saúde, frequência, históricos e formulários. */
.vaccine-badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:6px;
  font-size:11px;
  font-weight:600
}
.vaccine-badge.valid{
  background:#EDF3EE;
  color:var(--success)
}
.vaccine-badge.previous{
  background:var(--soft);
  color:var(--muted)
}
.vaccine-badge.due_soon{
  background:#FBF1D8;
  color:var(--warning)
}
.vaccine-badge.expired{
  background:#FAEAE7;
  color:var(--danger)
}

.dose{
  display:block
}
.dose-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap
}
.dose p{
  margin:8px 0
}
.proof-upload{
  font-weight:400
}

.calendar{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:5px
}
.calendar .head{
  font-size:11px;
  font-weight:600;
  text-align:center;
  padding:6px;
  color:var(--muted)
}
.day{
  display:block;
  width:100%;
  min-height:76px;
  padding:7px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  color:var(--ink);
  font-size:12px;
  text-align:left;
  overflow-wrap:anywhere
}
.day strong,.day .dot,.day .time{
  display:block
}
.day .dot,.day .time{
  font-size:10px
}
.day .time{
  color:var(--muted)
}
.day.present,.legend .present{
  background:#EDF3EE
}
.day.absent_with_credit,.legend .absent_with_credit{
  background:#FBF2DE
}
.day.absent_without_credit,.legend .absent_without_credit{
  background:#FAEAE7
}
.day.makeup,.legend .makeup{
  background:#EEEAF3
}
.legend{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:11px;
  margin:12px 0
}
.legend span{
  padding:4px 8px;
  border-radius:5px
}
.frequency-table{
  min-width:540px
}

.profile-data{
  margin:0;
  gap:16px
}
.profile-data>div{
  padding:12px 0;
  border-bottom:1px solid var(--line)
}
.profile-data dt{
  color:var(--muted);
  font-size:12px
}
.profile-data dd{
  margin:5px 0 0;
  font-size:14px;
  overflow-wrap:anywhere
}
.weekdays{
  display:flex;
  flex-wrap:wrap;
  gap:12px
}
.weekdays label{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px
}
.weekdays input{
  width:16px;
  height:16px
}
.inline-choice{
  display:flex;
  align-items:center;
  gap:9px
}
.inline-choice input{
  width:auto
}

.daily-care-values{
  display:grid;
  gap:9px
}
.daily-care-values dt{
  font-weight:600
}
.daily-care-values dd{
  margin:3px 0 0;
  white-space:pre-wrap
}
.daily-history-day{
  padding:12px 0;
  border-bottom:1px solid var(--line)
}

.audit-entry{display:block;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;margin:0;padding:14px 0}.audit-entry:last-child{border-bottom:0}.audit-entry details{margin-top:6px;font-size:12px}
/* Estados interativos preservam o contraste dos controles sem preenchimento. */
.day:hover:not(:disabled),.profile-child:hover:not(:disabled){background:var(--soft);color:var(--ink)}
button.profile-text-link:hover:not(:disabled){background:transparent;color:var(--brown);text-decoration:underline}
.dog-tabs button:hover:not(:disabled),.dog-view-toggle button:hover:not(:disabled),[aria-label="Filtrar agenda"] button:hover:not(:disabled),[aria-label="Filtrar tutores"] button:hover:not(:disabled),.registry-controls .actions button:hover:not(:disabled){background:#E5DFDA;color:var(--brown)}
/* Diálogos compartilhados: tratamento idêntico em todos os módulos. */
dialog{
  border:1px solid #E4DDD7;
  border-radius:16px;
  max-width:510px;
  width:calc(100% - 32px);
  max-height:88dvh;
  overflow:auto;
  padding:26px;
  color:var(--ink);
  background:var(--surface);
  box-shadow:0 24px 90px #29252530
}
dialog::backdrop{
  background:#241B1959;
  backdrop-filter:blur(4px)
}
dialog.wide{
  max-width:680px
}
dialog h2{
  font-size:23px
}
dialog .actions{
  margin-top:16px
}
#bookingDialog label{
  margin-top:12px
}
#bookingHelp{
  line-height:1.6
}

#resolveExitDialog{
  width:min(420px,calc(100% - 28px));
  padding:24px
}
#resolveExitDog{
  font-weight:600
}
#exitTimeOption summary{
  color:var(--brown);
  padding:8px 0;
  font-weight:600
}
#exitTimeOption label{
  margin-top:10px
}
#exitError,#dailyCareError{
  color:var(--danger)
}
#exitError:empty,#dailyCareError:empty{
  display:none
}

#msg{
  display:none;
  position:fixed;
  top:18px;
  right:22px;
  left:auto;
  max-width:calc(100% - 40px);
  padding:14px 18px;
  border:1px solid #E7D7B0;
  border-radius:12px;
  background:#FFFAED;
  color:#6C5129;
  box-shadow:0 8px 30px #29252516;
  z-index:100;
  font-size:13px
}

/* Login usa os mesmos tokens, sem fontes ou recursos externos. */
#login{
  width:100%;
  max-width:420px;
  padding:36px;
  border-radius:20px;
  box-shadow:0 12px 48px #29252509;
  margin:0
}
#login h2{
  text-align:center;
  font-size:27px;
  margin:18px 0 10px
}
#login>p{
  text-align:center;
  font-size:12px;
  line-height:1.7
}
.login-symbol{
  display:block;
  width:76px;
  height:76px;
  object-fit:contain;
  margin:auto
}
#loginForm{
  margin-top:24px;
  gap:10px
}
#loginForm label{
  margin-top:4px
}
#loginForm button{
  margin-top:12px;
  min-height:44px
}
.login-footnote{
  margin-top:24px;
  font-size:11px!important;
  color:var(--muted)
}

body:has(#app.hide) main{
  margin:0;
  max-width:none;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:90px 24px 50px
}
body:has(#app.hide) header{
  position:absolute;
  border:0;
  background:none;
  width:auto;
  height:auto;
  padding:24px 30px
}
body:has(#app.hide) header>span{
  display:none
}
body:has(#app.hide) #serverVersion{
  position:fixed;
  left:0;
  bottom:10px;
  width:100%;
  text-align:center;
  font-size:9px
}

.registry-controls{
  background:none;
  border:0;
  box-shadow:none;
  padding:0
}
#registrySearch{
  max-width:540px
}
.owner-list-row{
  align-items:center
}
#ownerStats,#registryStats{
  margin:16px 0
}
.quick-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.quick-owner-results{
  display:grid;
  gap:8px;
  max-height:260px;
  overflow:auto;
  margin:12px 0
}
.quick-owner-results button{
  text-align:left;
  display:grid;
  gap:4px
}
.quick-owner-results [aria-pressed=true]{
  outline:2px solid var(--gold)
}
#quickRegistration{
  width:min(600px,calc(100% - 28px));
  max-width:calc(100% - 28px)
}
#quickError{
  color:var(--danger)
}
#quickStepLabel{
  color:var(--muted)
}


/* Fichas, fotografias, reposições, importações e manejo: layouts existentes. */
#registry.dog-photo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:18px;
  padding:8px 0
}
.dog-photo-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 5px 20px #49342108;
  transition:box-shadow .18s,transform .18s
}
.dog-photo-card:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px #49342118
}
.dog-photo-card:focus-visible{
  outline:3px solid #ad8c48;
  outline-offset:3px
}
.dog-photo-frame{
  height:220px;
  background:var(--soft);
  overflow:hidden
}
.dog-photo-frame>img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.dog-photo-placeholder{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  color:var(--muted);
  font-size:12px
}
.dog-photo-placeholder svg{
  width:86px;
  height:86px;
  stroke:var(--gold);
  fill:none;
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round
}
.dog-photo-body{
  padding:20px
}
.dog-card-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.dog-card-heading h3{
  margin:0!important;
  font-size:20px!important;
  line-height:1.3;
  overflow-wrap:anywhere
}
.dog-card-tutor{
  margin:7px 0 14px;
  color:var(--muted)
}
.dog-card-breed{
  font-size:13px;
  color:var(--muted);
  min-height:20px
}
.dog-card-plan{
  font-size:13px;
  font-weight:700;
  color:var(--muted);
  padding:10px 0 18px
}
.dog-photo-body>button{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center
}
.dog-photo-editor{
  padding:18px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin:18px 0
}
.dog-photo-editor h3{
  margin:0
}
#dogPhotoPreview img{
  width:220px;
  height:220px;
  object-fit:cover;
  border-radius:16px;
  margin:12px 0
}
.dog-photo-editor input[type=file]{
  max-width:100%
}

@media(min-width:1400px){
  #registry.dog-photo-grid{
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))
}

}
@media(max-width:600px){
  #registry.dog-photo-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.dog-photo-frame{
  height:165px
}
.dog-photo-body{
  padding:12px
}
.dog-card-heading{
  flex-wrap:wrap
}
.dog-card-heading h3{
  font-size:18px!important
}
.dog-card-tutor{
  font-size:13px
}
.dog-photo-body>button{
  font-size:12px;
  padding:10px 6px
}

}
@media(max-width:360px){
  #registry.dog-photo-grid{
  grid-template-columns:1fr
}

}

#agendaList .agenda-dog-summary{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0
}
#agendaList .agenda-dog-text{
  min-width:0;
  overflow-wrap:anywhere
}
#agendaList .agenda-photo-link{
  width:56px;
  height:56px;
  min-width:56px;
  flex:0 0 56px;
  border-radius:13px;
  padding:0;
  border:1px solid var(--line);
  background:var(--soft);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer
}
#agendaList .agenda-photo-link img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
#agendaList .agenda-photo-link svg{
  width:40px;
  height:40px;
  fill:none;
  stroke:var(--gold);
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round
}
#agendaList .agenda-name-link{
  display:inline;
  padding:0;
  border:0;
  border-radius:3px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:inherit;
  text-align:left;
  box-shadow:none
}
#agendaList .agenda-name-link:hover{
  text-decoration:underline;
  text-underline-offset:3px
}
#agendaList .agenda-dog-text>.muted{
  font-size:.85rem
}
#agendaList .agenda-photo-link:hover{
  border-color:var(--gold)
}
#agendaList .agenda-name-link .brand-icon,#agendaList .agenda-photo-link .brand-icon{
  display:none
}
@media(max-width:600px){
  #agendaList .agenda-dog-summary{
  gap:10px
}
#agendaList .agenda-photo-link{
  width:48px;
  height:48px;
  min-width:48px;
  flex-basis:48px
}
#agendaList .agenda-photo-link svg{
  width:35px;
  height:35px
}

}

.agenda-add-dog{
  margin-bottom:18px
}
#bookingDialog label{
  margin-top:12px
}
#bookingHelp{
  line-height:1.6
}
#agendamentos .dog-card p{
  overflow-wrap:anywhere
}

.reposicoes-controls .actions{
  align-items:end
}
.reposicoes-controls label{
  min-width:220px
}
.reposicoes-table{
  width:100%;
  border-collapse:collapse
}
.reposicoes-table th,.reposicoes-table td{
  padding:12px 14px;
  text-align:left;
  border-bottom:1px solid var(--line)
}
.reposicoes-table th{
  font-size:11px;
  color:var(--muted);
  font-weight:600
}
.reposicoes-table tbody tr{
  cursor:pointer
}
.reposicoes-table tbody tr:hover{
  background:var(--surface-soft)
}
.reposicoes-table tbody tr:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:-2px
}
.reposicoes-table .repo-number{
  font-size:19px;
  font-weight:650;
  color:var(--brown);
  text-align:center;
  width:100px
}
.repo-name{
  padding:0!important;
  min-height:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--brown)!important;
  font-weight:600;
  text-align:left
}
.repo-name:hover{
  text-decoration:underline
}
.reposicoes-profile{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  padding:14px 18px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  border-radius:12px;
  margin:16px 0
}
.reposicoes-profile span{
  color:var(--muted)
}
.reposicoes-dialog{
  max-width:820px!important
}
.reposicoes-details{
  width:100%;
  font-size:13px
}
.reposicoes-details th,.reposicoes-details td{
  padding:10px;
  text-align:left;
  border-bottom:1px solid var(--line)
}
.reposicoes-details small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:5px
}
.reposicoes-dialog #reposicoesDetailBody{
  max-height:55vh;
  overflow:auto
}
@media(max-width:600px){
  .reposicoes-table th,.reposicoes-table td{
  padding:10px 5px;
  overflow-wrap:anywhere;
  font-size:12px
}
.reposicoes-table .repo-number{
  width:65px;
  font-size:18px
}
.reposicoes-controls label{
  width:100%;
  min-width:0
}
.reposicoes-profile{
  padding:12px;
  gap:9px
}
.reposicoes-profile button{
  width:100%
}
.reposicoes-details{
  min-width:430px
}

}

.complement-files{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}
.complement-files label{
  min-width:0
}
.complement-files input{
  max-width:100%
}
.complement-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px
}
.complement-record{
  border-bottom:1px solid var(--line,var(--line));
  padding:14px 0
}
.complement-record summary{
  cursor:pointer;
  font-weight:600;
  line-height:1.6
}
.complement-record .reposicoes-detail-table{
  width:100%
}
.complement-record td{
  overflow-wrap:anywhere
}
.complement-record .error{
  color:#a13328
}
@media(max-width:640px){
  .complement-files{
  grid-template-columns:1fr
}
.complement-record .reposicoes-detail-table{
  min-width:0
}

}

#complementConfirmDialog label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.5
}
#complementConfirmDialog input[type="checkbox"]{
  width:auto;
  flex:0 0 auto;
  margin-top:5px
}

.full-profile{
  max-width:1250px;
  margin:auto
}
.full-profile-top{
  display:flex;
  align-items:center;
  gap:18px;
  margin:12px 0 24px;
  color:var(--muted)
}
.profile-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
  margin:20px 0
}
.profile-hero h2{
  font-size:clamp(28px,3vw,40px);
  margin:8px 0
}
.profile-photo{
  flex:0 0 220px
}
#dogCarePhoto img{
  width:220px!important;
  height:220px!important;
  object-fit:cover;
  border-radius:22px!important;
  margin:0!important
}
#dogCarePhoto .profile-symbol{
  object-fit:contain;
  padding:35px;
  background:var(--surface)
}
.profile-plan{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin:15px 0;
  font-weight:600
}
.profile-status{
  padding:6px 12px;
  border-radius:30px;
  background:#e8eee3;
  color:#43533a
}
.profile-status.inactive{
  background:#e7e0d8;
  color:#685e56
}
.profile-text-link{
  background:transparent;
  color:var(--brown);
  padding:0;
  border:0;
  text-decoration:underline;
  font-weight:700
}
.profile-section{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:16px;
  margin:16px 0;
  overflow:hidden
}
.profile-section>summary,.profile-section>h3{
  padding:20px;
  font-size:19px;
  font-weight:700;
  cursor:pointer;
  margin:0
}
.profile-section-body{
  padding:0 22px 22px
}
.profile-tab-panel{
  padding:0!important;
  margin:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important
}
.profile-tab-panel .dog-tabs{
  margin:12px 0
}
.full-profile .reposicoes-profile{
  margin-top:22px;
  background:white
}
.full-profile #dogPhotoEditor{
  margin:0;
  border:0;
  padding:20px
}
.profile-table{
  width:100%;
  border-collapse:collapse;
  text-align:left
}
.profile-table th,.profile-table td{
  padding:12px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  overflow-wrap:anywhere
}
.profile-tutor-dogs{
  padding:0 20px 20px;
  display:grid;
  gap:12px
}
.profile-child{
  width:100%;
  display:flex;
  align-items:center;
  gap:18px;
  text-align:left;
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  color:var(--brown)
}
.profile-child>span:nth-child(2){
  flex:1
}
.profile-child strong{
  font-size:22px
}
.profile-child img{
  width:86px;
  height:86px;
  object-fit:cover;
  border-radius:12px
}
.profile-child .profile-plan{
  font-size:14px;
  font-weight:500
}
.full-profile #dogCareRecords .dog-card{
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  padding:16px 0;
  box-shadow:none;
  background:transparent
}
.full-profile #dogCarePanel .actions{
  margin:14px 0
}
.full-profile .profile-data{
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.full-profile dd{
  overflow-wrap:anywhere
}
.profile-section .table-wrap{
  overflow-x:auto
}
.profile-section #dogCarePanel>details{
  margin:15px 0
}
.full-profile #profileVaccines form{
  padding:18px;
  background:var(--surface-soft);
  border-radius:12px
}
@media(max-width:760px){
  .profile-hero{
  padding:20px;
  gap:16px;
  align-items:flex-start;
  flex-direction:column-reverse
}
.profile-photo{
  flex:auto
}
#dogCarePhoto img{
  width:150px!important;
  height:150px!important
}
.full-profile .profile-data{
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.profile-child img{
  width:66px;
  height:66px
}
.profile-child{
  gap:12px
}
.profile-table{
  min-width:500px
}

}
@media(max-width:420px){
  .full-profile .profile-data{
  grid-template-columns:1fr
}
.profile-child .profile-plan{
  gap:6px
}

}

.full-profile .profile-data>div{
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  padding:12px 0;
  border-radius:0
}
.full-profile .profile-data dt{
  font-size:14px;
  color:var(--muted)
}
.full-profile .profile-data dd{
  font-size:15px;
  font-weight:500;
  margin:6px 0 0
}
.full-profile .reposicoes-profile{
  color:var(--brown)
}
.full-profile .reposicoes-profile strong{
  color:var(--brown)
}

.phone-whatsapp{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  width:32px;
  height:32px;
  margin-left:8px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--soft);
  color:var(--brown)
}
.phone-whatsapp svg{
  width:22px;
  height:22px
}
.phone-whatsapp:hover{
  background:var(--soft)
}
.phone-whatsapp:focus-visible{
  outline:2px solid #7a5331;
  outline-offset:3px
}
.phone-number{
  white-space:nowrap
}
.phone-review{
  background:#f6ecd5;
  color:#614b29;
  padding:14px;
  border-left:3px solid #b9934e;
  border-radius:8px
}
.phone-inline{
  display:inline-flex;
  margin-top:6px
}
.phone-inline .phone-whatsapp{
  margin-left:0
}

#dogActivityButton{
  margin:12px 0;
  font-weight:700
}
#dogActivityDialog label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.5
}
#dogActivityDialog input[type="checkbox"]{
  width:auto;
  flex:0 0 auto;
  margin-top:5px
}
#dogActivityDialog small{
  display:block
}
#dogActivityDialog .actions{
  margin-top:20px
}

.multiple-vaccine-expired{
  color:#9d2525;
  background:#fff0ed;
  border-left:4px solid #bc3833;
  border-radius:8px;
  padding:9px 12px;
  margin:10px 0;
  font-size:14px;
  line-height:1.5
}
.profile-multiple-vaccine{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  align-items:center;
  margin:16px 0;
  padding:12px;
  background:var(--surface);
  border-radius:10px;
  font-size:14px
}
.profile-multiple-vaccine.multiple-vaccine-expired{
  background:#fff0ed
}
.multiple-vaccine-due{
  color:#785b25;
  border-left:4px solid #b78d38;
  background:#fff6df
}

.quick-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.quick-owner-results{
  display:grid;
  gap:8px;
  max-height:260px;
  overflow:auto;
  margin:12px 0
}
.quick-owner-results button{
  text-align:left;
  display:grid;
  gap:4px
}
.quick-owner-results [aria-pressed="true"]{
  outline:2px solid #a68848;
  background:#eee3cc
}
.owner-list-row{
  align-items:center
}
#ownerStats{
  margin:16px 0
}
#quickRegistration form{
  gap:14px
}
#quickRegistration label{
  margin-top:12px
}
#quickError{
  color:#9d2525;
  margin:0
}
#quickStepLabel{
  color:#7b634c
}
@media(max-width:700px){
  .section-heading{
  align-items:flex-start
}
.quick-choice{
  grid-template-columns:1fr
}
.secondary-nav-items{
  flex-direction:row;
  flex-wrap:wrap
}
.secondary-navigation{
  margin-top:4px;
  padding-top:4px
}
#quickRegistration{
  max-height:88vh;
  overflow:auto
}
.section-heading h2{
  font-size:24px
}

}

#quickRegistration{
  width:min(600px,calc(100% - 28px));
  max-width:calc(100% - 28px);
  box-sizing:border-box
}
#quickRegistration .quick-choice button{
  min-width:0;
  white-space:normal
}

#resolveExitDialog{
  width:min(420px,calc(100% - 28px));
  padding:24px
}
#resolveExitDialog h2{
  font-size:23px;
  margin-bottom:12px
}
#resolveExitDog{
  font-weight:650;
  line-height:1.5
}
#exitTimeOption summary{
  cursor:pointer;
  color:var(--brown);
  font-weight:600;
  padding:8px 0
}
#exitTimeOption label{
  margin-top:10px
}
#resolveExitDialog .actions{
  gap:8px
}
#resolveExitDialog #exitError:empty{
  display:none
}

.registration-page .panel{
  max-width:1200px;
  margin-inline:auto
}
.registration-page .registration-section{
  border:0;
  border-top:1px solid var(--border,var(--line));
  padding:20px 0 8px;
  margin:20px 0 0;
  min-width:0
}
.registration-page .registration-section>h3{
  margin:0 0 16px
}
.registration-page .grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px 18px
}
.registration-page .registration-mode{
  display:grid;
  grid-template-columns:minmax(200px,1fr) 2fr;
  gap:18px;
  align-items:start
}
.registration-owner-results{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px
}
.registration-owner-results button{
  display:grid;
  text-align:left;
  gap:3px
}
.registration-page #registrationError,.registration-page #cpfStatus{
  color:#913d32
}
.registration-page .dog-card{
  padding:14px;
  margin:8px 0
}
.registration-page #familyForm input,.registration-page #familyForm select{
  margin-bottom:0
}
.registration-page .registration-section .dog-card>.grid{
  gap:12px 18px
}
.registration-page #familyForm>.actions{
  margin-top:20px
}
@media(max-width:900px){
  .registration-page .grid{
  grid-template-columns:repeat(2,minmax(0,1fr))
}

}
@media(max-width:600px){
  .registration-page .grid,.registration-page .registration-mode{
  grid-template-columns:minmax(0,1fr)
}
.registration-page .panel{
  padding:16px
}
.registration-page .actions{
  flex-wrap:wrap
}
.registration-page .actions>button{
  flex:1 1 160px
}

}

#dailyCareDialog.daily-care-compact{
  width:min(470px,calc(100% - 24px));
  padding:22px;
  max-height:88dvh;
  overflow:auto;
  border-radius:16px
}
#dailyCareDialog .daily-care-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px
}
#dailyCareDialog h2{
  font-size:20px;
  margin:0 0 5px
}
#dailyCareDialog #dailyCareDog{
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.5
}
#dailyCareDialog button{
  margin:0
}
#dailyCareDialog fieldset{
  border:0;
  margin:0 0 15px;
  padding:0;
  min-width:0
}
#dailyCareDialog legend{
  font-size:12px;
  font-weight:650;
  margin-bottom:8px
}
#dailyCareDialog .care-touch-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px
}
#dailyCareDialog .care-touch-feeding{
  grid-template-columns:repeat(2,minmax(0,1fr))
}
#dailyCareDialog .care-touch-option{
  border:1px solid var(--line);
  color:var(--brown);
  background:var(--surface-soft);
  font-size:11px;
  font-weight:650;
  min-height:39px;
  padding:8px;
  justify-content:center;
  line-height:1.35;
  border-radius:8px;
  box-shadow:none
}
#dailyCareDialog .care-touch-option[aria-pressed=true]{
  background:var(--brown);
  border-color:var(--brown);
  color:white
}
#dailyCareDialog .care-touch-option:disabled{
  opacity:.5
}
#dailyCareNotes{
  border-top:1px solid var(--line);
  padding-top:12px;
  font-size:12px
}
#dailyCareNotes summary{
  cursor:pointer;
  color:var(--muted)
}
#dailyCareNotes textarea{
  font-size:13px;
  min-height:80px;
  margin:8px 0 0
}
.care-note-label{
  margin-top:10px
}
#dailyCareDialog .daily-care-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:16px;
  font-size:11px
}
#dailyCareStatus{
  color:var(--muted)
}
#dailyCareStatus[data-state=error],#dailyCareStatus[data-state=conflict]{
  color:#913d32
}
#dailyCareDialog .daily-care-footer button,#dailyCareDialog #dailyCareClose{
  font-size:11px;
  padding:8px 10px;
  min-height:34px
}
#dailyCareError{
  font-size:12px;
  margin-top:10px;
  line-height:1.5
}
#dailyCareError:empty{
  display:none
}
#dailyCareRecovery{
  margin-top:8px
}
#dailyCareRecovery button{
  font-size:12px;
  min-height:36px
}
#dailyCareConflict{
  font-size:12px;
  margin-top:10px
}
#dailyCareDifferences p{
  line-height:1.5;
  border-top:1px solid var(--line);
  padding:8px 0
}

/* Adaptação comum: tablet, celular, teclado e movimento reduzido. */
@media(min-width:1600px){
  main{
  padding:44px 52px 72px
}

}

@media(max-width:1100px){
  :root{
  --sidebar:208px
}
main{
  padding:28px 24px 48px
}
header{
  padding-inline:16px
}
header h1{
  font-size:15px
}
#serverVersion{
  left:16px;
  width:176px
}
#agendaList .actions{
  max-width:300px
}
#agendaList>.item{
  gap:12px
}

}

@media(max-width:760px){

 header{
  position:relative;
  width:100%;
  height:auto;
  padding:16px 18px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  border-right:0;
  border-bottom:1px solid var(--line)
}
header h1{
  font-size:17px
}
header h1 img{
  width:34px;
  height:34px
}
header>span{
  display:none
}

 #sessionBar{
  position:static;
  width:auto;
  display:block;
  border:0;
  padding:0;
  background:none
}
#sessionName{
  display:none
}
#sessionBar button{
  min-height:34px;
  margin:0
}

 #serverVersion{
  position:static;
  width:auto;
  font-size:8px;
  padding:0 18px;
  margin:8px 0!important
}

 main{
  margin:0;
  padding:0 16px 40px;
  max-width:none
}
#nav{
  position:relative;
  top:auto;
  left:auto;
  bottom:auto;
  width:auto;
  flex-direction:row;
  flex-wrap:wrap;
  gap:5px;
  padding:10px 16px;
  margin:0 -16px 22px;
  border:0;
  background:none;
  overflow:visible
}

 #nav>button{
  flex:1 1 calc(50% - 5px);
  justify-content:flex-start;
  font-size:12px;
  min-height:40px;
  padding:10px 12px;
  background:#EEEAE5
}
#nav button svg{
  width:17px;
  height:17px
}
#nav .secondary-navigation{
  flex-basis:100%;
  margin:2px 0 0;
  padding:0;
  border:0
}
.secondary-navigation summary{
  padding:9px 4px
}
.secondary-nav-items{
  flex-direction:row;
  flex-wrap:wrap
}
.secondary-nav-items button{
  width:auto
}

 .panel{
  padding:18px;
  border-radius:13px
}
h2{
  font-size:23px
}
.section-heading{
  align-items:flex-start;
  gap:10px
}
.section-heading h2{
  font-size:25px
}
.quick-open{
  font-size:12px;
  padding:10px
}
.grid{
  grid-template-columns:minmax(0,1fr)
}

 .stats{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px
}
.stats span{
  padding:16px;
  font-size:11px
}
.stats span strong{
  font-size:28px
}

 #agenda .brand-eyebrow{
  display:none
}
#agendaTitle{
  font-size:27px
}
#agendaDayLabel{
  font-size:13px;
  margin-bottom:18px
}
.agenda-navigation{
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:6px;
  padding-bottom:16px
}
.agenda-navigation>div{
  flex:1;
  min-width:140px
}
.agenda-navigation button{
  padding:9px;
  font-size:11px
}

 #agendaList>.item{
  flex-direction:column;
  align-items:stretch;
  min-height:0;
  padding:13px;
  gap:10px
}
#agendaList .actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:none;
  min-height:0;
  gap:6px
}
#agendaList .actions button{
  min-height:40px;
  font-size:12px
}
#agendaList .agenda-more>summary{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px
}
#agendaList .agenda-more[open]{
  grid-column:1/-1
}
.agenda-more-content{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:none
}

 .bulk-area{
  padding:10px;
  gap:8px
}
.bulk-area>p.muted{
  display:none
}
.bulk-area>p.muted{
  min-width:140px
}
.pending-exit-row{
  align-items:flex-start;
  flex-direction:column
}
.profile-data{
  grid-template-columns:repeat(2,minmax(0,1fr))
}

 .calendar{
  gap:3px
}
.day{
  min-height:60px;
  padding:4px;
  font-size:10px
}
.day .dot,.day .time{
  font-size:9px
}
.calendar .head{
  font-size:10px
}
.table-wrap{
  max-width:100%
}

 #dailyCareDialog.daily-care-compact{
  padding:18px
}
#dailyCareDialog .care-touch-option{
  min-height:44px;
  font-size:12px
}
#dailyCareDialog .daily-care-footer{
  gap:8px
}
#dailyCareDialog .daily-care-footer button{
  min-height:38px
}

 #msg{
  left:12px;
  right:12px;
  top:12px;
  max-width:none
}
dialog{
  padding:22px
}
#login{
  padding:30px 26px
}
body:has(#app.hide) main{
  padding:90px 20px 50px
}
body:has(#app.hide) header{
  padding:20px
}
.quick-choice{
  grid-template-columns:1fr
}


}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
  scroll-behavior:auto!important;
  transition:none!important;
  animation:none!important
}

}


/* Saídas esquecidas: seleção compacta e datas originais sempre visíveis. */
#batchExitOpen{font-size:12px;min-height:36px}
#pendingExits{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#batchExitDialog{max-width:680px;width:calc(100% - 28px);padding:24px}
#batchExitDialog h2{margin:0;font-size:23px}
#batchExitDialog .section-heading p{margin:7px 0 0}
#batchExitFields{border:0;margin:0;padding:0;min-width:0}
.batch-exit-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#batchExitRows{max-height:40dvh;overflow:auto;overscroll-behavior:contain}
.batch-exit-day{border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:12px}
.batch-exit-day h3{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;margin:10px 0;background:var(--surface-soft);padding:8px;border-radius:7px}
.batch-exit-day h3 label{margin:0;font-size:14px;color:var(--ink)}
.batch-exit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 8px}
.batch-exit-row>label{margin:0;color:var(--ink)}
.batch-exit-row small{display:block;font-weight:400;color:var(--muted);font-size:12px;line-height:1.6}
.batch-exit-row input[type=checkbox],.batch-exit-selection input{width:17px;height:17px;flex-shrink:0}
.batch-exit-individual{max-width:165px;font-size:11px}.batch-exit-individual input{margin-top:4px}
.batch-exit-modes{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px 0;border-top:1px solid var(--line)}
#batchExitKnown{padding-bottom:6px}#batchExitCommonTime{width:160px;margin-bottom:12px}
#batchExitMessage{font-size:13px;color:var(--brown)}#batchExitError{font-size:12px;color:var(--danger);white-space:pre-line}
#batchExitError:empty,#batchExitMessage:empty{display:none}.batch-exit-footer{margin-top:0!important}
@media(max-width:760px){#batchExitDialog{padding:18px}#batchExitDialog .section-heading{align-items:flex-start}#batchExitDialog h2{font-size:21px}.batch-exit-row{flex-wrap:wrap}.batch-exit-individual{margin-left:26px!important}.batch-exit-day h3{flex-wrap:wrap}.agenda-heading-actions{gap:6px}.agenda-heading-actions button{font-size:11px;padding:8px 10px}#batchExitRows{max-height:36dvh}}
