/* Zelo · 03/12/2026 · revisões da Joana (agenda, orçamentos, gestão do cliente, garantia) */

/* Agenda · horários de uma obra de vários dias (agenda_blocos_03dez.js) */
.zbl{margin-top:10px;padding:10px 12px;border:1px solid var(--bd);border-radius:12px;background:var(--bg2,#f8f7f4)}
.zblC{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:6px}
.zblC b{font-size:13.5px;color:var(--ink)}
.zblL{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 0;border-top:1px dashed var(--bd)}
.zblL:first-of-type{border-top:0}
.zblD{display:flex;flex-wrap:wrap;gap:4px}
.zblD .opt{min-height:36px;min-width:44px;padding:2px 8px;font-size:12.5px;flex:0 0 auto}
.zblH{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.zblH label{display:inline-flex;align-items:center;gap:6px;margin:0}
.zblH input[type=time]{width:112px;min-height:38px}
.zblX{min-height:38px;padding:0 6px}
.zblM{margin-top:6px;min-height:38px}
.zblE{margin-top:4px;font-size:13px}
@media (max-width:700px){
  .zblL{gap:8px}
  .zblD{width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
  .zblD .opt{min-width:0;min-height:44px;padding:0;justify-content:center}
  .zblH{width:100%}
  .zblH input[type=time]{width:104px;min-height:44px;font-size:16px}
  .zblX,.zblM{min-height:44px}
}

/* Gestão do Cliente · Linha do Tempo: «Alterar» nas notas e contactos */
.gc-lt li>div{flex:1;min-width:0}
.gc-lte{flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 6px;font-size:13px;white-space:nowrap}
.gc-lte svg{width:14px;height:14px}
@media (max-width:700px){.gc-lte{min-height:44px}}

/* Definições › Plano de Pagamentos: 6 fases, cada uma com a etapa da obra (fases_03dez.js) */
.zpzfg.zf6g{grid-template-columns:1fr;gap:6px}
.zpzfr.zf6{display:grid;grid-template-columns:18px minmax(0,1fr) minmax(0,220px);gap:8px;align-items:center}
.zpzfr.zf6 select{min-height:40px}
.zf6h{display:grid;grid-template-columns:18px minmax(0,1fr) minmax(0,220px);gap:8px;margin-top:8px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--mu)}
@media (max-width:700px){
  .zf6h{display:none}
  .zpzfr.zf6{grid-template-columns:18px minmax(0,1fr);row-gap:6px;padding:6px 0;border-top:1px solid var(--bd)}
  .zpzfr.zf6:first-child{border-top:0}
  .zpzfr.zf6>select{grid-column:2}
  .zpzfr.zf6 .inp{min-height:44px;font-size:16px}
}

/* Garantia (garantia2_03dez.js): uma linha de prazo e três interruptores */
.gar3l{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 4px}
.gar3l .lbl{margin:0 4px 0 0}
.gar3l input{width:90px;min-height:44px}
.gar3l select{width:auto;min-width:110px;min-height:44px}
.gar3 .sw42{min-height:44px}
.gar3q .gar3ql{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gar3q select#d42gar{max-width:320px}
.gar3qo{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}
.gar3qo[hidden]{display:none}
.gar3qo input{width:80px}
.gar3qo select{width:auto}
@media (max-width:700px){.gar3q select#d42gar{max-width:none;width:100%}.gar3qo input,.gar3qo select,.gar3qo .btn{min-height:44px}}
.gar03.gar3{border-radius:0;box-shadow:none}

/* Novo Orçamento › Produto (AVAC e outros setores com nomes longos): o nome não passa por baixo do círculo de escolha,
   e nas opções o texto parte em duas linhas em vez de ficar por cima do preço (+1 700 €) */
@media (min-width:701px){
  #c2:has(#cfgp) .tipos .tipo:has(>.vis){grid-template-columns:26px minmax(0,1fr) 18px!important;column-gap:6px!important;padding:8px 6px!important}
  #c2:has(#cfgp) .tipos .tipo:has(>.vis)>.e{grid-column:1;grid-row:1/span 2}
  #c2:has(#cfgp) .tipos .tipo:has(>.vis)>.e svg{width:26px;height:26px}
  #c2:has(#cfgp) .tipos .tipo:has(>.vis)>.e,#c2:has(#cfgp) .tipos .tipo:has(>.vis)>.e>span{width:26px!important;height:26px!important;min-width:0!important}
  #c2:has(#cfgp) .tipos .tipo:has(>.vis)>b{grid-column:2;grid-row:1;font-size:13px;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
  #c2:has(#cfgp) .tipos .tipo:has(>.vis)>.desde,#c2:has(#cfgp) .tipos .tipo:has(>.vis)>small{grid-column:2;grid-row:2;max-width:100%;padding:1px 6px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
  #c2:has(#cfgp) .tipos .tipo:has(>.vis)>.vis{position:static!important;grid-column:3;grid-row:1/span 2;align-self:center;width:18px;height:18px;margin:0!important}
}
.opts .opt:has(>.ol+small){white-space:normal;justify-content:space-between;gap:10px;height:auto;min-height:44px;text-align:left}
.opts .opt:has(>.ol+small)>.ol{flex:1 1 auto;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
.opts .opt:has(>.ol+small)>small{flex:0 0 auto;white-space:nowrap}
/* cartões grandes (antes de escolher o produto): nos nomes longos o círculo descia para o canto de baixo (catalogo_06nov.css, 09/11)
   e encostava ao «desde …»; o canto de cima, ao lado do ícone, está sempre livre */
@media (min-width:701px){#c2:not(:has(#cfgp)) .tipos.one .tipo.zc6lg>.vis{top:9px!important;bottom:auto!important}}
