/* ---- V11: helpers — "Can fill, can't see", access requests. Quiet Glass tokens (quiet-glass.css),
   light and dark, 44 px targets, phone 390 px and desktop 1440 px. */

/* the helper's line in the vault header and item panel */
.hp-line { margin: 10px 0 4px; padding: 10px 14px; border-radius: var(--r-row, 16px); background: var(--glass); box-shadow: var(--elevation); color: var(--text); font-size: var(--fs-meta, 14px); line-height: 20px; }
.hp-line[hidden] { display: none; }
.hp-line.hp-fill::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #8c9bba; vertical-align: 1px; }
dialog .hp-line { box-shadow: none; border: 1px solid var(--line); }

/* the sidebar's "Ask for a vault" */
.hp-ask-open { width: 100%; min-height: 44px; margin: 8px 0 4px; }
@media (max-width: 720px) { .hp-ask-open { width: auto; margin: 8px 16px 4px; } } /* UI clean-up: keeps the page gutter on a phone */

/* members panel: the fill toggle sits with the others; all of them reachable with a thumb */
#members-panel .perms { flex-wrap: wrap; }
#members-panel .perm { min-height: 44px; padding: 0 14px; border-radius: 22px; font-size: 13px; }
.hp-until { display: block; color: var(--muted); font-size: var(--fs-meta, 14px); }
.hp-members { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.hp-members[hidden] { display: none; }
.hp-honest { margin: 0; line-height: 20px; }
.hp-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hp-link-row .btn.small { min-height: 44px; }
.hp-link-row small { flex: 1 1 220px; line-height: 20px; }

/* the ask and approve sheets */
.hp-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.hp-choice legend { margin-bottom: 8px; padding: 0; color: var(--text); font-size: var(--label-fs, 13px); font-weight: 500; }
.hp-opts { display: flex; flex-direction: column; gap: 8px; }
.hp-opt { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-row, 16px); cursor: pointer; }
.hp-opt.on { border-color: var(--primary, var(--text)); box-shadow: inset 0 0 0 1px var(--primary, var(--text)); }
.hp-opt input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--primary, var(--text)); }
.hp-opt-text b { display: block; font-weight: 600; }
.hp-opt-text small { display: block; margin-top: 2px; color: var(--muted); font-size: var(--fs-meta, 14px); line-height: 20px; }
.hp-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-seg .hp-opt { flex: 1 1 100px; align-items: center; justify-content: center; padding: 10px 12px; }
.hp-who { margin: 0; color: var(--muted); }
.hp-who[hidden] { display: none; }
.hp-sub { margin: 18px 0 6px; font-size: 15px; font-weight: 600; }
.hp-req .btn.small, .hp-notice .btn.small, .hp-approve-btns .btn { min-height: 44px; }
.hp-req .grow { min-width: 0; }
.hp-req b { white-space: normal; }
.hp-approve-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

@media (max-width: 760px) {
  .hp-approve-btns { justify-content: stretch; }
  .hp-approve-btns .btn { flex: 1 1 100%; }
  .hp-seg .hp-opt { flex-basis: 100%; }
}
