.widget-hero,
.widget-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, .6fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
}
.widget-hero {
  padding: clamp(1.25rem, 5vw, 4rem);
  border-radius: 2rem;
  background: #e5ede1;
}
.widget-hero > img {
  width: min(100%, 220px);
  justify-self: center;
  border: 6px solid #26382e;
  border-radius: 1.8rem;
  box-shadow: 0 12px 24px #22372b26;
}
.widget-actions, .widget-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.widget-section { margin-block: clamp(2rem, 6vw, 4rem); }
.widget-filters label { display: grid; gap: .25rem; }
.widget-filters select, .widget-stack button {
  min-height: 44px;
  border: 1px solid #758774;
  border-radius: .65rem;
  padding: .4rem .65rem;
  font: inherit;
  color: inherit;
  background: #fffdf7;
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.widget-card {
  min-width: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #ded7c5;
  background: #fffcf4;
}
.widget-art {
  background: #e9ede3;
  height: 13rem;
  display: grid;
  place-items: center;
  padding: .85rem;
}
.widget-art img {
  display: block;
  width: min(100%, 180px);
  max-height: 11rem;
  object-fit: contain;
}
.widget-card[data-size="Medium"] img { width: min(100%, 260px); }
.widget-card[data-size="Small"] img { width: min(100%, 142px); }
.widget-copy { padding: 1rem 1.2rem 1.25rem; }
.widget-copy h3 { margin: .25rem 0; }
.widget-facts { font-weight: 650; }
#widget-finder fieldset {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #b9c5b5;
  border-radius: 1rem;
}
#widget-finder legend { font-weight: 700; }
.widget-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .25rem 1rem;
}
.widget-choices label { display: flex; gap: .5rem; align-items: center; min-height: 44px; }
.widget-choices input { accent-color: #315840; }
.widget-stack {
  margin: 0;
  padding: 1.25rem;
  border-radius: 2rem;
  background: #e5ede1;
  text-align: center;
}
.widget-stack img {
  display: block;
  margin: 0 auto .75rem;
  width: min(100%, 185px);
  height: 185px;
  object-fit: contain;
}
.widget-stack .widget-actions { justify-content: center; margin-top: .75rem; }
.widget-section :focus-visible, .widget-hero :focus-visible {
  outline: 3px solid #315840;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .widget-hero, .widget-guide { grid-template-columns: 1fr; }
}

.widget-layout {
  width: min(100%, 235px);
  justify-self: center;
  margin: 0;
  text-align: center;
}
.widget-layout .quiz-phone {
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 5% 7% 5%;
  background: linear-gradient(155deg, #cfdfc4, #719278);
}
.widget-layout .quiz-widget-grid { gap: 8px; }
.widget-layout img[data-size="large"] { aspect-ratio: 760 / 793; }
.widget-layout figcaption { margin-top: .85rem; font-size: .85rem; }
.widget-layout .widget-layout-note { margin: .35rem 0 0; font-size: .75rem; }
.widget-look-gallery { margin-top: 1rem; }

.widget-guide-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.widget-guide-panel {
  background: #fffcf4;
  border: 1px solid #ded7c5;
  border-radius: 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.widget-guide-panel h3 { margin-top: 0; }
.widget-guide-question { font-weight: 700; }
.widget-guide-panel .quiz-phone {
  box-sizing: border-box;
  width: min(100%, 190px);
  margin: 1rem auto;
  padding: 24px 10px 10px;
  justify-content: flex-start;
}
.widget-guide-labels { padding-left: 1.15rem; font-size: .9rem; }
.widget-guide-caption { font-size: .9rem; }
@media (max-width: 740px) {
  .widget-guide-panels { grid-template-columns: 1fr; }
}

.widget-status {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 5%;
  margin-bottom: 7%;
  font-size: .65rem;
  font-weight: 750;
  color: #182219;
}
.widget-status i {
  aspect-ratio: 4.5;
  border-radius: 999px;
  background: #141916;
}
.widget-status svg { width: 100%; max-width: 40px; justify-self: end; }
.widget-app-icons {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  place-items: center;
  gap: 10%;
  padding: 5%;
}
.widget-app-icons img { grid-column: auto; border-radius: 23%; }
.widget-phone-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8%;
  padding: 6%;
  margin-top: auto;
  border-radius: 18px;
  background: #f6fff678;
}
.widget-phone-dock span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 24%;
  color: white;
}
.widget-phone-dock svg { width: 70%; fill: currentColor; }
.widget-dock-phone, .widget-dock-messages { background: #197e36; }
.widget-dock-browser { background: #146bc0; }
.widget-phone-dock .widget-dock-camera { background: #dedfe1; color: #252a2e; }
