/* Compact phone layout; retain 44px touch targets and 16px editable text. */
@media(max-width:600px){
 #ekm-case-profile{font-size:13px}
 #ekm-case-profile> :not([hidden])~ :not([hidden]){margin-top:10px}
 .ekm-case-columns{gap:10px}
 #ekm-case-profile .p-6,#ekm-case-profile .p-5,#ekm-case-list .p-6{padding:12px!important}
 #ekm-case-profile .p-4{padding:10px!important}
 #ekm-case-profile h3,#ekm-case-profile h4{font-size:15px!important;line-height:1.35}
 #ekm-case-profile .text-xs{font-size:12px}
 #ekm-case-overview>div:first-child{gap:8px;margin-bottom:10px;padding-bottom:10px;flex-wrap:wrap}
 #ekm-case-overview>div:first-child>div{min-width:0;flex:1 1 180px}
 #ekm-case-overview>div:first-child>div>span:first-child{font-size:12px}
 #ekm-case-overview>div:first-child>div>span:nth-child(2){display:inline-block;margin:4px 0 0 4px}
 #ekm-case-overview>div.grid{gap:6px;margin-bottom:10px}
 #ekm-case-overview>div.grid>div{padding:7px}
 .ekm-case-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-top:0}
 #ekm-case-profile>button,.ekm-case-section-nav button{padding:6px 9px!important;font-size:12px!important;min-height:44px}
 .ekm-case-disclosure{border-radius:9px}
 .ekm-case-disclosure>summary{padding:10px 12px;font-size:13px;min-height:44px}
 .ekm-case-disclosure>div{padding:12px!important}
 #ekm-case-next-actions>div>div.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}
 #ekm-case-next-actions button{min-height:52px!important;padding:7px!important;border-radius:8px}
 #ekm-case-next-actions button>span{flex-direction:row!important;align-items:center!important;gap:6px}
 #ekm-case-next-actions button>span>span:first-child{width:22px;height:22px;min-width:22px;padding:3px!important}
 #ekm-case-next-actions button>span>span:last-child{width:auto}
 #ekm-case-next-actions button span.text-xs{font-size:12px!important;line-height:16px!important}
 #ekm-case-next-actions button [class*="text-[9.5px]"]{display:none}
 #ekm-case-profile form .space-y-4> :not([hidden])~ :not([hidden]),#ekm-case-profile form.space-y-4> :not([hidden])~ :not([hidden]){margin-top:10px}
 #ekm-case-profile input:not([type=checkbox]):not([type=file]),#ekm-case-profile select,#ekm-case-profile textarea{padding:8px 10px!important;font-size:16px!important}
 #ekm-case-profile textarea{line-height:1.4}
 .ekm-extra-recipients{padding:8px 10px;font-size:13px}
 .ekm-extra-recipients summary{min-height:44px;display:flex;align-items:center}
 #ekm-case-list [role=button]{padding:12px!important}
 .ekm-case-filters{gap:6px}
 .ekm-case-filter-more summary{padding:10px 12px;font-size:13px}
}
