.pet-quick-widget {
  margin-block: 1.25rem 1.8rem;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #b4b99e;
  border-radius: 18px;
  background: #eaf0de;
  color: var(--ink);
}
.pet-quick-widget[data-pet-quick="home"] { max-width: 1080px; margin: clamp(18px, 3vw, 40px) auto; width: calc(100% - 2rem); }
.pq-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; }
.pq-head > div { min-width: 0; }
.pq-head h2 { line-height: 1.1; font-size: clamp(1.7rem, 3.1vw, 2.6rem); overflow-wrap: anywhere; }
.pq-head p { margin: .35rem 0 0; }
.pq-head label, .pq-fields label { display: block; font-weight: bold; }
.pq-head label { width: min(100%, 230px); }
.pq-actions, .pq-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pq-actions { margin: 1rem 0 .6rem; }
.pq-actions button, .pq-portion button[type="submit"] {
  min-height: 46px; padding: .6rem 1rem; border: 1px solid var(--ink); border-radius: 24px;
  background: #fff9ea; color: var(--ink); font: 400 1rem/1.25 var(--display); cursor: pointer;
}
.pq-actions button:hover, .pq-portion button[type="submit"]:hover { color: #fff9ea; background: var(--ink); }
.pq-latest { margin: .3rem 0; overflow-wrap: anywhere; }
.pq-links { gap: .25rem 1rem; }
.pq-links > a, .pq-links > button:not([type="submit"]) {
  display: inline-flex; align-items: center; min-height: 44px; padding: .25rem 0; border: 0;
  background: transparent; color: var(--ink); font: 1rem/1.3 var(--body);
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.pq-portion { margin-top: .7rem; padding: 1rem; max-width: 33rem; border-radius: 12px; background: #fff9ed; }
.pq-portion fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pq-portion legend { padding: 0; font: 1.2rem/1.25 var(--display); }
.pq-portion p { margin: .4rem 0; }
.pq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .75rem 0; }
.pq-fields input, .pq-fields select, .pq-head select {
  display: block; min-height: 46px; min-width: 0; width: 100%; margin-top: .3rem; border: 1px solid #877c66;
  border-radius: 8px; color: var(--ink); background-color: #fffdf6; font: 1rem/1.35 var(--body);
}
.pq-fields input { padding: .6rem; }
.pq-status:not(:empty) { margin: .65rem 0 0; border-left: 3px solid #548461; padding-left: .65rem; }
