/* Pipeline "due dates": two numbered lists side by side (payments due, program ending soon), soonest first. */
/* The board and the lists run to the bottom of the window once scrolled, so the page's tall end space goes. */
@media(min-width:601px){body.balanced-blue.minimal-calm .main.page-success:has(.ful-pipeline,.ful-due){padding-bottom:12px}}
/* The pipeline tab (stages, due dates) runs the full width on a wide screen, not the 1400px every other
   page keeps (oliver, 2026-10-03: "if we can make just the pipeline full"). The board's columns share that width: they
   grow to fill it, and only scroll sideways once they'd go under 278px (248px on a wide screen, so all seven fit). */
@media(min-width:821px){
  body.balanced-blue.minimal-calm #main.page-success:has(.ful-page[data-success-view="pipeline"]){padding-inline:24px}
  body.balanced-blue.minimal-calm #main .ful-page[data-success-view="pipeline"] .ful-pipeline>.ful-stage{flex:1 0 278px;min-width:0}
  /* the page title, the tab row, "make a payment link" and the board's own toolbar stay exactly where every other tab
     has them (the same 1389px column), so switching to or from pipeline never slides the tabs out from under the
     pointer. Only the board itself (stages, due dates) breaks out of that column, evenly both sides */
  body.balanced-blue.minimal-calm #main.page-success:has(.ful-page[data-success-view="pipeline"])>:is(.page-heading,.page-footer),
  body.balanced-blue.minimal-calm #main .ful-page[data-success-view="pipeline"]>:not(.ful-pipeline,.ful-due){margin-inline:max(0px,calc((100% - 1389px) / 2))}
  /* a stage with nobody in it shrinks to its header (it still takes drops), so the full columns get its room */
  body.balanced-blue.minimal-calm #main .ful-page[data-success-view="pipeline"] .ful-pipeline:not([aria-busy="true"])>.ful-stage:has(>.ful-stage-body>.ful-stage-empty){flex:0 0 140px}
}
@media(min-width:1700px){
  body.balanced-blue.minimal-calm #main .ful-page[data-success-view="pipeline"] .ful-pipeline>.ful-stage{flex-basis:248px}
}
body.balanced-blue.minimal-calm .ful-due{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-list{display:flex;flex-direction:column;min-width:0}
/* Sized to the list, up to the bottom of the window; longer lists scroll inside. */
body.balanced-blue.minimal-calm .ful-due .ful-stage-body{height:auto;max-height:max(380px,calc(100dvh - 290px));overflow-y:auto;display:block;padding:2px 8px 8px}
body.balanced-blue.minimal-calm .ful-due ol{list-style:none;margin:0;padding:0;counter-reset:due}
body.balanced-blue.minimal-calm .ful-due li{counter-increment:due;margin:0 0 6px}
body.balanced-blue.minimal-calm .ful-due li:last-child{margin-bottom:0}
body.balanced-blue.minimal-calm .ful-due .ful-due-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:52px;padding:9px 14px 9px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left;box-shadow:0 1px 2px rgb(0 0 0 / 4%);transition:border-color 120ms ease,box-shadow 120ms ease}
body.balanced-blue.minimal-calm .ful-due .ful-due-row::before{content:counter(due);font-size:12px;color:var(--secondary);text-align:right;font-variant-numeric:tabular-nums}
body.balanced-blue.minimal-calm .ful-due .ful-due-row:hover{border-color:color-mix(in srgb,var(--ink) 16%,var(--line));box-shadow:var(--cc-panel-shadow);text-decoration:none}
body.balanced-blue.minimal-calm .ful-due .ful-due-row:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
body.balanced-blue.minimal-calm .ful-due .ful-due-row[data-tone="red"]{border-color:color-mix(in srgb,var(--card-red) 55%,var(--line));background:color-mix(in srgb,var(--card-red) 8%,var(--surface))}
body.balanced-blue.minimal-calm.theme-dark .ful-due .ful-due-row[data-tone="red"]{background:color-mix(in srgb,var(--card-red) 16%,var(--surface))}
body.balanced-blue.minimal-calm .ful-due .ful-person{min-width:0}
body.balanced-blue.minimal-calm .ful-due .ful-name-line strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.balanced-blue.minimal-calm .ful-due .ful-due-when{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:0;text-align:right;font-size:13.5px;line-height:1.25}
body.balanced-blue.minimal-calm .ful-due .ful-due-when small{font-size:12px;color:var(--secondary);font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:900px){
  body.balanced-blue.minimal-calm .ful-due{grid-template-columns:minmax(0,1fr)}
  body.balanced-blue.minimal-calm .ful-due .ful-stage-body{max-height:min(520px,70dvh)}
}
