/* The desktop catalog remains a comparison table. Compact screens use the
   same source rows and expose descriptions and thresholds in a native dialog. */
#info .info-detail-trigger{display:none}
#info .info-search:focus-within{
  outline:2px solid var(--ds-accent,#087e75);
  outline-offset:2px
}
@media(max-width:1000px){
  html body#ktApp #info .info-panel .tablewrap{max-height:none!important;overflow:visible!important}
  html body#ktApp#ktApp#ktApp#ktApp #info .info-table{
    display:block!important;min-width:0!important;max-width:100%;width:100%
  }
  #info .info-table thead,#info .info-table td:nth-child(n+5),#info .ui-scroll-hint{display:none!important}
  #info .info-table tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:12px;padding:12px}
  #info .info-table tr{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;
    min-width:0;padding:12px;border:1px solid var(--ds-line,#cbd8e2);
    border-radius:10px;background:var(--ds-paper,#fff);align-content:start
  }
  html body#ktApp#ktApp#ktApp#ktApp #info .info-table td{
    min-width:0!important;width:auto!important;padding:0!important;border:0!important;
    text-align:left!important;background:transparent!important;color:var(--ds-ink,#18334b)!important;
    font-size:calc(13px * var(--kt-readable-scale,1))!important;overflow-wrap:anywhere
  }
  #info .info-table td:first-child{grid-area:1/1;color:var(--ds-accent,#087e75)}
  #info .info-table td:nth-child(2){grid-area:2/1/3/-1}
  #info .info-table td:nth-child(3){grid-area:1/2}
  #info .info-table td:nth-child(4){grid-area:3/1/4/-1}
  #info .info-detail-trigger{display:block!important;min-height:44px!important;margin-top:8px}
}
@media(max-width:760px){
  #vehicles .vehicle-table-wrap:has(#vehicleDailyBody){max-height:none!important}
  html body#ktApp#ktApp#ktApp#ktApp #vehicles table:has(#vehicleDailyBody){min-width:0!important}
  html body#ktApp#ktApp#ktApp#ktApp #vehicleDailyBody td{
    display:block!important;white-space:normal!important;overflow-wrap:anywhere
  }
  html body#ktApp#ktApp#ktApp#ktApp #vehicleDailyBody td::before{display:block;margin-bottom:4px}
  html body#ktApp#ktApp#ktApp#ktApp #vehicleDailyBody tr{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px
  }
  #vehicleDailyBody td:is(:first-child,:nth-child(3),:nth-child(6)){grid-column:1/-1}
  #vehicles .ui-scroll-hint:has(+ .vehicle-table-wrap #vehicleDailyBody){display:none}
}
#uxInfoDetail h2{margin:0 0 12px}
#uxInfoDetail .ux-info-item p{overflow-wrap:anywhere}
@media(min-width:1001px){
  html body#ktApp#ktApp#ktApp#ktApp #info .info-table{
    min-width:0!important;width:100%;table-layout:fixed
  }
  html body#ktApp#ktApp#ktApp#ktApp #info .info-table :is(th,td){
    min-width:0!important;overflow-wrap:anywhere
  }
  #info .info-table :is(th,td):nth-child(2){width:24%}
  #info .info-table :is(th,td):nth-child(n+5):nth-child(-n+8){width:7%}
  #info .info-table .info-desc{font-size:calc(13px * var(--kt-readable-scale,1));line-height:1.5}
  #info .ui-scroll-hint{display:none}
}
@media(min-width:1001px){
  html body#ktApp#ktApp#ktApp#ktApp #info .info-table td.info-s3{color:#251500!important}
  html body#ktApp#ktApp#ktApp#ktApp #info .info-table td.info-s5{background:#1d6a29!important;color:#fff!important}
}
/* Sevk Amirleri daily comparison: one card per target on narrow screens. */
.dispatch-team-code{white-space:nowrap;font-variant-numeric:tabular-nums}
#dispatchTeamChanges .dispatch-target{display:flex;align-items:baseline;gap:8px}
#dispatchTeamChanges .dispatch-target .daily-code{flex:none}
@media screen and (max-width:900px){
  html body#ktApp #dispatch #dispatchTeamChanges{padding:8px}
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-table{
    overflow:visible!important;max-height:none!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-table table{
    display:block!important;width:100%!important;min-width:0!important;border-spacing:0!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-table thead{display:none!important}
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-table tbody{
    display:grid!important;gap:8px!important;padding:0!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px 6px!important;margin:0!important;padding:8px!important;
    border:1px solid var(--ds-line,#dce8ef)!important;
    border-left:4px solid var(--dispatch-edge,#b4c2d1)!important;
    border-radius:8px!important;background:var(--dispatch-surface,var(--ds-paper,#fff))!important
  }
  #dispatchTeamChanges .daily-fall{--dispatch-edge:#d44858;--dispatch-surface:#fff3f3}
  #dispatchTeamChanges .daily-rise{--dispatch-edge:#198259;--dispatch-surface:#effaf4}
  :root[data-theme=dark] #dispatchTeamChanges .daily-fall{--dispatch-surface:#2f2027}
  :root[data-theme=dark] #dispatchTeamChanges .daily-rise{--dispatch-surface:#172f28}
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row > td{
    display:block!important;width:auto!important;min-width:0!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    padding:2px 0!important;background:transparent!important;text-align:center!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row > td::before{
    display:block!important;content:attr(data-label);margin:0 0 3px!important;
    font-size:10px!important;line-height:1.3!important;font-weight:650
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row > :is(td:first-child,td:last-child){
    grid-column:1/-1!important;text-align:left!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row > td:first-child::before{display:none!important}
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-person{
    display:block!important;margin:3px 0 1px!important;width:auto!important;
    text-align:left!important;white-space:normal!important;line-height:1.35!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row :is(.daily-score,.daily-diff){
    display:inline-flex!important;align-items:center;justify-content:center;
    width:auto!important;min-width:30px!important;min-height:26px!important;
    padding:3px 6px!important;font-size:13px!important;line-height:1.25!important
  }
  html body#ktApp#ktApp #dispatch #dispatchTeamChanges .daily-row > td:last-child{
    border-top:1px solid var(--ds-line,#dce8ef)!important;
    padding-top:5px!important;line-height:1.35!important
  }
}
