/* Customer portal: light, phone-first, Barger branding. Reuses the office print styles for documents. */
body.portal { background: #f4f6f8; color: #1a1a1a; margin: 0; font-family: var(--font); --accent: #0b5cad; --accent-hover: #0a66c2; --on-accent: #fff; }
.portal .ptop { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 5; }
.portal .pbrand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; }
.portal .pbrand img { max-height: 42px; max-width: 180px; }
.portal .grow { flex: 1; }
.portal main { max-width: 860px; margin: 0 auto; padding: 16px 12px 40px; }
.portal .pcard { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 16px; margin-bottom: 14px; }
.portal h1 { font-size: 1.35rem; margin: 0 0 6px; } .portal h2 { font-size: 1.1rem; margin: 0 0 10px; }
.portal label { display: block; margin: 10px 0 4px; font-weight: 600; font-size: .95rem; }
.portal input, .portal textarea, .portal select { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #c8ced6; border-radius: 8px; background: #fff; color: inherit; }
.portal textarea { min-height: 110px; }
.portal .pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #c8ced6; background: #fff; color: #1a1a1a; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.portal .pbtn.pri { background: var(--accent); border-color: var(--accent); color: #fff; } .portal .pbtn.ok { background: #0f7b0f; border-color: #0f7b0f; color: #fff; } .portal .pbtn.bad { color: #b42318; border-color: #e7b4ae; }
.portal .pbtn[disabled] { opacity: .5; cursor: not-allowed; }
.portal .pbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .portal .full { width: 100%; }
.portal .ptabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; } .portal .ptabs a { padding: 9px 14px; border-radius: 20px; background: #fff; color: #333; text-decoration: none; font-weight: 600; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.portal .ptabs a.on { background: var(--accent); color: #fff; }
.portal .plist { list-style: none; padding: 0; margin: 0; } .portal .plist li { border-top: 1px solid #edf0f3; } .portal .plist li:first-child { border-top: 0; }
.portal .plist a { display: flex; gap: 10px; align-items: center; padding: 12px 4px; color: inherit; text-decoration: none; } .portal .plist .amt { margin-left: auto; text-align: right; font-weight: 600; }
.portal .pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 12px; background: #eef1f4; color: #444; }
.portal .pill.due { background: #fff1db; color: #8a4b00; } .portal .pill.paid, .portal .pill.approved { background: #e3f4e3; color: #0f6b0f; } .portal .pill.declined { background: #fde8e6; color: #a1261a; } .portal .pill.new { background: #e6f0fa; color: #0b5cad; }
.portal .muted { color: #5d6670; } .portal .small { font-size: .88rem; } .portal .center { text-align: center; }
.portal .err { color: #b42318; margin-top: 8px; } .portal .note { background: #f0f6ff; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.portal .codein { letter-spacing: .4em; text-align: center; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.portal .paybox { border: 2px solid var(--accent); }
.portal .paystep { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #edf0f3; flex-wrap: wrap; } .portal .paystep:first-of-type { border-top: 0; } .portal .paystep .grow { min-width: 140px; }
.portal .docwrap { overflow-x: auto; } .portal .docwrap .printpage { background: #fff; margin: 0 auto; }
.portal .pvbar { background: #8a4b00; color: #fff; padding: 8px 14px; font-weight: 600; text-align: center; }
.portal .pfoot { text-align: center; color: #5d6670; font-size: .85rem; padding: 10px 12px 30px; }
.portal .photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } .portal .photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.portal .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; } .portal .chk input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.portal .toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #222; color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; max-width: 90vw; }
@media (max-width: 600px) { .portal .docwrap .printpage { font-size: 12px; padding: 12px; } .portal .docwrap .two { display: block; } .portal .docwrap .two .box { margin-bottom: 8px; } .portal .pcard { padding: 14px 12px; } }
@media print { body.portal { background: #fff; } .portal .no-print, .portal .ptop, .portal .pfoot, .portal .pvbar { display: none !important; } .portal main { padding: 0; max-width: none; } .portal .pcard { box-shadow: none; padding: 0; } .portal .docwrap .printpage { font-size: inherit; } }

.agr-slot { display:flex; align-items:center; gap:10px; margin:8px 0; }
.agr-slot input { margin:0; }
