/* Scoped, nonmodal helper. Hosts may raise --dp-chip-helper-bottom-space for their navigation. */
dwellprint-chip-helper.dp-chip-helper {
  --dp-chip-helper-ink: #18383b;
  --dp-chip-helper-muted: #526a6b;
  --dp-chip-helper-accent: #175c60;
  --dp-chip-helper-line: #cbdad4;
  --dp-chip-helper-wash: #f2f7f4;
  --dp-chip-helper-bottom-space: 20px;
  --dp-chip-helper-keyboard: 0px;
  --dp-chip-helper-view-height: 100dvh;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(var(--dp-chip-helper-bottom-space) + env(safe-area-inset-bottom) + var(--dp-chip-helper-keyboard));
  z-index: 70;
  display: block;
  width: auto;
  color: var(--dp-chip-helper-ink);
  font: 16px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
dwellprint-chip-helper.dp-chip-helper--gold { --dp-chip-helper-ink: #233e36; --dp-chip-helper-accent: #745629; --dp-chip-helper-line: #d9d0bf; --dp-chip-helper-wash: #f6f1e6; }
dwellprint-chip-helper[hidden], .dp-chip-helper [hidden] { display: none !important; }
.dp-chip-helper *, .dp-chip-helper *::before, .dp-chip-helper *::after { box-sizing: border-box; }
.dp-chip-helper button, .dp-chip-helper input { font: inherit; }
.dp-chip-helper button { min-height: 48px; min-width: 48px; margin: 0; cursor: pointer; box-shadow: none; transition: background .15s, border-color .15s; }
.dp-chip-helper button:disabled { opacity: .55; cursor: default; }
.dp-chip-helper :focus-visible { outline: 3px solid #a27b37; outline-offset: 3px; }
.dp-chip-helper__dock { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.dp-chip-helper__launcher { display: flex; align-items: center; gap: 7px; width: 164px; height: 74px; padding: 7px 15px 7px 5px; border: 1px solid #b4c6ba; border-top: 2px solid #a98a51; border-radius: 18px; background: #fffdf8; color: var(--dp-chip-helper-ink); box-shadow: 0 6px 22px #18383b24; text-align: left; }
.dp-chip-helper__launcher:hover { background: var(--dp-chip-helper-wash); border-color: #9aab9e; transform: none; }
.dp-chip-helper__artwork { position: relative; display: grid; place-items: center; flex: 0 0 74px; width: 74px; height: 56px; pointer-events: none; }
.dp-chip-helper__poster, .dp-chip-helper__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; pointer-events: none; }
.dp-chip-helper__wordmark { color: #80612e; font: 600 28px/1 Georgia, serif; }
.dp-chip-helper__launcher-label { display: grid; gap: 1px; white-space: nowrap; }
.dp-chip-helper__launcher-label strong { font-size: 18px; font-weight: 650; }
.dp-chip-helper__launcher-label > span { color: var(--dp-chip-helper-muted); font-size: 13px; }
.dp-chip-helper__pause { padding: 0; width: 48px; height: 48px; border: 1px solid var(--dp-chip-helper-line); border-radius: 50%; background: #fffdf8; color: var(--dp-chip-helper-muted); font-size: 16px; box-shadow: 0 3px 12px #18383b12 !important; }
.dp-chip-helper__pause:hover { background: var(--dp-chip-helper-wash); transform: none; }
.dp-chip-helper__panel { position: absolute; bottom: calc(100% + 12px); right: 0; width: 390px; max-width: calc(100vw - 48px); max-height: min(610px, calc(var(--dp-chip-helper-view-height) - var(--dp-chip-helper-bottom-space) - 118px)); margin: 0; padding: 22px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--dp-chip-helper-line); border-top: 3px solid #a98a51; border-radius: 20px; background: #fffdf8; box-shadow: 0 14px 48px #18383b26; }
.dp-chip-helper__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dp-chip-helper__identity { min-width: 0; }
.dp-chip-helper__eyebrow { margin: 0 0 4px; color: var(--dp-chip-helper-muted); font-size: 13px; overflow-wrap: anywhere; }
.dp-chip-helper__heading { margin: 0; color: var(--dp-chip-helper-ink); font: 400 28px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.dp-chip-helper__close { flex: 0 0 48px; width: 48px; height: 48px; margin-top: -7px !important; margin-right: -7px !important; padding: 0; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--dp-chip-helper-muted); font-size: 28px !important; line-height: 1; }
.dp-chip-helper__close:hover { border-color: var(--dp-chip-helper-line); background: var(--dp-chip-helper-wash); transform: none; }
.dp-chip-helper__intro { margin: 14px 0 18px; color: var(--dp-chip-helper-muted); font-size: 16px; }
.dp-chip-helper__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.dp-chip-helper__menu--single { grid-template-columns: minmax(0, 1fr); }
.dp-chip-helper__action, .dp-chip-helper__search-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 11px 12px; border: 1px solid var(--dp-chip-helper-line); border-radius: 11px; background: #fff; color: var(--dp-chip-helper-ink); font-weight: 600 !important; text-align: center; }
.dp-chip-helper__action:hover, .dp-chip-helper__search-button:hover { background: var(--dp-chip-helper-wash); border-color: var(--dp-chip-helper-accent); transform: none; }
.dp-chip-helper__action--primary { background: var(--dp-chip-helper-accent); border-color: var(--dp-chip-helper-accent); color: #fff; }
.dp-chip-helper__action--primary:hover { background: var(--dp-chip-helper-ink); color: #fff; }
.dp-chip-helper__menu .dp-chip-helper__action[aria-pressed="false"] { background: #fff; color: var(--dp-chip-helper-ink); border-color: var(--dp-chip-helper-line); }
.dp-chip-helper__scopes { display: flex; gap: 6px; padding: 4px; margin: 18px 0 10px; border: 1px solid var(--dp-chip-helper-line); border-radius: 12px; background: var(--dp-chip-helper-wash); }
.dp-chip-helper__scope { flex: 1; padding: 8px 9px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--dp-chip-helper-muted); font-size: 16px; }
.dp-chip-helper__scope[aria-pressed="true"] { border-color: var(--dp-chip-helper-line); background: #fff; color: var(--dp-chip-helper-ink); font-weight: 600; }
.dp-chip-helper__privacy { margin: 8px 0 16px; color: var(--dp-chip-helper-muted); font-size: 14px; line-height: 1.5; }
.dp-chip-helper__hint { margin: 14px 0 18px; font-size: 16px; line-height: 1.55; }
.dp-chip-helper__label { display: block; margin: 16px 0 8px; font-weight: 600; font-size: 16px; }
.dp-chip-helper__search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.dp-chip-helper__search { width: 100%; min-width: 0; min-height: 50px; margin: 0; padding: 12px; border: 1px solid #aabdb3; border-radius: 10px; background: #fff; color: var(--dp-chip-helper-ink); font-size: 16px; }
.dp-chip-helper__search::placeholder { color: #637777; font-size: 14px; }
.dp-chip-helper__search-button { width: auto; }
.dp-chip-helper__results { display: grid; gap: 8px; margin-top: 15px; }
.dp-chip-helper__result { display: grid; gap: 3px; width: 100%; padding: 14px; border: 1px solid var(--dp-chip-helper-line); border-radius: 12px; background: #fff; color: var(--dp-chip-helper-ink); text-align: left; white-space: normal; overflow-wrap: anywhere; }
.dp-chip-helper__result:hover { background: var(--dp-chip-helper-wash); border-color: var(--dp-chip-helper-accent); transform: none; }
.dp-chip-helper__result-title { font-size: 16px; font-weight: 650; }
.dp-chip-helper__result-meta, .dp-chip-helper__result-detail { color: var(--dp-chip-helper-muted); font-size: 14px; font-weight: 400; }
.dp-chip-helper__result-open { margin-top: 5px; color: var(--dp-chip-helper-accent); font-size: 14px; font-weight: 600; }
.dp-chip-helper__empty { margin: 4px 0; padding: 14px; border-radius: 12px; background: var(--dp-chip-helper-wash); color: var(--dp-chip-helper-muted); font-size: 16px; }
.dp-chip-helper__status { margin: 14px 0 0; color: var(--dp-chip-helper-muted); font-size: 14px; line-height: 1.5; }
.dp-chip-helper__status:empty { display: none; }
@media (max-width: 760px) {
  dwellprint-chip-helper.dp-chip-helper { --dp-chip-helper-bottom-space: 96px; right: max(14px, env(safe-area-inset-right)); }
  .dp-chip-helper__launcher { width: 154px; height: 70px; padding-right: 11px; border-radius: 16px; }
  .dp-chip-helper__artwork { flex-basis: 70px; width: 70px; height: 53px; }
  .dp-chip-helper__panel { max-width: calc(100vw - 48px); padding: 18px; border-radius: 18px; }
  .dp-chip-helper__heading { font-size: 27px; }
}
@media (max-height: 600px) { .dp-chip-helper__panel { max-height: calc(var(--dp-chip-helper-view-height) - 122px); } }
@media (max-width: 370px) { .dp-chip-helper__menu { grid-template-columns: minmax(0, 1fr); } .dp-chip-helper__search-row { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .dp-chip-helper *, .dp-chip-helper *::before, .dp-chip-helper *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
