/* =========================================================================
   Pipelines: the board fills the window (2026-11-25). Loaded last.
   On a computer:
     · every stage is a column that shares the width, so the whole pipeline is
       on screen with nothing cut off at the right edge
     · the columns run to the bottom of the window and scroll inside themselves
     · no stage-chip row (the column headers already name the stages), no dock
       floating over the cards, no artwork behind the header, no fade strips
     · cards tighten up as columns get narrower
   Phones keep their one-stage-at-a-time layout and bottom navigation.
   ========================================================================= */
@media (min-width:761px){
  body.pb-focus .main,body.pb-focus #main-content-window{background:var(--ink)!important;background-image:none!important}
  body.pb-focus #dashboard-tab-content{padding:10px 14px 0!important;max-width:none!important}
  body.pb-focus .pb-head{margin:0 0 10px!important;gap:8px!important;flex-wrap:nowrap!important;align-items:center!important}
  body.pb-focus .pb-head .pp-search{flex:1 1 220px!important;min-width:140px!important;max-width:none!important}
  body.pb-focus .pb-head .pb-tools{flex:none!important;flex-wrap:nowrap!important}
  body.pb-focus .pb-head .pb-tools .btn-row{white-space:nowrap}
  body.pb-focus .pb-mob{display:none!important}

  body.pb-focus .pb-shell::before,body.pb-focus .pb-shell::after{display:none!important}
  body.pb-focus .pb-shell{margin:0!important}
  body.pb-focus .pb-board{display:flex!important;align-items:stretch!important;gap:8px!important;height:var(--pb-h,calc(100vh - 120px))!important;
    padding:0 0 2px!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important}
  body.pb-focus .pb-col{flex:1 1 0!important;width:auto!important;min-width:122px!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;
    container-type:inline-size;margin:0!important}
  body.pb-focus .pb-col-h{flex:none!important;min-height:38px!important;padding:0 8px!important;gap:6px!important}
  body.pb-focus .pb-col-h .t{font-size:11px!important;line-height:1.15!important;letter-spacing:.4px!important;white-space:normal!important;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  body.pb-focus .pb-col-b{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:6px!important;gap:6px!important;scrollbar-width:thin}

  /* an empty stage is one quiet line; the whole column is still the drop target */
  body.pb-focus .pb-col-empty{flex-direction:row!important;justify-content:center;align-items:center;gap:6px!important;padding:9px 8px!important;border-width:1px!important;border-radius:9px!important;background:transparent!important}
  body.pb-focus .pb-col-empty b{font-size:11.5px!important;font-weight:700!important}
  body.pb-focus .pb-col-empty small{display:none!important}
  body.pb-focus .pb-col-empty .pb-empty-ic{width:15px!important;height:15px!important}
  body.pb-focus .pb-col-empty .pb-empty-ic svg{width:15px;height:15px}

  /* the scroll arrows only matter when a small window cannot hold every stage */
  body.pb-focus .pb-nav{top:19px!important;width:28px!important;height:28px!important}
  body.pb-focus .pb-nav-l{left:2px!important}body.pb-focus .pb-nav-r{right:2px!important}

  body.pb-focus .pb-card{padding:7px 8px!important}
  body.pb-focus .pb-ln span{max-width:none!important}
  body.pb-focus .pb-ln{min-width:0;max-width:100%}
  body.pb-focus .pb-pills{margin-top:5px!important}
}
/* narrow columns: drop the initials circle and give each line its own row */
@container (max-width:215px){
  .pb-card .pb-pills{flex-wrap:nowrap!important;gap:3px!important;overflow:hidden}
  .pb-card .rec-pill,.pb-card .lc-rate,.pb-card .rec-dchip,.pb-card .pol-status{font-size:9px!important;letter-spacing:.2px!important;padding:3px 5px!important;white-space:nowrap}
  .pb-col-empty b{font-size:10.5px!important;white-space:nowrap}
  .pb-card .pb-av{display:none!important}
  .pb-card .pb-card-top{gap:0!important}
  .pb-card .pb-lines{flex-direction:column!important;flex-wrap:nowrap!important;gap:1px!important}
  .pb-card .pb-name{font-size:12.5px!important}
  .pb-card .pb-ln{font-size:11px!important}
}
@container (max-width:158px){
  .pb-card .pb-pills{flex-wrap:wrap!important;overflow:visible!important}
}
@container (max-width:175px){
  .pb-col-h .pb-col-ic{display:none!important}
  .pb-card .pb-name{font-size:12px!important}
}
/* dark mode keeps the same layout */
html[data-theme="dark"] body.pb-focus .pb-col-empty{background:transparent!important}
