/* Core layout and components (formerly inline <style> blocks in index.html), in original order. */
:root {
  --ink: #093476;
  --green: #075ee5;
  --lime: #ffbd21;
  --muted: #60728c;
  --line: #dfebfc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f8fe;
  color: var(--ink);
  font:
    16px/1.7 Tahoma,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #99b937;
  outline-offset: 3px;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 19px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  background: var(--green);
  color: var(--lime);
  border-radius: 14px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}
.brand b {
  font-size: 29px;
  line-height: 1.3;
}
.brand small {
  letter-spacing: 3px;
  display: block;
  font-size: 12px;
}
.pill {
  border-radius: 25px;
  padding: 5px 13px;
  font-size: 13px;
  background: #eaf3ff;
  color: #075ee5;
}
nav {
  display: flex;
  gap: 8px;
}
button {
  border: 0;
  border-radius: 9px;
  padding: 11px 18px;
  background: white;
  color: var(--ink);
  font-weight: bold;
}
nav button.active,
.primary {
  background: var(--green);
  color: white;
}

.outline {
  border: 1px solid var(--line);
}
main {
  max-width: 1270px;
  margin: auto;
  padding: 32px 28px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
h1 {
  font-size: 30px;
  margin: 0 0 6px;
}
p {
  margin: 0;
  color: var(--muted);
}
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
}
.board,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.toolbar {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 20px;
  margin: 0;
}
.toolbar select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: white;
}
.cards {
  padding: 0 24px;
}
.card {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.card:last-child {
  border: 0;
}
.cardtop,
.route,
.cardfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.meta {
  color: var(--muted);
  font-size: 13px;
}
.badge {
  background: #e7f8ee;
  color: #13894a;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
}
.route {
  justify-content: flex-start;
  gap: 25px;
  margin: 15px 0;
}
.city {
  font-size: 24px;
  font-weight: bold;
}
.city small {
  display: block;
  font-size: 13px;
  font-weight: normal;
  color: var(--muted);
}
.journey {
  color: #8ea29b;
  font-size: 24px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0 20px;
}
.chip {
  background: #f5f8fe;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.cardfoot {
  color: var(--muted);
  font-size: 14px;
}
.panel {
  padding: 24px;
  margin-bottom: 18px;
}
.dark {
  background: var(--green);
  color: white;
  border: 0;
}
.dark p {
  color: #bfceca;
  margin: 10px 0 18px;
}
.dark h2 {
  color: var(--lime);
}
.step {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}
.num {
  min-width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #eef3f1;
  text-align: center;
  font-weight: bold;
}
.step small {
  display: block;
  color: var(--muted);
}
footer {
  padding: 25px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.notice {
  padding: 12px 18px;
  background: #edf5ff;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}
.empty {
  text-align: center;
  padding: 55px 15px;
}
dialog {
  border: 0;
  border-radius: 18px;
  width: min(640px, 94vw);
  padding: 28px;
  color: var(--ink);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #08295799;
}
.dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.close {
  font-size: 24px;
  padding: 0 9px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: bold;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cad8d2;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: var(--ink);
  margin-top: 5px;
}
.full {
  grid-column: 1/-1;
}
.actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
.offer {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 10px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.price {
  font-size: 22px;
  font-weight: bold;
}
.offer small {
  display: block;
  color: var(--muted);
}
.contact {
  background: #edf8f1;
  padding: 18px;
  border-radius: 10px;
  margin-top: 18px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--green);
  color: white;
  z-index: 5;
  display: none;
}
.commission {
  font-size: 36px;
  font-weight: bold;
  color: var(--lime);
}
@media (max-width: 850px) {
  header {
    flex-wrap: wrap;
    padding: 15px 20px;
  }
  header nav {
    width: 100%;
    order: 3;
  }
  nav button {
    flex: 1;
    padding: 10px 7px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .intro {
    align-items: start;
  }
  h1 {
    font-size: 25px;
  }
  main {
    padding: 24px 18px;
  }
  .intro .primary {
    white-space: nowrap;
  }
  .cards {
    padding: 0 18px;
  }
}
@media (max-width: 520px) {
  aside {
    display: block;
  }
  .intro {
    flex-direction: column;
  }
  .intro .primary {
    width: 100%;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .city {
    font-size: 21px;
  }
  .cardfoot {
    align-items: start;
  }
  .toolbar {
    padding: 18px;
  }
  .offer {
    flex-wrap: wrap;
  }
  .pill {
    font-size: 12px;
  }
  h1 {
    font-size: 24px;
  }
}

.mark {
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #006aff, #0043a9);
  border: 3px solid #e8f3ff;
}
.mark svg {
  transform: rotate(45deg);
  color: #ffbd21;
}
.brand b {
  color: #034eb6;
}
.brand small {
  color: #034eb6;
  font-weight: bold;
}
.dark {
  background: linear-gradient(135deg, #006cff, #003b99);
}
.dark h2 {
  color: white;
}
.dark p {
  color: #dfebff;
}
.commission {
  color: #ffc520;
}
.dark .commission span {
  color: white !important;
}
.categoryGrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 22px 0 30px;
}
.category {
  border: 1px solid #deebfc;
  background: white;
  padding: 22px 10px;
  border-radius: 14px;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 5px 18px #1458a807;
}
.category:hover,
.category.selected {
  border-color: #0062ec;
  background: #ebf4ff;
}
.category span {
  display: block;
  font-size: 37px;
  margin-bottom: 8px;
}
.homeWelcome {
  background: linear-gradient(110deg, #dcefff, #f4f8ff);
  border: 1px solid #dceaff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.homeWelcome h2 {
  font-size: 25px;
  color: #064caf;
}
.homeWelcome p {
  margin-top: 6px;
}
.searchbox {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  max-width: 500px;
}
.searchbox input {
  margin: 0;
  background: white;
}
.miniStat {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.miniStat > div {
  background: #edf5ff;
  border: 1px solid #d9e8ff;
  border-radius: 12px;
  padding: 14px 20px;
  flex: 1;
}
.miniStat b {
  display: block;
  font-size: 26px;
  color: #075ee5;
}
.miniStat small {
  font-size: 14px;
  color: #60728c;
}
.greenButton {
  background: #0aaa52;
  color: white;
}

body {
  padding-bottom: 40px;
}
nav button.active {
  box-shadow: 0 4px 10px #0064e326;
}
.contact {
  border: 1px solid #c9ead4;
}
.contact h2 {
  color: #07833c;
}
.offer .primary {
  background: #09a74d;
}
.primary {
  box-shadow: 0 3px 8px #0054ca1c;
}
.badge {
  font-weight: bold;
}
.board,
.panel {
  box-shadow: 0 4px 20px #003b7d05;
}
.city {
  color: #123461;
}
.notice {
  color: #335781;
}
.step .num {
  background: #e7f0ff;
  color: #045bdd;
}
@media (max-width: 850px) {
  .categoryGrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .homeWelcome {
    align-items: stretch;
    flex-direction: column;
  }
  .homeWelcome h2 {
    font-size: 22px;
  }
  .category {
    padding: 15px 8px;
  }
  header nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dce7fa;
    padding: 8px 10px;
    z-index: 3;
    box-shadow: 0 -3px 15px #16355c0b;
  }
  nav button {
    font-size: 13px;
  }
  body {
    padding-bottom: 85px;
  }
}
@media (max-width: 520px) {
  .category span {
    font-size: 31px;
  }
  .category {
    font-size: 14px;
  }
  .searchbox button {
    padding: 10px;
  }
  .miniStat {
    gap: 8px;
  }
  .miniStat > div {
    padding: 10px;
  }
  .miniStat b {
    font-size: 21px;
  }
}
.brand {
  width: 260px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.brand > div {
  visibility: hidden;
}
header {
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (max-width: 520px) {
  .brand {
    width: 220px;
    height: 60px;
    background-size: 965px auto;
  }
}
[hidden] {
  display: none !important;
}
.vehiclePreview {
  margin: 12px 20px;
  padding: 10px;
  border: 1px solid #deebfc;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.vehiclePreview img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.vehiclePreview figcaption {
  font-size: 14px;
  color: #60728c;
}
.vehiclePreview.full {
  margin: 0;
}
.carrierSignup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: white;
  border: 1px solid #dce9fc;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.carrierThumbnail {
  padding: 3px;
  width: 125px;
  flex-shrink: 0;
  background: #f3f7fe;
}
.carrierThumbnail img {
  width: 100%;
  height: 85px;
  object-fit: contain;
  background: white;
  border-radius: 7px;
}
.carrierThumbnail small {
  font-size: 12px;
}
.acceptedPhoto {
  display: block;
  background: white;
  width: 100%;
  margin: 12px 0;
}
.acceptedPhoto img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
}
#carrierForm small {
  font-size: 13px;
  font-weight: normal;
  color: #60728c;
}
@media (max-width: 520px) {
  .carrierSignup {
    flex-direction: column;
    align-items: stretch;
  }
  .carrierThumbnail {
    width: 100px;
  }
}
.cargoGallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.cargoGallery img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: white;
  border: 1px solid #deebfc;
  border-radius: 8px;
}
.cargoGallery button {
  padding: 5px;
  background: #edf5ff;
  font-size: 13px;
  width: 100%;
}
#requestForm small {
  font-size: 13px;
  font-weight: normal;
  color: #60728c;
}
@media (max-width: 520px) {
  .cargoGallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.brand.soubBrand {
  width: 205px;
  height: 83px;
  background: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand.soubBrand > div {
  visibility: visible;
}
.soubWordmark {
  text-align: center;
  line-height: 1.15;
}
.soubWordmark b {
  display: block;
  font-size: 35px;
  color: #044fb8;
  line-height: 1.5;
}
.soubWordmark small {
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #044fb8;
  line-height: 1.25;
}
.roadMark {
  display: block;
  width: 172px;
  height: 19px;
  margin: 7px auto 0;
}
.roadDashes {
  animation: roadTravel 1.4s linear infinite;
}
@keyframes roadTravel {
  to {
    stroke-dashoffset: -26;
  }
}
@media (prefers-reduced-motion: reduce) {
  .roadDashes {
    animation: none;
  }
}
@media (max-width: 520px) {
  .brand.soubBrand {
    width: 172px;
    height: 78px;
  }
  .soubWordmark b {
    font-size: 31px;
  }
  .roadMark {
    width: 151px;
  }
}
.fleetEditor {
  padding: 16px;
  border: 1px solid #dce9fc;
  border-radius: 12px;
  margin: 16px 0;
}
.fleetEditor h3 {
  margin: 0;
}
.fleetCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.fleetCards article {
  padding: 12px;
  background: white;
  border: 1px solid #dce9fc;
  border-radius: 12px;
}
.fleetCards img {
  width: 100%;
  height: 125px;
  object-fit: contain;
}
.fleetCards b,
.fleetCards small {
  display: block;
}
.fleetCards small {
  font-size: 13px;
  color: #60728c;
}
.distanceInfo {
  display: block;
  color: #0755ad;
  font-size: 14px;
  margin: 8px 0;
}
.locationBox {
  padding: 12px;
  background: #edf5ff;
  border-radius: 12px;
  margin: 12px 0;
}
.locationBox p {
  font-size: 13px;
  margin: 6px 0;
}
.agreementSuccess {
  text-align: center;
  padding: 32px 16px;
}
.agreementSuccess .check {
  display: block;
  font-size: 54px;
  color: #16845d;
}
.acceptedSummary {
  background: #f6f8fc;
  border: 1px solid #e5ebf4;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
  color: #435875;
}
dialog.acceptClosing {
  animation: acceptClose 0.32s ease both;
}
dialog.acceptClosing::backdrop {
  animation: backdropClose 0.32s ease both;
}
@keyframes acceptClose {
  to {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
}
@keyframes backdropClose {
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog.acceptClosing,
  dialog.acceptClosing::backdrop {
    animation: none;
  }
}
.requestActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.equipmentFacts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  background: #edf5ff;
  padding: 15px;
  border-radius: 12px;
}
.equipmentFacts b {
  display: block;
}
.privacyHint {
  font-size: 14px;
  color: #60728c;
}
@media (max-width: 600px) {
  .requestActions {
    width: 100%;
  }
  .requestActions button {
    flex: 1;
  }
}
.driverTools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.driverFilters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.driverGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.driverGrid article {
  background: #fff;
  padding: 22px;
  border: 1px solid #dce9fc;
  border-radius: 16px;
}
.driverGrid h3 {
  margin: 0;
}
.driverTypes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.driverTypes label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.driverTypes input {
  width: auto;
  margin: 0;
}
.driverBooking {
  padding: 16px;
  border: 1px solid #dce9fc;
  background: #fff;
  border-radius: 12px;
  margin: 12px 0;
}
@media (max-width: 850px) {
  header nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    box-sizing: border-box;
    gap: 6px;
  }
  header nav button {
    min-width: 0;
    padding: 8px 4px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  body {
    padding-bottom: 150px;
  }
  .toast {
    bottom: 140px;
  }
}

#detailsDialog .dialoghead {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 10px #08295708;
}
#detailsDialog .dialoghead .close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #eef5ff;
  border: 1px solid #cbdfff;
  cursor: pointer;
}
.requestVehicle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.requestVehicle img {
  width: 90px;
  height: 66px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.commissionEquation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.commissionEquation .commissionArrow {
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.commissionTotal {
  font-size: 24px !important;
}
.commissionSummary {
  margin-top: 14px;
}
.commissionSummary p {
  font-size: 13px !important;
  margin: 8px 0;
}
.commissionSummary button {
  font-size: 13px;
  width: 100%;
  margin-top: 8px;
}
.commissionProgress {
  height: 5px;
  background: #cbdfff;
  border-radius: 6px;
  overflow: hidden;
}
.commissionProgress span {
  display: block;
  height: 100%;
  background: #eaaa30;
}

.miniStat .commissionEquation b {
  color: #075ee5;
}
.miniStat .commissionSummary b {
  display: inline;
  font-size: 14px;
}
.miniStat > div {
  min-width: 0;
}
@media (max-width: 650px) {
  .miniStat {
    flex-wrap: wrap;
  }
  .miniStat > div {
    flex: 1 1 150px;
  }
}
#switchRole {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 22px;
  background: #f2f7ff;
  border-color: #c4dcff;
}
#switchRole .homeSwitchLabel {
  order: -1;
  font-weight: 700;
}
#switchRole .roleSwitchIcon {
  width: 40px;
  height: 24px;
  background: transparent;
  border: 0;
}
#switchRole .roleSwitchIcon svg {
  width: 36px;
  height: 24px;
}

#switchRole:hover {
  background: #e6f1ff;
}
.quantityInfo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  background: #eef5ff;
  border: 1px solid #d7e6fc;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 14px;
}
.quantityInfo strong {
  color: #e78613;
}
.quantityInfo small {
  width: 100%;
  color: var(--muted);
}
.carrierCityFilters {
  display: flex;
  gap: 12px;
  align-items: end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.carrierCityFilters label {
  flex: 1;
}
.driverMessageButton {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline-start: auto;
  margin-top: 16px;
  padding: 12px 24px;
  background: #075ee5 !important;
  border: 1px solid #075ee5 !important;
  color: #fff !important;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 4px 12px #075ee52b;
}
.driverMessageButton:disabled {
  opacity: 0.55;
}
.driverBooking .actions {
  justify-content: flex-end;
}
.driverBooking .actions .driverMessageButton {
  margin-top: 0;
}
.ratingSummary {
  display: block;
  color: #bb7800;
  font-weight: 700;
  font-size: 15px;
  margin: 8px 0;
}
.ratingSummary small {
  font-weight: 400;
}
.ratingSummary.unrated {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.rateService {
  margin: 10px 0;
  color: #9d6500;
}
.ratingCompleted {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 18px 0;
}
.ratingCompleted input {
  width: auto;
  margin: 0;
}
#ratingError {
  color: #b52727;
}
.ratingStars {
  display: inline-block;
  direction: ltr;
  letter-spacing: 1px;
  background: linear-gradient(to right, #c78a00 var(--rating-fill), #c8cdd4 var(--rating-fill));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.ratingPicker {
  border: 0;
  padding: 0;
  margin: 15px 0;
}
.ratingPicker legend {
  font-weight: 700;
}
.ratingChoices {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 12px 0;
}
.ratingChoices button {
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: #f3f6fa;
  color: #aeb7c4;
  font-size: 35px;
  border: 1px solid #dce4ef;
}
.ratingChoices button.filled {
  color: #bb7800;
  background: #fff8e8;
  border-color: #e8cf96;
}
.ratingChoices button:focus-visible {
  outline: 3px solid #075ee5;
  outline-offset: 3px;
}
#ratingValue {
  text-align: center;
  font-size: 15px;
}
.myServiceRating {
  color: #9d6500;
}
@media (max-width: 650px) {
  .carrierCityFilters {
    flex-wrap: wrap;
  }
  .carrierCityFilters label {
    flex: 1 1 180px;
  }
}
.mapSearchButton {
  border-color: #95baf0;
  color: #075ee5;
  background: #edf5ff;
}
.vehicleMapSetup {
  padding: 15px;
  background: #edf5ff;
  border-radius: 12px;
  margin-top: 12px;
}
.vehicleMapSetup p {
  font-size: 13px;
  margin: 10px 0;
}
.vehicleMapSetup small {
  color: var(--muted);
}
#carrierMapDialog {
  width: min(1120px, 96vw);
  padding: 22px;
}
#carrierMapDialog > .dialoghead {
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  padding: 8px 0;
}
.mapSearchFilters {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}
.mapSearchFilters label {
  flex: 1;
  min-width: 140px;
}
.carrierMapLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
}
.mapVehicleResults {
  height: 480px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mapVehicleCard {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}
.mapVehicleCard.selected {
  border-color: #075ee5;
  box-shadow: 0 0 0 2px #075ee524;
}
.mapVehicleCard img {
  float: left;
  width: 86px;
  height: 66px;
  object-fit: contain;
  border-radius: 8px;
}
.mapVehicleCard b {
  display: block;
}
.mapVehicleCard p {
  font-size: 13px;
  margin: 7px 0;
}
.mapVehicleCard small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.mapVehicleCard .actions {
  clear: both;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mapVehicleCard button {
  font-size: 12px;
  padding: 8px 12px;
}
.mapVehicleCard a {
  font-size: 12px;
}
.mapTiles,
.mapMarkers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mapTiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  left: 0;
  top: 0;
}
.mapMarkers button {
  pointer-events: auto;
}
.mapVehiclePin {
  position: absolute;
  transform: translate(-50%, -100%);
  background: #075ee5;
  border: 2px solid white;
  border-radius: 50% 50% 50% 5%;
  width: 40px;
  height: 40px;
  padding: 0;
  box-shadow: 0 2px 7px #12396d55;
  cursor: pointer;
  font-size: 23px;
  z-index: 2;
}
.mapVehiclePin.selected {
  background: #f4a320;
  z-index: 4;
}
.mapZoom {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: grid;
  gap: 5px;
}
.mapZoom button {
  background: white;
  border: 1px solid #cad8ef;
  width: 40px;
  height: 40px;
  font-size: 24px;
  padding: 0;
}
.mapAttribution {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffffe8;
  padding: 3px 6px;
  font-size: 11px;
  color: #164876;
  z-index: 6;
}
.mapTileError {
  position: absolute;
  bottom: 30px;
  left: 12px;
  right: 12px;
  padding: 8px;
  background: #fff4d7;
  border-radius: 8px;
  font-size: 12px;
  z-index: 5;
}
#carrierMapCanvas {
  height: 480px;
  position: relative;
  overflow: hidden;
  direction: ltr;
  background: #e3eced;
  border: 1px solid #cbd9e5;
  border-radius: 14px;
  touch-action: none;
}
#carrierMapCanvas:focus-visible {
  outline: 3px solid #075ee5;
}
@media (max-width: 760px) {
  .carrierMapLayout {
    grid-template-columns: 1fr;
  }
  .mapVehicleResults {
    height: auto;
    max-height: 340px;
  }
  #carrierMapCanvas {
    height: 350px;
  }
  #carrierMapDialog {
    padding: 16px;
  }
}
.messageThread {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #dce9fc;
}
.messageList {
  display: grid;
  gap: 9px;
  max-height: 280px;
  overflow: auto;
  margin: 12px 0;
}
.messageList article {
  padding: 10px 13px;
  border-radius: 10px;
  background: #f1f6ff;
}
.messageList .mineMessage {
  background: #e7f3ff;
  margin-right: 8%;
}
.messageList .otherMessage {
  background: #f5f7fa;
  margin-left: 8%;
}
.messageList article p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #17365f;
}
.messageList time {
  font-size: 12px;
  color: #60728c;
}
.messageThread form button {
  margin-top: 10px;
}
.roleLanding {
  max-width: 980px;
  margin: 24px auto 34px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dce9fc;
  border-radius: 18px;
  text-align: center;
}
.roleLanding h2 {
  font-size: 26px;
  color: #064caf;
}
.roleLanding > p {
  margin: 6px 0 24px;
}
.roleChoiceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.roleChoice {
  min-height: 185px;
  border: 1px solid #dce9fc;
  background: #f8fbff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.roleChoice:hover,
.roleChoice:focus-visible {
  border-color: #075ee5;
  transform: translateY(-2px);
}
.roleChoice span {
  font-size: 40px;
}
.roleChoice b {
  font-size: 19px;
  color: #064caf;
}
.roleChoice small {
  font-size: 14px;
  color: #60728c;
  font-weight: normal;
}
#switchRole {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid #bfd4f3;
  border-radius: 999px;
  background: linear-gradient(115deg, #edf6ff 0%, #fff8ed 100%);
  color: #084cae;
  box-shadow: 0 4px 12px #16467d12;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
}
#switchRole:hover {
  transform: translateY(-1px);
  border-color: #91b9ee;
  box-shadow: 0 7px 18px #16467d20;
}
.roleSwitchIcon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  border: 1px solid #dce8f6;
  border-radius: 50%;
  background: #fff;
  color: #1162c5;
}
.roleSwitchIcon svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes switchArrowTop {
  50% {
    transform: translateX(-2px);
  }
}
@keyframes switchArrowBottom {
  50% {
    transform: translateX(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #switchRole {
    transition: none;
  }

}
@media (max-width: 650px) {
  .roleLanding {
    margin: 12px 0;
    padding: 20px 14px;
  }
  .roleChoiceGrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .roleChoice {
    min-height: 115px;
    display: grid;
    grid-template-columns: 50px 1fr;
    text-align: right;
    justify-items: start;
    padding: 16px;
  }
  .roleChoice span {
    grid-row: 1/3;
    grid-column: 1;
    font-size: 34px;
  }
  .roleChoice b,
  .roleChoice small {
    grid-column: 2;
  }
}
.notificationArea {
  position: relative;
  flex-shrink: 0;
}
.notificationBell {
  width: 46px;
  height: 46px;
  padding: 10px;
  display: grid;
  place-items: center;
  border: 1px solid #dce9fc;
  border-radius: 50%;
  position: relative;
  color: #075ee5;
  background: #fff;
}
.notificationBell svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notificationBell:hover,
.notificationBell[aria-expanded='true'] {
  background: #edf5ff;
}
.notificationBadge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 12px;
  background: #e33838;
  color: #fff;
  font:
    bold 12px/21px Tahoma,
    Arial;
  text-align: center;
  border: 2px solid #fff;
}
.notificationPanel {
  position: absolute;
  z-index: 8;
  top: 54px;
  left: 0;
  width: min(360px, 90vw);
  max-height: 440px;
  overflow: auto;
  background: #fff;
  border: 1px solid #dce9fc;
  border-radius: 14px;
  box-shadow: 0 12px 34px #14335c24;
  padding: 12px;
}
.notificationPanel[hidden] {
  display: none;
}
.notificationHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 10px;
  border-bottom: 1px solid #e7eef9;
}
.notificationHeader b {
  font-size: 17px;
}
.notificationHeader button {
  font-size: 13px;
  padding: 7px 10px;
}
.notificationHeader button:disabled {
  opacity: 0.5;
  cursor: default;
}
.notificationList {
  display: grid;
  gap: 6px;
  padding-top: 8px;
}
.notificationItem {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: right;
  border-radius: 9px;
  background: white;
  border: 1px solid transparent;
}
.notificationItem:hover {
  background: #f5f8fe;
}
.notificationItem.unread {
  background: #edf5ff;
  border-color: #dbeaff;
}
.notificationItem strong {
  display: block;
  color: #103b77;
  font-size: 14px;
}
.notificationItem p {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.notificationItem time {
  display: block;
  font-size: 12px;
  color: #70809a;
  margin-top: 5px;
}
.notificationEmpty {
  text-align: center;
  padding: 28px 10px;
  color: #60728c;
  font-size: 14px;
}
@media (min-width: 851px) {
  html[dir='ltr'] .notificationPanel {
    left: auto;
    right: 0;
  }
}
@media (max-width: 850px) {
  .notificationPanel {
    position: fixed;
    top: 84px;
    right: 12px;
    max-height: min(65vh, 440px);
  }
  header .notificationArea {
    margin-right: auto;
  }
}
@media (max-width: 520px) {
  .notificationBell {
    width: 42px;
    height: 42px;
  }
  .notificationPanel {
    top: 78px;
  }
}
.agreementJourney {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-inline-start: 12px;
  vertical-align: middle;
}
.agreementStatus {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.agreementStatus.agreed {
  color: #9a4700;
  background: #fff1df;
}
.agreementStatus.delivered {
  color: #167342;
  background: #e6f5eb;
}
.deliveryProgress {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-inline-start: 8px;
  color: #ae5a08;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.deliveryArrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  animation: deliveryMove 1.35s ease-in-out infinite;
}
@keyframes deliveryMove {
  50% {
    transform: translateX(-4px);
  }
}
.statusCancelled {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 7px;
  background: #f0f2f6;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}
.editButton {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #f2d7ad;
  background: #fff9f0;
  color: #925000;
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.editButton:hover {
  background: #fff0d7;
  border-color: #e9bd7c;
}
.editButton svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cancelButton {
  border: 1px solid #f2caca;
  background: #fff7f7;
  color: #a52b36;
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}
.cancelButton:hover {
  background: #ffeded;
}
.editActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}
.editOfferActions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.editOfferActions button {
  font-size: 12px;
  padding: 6px 9px;
}
#editDialog {
  width: min(620px, calc(100% - 24px));
  max-height: 90vh;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 60px #10284d40;
}
#editDialog::backdrop {
  background: #10284d77;
}
#editDialog .dialoghead {
  margin-bottom: 15px;
}
#editDialog .editIntro {
  margin: -4px 0 16px;
  color: #60728c;
  font-size: 14px;
}
.editNotice {
  padding: 10px 13px;
  border-radius: 10px;
  background: #f5f8fe;
  color: #526681;
  font-size: 13px;
  margin: 14px 0;
}
.editError {
  min-height: 1.4em;
  color: #b42332;
  font-size: 13px;
}
.distanceInfo small {
  display: block;
  margin-top: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .deliveryArrow {
    animation: none;
  }
}
#welcomeDialog {
  border: 0;
  border-radius: 26px;
  padding: 0;
  width: min(860px, calc(100% - 24px));
  max-height: 92dvh;
  overflow: auto;
  color: #12396d;
  box-shadow: 0 24px 80px #10284d40;
}
#welcomeDialog::backdrop {
  background: #10284dbb;
}
.welcomeContent {
  padding: 34px;
  text-align: center;
  background: radial-gradient(ellipse at top, #e9f3ff, transparent 65%), #fff;
}
.welcomeTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #60728c;
}
.welcomeTop button {
  padding: 8px 14px;
}
.welcomeRoad {
  margin: 20px auto 8px;
  max-width: 260px;
  color: #1263cd;
}
.welcomeRoad svg {
  width: 100%;
  height: 96px;
}
.welcomeTruck {
  animation: welcomeDrive 2.8s ease-in-out infinite;
}
.welcomeArrow {
  animation: welcomePoint 1.8s ease-in-out infinite;
}
.welcomeContent h2 {
  font-size: 32px;
  margin: 10px 0;
}
.welcomeContent > p {
  margin: 0 0 24px;
}
.welcomeChoices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.welcomeChoice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 14px;
  border: 1px solid #dbe7f7;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.welcomeChoice:hover {
  transform: translateY(-3px);
  border-color: #1263cd;
}
.welcomeChoice svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: welcomeFloat 3s ease-in-out infinite;
}
.welcomeChoice:nth-child(2) {
  color: #ae650b;
  background: #fffbf3;
}
.welcomeChoice:nth-child(2) svg {
  animation-delay: 0.4s;
}
.welcomeChoice:nth-child(3) {
  color: #167342;
  background: #f4fcf7;
}
.welcomeChoice:nth-child(3) svg {
  animation-delay: 0.8s;
}
.welcomeChoice b {
  font-size: 18px;
}
.welcomeChoice small {
  font-size: 13px;
  font-weight: 400;
  color: #60728c;
}
.welcomeFoot {
  font-size: 13px;
  color: #60728c;
  margin-top: 22px;
}
@keyframes welcomeDrive {
  50% {
    transform: translateX(-9px);
  }
}
@keyframes welcomePoint {
  50% {
    transform: translateX(-5px);
  }
}
@keyframes welcomeFloat {
  50% {
    transform: translateY(-4px);
  }
}
@media (max-width: 600px) {
  .welcomeContent {
    padding: 20px 16px;
  }
  .welcomeContent h2 {
    font-size: 25px;
  }
  .welcomeChoices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .welcomeChoice {
    display: grid;
    grid-template-columns: 52px 1fr;
    text-align: right;
    padding: 16px;
    gap: 5px 14px;
  }
  .welcomeChoice svg {
    grid-row: 1/3;
  }
  .welcomeChoice b,
  .welcomeChoice small {
    grid-column: 2;
  }
  .welcomeRoad {
    margin: 8px auto;
    width: 190px;
  }
  .welcomeRoad svg {
    height: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .welcomeTruck,
  .welcomeArrow,
  .welcomeChoice svg {
    animation: none;
  }
  .welcomeChoice {
    transition: none;
  }
}
.driverHireButton {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  gap: 4px 10px;
  align-items: center;
  text-align: right;
  padding: 16px;
  border: 1px solid #b8ddca;
  border-radius: 14px;
  background: #effaf4;
  color: #166b42;
}
.driverHireButton > span:first-child {
  font-size: 30px;
  grid-row: 1/3;
}
.driverHireButton b {
  font-size: 16px;
}
.driverHireButton small {
  font-size: 12px;
  font-weight: 400;
  grid-column: 2;
}
.driverHireButton > span:last-child {
  grid-column: 3;
  grid-row: 1/3;
}
.driverHireButton:hover {
  background: #e0f4e9;
}
#bookingChatDialog {
  width: min(650px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  padding: 24px;
}
#bookingChatDialog::backdrop {
  background: #10284d77;
}
#bookingMessageList {
  max-height: 40dvh;
}
#bookingMessageForm textarea {
  width: 100%;
  min-height: 80px;
}
.bookingSent {
  text-align: center;
  padding: 35px 12px;
  color: #167342;
}
.sentMark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  background: #e5f6eb;
  border: 2px solid #b5e3c6;
  border-radius: 50%;
  font-size: 38px;
  animation: bookingSentPop 0.3s ease-out;
}
.bookingSent h2 {
  margin-bottom: 10px;
}
.bookingSent small {
  display: block;
  margin-top: 10px;
  color: #60728c;
}
.bookingSendingAway {
  animation: bookingSentAway 0.28s ease-in forwards;
}
@keyframes bookingSentPop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes bookingSentAway {
  to {
    transform: translateY(-20px) scale(0.97);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sentMark,
  .bookingSendingAway {
    animation: none;
  }
}
.deliveryEvidence {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d8e7f7;
  border-radius: 14px;
  background: #f8fbff;
}
.deliveryEvidence h3 {
  color: #174a85;
  font-size: 17px;
  margin: 0 0 10px;
}
.deliveryEvidence .actions {
  gap: 10px;
}
.deliveryEvidence time {
  font-size: 13px;
  color: #60728c;
}
.deliveryEvidence a {
  display: inline-flex;
  margin: 8px 0;
  color: #075ee5;
}
.receiptPending {
  padding: 12px;
  border-radius: 10px;
  background: #fff4e4;
  color: #965009;
  margin-top: 12px;
  line-height: 1.7;
}
.receiptDone {
  padding: 12px;
  border-radius: 10px;
  background: #e8f6ee;
  color: #166c41;
  margin-top: 12px;
}
.deliveryGallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 140px));
  gap: 10px;
  margin: 12px 0;
}
.deliveryGallery img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 9px;
}
.deliveryGallery button {
  padding: 0;
  background: #fff;
  border: 1px solid #dce9fc;
  border-radius: 9px;
  overflow: hidden;
}
.deliveryGallery .removeDeliveryPhoto {
  font-size: 12px;
  color: #a52b36;
  padding: 6px;
  width: 100%;
  border: 0;
}
.deliveryGallery figure {
  margin: 0;
  border: 1px solid #dce9fc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.deliveryDialog {
  border: 0;
  border-radius: 18px;
  padding: 24px;
  width: min(580px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 18px 60px #10284d40;
}
.deliveryDialog::backdrop {
  background: #10284d77;
}
.deliveryDialog p {
  line-height: 1.7;
}
.deliveryPhotoTools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.deliveryLocation {
  padding: 12px;
  border: 1px solid #dce9fc;
  border-radius: 12px;
  margin: 16px 0;
}
.deliveryDialog .editError {
  margin: 12px 0;
}
.deliveryDialog button:disabled {
  opacity: 0.55;
  cursor: default;
}
.deliveryDialog [hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  .deliveryDialog {
    padding: 18px;
  }
  .deliveryEvidence {
    padding: 12px;
  }
  .deliveryEvidence .actions button {
    width: 100%;
  }
}
.vehicleMapActions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.mapVisibilityButton {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 94px;
  min-height: 74px;
  border: 1px solid;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.mapShowButton {
  color: #116a3e;
  background: #e8f7ee;
  border-color: #a9d8bc;
}
.mapShowButton:hover {
  background: #d5efdf;
}
.mapShowButton[aria-pressed='true'] {
  border-color: #16804d;
  box-shadow: 0 0 0 1px #16804d20;
}
.mapHideButton {
  color: #a82d39;
  background: #fff0f1;
  border-color: #e7b9be;
}
.mapHideButton:hover {
  background: #fde1e4;
}
.mapVisibilityButton:disabled {
  opacity: 0.5;
  cursor: default;
}
.mapVisibilityIcon {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 28px;
  line-height: 1;
}
.mapVisibilityButton svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vehicleMapSetup p {
  margin: 10px 0 6px;
}
.vehicleMapSetup small {
  display: block;
}
.mapVehiclePin {
  width: 52px;
  height: 46px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  border: 3px solid #075ee5;
  border-radius: 14px;
  box-shadow: 0 3px 10px #12396d55;
}
.mapVehiclePin.selected {
  background: #fff;
  border-color: #ed9b1b;
  box-shadow:
    0 0 0 3px #ed9b1b55,
    0 3px 10px #12396d55;
}
.mapVehiclePinPhoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.mapVehiclePinFallback {
  font-size: 23px;
  line-height: 1;
}
.mapAttribution a {
  color: inherit;
}
.mapVehiclePin:focus-visible,
.mapVisibilityButton:focus-visible {
  outline: 3px solid #075ee5;
  outline-offset: 3px;
}
dialog[open].dialogPinnedLayout {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
  max-height: 90dvh;
  overscroll-behavior: contain;
}
dialog > .dialogPinnedHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  position: relative;
  z-index: 30;
  background: #fff;
  margin: 0 !important;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf7;
}
dialog > .dialogPinnedHeader .close {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  border-radius: 10px;
  flex-shrink: 0;
}
dialog > .dialogPinnedHeader .close:hover {
  background: #edf5ff;
}
dialog > .dialogPinnedHeader .close:focus-visible {
  outline: 3px solid #075ee5;
  outline-offset: 2px;
}
dialog > .dialogScrollBody {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding-top: 14px;
  scrollbar-gutter: stable;
}
#welcomeDialog > .dialogPinnedHeader {
  padding: 16px 20px 12px;
}
#welcomeDialog > .dialogScrollBody {
  padding-top: 0;
}
#welcomeDialog > .dialogPinnedHeader span {
  flex: 1;
}
#photoDialog > .dialogScrollBody {
  min-width: 0;
}
@media (max-width: 520px) {
  .vehicleMapActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mapVisibilityButton {
    padding: 10px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .mapVisibilityIcon {
    width: 18px;
    flex-basis: 18px;
  }
  dialog > .dialogPinnedHeader {
    gap: 8px;
  }
  dialog > .dialogPinnedHeader h2 {
    font-size: 19px;
  }
  #welcomeDialog > .dialogPinnedHeader {
    flex-wrap: wrap;
  }
}
.notificationAction {
  display: block;
  color: #075ee5;
  font-weight: 700;
  margin: 8px 0;
}
