.pit {color:#243247;font-size:14px;line-height:1.65;min-width:0}
.pit-heading {display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}
.pit h1 {font-size:24px;line-height:1.4;margin:0 0 8px;color:inherit}
.pit h2 {font-size:18px;margin:0 0 12px;color:inherit}
.pit p {margin:8px 0 16px}.pit small {display:block;font-size:12px;color:#526176;white-space:normal}
.pit label {display:flex;flex-direction:column;gap:6px;font-size:14px;color:inherit}
.pit input,.pit select,.pit textarea {box-sizing:border-box;min-height:44px;width:100%;border:1px solid #bbc6d2;border-radius:6px;background:#fff;color:#243247;padding:9px 12px;font:inherit}
.pit textarea {min-height:84px;resize:vertical}.pit-heading select {min-width:120px}
.pit input:focus,.pit select:focus,.pit textarea:focus,.pit button:focus-visible {outline:2px solid #2563eb;outline-offset:2px}
.pit button {min-height:44px;padding:8px 14px;border:1px solid #bac7d8;border-radius:6px;background:#fff;color:#164eab;cursor:pointer;font:inherit;white-space:nowrap;box-shadow:none}
.pit button:hover {background:#eff6ff}.pit button:disabled{opacity:.55;cursor:wait}
.pit .pit-primary {background:#2563eb;color:#fff;border-color:#2563eb}
.pit-notice {padding:16px 20px;background:#eff6ff;border-left:3px solid #2563eb;margin-bottom:20px}
.pit-notice strong {display:block;font-size:18px}.pit-notice span {display:block;margin:4px 0}.pit-notice p {margin-bottom:0}
.pit-explanation {color:#526176}.pit-scroll {overflow:auto;border:1px solid #dbe2ea;border-radius:6px;background:#fff}
.pit table {border-collapse:collapse;width:100%;min-width:850px;color:#243247;font-size:14px}
.pit caption {caption-side:top;text-align:left;padding:12px 16px;color:#526176}
.pit th,.pit td {padding:16px;text-align:left;border-bottom:1px solid #e4e9ef;vertical-align:top;white-space:normal}
.pit th {background:#f6f8fb;color:#526176;font-weight:600}.pit tbody tr:last-child td{border-bottom:0}
.pit-status {display:inline-block;color:#805400;background:#fff5dc;border-radius:4px;padding:2px 8px;white-space:nowrap}.pit-done {color:#146346;background:#eaf7ef}
.pit-receipt {display:block;max-width:240px;overflow-wrap:anywhere}
.pit-editor {border:1px solid #cbd5e1;background:#fff;padding:24px;margin:0 0 24px;border-radius:6px}
.pit-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}
.pit-actions {display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.pit details {margin:14px 0}.pit summary {cursor:pointer;min-height:40px;padding:8px 0;color:inherit}
.pit-guidance {color:#526176;margin-top:24px!important}.pit a {color:#164eab;text-decoration:underline}
.pit [role=alert]:not(:empty) {color:#a32323;background:#fff1f1;padding:12px;border-radius:4px}
.pit [role=alert]:empty {display:none}
.pit-reminder {display:flex;gap:16px;justify-content:space-between;align-items:center;background:#eff6ff;color:#243247;padding:16px 20px;margin:16px 0;border-left:3px solid #2563eb}
.pit-reminder a {color:#164eab;text-decoration:underline;white-space:nowrap}
@media(max-width:800px){.pit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pit-heading{gap:16px}.pit-editor{padding:16px}}
@media(max-width:520px){.pit-grid{grid-template-columns:1fr}.pit-heading{flex-direction:column}.pit-reminder{align-items:flex-start;flex-direction:column}.pit h1{font-size:22px}}
/* Keep vehicle search outside the monthly filing workflow, including external theme overrides. */
#mainContent:has(#view-personal-tax.active) .topbar-search {display:none!important}

.pit-portal {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;margin-bottom:20px;background:#fff;border:1px solid #dbe2ea;border-radius:6px}
.pit-portal p {margin:6px 0}
.pit .pit-portal-link {display:block;flex-shrink:0;padding:10px 18px;min-height:44px;background:#2563eb;border-radius:6px;color:#fff;text-decoration:none;text-align:center;font-weight:600}
.pit .pit-portal-link small {color:#fff;font-weight:400}
.pit .pit-portal-link:hover {background:#1d4ed8}
.pit .pit-portal-link:focus-visible {outline:2px solid #2563eb;outline-offset:3px}
@media(max-width:650px){.pit-portal{align-items:stretch;flex-direction:column;gap:16px}.pit .pit-portal-link{align-self:flex-start}}
