/* Quick-add (#add) and "Save gifts from any store" (#tools). Uses the tokens in styles.css. */
body[data-view] #landing, body[data-view] #app, body[data-view] #list-actions, body[data-view] #wish { display: none !important; }

.quick { max-width: 560px; }
.qa-card { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.qa-h1 { font-size: 2rem; margin: 0 0 6px; color: var(--ink); }
.qa-h1:focus { outline: none; }
.qa-label { display: block; margin: 8px 0 0; font-weight: 700; font-size: .95rem; color: var(--ink); }
.qa-title { font-weight: 600; }
.qa-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qa-price { display: flex; flex-direction: column; }
.qa-price input { width: 150px; }
.qa-host { padding-bottom: 12px; overflow-wrap: anywhere; }
.qa-host b { color: var(--ink); font-weight: 600; }
.qa-static { margin: 0; padding: 10px 2px; font-weight: 600; }
select.field {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px;
  appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--paper-deep) no-repeat right 14px center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238a7d68' stroke-width='2'/%3E%3C/svg%3E");
}
select.field:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.qa-who { margin-top: 2px; }
.qa-who:empty { display: flex; }
.person-chip.qa-bag:not(.active) { border-style: dashed; }
.person-chip { min-height: 44px; }
.qa-note { margin: 0; min-height: 0; }
.qa-note:empty { display: none; }
.qa-add { width: 100%; margin-top: 14px; }
.qa-error { margin: 0; color: var(--warn); font-weight: 600; }
.qa-error:empty { display: none; }

.qa-done { text-align: center; align-items: center; }
.qa-done p { margin: 0 0 8px; overflow-wrap: anywhere; }
.qa-check {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 6px;
  color: var(--green); background: var(--paper-deep); box-shadow: var(--press);
}
.qa-check svg { width: 30px; height: 30px; }
.qa-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* #tools */
.tools-h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin: 26px 0 8px; text-align: center; }
.tools-lead { text-align: center; }
.tools-card { padding-top: 8px; padding-bottom: 8px; }
.tools-sec { padding: 14px 0; border-top: 1px solid var(--line); }
.tools-sec:first-child { border-top: 0; }
.tools-sec h2 { font-size: 1.4rem; margin: 0 0 6px; color: var(--green); }
.tools-sec p { margin: 6px 0; }
.bookmarklet { cursor: grab; margin: 6px 0 4px; }
.tools-back { text-align: center; }
.tools-link { text-align: center; margin: 8px 0 0; }
.tools-link a { color: var(--muted); }
.tools-link a:hover { color: var(--green); }
