/* Cadde Kapadokya V7.232 — compatibility-first visual system.
   Loaded AFTER historical styles. No routes, forms, or JS behavior are altered. */
:root{
 --cadde-ui-accent:#f5873e;
 --cadde-ui-border:rgba(139,167,196,.36);
 --cadde-ui-radius:12px;
 --cadde-ui-focus:#ffbc83;
}
/* Prevent min-content blowouts without clipping user-authored titles. */
.cadde-site-frame :is(.container,.site-page-content,.cadde-results-layout,.cadde-results-main,.cadde-freight-results-layout,.cadde-freight-results-main,.cadde-modern-listing-card,.cadde-showcase-card,.cadde-listing-detail-heading){min-width:0}
.cadde-site-frame :is(.cadde-modern-listing-card,.cadde-showcase-card,.cadde-listing-detail-heading) :is(h1,h2,h3,p){overflow-wrap:anywhere}
.cadde-site-frame :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%}
/* Unified interaction feedback; no extra motion for reduced-motion users. */
:where(.cadde-site-frame,.cadde-mobile-dock) :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--cadde-ui-focus);outline-offset:3px}
.cadde-site-frame :is(button,.btn){touch-action:manipulation}
/* Keep the desktop filter rail and grid untouched. */
@media(max-width:920px){
  .cadde-site-frame :is(.cadde-results-topbar,.cadde-freight-mobile-compact-intro,.cadde-meydan-feed-section){max-width:100%;min-width:0}
  .cadde-site-frame :is(.cadde-modern-listing-card,.cadde-showcase-card,.cadde-enhanced-profile-card,.cadde-people-card){max-width:100%;min-width:0}
  .cadde-site-frame .site-page-content{padding-bottom:max(110px,calc(92px + env(safe-area-inset-bottom,0px)))}
  .cadde-site-frame :is(.cadde-modern-listing-card,.cadde-showcase-card) :is(img,video){max-width:100%}
}
@media(max-width:760px){
  body:not(.cadde-chat-focused):not(.cadde-story-fullscreen):not(.cadde-admin-embedded){padding-bottom:calc(115px + env(safe-area-inset-bottom,0px))!important}
  body:not(.cadde-chat-focused):not(.cadde-story-fullscreen):not(.cadde-admin-embedded) > .cadde-mobile-dock{
    left:max(7px,env(safe-area-inset-left,0px))!important;
    right:max(7px,env(safe-area-inset-right,0px))!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;box-sizing:border-box!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  body > .cadde-mobile-dock > a{min-width:0!important;max-width:100%!important;touch-action:manipulation}
  body > .cadde-mobile-dock > a small:not(.sr-only){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* Notifications must remain above the dock, with usable scrolling. */
  body > .cadde-notification-popover#caddeNotificationPanel:not([hidden]){
    position:fixed!important;top:max(10px,env(safe-area-inset-top,0px))!important;
    bottom:calc(99px + env(safe-area-inset-bottom,0px))!important;
    left:max(9px,env(safe-area-inset-left,0px))!important;
    right:max(9px,env(safe-area-inset-right,0px))!important;
    transform:none!important;width:auto!important;max-width:none!important;
    height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;
  }
  body > .cadde-notification-popover#caddeNotificationPanel:not([hidden]) > .cadde-popover-items{
    flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;
  }
  /* Do not cover full-screen story or chat experiences. */
  body.cadde-chat-focused > .cadde-mobile-dock,
  body.cadde-story-fullscreen > .cadde-mobile-dock,
  body.cadde-admin-embedded > .cadde-mobile-dock{display:none!important}
}
@media(max-width:430px){
  .cadde-site-frame :is(.cadde-results-topbar,.cadde-freight-mobile-compact-intro){gap:8px}
  .cadde-site-frame :is(.cadde-modern-listing-card,.cadde-showcase-card) :is(h2,h3){line-height:1.35}
}
@media(max-width:390px){
  body > .cadde-mobile-dock{padding-inline:4px!important}
  body > .cadde-mobile-dock > a small:not(.sr-only){font-size:9px!important}
  .cadde-site-frame :is(.cadde-modern-listing-card,.cadde-showcase-card){overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
 .cadde-site-frame :is(.cadde-modern-listing-card,.cadde-showcase-card,.cadde-enhanced-profile-card){animation:none!important;transition:none!important}
}
