/* App styles for team pages, matched to the prototype. */
/* Settings rows inside team cards keep the prototype's card padding (app.css flattens .set-row for brand/creator pages). */
[data-role="team"] .card > .set-row { padding: 16px 20px; align-items: flex-start; }
[data-role="team"] .card > .set-row > div { min-width: 0; }
[data-role="team"] .card > label.set-row { align-items: center; }
[data-role="team"] .card > label.set-row small { display: block; margin-top: 2px; font-size: .8125rem; }
[data-role="team"] .page > .tabs + * { margin-top: 0; }
/* Outreach replies: the prototype's triage card. app.css still carries the older two-column layout, so reset it here. */
.card.ot { display: block; gap: 0; }
.card.ot .ot-list { display: block; }
.card.ot .ot-item { width: 100%; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.card.ot .ot-item:hover { background: var(--paper-2); }
.card.ot .ot-item[aria-current="true"] { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--ink); }
.card.ot .ot-item .mark { width: 32px; height: 32px; font-size: .6875rem; }
.card.ot .ot-body { white-space: normal; padding: 0; border-radius: 0; background: none; }
.card.ot .ot-pane { gap: 16px; }
/* Request cards: small brand mark */
.rq-card .who .mark { flex: none; }
/* Creator review: content-link explainer sits flush in the card */
.rv-left .cl-url { overflow-wrap: anywhere; }
/* ---------- Team brand detail (/team/brands/$id), matched to prototype team-brand.html ---------- */
.tb-page .id-head .tb-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--paper-2); flex: none; }
.tb-page .tb-invite { border-top: 1px solid var(--line); }
.tb-page .tb-invite .row > .field { margin: 0; }
.tb-page .tb-sec { display: block; padding: 14px 20px 6px; border-top: 1px solid var(--line); }
.tb-page .list.queue + .tb-sec { margin-top: 0; }
.tb-page .tb-about { margin-top: 12px; white-space: pre-line; }
.tb-page .tb-history { max-height: 420px; overflow: auto; }
.tb-page .card-body .seg button:disabled { cursor: default; }
.tb-page .card-body .seg button[aria-pressed="true"]:disabled { opacity: 1; }
@media (max-width: 640px) { .tb-page .tb-invite .row > * { flex: 1 1 100%; } }
/* Requests: waiting-on chip and owner on each card; waiting-on picker in the request sheet */
.rq-card .rq-wo { --gap: 8px; align-items: center; }
.rq-wchips { flex-wrap: wrap; gap: 6px; }
.rq-wchips .filter-pill { height: 32px; padding-inline: 12px; font-size: 0.8125rem; }

/* Outreach lists: PlusVibe campaigns table. Type and creator pickers keep a readable width; the table scrolls sideways if needed. */
.pv-card { overflow: hidden; }
.pv-card > .toolbar { padding: 12px 16px; border-bottom: 1px solid var(--line, #E7DCCB); }
.pv-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pv-camps { min-width: 1080px; }
.pv-camps th, .pv-camps td.num { white-space: nowrap; }
.pv-camps select.select { min-width: 170px; width: 100%; }
.pv-camps td { vertical-align: middle; }

/* Outreach replies: the reply on its own, earlier quoted email folded away. */
.ot-pane .reply { padding: 14px 18px; overflow-wrap: anywhere; }
.reply-earlier { margin-top: 10px; }
.reply-earlier summary { cursor: pointer; color: var(--dim, #6b6458); font-size: .875rem; }
.reply-earlier pre { white-space: pre-wrap; font: inherit; font-size: .875rem; color: var(--dim, #6b6458); margin: 8px 0 0; padding-left: 12px; border-left: 2px solid var(--line, #E7DCCB); }
