@layer crm-chat-composer {
 @media(max-width:600px){
  html:root body.ios-preview-active #mainApp #content .coord-control-page > .cc-tabs{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;padding:0!important;background:transparent!important;
   border:0!important;border-radius:0!important;overflow:visible!important;
  }
  html:root body.ios-preview-active #mainApp #content .coord-control-page > .cc-tabs > button[data-cc-tab]{
   position:relative!important;z-index:1!important;min-width:0!important;min-height:48px!important;
   margin:0!important;padding:10px 12px!important;white-space:normal!important;line-height:1.35!important;
   border-radius:16px!important;background:var(--surface-2)!important;color:var(--text)!important;
   -webkit-text-fill-color:var(--text)!important;
  }
  html:root body.ios-preview-active #mainApp #content .coord-control-page > .cc-tabs > button.primary[data-cc-tab]{
   background:var(--accent)!important;color:var(--accent-ink)!important;-webkit-text-fill-color:var(--accent-ink)!important;
  }
  html:root body.ios-preview-active #mainApp #content .coord-control-page > .cc-tabs > button[data-cc-tab]:nth-of-type(5){grid-column:1/-1}
  html:root body.ios-preview-active #mainApp #content .coord-control-page > .cc-tabs > .ios-segment-highlight{display:none!important}
 }
}
.aiw-case{padding:14px 0;border-bottom:1px solid var(--border)}
.aiw-case:last-child{border-bottom:0;padding-bottom:0}
html body #mainApp #content .aiw-case-open{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 14px;text-align:left;background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:16px;white-space:normal}
.aiw-case-open strong,.aiw-case-open small{display:block}
.aiw-case-open strong{font-size:14px;line-height:1.4}
.aiw-case-open small{margin-top:4px;font-size:12px;line-height:1.4;color:var(--text-secondary)}
.aiw-case-open svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}
.aiw-case > p{margin:8px 4px 0;font-size:13px;line-height:1.55;color:var(--text-secondary);overflow-wrap:anywhere}
@media(max-width:600px){
 .aiw-report{gap:12px}
 .aiw-report-section{padding:14px!important;border-radius:16px!important}
 .aiw-report-section h3{font-size:15px!important;line-height:1.4!important;align-items:flex-start}
 .aiw-report-section p,.aiw-report-section li{font-size:14px!important;line-height:1.55!important;overflow-wrap:anywhere}
 .aiw-report-section ul,.aiw-report-section ol{padding-left:20px!important}
 .aiw-report-section li+li{margin-top:8px}
}

@layer crm-chat-composer { @media(max-width:600px){ html:root body.ios-preview-active #mainApp #content .coord-control-page > :is(.view-title,.view-sub,.cc-tabs){margin:0!important} } }
