/* Pezeshket Assistant 3.13 — mobile ergonomics, close control and real clinical summary card */
.pza-root .pza-head-actions .pza-close-all{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;
  padding:0!important;border-radius:11px!important;border:1px solid rgba(255,255,255,.55)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.30),rgba(255,255,255,.09))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 3px 9px rgba(0,35,91,.18)!important;
  color:#fff!important;cursor:pointer;
}
.pza-root .pza-close-all svg{width:19px!important;height:19px!important;stroke:#fff!important;stroke-width:2.6!important;stroke-linecap:round!important;fill:none!important}
.pza-root .pza-close-all:hover{background:rgba(255,255,255,.42)!important}
.pza-root .pza-close-all:focus-visible{outline:3px solid #96f5ff!important;outline-offset:2px}
/* Fully interactive clinical summary — values are extracted from actual answers, never invented */
.pza-root .pza-visit-summary{width:100%;max-width:100%;min-width:0;direction:rtl;display:flex;flex-direction:column;gap:12px;
 background:linear-gradient(155deg,#fff,#edf9ff 62%,#e9f2ff);border:1px solid #a3dff4;border-radius:18px;
 padding:14px 12px;box-shadow:0 10px 24px rgba(7,100,163,.13),inset 0 2px 1px rgba(255,255,255,.9);color:#17496d}
.pza-root .pza-summary-top{display:flex;align-items:center;gap:10px;min-width:0}
.pza-root .pza-summary-symbol{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;color:#fff;font-size:21px;
 border-radius:14px;background:linear-gradient(140deg,#04c4d7,#0068c1);box-shadow:inset 0 2px 2px #ffffff76,0 6px 12px #087ec04a}
.pza-root .pza-summary-top>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.pza-root .pza-summary-top strong{font-size:14px;color:#064c85;line-height:1.45}
.pza-root .pza-summary-top small{font-size:10.5px;color:#53788f;line-height:1.65;overflow-wrap:anywhere}
.pza-root .pza-summary-grid{margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pza-root .pza-summary-grid>div{min-width:0;padding:9px 10px;background:rgba(255,255,255,.89);border:1px solid #d2eafa;
 border-radius:12px;box-shadow:0 3px 6px rgba(0,93,153,.055)}
.pza-root .pza-summary-grid dt{font-size:10px;font-weight:700;color:#6a8a9b;margin:0 0 4px}
.pza-root .pza-summary-grid dd{margin:0;font-size:11.5px;font-weight:800;color:#164a70;line-height:1.75;overflow-wrap:anywhere;white-space:normal}
.pza-root .pza-summary-advice{font-size:11px!important;line-height:1.85!important;margin:0!important;color:#4e6f81!important}
.pza-root .pza-summary-actions .pza-copy-summary{display:block!important;width:100%;min-height:42px;border:1px solid #a7dbf4!important;
 border-radius:12px!important;padding:10px!important;background:linear-gradient(140deg,#e4f9ff,#fff)!important;color:#006ba7!important;
 font-size:12px!important;font-weight:900!important;box-shadow:0 3px 8px #0079b818!important}
.pza-root .pza-doctor-list{border:1px solid #b4e5f7!important;border-radius:16px!important;
 background:linear-gradient(150deg,#f4fcff,#e9f7ff)!important;box-shadow:0 5px 15px #087dbd12!important}
.pza-root .pza-doctor-card{border:1px solid #cae6f4!important;background:#fff!important;box-shadow:0 3px 10px #0b6d9a0d!important;min-width:0}
.pza-root .pza-doctor-card>span{min-width:0;flex:1}
.pza-root .pza-doctor-cta{font-size:10.5px;color:#067cb1;font-weight:900;margin-top:3px}
.pza-root .pza-msg:has(>.pza-visit-summary){white-space:normal!important;padding:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;width:100%;max-width:100%!important}
.pza-root .pza-msg .pza-referral-card{max-width:100%;overflow-wrap:anywhere}
/* Avoid iOS Safari auto-zoom on focusing a form control with text smaller than 16px. */
@media(max-width:600px){
  .pza-root .pza-input,
  .pza-root .pza-form input.pza-input,
  .pza-root .pza-contact input,
  .pza-root .pza-panel input,
  .pza-root .pza-panel textarea,
  .pza-root .pza-panel select{
    font-size:16px!important;line-height:1.4!important;
    -webkit-text-size-adjust:100%;text-size-adjust:100%;
  }
  .pza-root .pza-form{min-height:52px!important;align-items:center!important}
  .pza-root .pza-form input.pza-input{min-height:42px!important;padding:8px 12px!important}
  .pza-root .pza-head-actions{gap:4px!important;flex-shrink:0!important}
  .pza-root .pza-head-actions .pza-close-all{width:31px!important;height:33px!important;min-width:31px!important;min-height:33px!important;flex-basis:31px!important}
  .pza-root .pza-header{display:flex!important;justify-content:space-between!important;gap:4px!important}
  .pza-root .pza-head-identity{min-width:0!important;flex:1!important}
  .pza-root .pza-head-identity>span:last-child{min-width:0!important}
  .pza-root .pza-head-identity strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .pza-root .pza-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pza-root.pza-is-guided .pza-journey{padding-bottom:10px!important}
  .pza-root.pza-is-guided .pza-journey-faq{margin-bottom:8px!important}
  .pza-root.pza-is-guided .pza-footer>a{box-shadow:inset 0 2px 0 #fff,0 6px 14px rgba(2,95,173,.2)!important;
    background:linear-gradient(120deg,#e9fbff,#b9e6ff)!important}
}
@media(max-width:370px){
  .pza-root .pza-head-identity small{display:none!important}
  .pza-root .pza-head-actions{gap:2px!important}
  .pza-root .pza-summary-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.pza-root .pza-close-all{transition:none!important}}
