.share-dialog { width: min(650px,calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #ded9d1; border-radius: 14px; color: #191d1b; background: #fff; font-family: inherit; }
.share-dialog::backdrop { background: #191d1b99; }
.share-dialog h2 { margin: 0 40px 18px 0; font-size: 1.5rem; }
.share-dialog .share-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; background: #f4f2ed; border-radius: 50%; font-size: 24px; cursor: pointer; }
.share-dialog img { display: block; width: 100%; height: auto; border-radius: 6px; }
.share-dialog label { display: block; margin: 18px 0; font-size: .85rem; font-weight: 700; }
.share-dialog input { display: block; width: 100%; padding: 12px; margin-top: 8px; box-sizing: border-box; border: 1px solid #c7c6c0; border-radius: 6px; font-size: 16px; }
.share-dialog p { font-size: .85rem; line-height: 1.6; color: #5b655f; }
.share-dialog .row-actions { flex-wrap: wrap; }
.driver-share-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
.driver-best-shares { display: grid; gap: 16px; padding: 24px; }
.driver-best-share { padding: 20px; border: 1px solid #ded9d1; border-radius: 10px; }
.driver-best-share h3 { margin: 6px 0; }
.driver-best-share p { margin: 8px 0; color: #5b655f; }
.driver-best-share strong { color: #c82820; font-size: 1.5rem; }
.driver-best-time { margin-top: 16px; }
.driver-best-time > small { display: block; color: #5b655f; }
.driver-best-time > strong { font-size: clamp(2rem, 5vw, 3rem); font-variant-numeric: tabular-nums; }
.driver-best-time > strong > span { font-size: 1rem; }
.driver-dashboard-results { margin-bottom: 24px; border-top: 4px solid #c82820; }
.driver-dashboard-results .surface__head { flex-wrap: wrap; gap: 16px; }
.driver-dashboard-results .surface__head > div { flex: 1 1 300px; min-width: 0; }
.driver-dashboard-results .driver-best-shares { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.driver-dashboard-results .driver-share-actions > button { min-height: 44px; }
.driver-recent-runs { margin-top: 24px; }
.driver-recent-runs h4 { margin: 0 0 12px; font-size: 14px; }
.driver-recent-run { padding-top: 12px; border-top: 1px solid #ded9d1; }
.driver-recent-run__label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.driver-recent-run__label small { color: #5b655f; }
.driver-recent-run .driver-live-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
.driver-recent-run .driver-live-metrics small { display: block; color: #5b655f; font-size: 11px; }
.driver-recent-run .driver-live-metrics b { font-size: clamp(16px, 2vw, 22px); }
@media (max-width: 600px) {
  .driver-dashboard-results .driver-best-shares { padding: 16px; }
  .driver-dashboard-results .driver-best-share { padding: 16px; }
  .driver-dashboard-results .driver-share-actions > button { flex: 1 1 100%; }
}
.share-landing { max-width: 900px; margin: 30px auto; padding: 20px; font-family: Arial,sans-serif; }
.share-landing img { width: 100%; height: auto; display: block; margin-bottom: 20px; }
