/* ===========================================================================
   No boxes that only wrap
   ---------------------------------------------------------------------------
   Inside a card, panel or drawer, content sits straight on its container:
   sections under a heading, lists as rows split by a hairline. A bordered or
   filled box inside another one is kept only when it is the visual itself
   (the hero's stat tiles, the fit and contact tiles, chat bubbles, the
   pipeline's draggable deal cards) or a control (inputs, drop zones, pickers).
   Last in the file so it wins over the per-screen rules above.
   =========================================================================== */

/* Drawers are one white sheet; their sections are not cards on it. */
.drawer { background: var(--card) }
.drawer .card { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none }
.drawer .card + .card { border-top: 1px solid var(--line); padding-top: 22px }

/* Status inside a container is coloured text beside its icon, not a box. */
.card .banner, .panel .banner, .fpanel .banner, .drawer .banner, .ob__card .banner, .member .banner {
  background: none; border: 0; border-radius: 0; padding: 0;
}

/* Pain points on a company: rows split by hairlines. */
.lever { background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 15px 0 }
/* Dividers go between rows, so the last one has none under it. */
.lever:last-child { border-bottom: 0; padding-bottom: 0 }

/* Call history and a contact's sequence steps: rows. A step's state stays on
   its number: amber while it waits, green once approved, ringed if edited. */
.callhist { gap: 0 }
.callhist__item { background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 12px 0 }
.drawer .step, .drawer .step--pending, .drawer .step--go {
  background: none; border: 0; border-radius: 0; padding: 18px 0;
}
.drawer .step--edited .step__num { box-shadow: 0 0 0 2px var(--amber) }
/* A step's header: its name, and on the right the day it goes. */
.step__title { min-width: 0; font-size: 14px; font-weight: 600 }
.step__date { flex: none; font-size: 12.5px; color: var(--muted); white-space: nowrap }
.step__off {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: #8A5A00; white-space: nowrap;
}
.step__off .ms { font-size: 16px }

/* Notification switches. */
.notif { background: none; border-radius: 0; padding: 14px 0; border-bottom: 1px solid var(--hair) }
/* The row hangs 10px into its container's padding so its hover wash has room
   round the words, but its divider stays on the content edge, in line with
   every other row's: it is drawn as a line inset by the same 10px, not a
   border, which would run out past the edge. The wash takes a small corner. */
.notif--btn {
  border: 0; padding: 14px 10px; margin: 0 -10px; width: calc(100% + 20px);
  background: linear-gradient(var(--hair), var(--hair)) no-repeat 10px 100% / calc(100% - 20px) 1px;
}
.notif--btn:hover { background-color: var(--page); border-radius: var(--r-btn-sm) }

/* Team: a blocked mailbox is red text by its icon; channels are plain rows. */
.member__blocked { background: none; border: 0; border-radius: 0; padding: 0 }
.member__link, .member__link--bad { background: none; border-radius: 0; padding: 6px 0 }
.member__dot, .member__dot--bad { box-shadow: 0 0 0 2px var(--card) }

/* A suggested reply is the next part of the thread, under a rule. */
.suggest { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0 }

/* Pipeline lanes are the visual itself, not boxes that wrap: each is tinted
   with its stage's hue, edge to edge with the page margins, so the stage reads
   by colour. They deepen while a card is dragged over them. */
.board__colhead { background: inherit }
