/* P2 control polish: quiet surfaces, clear selection, restrained motion. */
.explore-with-property {
  --control-green: #416b47;
  --control-dark: #24492e;
  --control-ring: #698e5d;
  --control-shadow: 0 2px 5px #2037290b, inset 0 1px 0 #ffffffb3;
  --control-hover-shadow: 0 6px 16px #20372919, 0 2px 4px #2037290c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.explore-with-property :is(button, .nav a, .logo, summary) {
  transition: transform 180ms cubic-bezier(.2,.7,.2,1), box-shadow 180ms ease,
    background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.explore-with-property button {
  border-radius: 12px;
  border-color: #d9ded8;
  background: linear-gradient(180deg, #fff, #f7f8f6);
  box-shadow: var(--control-shadow);
  font-weight: 600;
}
.explore-with-property :is(.primary, .seg button[aria-pressed=true], .category-tabs button[aria-pressed=true]) {
  background: linear-gradient(180deg, #4d7651, #315a3b);
  color: #fff;
  border-color: #3c6543;
  box-shadow: inset 0 1px 0 #ffffff26, 0 2px 5px #20372914;
}
.explore-with-property .primary { background: linear-gradient(180deg, #315c3b, #23462c); }
.explore-with-property .nav {
  padding: 4px;
  gap: 4px;
  border: 1px solid #e1e4df;
  border-radius: 16px;
  background: #eff1ee;
  align-items: stretch;
}
.explore-with-property .nav :is(a, button) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 8px 17px;
  background: transparent;
  color: #586158;
  box-shadow: none;
  font-weight: 500;
  white-space: nowrap;
}
.explore-with-property .nav :is(.active, [aria-current=page]) {
  background: #fff;
  border-color: #e0e4dd;
  color: #213a29;
  box-shadow: 0 2px 5px #25382b13, inset 0 1px #fff;
  font-weight: 600;
}
.explore-with-property :is(.seg, .category-tabs) { border-radius: 14px; }
.explore-with-property .style-card[aria-pressed=true] {
  border-color: #52764e;
  background: #edf3e9;
  box-shadow: inset 0 0 0 1px #52764e;
}
.explore-with-property :is(.text-button, .close, #property-reopen) {
  background: transparent;
  box-shadow: none;
}
.explore-with-property .toolbar { flex-wrap: wrap; }
.explore-with-property .toolbar .group { flex-wrap: wrap; min-width: 0; }
.explore-with-property .plant-cards-row { padding: 8px 6px 18px; gap: 14px; }
.explore-with-property .plant-picture-card {
  border-radius: 16px;
  border-color: #e2e6df;
  box-shadow: 0 2px 6px #20372907;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms ease, border-color 200ms ease;
}
.explore-with-property .plant-picture-main {
  box-shadow: none;
  background: transparent;
  border-radius: 11px;
}
.explore-with-property .plant-picture-main[aria-pressed=true] {
  border-color: #416b47;
  background: #edf3e8;
  box-shadow: inset 0 0 0 1px #416b47;
}
.explore-with-property .plant-picture-visual img {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}
.explore-with-property :is(button, a, summary):focus-visible {
  outline: 3px solid var(--control-ring);
  outline-offset: 3px;
}
@media (hover:hover) and (pointer:fine) {
  .explore-with-property :where(button:not(:disabled):not([aria-disabled=true]), .nav a, .logo, summary):hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: var(--control-hover-shadow);
    border-color: #a7b7a2;
  }
  .explore-with-property .plant-picture-card:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 8px 22px #2037291c;
    border-color: #a7b7a2;
  }
  .explore-with-property .plant-picture-card:hover .plant-picture-visual img { transform: scale(1.045); }
  .explore-with-property .plant-picture-main:hover { transform: none; box-shadow: none; }
  .explore-with-property :is(.text-button, .close, summary, #property-reopen):hover { box-shadow: none; }
  .explore-with-property :where(button:not(:disabled):not([aria-disabled=true]), .nav a):active { transform: scale(.98); }
  .explore-with-property .plant-picture-main:active { transform: none; }
}
.explore-with-property button:disabled,
.explore-with-property [aria-disabled=true] {
  transform: none;
  box-shadow: none;
  cursor: default;
}
@media (max-width:600px) {
  .explore-with-property .nav { gap: 1px; padding: 3px; margin-inline: 0; min-width: 0; }
  .explore-with-property .nav :is(a, button) { padding: 8px; font-size: 11px; white-space: normal; text-align: center; }
  .explore-with-property .top { gap: 8px; }
  .explore-with-property .logo { flex-shrink: 0; }
}
@media (prefers-reduced-motion:reduce) {
  .explore-with-property :is(button, .nav a, .logo, summary, .plant-picture-card, .plant-picture-visual img) {
    transition: none !important;
    transform: none !important;
  }
}

/* White navigation backing with a green selected tab. */
.explore-with-property .nav { background: #fff; }
.explore-with-property .nav :is(a, button) { color: #315a3b; }
.explore-with-property .nav :is(.active, [aria-current=page]) {
  background: linear-gradient(180deg, #4d7651, #315a3b);
  color: #fff;
}
.explore-with-property .nav button small { color: inherit; }

/* Balanced Yardfable identity, using the interface's native font family. */
.explore-with-property .top { height: 76px; gap: 14px; }
.explore-with-property .logo { width: 44px; height: 44px; flex-shrink: 0; font-size: 29px; }
.explore-with-property .brand {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.6px;
  line-height: 1.2;
  color: #31573d;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .explore-with-property .top { gap: 8px; }
}
/* Primary navigation remains visually above the smaller viewpoint controls. */
.explore-with-property .nav :is(a,button){font-size:18px;font-weight:600;padding:12px 20px}
@media(max-width:900px){.explore-with-property .top{height:auto;min-height:70px;flex-wrap:wrap;padding-block:10px;gap:10px}.explore-with-property .nav :is(a,button){font-size:16px;padding:10px 13px}.explore-with-property .nav{margin-inline:auto}}
@media(max-width:600px){.explore-with-property .nav{order:3;width:100%;justify-content:center}.explore-with-property .nav :is(a,button){font-size:14px;padding:10px 8px;flex:1}.explore-with-property .top .project{margin-left:auto}}

/* Generation actions use the same green pill proportions as viewpoint selection. */
.explore-with-property #inspiration-generate,.studio-page .design-actions #render-save{font-size:16px;font-weight:600;line-height:1.4;border-radius:21px;padding:9px 28px;background:linear-gradient(#4d7651,#315a3b);color:#fff}
.style-selector{display:flex;align-items:center;gap:12px}.style-label{font-size:16px;font-weight:600;color:#31573d}
.explore-with-property #style-open{position:relative;background:#fff;border-radius:11px;font-size:16px;font-weight:600;line-height:1.4;padding:9px 42px 9px 20px;white-space:nowrap}
#style-open:after{content:'';position:absolute;right:18px;top:calc(50% - 4px);width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
@media(max-width:650px){.explore-with-property #inspiration-generate,.studio-page .design-actions #render-save{font-size:13px;padding:8px 22px}.explore-with-property #style-open{font-size:13px;padding:8px 34px 8px 16px}.style-label{font-size:13px}}

/* Keep instructional spacing without redundant visible copy. */
.welcome-view-caption{visibility:hidden}
.explore-with-property #property-find,.studio-page .studio-property-panel #sp-find{font-size:16px;font-weight:600;line-height:1.4;padding:8px 20px;height:41px;min-height:41px}
.explore-with-property .map-confirm,.studio-page .studio-property-panel .sp-confirm{font-size:16px;font-weight:600;line-height:1.4}
.explore-with-property .map-confirm input,.studio-page .sp-confirm input{flex:0 0 22px;width:22px;height:22px}
@media(max-width:650px){.explore-with-property #property-find,.studio-page .studio-property-panel #sp-find{font-size:13px;padding:8px 20px;height:36.75px;min-height:36.75px}}

.welcome-mode .welcome-views{visibility:hidden}
@media(max-width:650px){.explore-with-property .map-confirm,.studio-page .studio-property-panel .sp-confirm{font-size:13px}}

.season-tabs{display:flex;align-items:center;gap:3px;padding:4px;background:#ecefe8;border:1px solid #dfe3df;border-radius:24px;justify-self:center}
.season-tabs button{font-size:14px;padding:9px 15px;border-radius:20px;border-color:transparent;white-space:nowrap}
.season-tabs button[aria-pressed=true]{background:linear-gradient(#4d7651,#315a3b);color:white}
.welcome-mode .season-tabs{display:none!important}.studio-toolbar-row .season-tabs{order:1;margin-inline:auto}.studio-toolbar-row>.studio-toolbar{order:2}.studio-toolbar-row .photo-actions{display:none}
@media(max-width:1350px){.studio-toolbar-row{flex-wrap:wrap}.season-tabs{margin-inline:auto}}
@media(max-width:650px){.season-tabs button{font-size:13px;padding:8px 12px}}

.saved-season-links{display:flex;flex-wrap:wrap;gap:5px;padding:10px 12px}.saved-season-links :is(button,a){width:auto!important;padding:6px 9px!important;font-size:12px;border:1px solid #dfe3df!important;border-radius:12px;background:#f5f7f2!important}

@media(min-width:1251px) and (max-width:1550px){.explore-with-property #style-open{font-size:14px;padding:9px 30px 9px 12px}.explore-with-property #inspiration-generate{font-size:14px;padding:9px 16px}.explore-content .toolbar .style-label{font-size:13px}}
