.yj-toolbar {
  margin: 20px 0 24px;
  padding: 24px;
  border: 1px solid #c9ddd2;
  border-radius: 20px;
  background: linear-gradient(115deg, #f0f7f1, #fffdf7);
  color: #173f32;
}
.yj-toolbar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.yj-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #697f70;
}
.yj-toolbar h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 7px 0 16px;
  font-weight: 800;
}
.yj-toolbar button,
.yj-card-actions button,
.yj-card-actions a,
.yj-dialog button,
.yj-dialog a,
.yj-drive-bar button {
  font: inherit;
  font-weight: 700;
  border: 1px solid #c2d6cb;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 14px;
  background: #fff;
  color: #164e3b;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.yj-toolbar button:hover,
.yj-card-actions button:hover,
.yj-card-actions a:hover {
  background: #e5f4ea;
}
.yj-toolbar button[aria-pressed="true"],
.yj-navigate,
.yj-dialog button[type="submit"] {
  background: #086342 !important;
  color: white !important;
}
.yj-toolbar-buttons,
.yj-quick,
.yj-options,
.yj-card-buttons,
.yj-dialog-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.yj-quick {
  padding: 14px 0;
  border-top: 1px solid #dbe7df;
  border-bottom: 1px solid #dbe7df;
}
.yj-quick button {
  border-radius: 50px;
  font-size: 13px;
}
.yj-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.yj-controls label,
.yj-dialog form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}
.yj-controls select,
.yj-controls input,
.yj-dialog input:not([type="checkbox"]),
.yj-dialog textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #bfd3c6;
  border-radius: 10px;
  background: #fff;
  color: #14382c;
  font: inherit;
  min-height: 44px;
  box-sizing: border-box;
}
.yj-controls select:disabled {
  background: #e8ece8;
  color: #727c74;
  cursor: not-allowed;
}
.yj-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  padding: 4px 0;
}
.yj-options input,
.yj-check input {
  width: 18px;
  height: 18px;
  accent-color: #087b52;
}
.yj-explain,
.yj-toolbar > p {
  font-size: 12px;
  line-height: 1.6;
  color: #52665b;
  margin: 12px 0 0;
}
.yj-card-actions {
  background: #f4f8f3;
  padding: 14px 16px;
  border-top: 1px solid #dce8df;
  border-radius: 0 0 16px 16px;
  margin-top: auto;
  color: #274d3c;
}
.yj-distance {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 11px;
}
.yj-distance strong {
  font-size: 24px;
  letter-spacing: -0.5px;
  color: #0d5d3c;
}
.yj-distance small {
  font-size: 10px;
}
.yj-distance > span {
  margin-inline-start: auto;
}
.yj-open {
  color: #06754a;
}
.yj-closed {
  color: #7c6045;
}
.yj-card-buttons {
  align-items: center;
}
.yj-card-actions button,
.yj-card-actions a,
.yj-more summary {
  font-size: 12px;
  min-height: 42px;
  padding: 9px 12px;
}
.yj-more {
  position: relative;
  margin-inline-start: auto;
}
.yj-more summary {
  list-style: none;
  cursor: pointer;
  color: #315244;
  display: flex;
  align-items: center;
  font-weight: 700;
}
.yj-more summary::after {
  content: " ▾";
}
.yj-more > div {
  position: absolute;
  z-index: 40;
  inset-inline-end: 0;
  top: 100%;
  width: 230px;
  padding: 8px;
  display: grid;
  gap: 5px;
  border: 1px solid #c9d9cf;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px #163c3029;
}
.dc-company-card:has(.yj-more[open]) {
  z-index: 50;
  overflow: visible;
}
.yj-dialog {
  margin: auto;
  inset: 0;
  overflow: auto;
  border: 1px solid #bcd4c5;
  border-radius: 20px;
  padding: 24px;
  width: min(720px, calc(100% - 24px));
  max-height: 88dvh;
  box-sizing: border-box;
  color: #153c2b;
  box-shadow: 0 25px 100px #08281e40;
}
.yj-dialog::backdrop {
  background: #0b211bb8;
}
.yj-dialog-head {
  position: sticky;
  top: -24px;
  z-index: 2;
  background: #fff;
  padding-block: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.yj-dialog h2 {
  font-size: 25px;
  margin: 0;
}
.yj-dialog > p {
  font-size: 13px;
  line-height: 1.6;
  color: #57705f;
}
.yj-dialog form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.yj-dialog .yj-check {
  flex-direction: row;
  align-items: center;
}
.yj-dialog .yj-controls {
  grid-template-columns: 2fr 1fr;
}
.yj-photo {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 8px;
}
.yj-saved-card {
  display: flex;
  gap: 16px;
  border: 1px solid #d5e2d9;
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
  background: #f8faf6;
  overflow-wrap: anywhere;
}
.yj-saved-card > div {
  min-width: 0;
  flex: 1;
}
.yj-saved-card > img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.yj-saved-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.yj-note {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 14px;
}
.yj-dialog-buttons {
  margin-top: 10px;
}
.yj-dialog .yj-dialog-buttons > * {
  font-size: 12px;
  min-height: 42px;
  padding: 8px 10px;
}
.yj-empty {
  padding: 30px 12px;
  text-align: center;
}
.yj-message {
  padding: 12px;
  background: #edf5e8;
  border-radius: 10px;
}
.yj-drive-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: #103e2e;
  color: #fff;
  z-index: 1100;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 25px #12342130;
}
.yj-drive-bar strong {
  margin-inline-end: 16px;
}
.yj-drive-bar button {
  font-size: 12px;
  background: #164c39;
  border-color: #5e8976;
  color: #fff;
}
.yj-drive {
  padding-bottom: 85px;
}
.yj-drive .yp-mobile-dock {
  bottom: 70px;
}
.yj-drive .yj-directory-hero {
  padding: 20px !important;
}
.yj-drive .yj-directory-hero h1 {
  font-size: 24px !important;
}
.yj-drive .yj-directory-hero > p,
.yj-drive .yj-directory-hero > span {
  display: none;
}
.yj-tools-wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}
@media (max-width: 750px) {
  .yj-tools-wrap {
    padding: 0 16px;
  }
}
.yj-drive .yj-directory .yf-add-biz {
  display: none;
}
.yj-drive .yj-directory .dc-card-brand,
.yj-drive .yj-directory .dc-card-dock {
  display: none;
}
.yj-drive .yj-directory .dc-card-front {
  grid-template-columns: 1fr;
}
.yj-drive .yj-directory .dc-card-face {
  height: auto !important;
  min-height: 0;
}
.yj-drive .yj-directory .dc-card-details {
  padding: 22px;
}
.yj-drive .yj-directory .dc-card-title {
  font-size: 23px;
  line-height: 1.25;
}
.yj-drive .yj-card-actions {
  padding: 18px;
}
.yj-drive .yj-navigate {
  font-size: 17px;
  min-height: 52px;
}
.yj-toast {
  position: fixed;
  z-index: 5000;
  bottom: 90px;
  inset-inline: 16px;
  padding: 16px;
  background: #fff5d8;
  border: 1px solid #d9b866;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0003;
}
.yj-toast button {
  margin-inline-start: 12px;
}
.yj-toolbar :focus-visible,
.yj-card-actions :focus-visible,
.yj-dialog :focus-visible,
.yj-drive-bar :focus-visible {
  outline: 3px solid #dfad48;
  outline-offset: 3px;
}
.yj-dialog button:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (max-width: 750px) {
  .yj-toolbar {
    padding: 18px 14px;
  }
  .yj-toolbar-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .yj-toolbar h2 {
    font-size: 23px;
  }
  .yj-toolbar-buttons {
    width: 100%;
  }
  .yj-toolbar-buttons button {
    font-size: 12px;
    flex: 1;
    padding: 9px 7px;
  }
  .yj-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .yj-quick {
    margin-top: 14px;
    gap: 6px;
  }
  .yj-quick button {
    font-size: 12px;
    padding: 8px 11px;
  }
  .yj-card-actions {
    padding: 12px;
  }
  .yj-card-buttons {
    gap: 6px;
  }
  .yj-card-actions button,
  .yj-card-actions a {
    padding: 9px 10px;
  }
  .yj-drive-bar {
    gap: 6px;
    flex-wrap: wrap;
  }
  .yj-drive-bar strong {
    font-size: 11px;
    margin: 0;
  }
  .yj-drive-bar button {
    font-size: 11px;
    padding: 9px;
    min-height: 44px;
  }
  .yj-dialog {
    padding: 18px 14px;
  }
  .yj-dialog h2 {
    font-size: 21px;
  }
  .yj-dialog .yj-controls {
    grid-template-columns: 1fr;
  }
  .yj-saved-card {
    flex-direction: column;
  }
  .yj-saved-card > img {
    width: 100%;
    height: 140px;
  }
  .yj-drive .yp-mobile-dock {
    display: none;
  }
  .yj-drive .dc-directory-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yj-drive * {
    scroll-behavior: auto !important;
  }
}

.yj-advanced {
  margin-top: 12px;
}
.yj-advanced > summary {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
  min-height: 36px;
  color: #216346;
}
.yj-drive .yj-directory-promo,
.yj-drive .yj-toolbar-head .yj-eyebrow {
  display: none;
}
.yj-drive .yj-toolbar h2 {
  font-size: 20px;
}
.yj-drive .dc-card-title,
.yj-drive .dc-card-specialty {
  height: auto !important;
}
.yj-drive .dc-card-credentials {
  margin-top: 4px;
  min-height: 20px;
}
.yj-drive .yj-directory .dc-card-details {
  padding: 16px 20px;
}
.yj-drive .yj-toolbar {
  padding: 16px;
}

.yj-google-fallback {
  display: inline-block;
  font-size: 12px;
  color: #116749;
  margin-top: 12px;
  text-underline-offset: 3px;
}

.yj-drive .yj-directory-hero,
.yj-drive .yj-directory > .yf-filterbar,
.yj-drive .yj-directory > div:first-child {
  display: none;
}
.yj-drive .yj-toolbar h1 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #173f32;
}
.yj-drive-search {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
}
.yj-drive-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid #bfd3c6;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: #173f32;
  background: #fff;
}
.yj-drive-search button {
  background: #086342;
  color: #fff;
}
.yj-drive .yj-advanced p {
  font-size: 12px;
  line-height: 1.6;
  color: #52665b;
}
.yj-drive .yj-toolbar > p:last-child {
  font-size: 11px;
}

.yj-drive-search input::placeholder {
  color: #68796d;
  opacity: 1;
}

/* Private collections and first-party community reviews. */
.yj-fields {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
  display: grid;
  gap: 14px;
}
.yj-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 16px;
  border-block-end: 1px solid #dce7df;
  margin-block-end: 12px;
}
.yj-scope [aria-pressed="true"] {
  background: #075f42;
  color: #fff;
  border-color: #075f42;
}
.yj-scope a {
  display: inline-flex;
  align-items: center;
  padding: 10px;
  color: #075f42;
  text-decoration: underline;
}
.yj-import {
  display: grid;
  gap: 6px;
  font-size: 13px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #b9d5c8;
  border-radius: 10px;
}
.yj-import input {
  max-width: 100%;
  min-width: 0;
  font-size: 12px;
}
.yj-dialog button:disabled,
.yr-reviews button:disabled,
.yr-reviews input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.yr-reviews {
  color: #12382b;
  display: grid;
  gap: 18px;
  min-width: 0;
}
.yr-intro {
  padding: 24px;
  background: linear-gradient(135deg, #edf6ef, #fffdf5);
  border: 1px solid #d4e5d7;
  border-radius: 18px;
}
.yr-intro h2 {
  font-family: var(--ff-display);
  font-size: clamp(23px, 4vw, 32px);
  line-height: 1.2;
  margin: 8px 0 12px;
}
.yr-intro p {
  line-height: 1.6;
  margin-block-end: 16px;
  color: #456558;
}
.yr-google {
  display: inline-flex;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #a9cdbb;
  border-radius: 10px;
  color: #075f42;
  font-weight: 700;
}
.yr-summary {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e7df;
  border-radius: 16px;
}
.yr-summary strong {
  display: block;
  font-size: 48px;
  line-height: 1.15;
  font-family: var(--ff-display);
}
.yr-summary span {
  font-size: 13px;
}
.yr-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}
.yr-bar meter {
  width: 100%;
  height: 14px;
  accent-color: #0d7752;
}
.yr-bar span {
  min-width: 30px;
}
.yr-card,
.yr-write {
  background: #fff;
  border: 1px solid #dce5dd;
  border-radius: 16px;
  padding: 22px;
  min-width: 0;
}
.yr-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.yr-card-head time {
  font-size: 12px;
  color: #577063;
}
.yr-stars {
  color: #88620b;
  letter-spacing: 2px;
  font-size: 20px;
}
.yr-card p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  color: #385748;
  margin: 12px 0;
}
.yr-card h3,
.yr-write h3 {
  margin: 10px 0;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.yr-photo {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
  margin: 12px 0;
}
.yr-reply {
  background: #f2f6f0;
  padding: 16px;
  border-inline-start: 3px solid #16724c;
  border-radius: 8px;
  margin-top: 14px;
}
.yr-write form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.yr-write label {
  display: grid;
  gap: 7px;
  color: #234b39;
  font-size: 14px;
}
.yr-write input:not([type="checkbox"]),
.yr-write select,
.yr-write textarea,
.yr-reviews select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  background: #fff;
  color: #193f2f;
  border: 1px solid #adcab7;
  border-radius: 10px;
  font: inherit;
}
.yr-write textarea {
  resize: vertical;
  min-height: 110px;
}
.yr-write input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: #0c7650;
}
.yr-write label.yj-check {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
.yr-reviews button {
  border: 1px solid #afcdbb;
  border-radius: 10px;
  padding: 11px 16px;
  min-height: 44px;
  background: #fff;
  color: #075f42;
  font-weight: 700;
  cursor: pointer;
}
.yr-reviews button[type="submit"] {
  background: #075f42;
  color: #fff;
  justify-self: start;
}
.yr-reviews a {
  text-underline-offset: 3px;
}
.yr-reviews :focus-visible,
.yj-dialog :focus-visible {
  outline: 3px solid #b8882f;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .yr-summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }
  .yr-intro,
  .yr-card,
  .yr-write {
    padding: 18px;
  }
  .yr-reviews .yj-controls {
    grid-template-columns: 1fr;
  }
}

.yr-summary > div:first-child > span {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.yj-next-stop { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-block: 14px; padding: 16px; border: 1px solid #bad6c7; border-inline-start: 4px solid #11764e; border-radius: 12px; background: #eef6ef; scroll-margin-top: 190px; }
.yj-stop-info { min-width: 0; flex: 1 1 220px; overflow-wrap: anywhere; }
.yj-stop-info h3 { font: 700 18px/1.4 var(--ff-display); margin: 4px 0; }
.yj-stop-info h3 a { color: #174831; text-underline-offset: 3px; }
.yj-stop-info p, .yj-stop-info small { margin: 0; color: #415d4c; font-size: 13px; }
.yj-stop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yj-stop-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }

@media (max-width: 480px) {
  .yj-drive-bar { display: grid; grid-template-columns: 1fr 1fr auto; }
  .yj-drive-bar strong { display: none; }
  .yj-drive-bar button { min-width: 0; line-height: 1.3; }
}

.yj-area-panel{margin:16px 0;padding:14px 16px;border:1px solid #bad9cc;border-radius:14px;background:#f3faf6;color:#153c30}
.yj-area-summary,.yj-area-tabs,.yj-area-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.yj-area-summary>div{min-width:0;flex:1 1 110px}.yj-area-summary small,.yj-area-summary strong{display:block}.yj-area-summary strong{font-size:1.05rem;overflow-wrap:anywhere}
.yj-area-panel button{border:1px solid #a6cbbb;background:white;color:#124d38;border-radius:9px;padding:9px 12px;min-height:42px;font-weight:650;cursor:pointer}
.yj-area-summary button,.yj-area-tabs button[aria-pressed=true],.yj-area-picker button[type=submit]{background:#075640;color:white;border-color:#075640}
.yj-area-picker{margin-top:12px;border-top:1px solid #c7dbd0;padding-top:12px;display:grid;gap:10px}
.yj-area-tabs{justify-content:start}.yj-area-panel input{display:block;width:100%;min-width:0;box-sizing:border-box;border-radius:8px;border:1px solid #9cb8a9;padding:10px;background:#fff;color:#152e26;font:inherit;font-size:16px}
.yj-area-results{display:grid;gap:4px;max-height:260px;overflow-y:auto;overscroll-behavior:contain}.yj-area-results:empty{display:none}
.yj-area-results .yj-area-row{display:grid;gap:2px;text-align:start;min-width:0;overflow-wrap:anywhere}.yj-area-row small{font-weight:400;color:#4d665b}
.yj-area-picker form,.yj-area-picker form label{display:grid;gap:6px}.yj-area-picker p,.yj-area-panel>p{margin:4px 0}.yj-area-panel a{color:#085c43;text-decoration:underline}
.yj-quick button[aria-pressed="true"]{background:#075640;color:white;border-color:#075640}
