/* Controles com tamanho de toque e limites compatíveis com telas pequenas. */
.gimport-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:48px;padding:13px 14px;border:2px solid #e2e5eb;border-radius:12px;background:#fff;color:#555f6d;font-weight:500;font-family:inherit;font-size:16px;line-height:1.35;text-align:left;cursor:pointer;}
.gimport-picker-trigger span{min-width:0;overflow-wrap:anywhere;}
.gimport-picker-trigger svg{flex-shrink:0;}
.gimport-picker-trigger.has-value{color:#142d50;font-weight:650;}
.gimport-picker-trigger:disabled{background:#f5f6f8;color:#737c89;cursor:not-allowed;}
.gimport-picker-trigger:focus-visible,.gimport-picker-option:focus-visible,.gimport-picker-close:focus-visible{outline:3px solid #142d50;outline-offset:2px;}
.chat-picker .gimport-picker-trigger{margin-top:8px;}
.gimport-picker{box-sizing:border-box;position:fixed;inset:var(--picker-top,12px) 0 auto;margin:0 auto;width:calc(100% - 24px);max-width:520px;height:min(600px,var(--picker-height,calc(100dvh - 24px)));max-height:var(--picker-height,calc(100dvh - 24px));padding:0;border:1px solid #e2e5eb;border-radius:18px;background:#fff;color:#192334;box-shadow:0 24px 80px #0e1c3540;overflow:hidden;font-family:inherit;}
.gimport-picker[open]{display:flex;flex-direction:column;}
.gimport-picker::backdrop{background:rgba(15,23,42,.56);}
.gimport-picker-head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 14px;border-top:4px solid #142d50;}
.gimport-picker-brand{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#8c691c;margin:0 0 4px;}
.gimport-picker-head h2{margin:0;color:#142d50;font-size:21px;line-height:1.2;font-weight:800;}
.gimport-picker-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:0;border-radius:50%;background:#f0f2f5;color:#142d50;font-size:17px;cursor:pointer;}
.gimport-picker-search{flex-shrink:0;padding:0 18px;}
.gimport-picker-search label{display:block;font-size:12px;font-weight:650;margin-bottom:6px;}
.gimport-picker-search input{box-sizing:border-box;width:100%;min-width:0;height:48px;border:1px solid #ccd2dc;border-radius:10px;background:#f8f9fb;color:#192334;padding:12px;font:inherit;font-size:16px;line-height:1.4;}
.gimport-picker-search input:focus{outline:2px solid #142d50;outline-offset:1px;}
.gimport-picker-status{flex-shrink:0;margin:0;padding:10px 18px;font-size:12px;line-height:1.4;color:#667080;border-bottom:1px solid #edf0f4;}
.gimport-picker-options{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:6px 10px max(10px,env(safe-area-inset-bottom));scroll-padding:6px;}
.gimport-picker-option{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:8px;background:#fff;color:#283445;text-align:left;font:inherit;font-size:16px;line-height:1.4;overflow-wrap:anywhere;cursor:pointer;}
.gimport-picker-option[aria-pressed="true"]{background:#edf2f8;color:#142d50;font-weight:750;}
.gimport-picker-option[aria-pressed="true"]::after{content:'✓';flex-shrink:0;}
@media(hover:hover){.gimport-picker-option:hover{background:#f1f4f8;}}
.sheet-head,.sheet-foot{flex-shrink:0;}
.sheet-overlay{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));}
.sheet{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);}
.sheet-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.sheet-close{min-width:44px;min-height:44px;}
@media(max-width:480px){
  .sheet-head{padding:16px;}.sheet-body{padding:16px;}.sheet-foot{padding:12px 16px;}
  .sheet-foot .cta-btn{min-height:44px;}
  .chat-body{min-height:0;overscroll-behavior:contain;}
  .chat-head .close{min-width:44px;min-height:44px;}
}
@media(max-height:440px){
  .gimport-picker-head{padding:8px 14px;}.gimport-picker-brand{display:none;}
  .gimport-picker-head h2{font-size:18px;}.gimport-picker-search label{display:none;}
  .gimport-picker-status{padding:6px 18px;}.gimport-picker-search input{height:44px;}
  .sheet-head{padding:8px 14px;}.sheet-head p{display:none;}.sheet-progress{margin-top:6px;}
  .sheet-foot{padding:8px 14px;}.sheet-foot .spacer{margin-bottom:0;}
}
