/* Shared repair portal legibility, followed by the technician workspace. */
.pwrap h1, .pwrap h2 { line-height: 1.16; text-wrap: pretty; }
.pwrap .consent-list { color: var(--ink-2); }
.pwrap .pill.s-completed, .pwrap .msg.ok { color: #147447; }
.pwrap .pill.s-completed::before { background: #147447; }
.pwrap .pill.s-awaiting_parts { color: #865909; border-color: #dfc793; }
.pwrap .pill.s-awaiting_parts::before { background: #986715; }
.pwrap .msg.err { color: #b4232d; }
.pwrap .prow { align-items: baseline; }
.pwrap .prow > :last-child { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.pwrap .prow > :first-child { flex-shrink: 0; }
.pwrap .pin { min-width: 0; }
.pwrap textarea.pin { resize: vertical; }
.pwrap .btn, .pwrap .seg { min-height: 44px; }
.pwrap .star { width: 44px; min-height: 44px; }
.pwrap :is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #1877d9; outline-offset: 4px; }
.pwrap .btn:disabled { opacity: .6; cursor: wait; }
.pwrap .msg:empty { display: none; }
.pwrap .btn { transition: transform 140ms cubic-bezier(.23,1,.32,1), border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.pwrap .btn:active { transform: scale(.98); }
.pwrap .pfoot { line-height: 1.8; }
.pwrap .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.tech-portal { background: #f4f7fa; }
.tech-portal .pwrap { max-width: 1180px; padding: 30px 30px 50px; }
.tech-portal .pbrand { margin-bottom: 42px; font-size: 18px; letter-spacing: -.025em; }
.tech-portal .pbrand .brand-chip { width: 42px; height: 42px; box-shadow: 0 1px 4px #0c1e3212; border: 1px solid #dde6ee; }
.tech-portal .pcard { padding: 26px; border-color: #dce5ed; box-shadow: 0 3px 14px #14283d04; border-radius: 18px; }
.tech-portal .pcard h2 { font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.tech-portal .btn { border-radius: 10px; white-space: normal; text-align: center; line-height: 1.35; }
.tech-portal .btn-grad { box-shadow: 0 2px 3px #1022351c; }
.tech-portal .btn-ghost { background: #fff; }
.tech-portal .btn-sm { padding: 11px 16px; font-size: 13px; }
.tech-portal .pin { border-color: #d6e0e9; background: #fff; border-radius: 9px; font-size: 16px; padding: 12px 13px; min-height: 47px; }
.tech-portal .pin::placeholder { color: #708297; opacity: 1; }
.tech-portal label.pl { font-size: 11px; font-weight: 650; letter-spacing: .04em; color: #52667b; gap: 7px; margin-bottom: 17px; }
.tech-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.tech-heading > div { min-width: 0; }
.tech-heading > .btn, .tech-heading > .pill { flex-shrink: 0; }
.tech-heading h1 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.tech-eyebrow { color: #496783; font: 500 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 11px; }
.tech-subtitle { color: #52687e; font-size: 14px; margin-top: 10px; }
.tech-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.tech-stat { display: flex; flex-direction: column; padding: 21px 22px; border: 1px solid #dce5ed; border-radius: 15px; background: #fff; }
.tech-stat-label { color: #3f5b76; font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.tech-stat strong { margin: 10px 0 11px; font: 650 36px/1 var(--font-d); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.tech-stat > span:last-child { color: #60768a; font-size: 11px; line-height: 1.4; }
.tech-stat:first-child { background: #142a42; border-color: #142a42; color: #fff; }
.tech-stat:first-child .tech-stat-label, .tech-stat:first-child > span:last-child { color: #b7ccde; }
.tech-queue-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.tech-queue-top h2 { margin: 0; }
.tech-filters { display: grid; grid-template-columns: minmax(160px, 1fr) 180px auto; gap: 10px; }
.tech-filters > * { min-width: 0; }
.tech-filters select { font-size: 13px; }
.tech-filters [aria-pressed="true"] { border-color: #aac5de; background: #edf5fc; color: #0a5ba5; }
.tech-result-count { color: #62768a; font: 400 11px/1.5 var(--mono); margin: 20px 0 10px; }
.tech-jobs { display: grid; }
.tech-job { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 24px; width: 100%; padding: 23px 2px; border: 0; border-top: 1px solid #e2eaf0; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; border-radius: 2px; }
.tech-job-main, .tech-job-state { display: flex; flex-direction: column; min-width: 0; }
.tech-job-number { color: #60768a; font: 400 10px/1.4 var(--mono); letter-spacing: .015em; }
.tech-job-name { margin: 5px 0 3px; font-size: 17px; font-weight: 650; letter-spacing: -.025em; overflow-wrap: anywhere; }
.tech-job-meta { color: #52687b; font-size: 12px; overflow-wrap: anywhere; }
.tech-job-state { align-items: flex-end; gap: 12px; }
.tech-job-date { color: #62768a; font: 400 10px/1.4 var(--mono); }
.tech-job-arrow { font-size: 22px; color: #678097; }
.tech-portal .pill { font-family: var(--font-d); font-size: 11px; padding: 5px 10px; white-space: nowrap; line-height: 1.5; }
.tech-session { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.tech-empty { padding: 35px 15px 28px; text-align: center; }
.tech-empty-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; color: #147447; background: #eaf5ef; border-radius: 50%; }
.tech-empty h3 { font-size: 17px; letter-spacing: -.025em; }
.tech-empty p { color: #60758a; font-size: 13px; margin-top: 5px; }
.tech-login { max-width: 490px; margin: 60px auto 90px; }
.tech-login h1 { font-size: 36px; letter-spacing: -.045em; }
.tech-login .tech-subtitle { margin: 12px 0 28px; max-width: 330px; }
.tech-login .pfoot { margin-top: 20px; }
.tech-new-form { max-width: 820px; }
.tech-new-form fieldset { border: 0; min-width: 0; margin-bottom: 26px; padding-bottom: 15px; border-bottom: 1px solid #e2eaf0; }
.tech-new-form legend { font: 400 12px/1.5 var(--mono); color: #8394a4; margin-bottom: 20px; }
.tech-new-form legend span { font: 650 17px/1.5 var(--font-d); color: var(--ink); margin-left: 12px; letter-spacing: -.025em; }
.tech-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.tech-field-wide { grid-column: 1 / -1; }
.tech-fee { background: #eef5fb; border: 1px solid #dae8f3; padding: 15px 18px; border-radius: 9px; color: #163e62; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tech-help { font-size: 12px; line-height: 1.7; color: #60758a; margin: 9px 0 16px; overflow-wrap: anywhere; }
.tech-back { margin-bottom: 26px; }
.tech-detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tech-detail-main, .tech-detail-side { min-width: 0; }
.tech-detail-grid .pcard { margin-bottom: 20px; }
.tech-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.tech-card-heading h2 { margin: 0; }
.tech-card-index { font: 400 10px/1.4 var(--mono); color: #8094a6; }
.tech-issue { color: #465d73; font-size: 14px; line-height: 1.8; margin-bottom: 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tech-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tech-share { border-top: 1px solid #e2eaf0; padding-top: 17px; margin-top: 18px; }
.tech-portal .tech-status-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tech-portal .tech-status-buttons .btn { padding: 10px 8px; font-size: 11px; }
.tech-check { margin: 4px 0 18px; align-items: center; min-height: 28px; }
.tech-check input { width: 20px; height: 20px; margin-top: 0; accent-color: #0b6fd6; }
.tech-check span { font-size: 12px; line-height: 1.5; }
.tech-photo { overflow: hidden; }
.tech-photo input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tech-photo:focus-within { outline: 3px solid #1877d9; outline-offset: 4px; }
.tech-internal { border-style: dashed; background: #f5f8fa; }
.tech-update-text { margin-top: 8px; color: #40586f; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tech-update-text img { max-width: 100%; }
.tech-total { font: 650 46px/1 var(--font-d); letter-spacing: -.06em; margin: 3px 0 18px; font-variant-numeric: tabular-nums; }
.tech-breakdown { margin: 22px 0; }
.tech-portal .prow { font-size: 12px; gap: 18px; padding: 10px 0; }
.tech-portal .tech-payment .btnrow > * { flex-grow: 1; }
.tech-consent { color: #405a70; font-size: 12px; margin: 14px 0 20px; }
.tech-consent summary { cursor: pointer; padding: 10px 0; min-height: 44px; font-weight: 600; }
.tech-consent .consent-list { font-size: 12px; line-height: 1.75; }
.tech-portal .pfoot { color: #657b8e; font-size: 10px; margin-top: 35px; }

@media (hover: hover) and (pointer: fine) {
  .tech-job:hover .tech-job-name, .tech-job:hover .tech-job-arrow { color: #086ac7; }
  .tech-job:hover { background: #f7fafd; }
}
@media (max-width: 960px) {
  .tech-detail-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
  .tech-detail-grid .pcard { padding: 20px; }
  .tech-portal .tech-status-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tech-portal .pwrap { padding: 22px 18px 40px; }
  .tech-portal .pbrand { margin-bottom: 30px; }
  .tech-heading { align-items: flex-start; gap: 18px; }
  .tech-heading h1 { font-size: 32px; }
  .tech-subtitle { font-size: 13px; }
  .tech-heading > .btn { padding: 13px 16px; }
  .tech-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
  .tech-stat { padding: 18px; }
  .tech-stat strong { font-size: 32px; }
  .tech-filters { grid-template-columns: minmax(0, 1fr) auto; }
  .tech-search { grid-column: 1 / -1; }
  .tech-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .tech-portal .pcard { padding: 21px; }
  .tech-portal .tech-queue { padding: 20px 18px; }
  .tech-portal .tech-status-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-job { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 20px 0; }
  .tech-job-arrow { display: none; }
  .tech-job-date { font-size: 9px; }
  .tech-job-name { font-size: 16px; }
  .tech-job-meta { font-size: 11px; }
  .tech-login { margin: 35px auto 60px; }
  .tech-login h1 { font-size: 31px; }
}
@media (max-width: 440px) {
  .tech-heading { flex-wrap: wrap; }
  .tech-heading h1 { font-size: 30px; }
  .tech-heading > .btn { width: 100%; }
  .tech-stat { padding: 17px 15px; }
  .tech-stat-label { font-size: 9px; }
  .tech-stat > span:last-child { font-size: 10px; }
  .tech-filters { grid-template-columns: minmax(0, 1fr); }
  .tech-filters > .btn { justify-self: start; }
  .tech-job { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tech-job-state { flex-direction: row; align-items: center; justify-content: space-between; }
  .tech-job-date { text-align: right; }
  .tech-form-grid { grid-template-columns: minmax(0, 1fr); }
  .tech-portal .tech-status-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-contact, .tech-share { display: grid; grid-template-columns: minmax(0, 1fr); }
  .tech-portal .btn { max-width: 100%; }
  .tech-portal .prow > :first-child { flex-shrink: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pwrap .btn, .pwrap .seg, .pwrap .star { transition: none; }
  .pwrap .btn:active, .pwrap .star:hover { transform: none; }
}
@media (hover: none) {
  .pwrap .star:hover { transform: none; }
}
