/* Cloud overflow (cloud-overflow.js): an item's cloud line, the Work page's Cloud section, the project's setting.
   Flat: hairlines and spacing, no boxes; one column on a phone. */
.wk-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--text-2); }
.wk-cloud .btn.sm { margin-left: 0; }
.wk-cl-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--ok)); }
#clProject .cl-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
#clProject .cl-mode { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer; min-width: 0; }
#clProject .cl-mode input { margin-top: 3px; flex: none; }
#clProject .cl-mode > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
#clProject .cl-mode .dim { font-size: 12.5px; }
#clProject select { max-width: 100%; }
#clProject .cl-caps label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 140px; min-width: 0; font-size: 12px; color: var(--text-3); }
#clProject .cl-caps input { flex: none; width: 100%; box-sizing: border-box; font-variant-numeric: tabular-nums; }
#clProject .cl-warn { margin: 6px 0; font-size: 12.5px; color: var(--warn); }
#clProject .cl-paid { margin: 10px 0 0; }
#clProject .cl-paid.hide { display: none; }
@media (max-width: 780px) {
  #clProject .cl-modes { grid-template-columns: 1fr; }
  #clProject .cl-caps label { flex-basis: 100%; }
}
