/* Partner portal. Scoped so field-form pages keep their own layout. */
.pt-app { background: #f4f4f6; color: #1b1b1f; }
.pt-shell { max-width: 1080px; margin: 0 auto; padding: 16px 16px 48px; }
.pt-kicker { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fc5104; }
.pt-shell h1 { margin: 4px 0 2px; font-size: 1.55rem; line-height: 1.15; color: #28272c; }
.pt-sub { margin: 0; color: #5b6b7c; }
.pt-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.pt-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pt-app .btn.inline { width: auto; display: inline-block; padding: 10px 14px; text-decoration: none; }
.pt-app a.btn { color: #fff; }
.pt-app a.btn.ghost, .pt-app button.btn.ghost { color: #28272c; }
.pt-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: .78rem; font-weight: 800; background: #eef2f7; color: #334155; }
.pt-badge.pending { background: #fff3e0; color: #b45309; }
.pt-badge.approved { background: #e8f5ee; color: #0f7a3a; }
.pt-badge.action { background: #fdecee; color: #b3122e; }
.pt-lead { font-size: 1rem; line-height: 1.45; margin: 0 0 14px; }
.pt-roles { display: grid; gap: 10px; margin: 8px 0 4px; }
.pt-role { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #d5deea; border-radius: 14px; padding: 12px; background: #fff; cursor: pointer; }
.pt-role b { display: block; color: #28272c; }
.pt-role small { display: block; color: #5b6b7c; font-size: .85rem; line-height: 1.35; margin-top: 2px; }
.pt-app .pt-role input { width: 22px; height: 22px; margin-top: 2px; flex: none; padding: 0; accent-color: #fc5104; }
.pt-role:has(input:checked) { border-color: #fc5104; background: #fff7f2; box-shadow: inset 0 0 0 1px #fc5104; }
.pt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.pt-tabs button { width: auto; border-radius: 999px; padding: 10px 14px; background: #fff; color: #28272c; border: 1px solid #d5deea; font-weight: 700; }
.pt-tabs button.on { background: #28272c; color: #fff; border-color: #28272c; }
.pt-work { display: grid; gap: 14px; }
.pt-item { border: 1px solid #d5deea; border-radius: 14px; padding: 12px; margin-bottom: 10px; background: #fff; }
.pt-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.pt-meta { color: #5b6b7c; font-size: .88rem; margin: 0; }
.pt-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.pt-callout { background: #fff7f2; border: 1px solid #fdc7a8; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .9rem; }
.pt-split { display: grid; gap: 0 10px; }
.pt-check { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-weight: 700; color: #28272c; }
.pt-app .pt-check input { width: 22px; height: 22px; padding: 0; flex: none; accent-color: #fc5104; }
.pt-empty { padding: 8px 0 4px; color: #5b6b7c; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (min-width: 720px) {
  .pt-roles { grid-template-columns: 1fr 1fr; }
  .pt-split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .pt-shell { padding-top: 22px; }
  .pt-shell h1 { font-size: 1.85rem; }
  .pt-work { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .pt-work.stack { grid-template-columns: 1fr; }
  .pt-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
}
