/* v1.43.0 — Install the PQA app: header pill, sidebar card, phone banner, More-sheet row, guide dialog, /app page. */
[hidden]{display:none!important}
.pqa-installed [data-install-app],.pqa-installed [data-install-hide]{display:none!important}

/* header pill (all widths) */
.install-pill{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 14px 0 11px;border:0;border-radius:999px;background:linear-gradient(135deg,#2f5bff,#00b3a4);color:#fff;font-family:inherit;font-size:13px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(47,91,255,.28);white-space:nowrap}
.install-pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.install-pill:hover{filter:brightness(1.06)}.install-pill:focus-visible{outline:3px solid #9db4ff;outline-offset:2px}

/* sidebar card (desktop) */
.sidebar-install{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:linear-gradient(135deg,rgba(47,91,255,.35),rgba(0,179,164,.28));color:#fff;text-align:left;cursor:pointer;font:inherit}
.sidebar-install svg{width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sidebar-install b{display:block;font-size:14px}.sidebar-install small{display:block;font-size:12px;opacity:.8;margin-top:2px}
.sidebar-install:hover{border-color:rgba(255,255,255,.3)}

/* phone banner at the top of the app */
.install-banner{display:flex;align-items:center;gap:12px;margin:10px 12px 4px;padding:12px 10px 12px 12px;border-radius:18px;background:linear-gradient(135deg,#0b1b33,#1d4a85);color:#fff;box-shadow:0 10px 26px rgba(11,27,51,.25)}
.install-banner img{width:44px;height:44px;flex:none;border-radius:12px}
.install-banner-copy{flex:1;min-width:0;display:grid;gap:2px}.install-banner-copy b{font-size:15px}.install-banner-copy span{font-size:12.5px;line-height:1.35;color:#c9d8ee}
.install-banner-cta{flex:none;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:#fff;color:#0b1b33;font-family:inherit;font-size:14px;font-weight:800;line-height:1;cursor:pointer}
.install-banner-x{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:20px;line-height:1;cursor:pointer}
@media (min-width:761px){.install-banner{display:none!important}}

/* More sheet: highlighted first row */
.sheet-install{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;border:0;border-radius:16px;background:linear-gradient(135deg,#2f5bff,#00b3a4);color:#fff;text-align:left;font:inherit;cursor:pointer}
.sheet-install svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sheet-install span:not(.sheet-chev){flex:1}.sheet-install b{display:block;font-size:15px}.sheet-install small{display:block;font-size:12px;opacity:.85}
.sheet-install .sheet-chev{font-size:22px;opacity:.8}

@media (max-width:760px){.install-pill span{display:none}.install-pill{padding:0;width:38px;justify-content:center}}

/* guide dialog */
.ia-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:0;border-radius:22px;background:#fff;color:#0b1b33;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.ia-dialog::backdrop{background:rgba(11,27,51,.55);backdrop-filter:blur(3px)}
.ia-body{padding:22px 22px 18px;font:15px/1.5 -apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.ia-logo{display:block;width:56px;height:56px}
.ia-body h2{margin:12px 0 4px;font-size:21px;color:inherit}.ia-body b{color:inherit}.ia-lead{margin:0 0 14px;color:#566a80;font-size:14px}
.ia-steps{margin:0;padding:0;list-style:none;counter-reset:s;display:grid;gap:10px}
.ia-steps li{counter-increment:s;position:relative;padding:10px 12px 10px 46px;border-radius:14px;background:#f4f6fb}
.ia-steps li::before{content:counter(s);position:absolute;left:12px;top:10px;width:24px;height:24px;border-radius:50%;background:#2f5bff;color:#fff;font-weight:800;font-size:13px;display:grid;place-items:center}
.ia-ico{display:inline-block;width:20px;height:20px;vertical-align:-4px;margin:0 2px;fill:none;stroke:#2f5bff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ia-ok{padding:12px;border-radius:14px;background:#e3f6ee;color:#0a6b4c;font-weight:600}
.ia-qr{margin:16px 0 0;text-align:center}.ia-qr img{width:160px;height:160px;padding:10px;background:#fff;border:1px solid #dfe6f0;border-radius:14px;image-rendering:pixelated}
.ia-qr figcaption{font-size:13px;color:#566a80;margin-top:6px}
.ia-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px}
.ia-link{color:#2f5bff;font-weight:700;text-decoration:none}
.ia-close{min-height:40px;padding:0 18px;border:0;border-radius:999px;background:#0b1b33;color:#fff;font-family:inherit;font-size:14px;font-weight:700;line-height:1;cursor:pointer}
@media (prefers-color-scheme:dark){
  .ia-dialog{background:#111c2e;color:#e8eef8}.ia-lead,.ia-qr figcaption{color:#9fb1c9}.ia-steps li{background:#1a2840}
  .ia-ico{stroke:#8fb0ff}.ia-close{background:#e8eef8;color:#0b1b33}.ia-link{color:#8fb0ff}.ia-ok{background:#0f3a2c;color:#9fe3c6}
}

/* /app page */
.app-hero{display:grid;gap:18px;justify-items:start}
.app-cta{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:0 26px;border:0;border-radius:999px;background:linear-gradient(135deg,#2f5bff,#00b3a4);color:#fff;font-family:inherit;font-size:18px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 12px 28px rgba(47,91,255,.3)}
.app-cta svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:8px}
.app-card{padding:16px;border:1px solid var(--line,#dfe6f0);border-radius:16px}
.app-card h3{margin:0 0 8px;font-size:17px}.app-card ol{margin:0;padding-left:20px}.app-card li{margin:4px 0}
.app-card.is-current{border-color:#2f5bff;box-shadow:0 0 0 3px rgba(47,91,255,.15)}
.app-card .now{display:none;font-size:12px;font-weight:800;color:#2f5bff;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.app-card.is-current .now{display:block}
.app-qr{display:flex;gap:16px;align-items:center;margin-top:18px}.app-qr img{width:150px;height:150px;padding:8px;background:#fff;border-radius:12px;border:1px solid #dfe6f0;image-rendering:pixelated}
.app-done{font-weight:700;color:#0f8a63}
@media (max-width:560px){.app-qr{display:none}}
