/* CON-PRM-008 partner portal: phone first, one hand, gloves, poor light. Big targets, high contrast, short lines.
   Top bar, header, sign-in and footer come from portal.css (the customer portal's); only the dashboard lives here. */
.partner-main { max-width: 688px; }
.partner-main h2 { font-size: 19px; margin: 0 0 6px; }
body.partner { background: #f4f8fc; }
html, body.partner { overflow-x: hidden; }
.partner-main .lead { font-size: 17px; color: #1B1B4E; }
.btn-lg { font-size: 18px; padding: 16px; border-radius: 12px; min-height: 56px; }
.card { background: #fff; border: 1px solid #dbe4ee; border-radius: 14px; padding: 16px; margin: 12px 0; }
.card .k { color: #54627a; font-size: 14px; }
.doc { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid #e2eaf3; }
.doc:first-of-type { border-top: 0; }
.doc .t { font-size: 17px; font-weight: 700; }
.doc .note { font-size: 15px; color: #1B1B4E; }
.doc .row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill.wait { background: #fff3cd; color: #7a4d00; }
.pill.done { background: #d9f2e3; color: #0b5d32; }
.pill.info { background: #e6f0fb; color: #0B5196; }
.upload { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.upload select, .upload input[type=file] { font-size: 17px; padding: 12px; border: 2px solid #9fb3c8; border-radius: 12px; background: #fff; }
.err { color: #b3261e; font-weight: 700; }
.ok { color: #0b5d32; font-weight: 700; }
.crit { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px solid #e2eaf3; font-size: 15px; }
.crit .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex: 0 0 12px; }
.crit .dot.met { background: #0b8a45; }
.crit .dot.no { background: #d7a100; }
.small { font-size: 13px; color: #54627a; }
.reply { display: flex; gap: 8px; margin-top: 6px; }
.reply input { flex: 1; font-size: 16px; padding: 10px; border: 2px solid #9fb3c8; border-radius: 10px; }

/* Dashboard */
.section-title { margin: 18px 0 8px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.stat { background: #fff; border: 1px solid #dbe4ee; border-radius: 12px; padding: 10px; text-align: center; }
.stat b { display: block; font-size: 16px; color: #031151; overflow-wrap: anywhere; }
.stat span { font-size: 12px; color: #54627a; }
.job-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.job-card { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #dbe4ee; border-radius: 14px; padding: 14px; cursor: pointer; font: inherit; color: inherit; min-height: 56px; }
.job-card:hover, .job-card:focus-visible { border-color: #0B5196; box-shadow: 0 0 0 3px rgba(11,81,150,.15); outline: none; }
.job-card .num { font-size: 13px; color: #54627a; font-weight: 700; }
.job-card .name { font-size: 17px; font-weight: 700; margin: 2px 0; color: #1B1B4E; }
.job-card .addr { font-size: 14px; color: #54627a; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.job-card .go { margin-left: auto; font-weight: 700; color: #0B5196; }
.back { margin: 4px 0 8px; min-height: 44px; }

/* MSA Rev 2: Purchase Order, pay applications, site sign-in, capacity. Same big targets. */
.pill.bad { background: #fde2e0; color: #8c1d18; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }
@media (min-width: 600px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; color: #1B1B4E; }
.form-grid input, .form-grid textarea, .form-grid select { font: inherit; font-size: 17px; font-weight: 400; padding: 12px; border: 2px solid #9fb3c8; border-radius: 12px; background: #fff; min-height: 48px; }
.form-grid .hint-l { font-weight: 400; font-size: 13px; color: #54627a; }
.terms { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 16px; margin: 6px 0; }
.terms dt { color: #54627a; }
.terms dd { margin: 0; font-weight: 700; }
.checklist { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; padding: 12px; border: 2px solid #f0c36d; border-radius: 12px; background: #fffaf0; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.checklist input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: #0B5196; }
.choice { display: flex; flex-wrap: wrap; gap: 14px; font-size: 16px; font-weight: 400; }
.choice label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }

/* SCN-TMP-004 disclosure screen (before anything else) and SCN-TMP-006 summary (first page of the agreements).
   Long fixed text: 16 px, roomy lines, long ids and emails wrap; "I agree" is a full-width 56 px target. */
.consent-gate .card, .summary-page { padding: 18px 16px; }
.consent-gate h1, .summary-page h1 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; overflow-wrap: anywhere; }
.consent-gate .cg-header, .summary-page .sum-for { font-weight: 700; color: #1B1B4E; font-size: 15px; overflow-wrap: anywhere; }
.cg-text p, .summary-page p, .sum-list li { font-size: 16px; line-height: 1.55; color: #16223f; overflow-wrap: anywhere; }
.cg-consent { padding: 12px; border: 2px solid #9fb3c8; border-radius: 12px; background: #f4f8fc; }
.cg-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cg-form .field { margin: 0; }
.cg-form .field input { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; padding: 12px; min-height: 48px; border: 2px solid #9fb3c8; border-radius: 12px; background: #fff; }
.cg-printed { overflow-wrap: anywhere; }
.agree-big { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0; padding: 8px 14px; border: 2px solid #0B5196; border-radius: 12px; background: #fff; font-size: 18px; font-weight: 700; color: #1B1B4E; cursor: pointer; }
.agree-big input { width: 26px; height: 26px; flex: 0 0 26px; margin: 0; accent-color: #0B5196; }
.cg-out, .cg-copy { min-height: 48px; }
.cg-copy { width: 100%; box-sizing: border-box; }
.sum-list { margin: 4px 0 12px; padding-left: 22px; }
.sum-list li { margin: 6px 0; }
.summary-page h2 { margin-top: 18px; }
.summary-page .eyebrow { font-size: .74rem; line-height: 1.4; color: #148DC9; }
.sum-questions { font-weight: 700; }
.form-foot { margin-top: 18px; padding-top: 10px; border-top: 1px solid #dbe4ee; }
.summary-page .form-foot p { font-size: 13px; line-height: 1.45; color: #54627a; margin: 4px 0; overflow-wrap: anywhere; }
#summary-next { white-space: normal; text-align: center; line-height: 1.3; }
.tap44 { min-height: 44px; }

/* SCN-FOR-008 Daily Work Report (#daily=<job id>): one hand, a 375 px phone, gloves, sun. Every tap target is 48 px
   or more; nothing has a fixed width; the photo preview and long words never push the page sideways. */
.daily-date { font-size: 17px; font-weight: 700; color: #1B1B4E; margin: 4px 0; }
.daily-step { gap: 8px; }
.daily-step h2 { overflow-wrap: anywhere; }
.daily .btn-lg { white-space: normal; text-align: center; line-height: 1.25; }
.daily .busy { opacity: .6; pointer-events: none; }
.photo-thumb { display: block; max-width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 10px; border: 1px solid #dbe4ee; }
.pick { display: flex; flex-direction: column; gap: 8px; }
.pick label { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 8px 12px; border: 2px solid #9fb3c8; border-radius: 12px; background: #fff; font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
.pick input { width: 26px; height: 26px; flex: 0 0 26px; margin: 0; accent-color: #0B5196; }
.yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.yesno label { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin: 0; border: 2px solid #9fb3c8; border-radius: 12px; background: #fff; font-size: 18px; font-weight: 700; color: #1B1B4E; }
.yesno input { width: 24px; height: 24px; margin: 0; accent-color: #0B5196; }
.incident-box { padding: 12px; border: 2px solid #b3261e; border-radius: 12px; background: #fde2e0; color: #8c1d18; font-weight: 700; }
.ok-box { padding: 10px 12px; border-radius: 12px; background: #d9f2e3; color: #0b5d32; font-weight: 700; }
.warnline { color: #7a4d00; font-weight: 700; }
.statement { padding: 12px; border: 2px solid #1B1B4E; border-radius: 12px; background: #f4f8fc; }
.statement p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; letter-spacing: .01em; color: #16223f; overflow-wrap: anywhere; }
