/* "Download app" chooser (online site only). Uses the app's own colours. */
.smd-dl{max-width:560px;width:calc(100% - 32px)}
.smd-dl-sub{font-size:13.5px;margin:0 0 14px}
.smd-dl-list{display:grid;gap:10px}
.smd-dl-opt{display:grid;gap:6px;padding:16px 18px;border:1px solid var(--line-2, rgba(0,0,0,.18));border-radius:14px;color:inherit;text-decoration:none;background:var(--card, #fff);transition:border-color .2s, box-shadow .2s, transform .2s}
.smd-dl-opt:hover,.smd-dl-opt:focus-visible{border-color:var(--blue, #2b3484);box-shadow:0 10px 24px -16px rgba(43,52,132,.6);transform:translateY(-1px)}
.smd-dl-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.smd-dl-top b{font-size:16px}
.smd-dl-tag{font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--blue-soft, #e7e9fb);color:var(--blue, #2b3484)}
.smd-dl-text{font-size:14px;line-height:1.5;color:var(--ink-2, #3a413d)}
.smd-dl-size{font-size:12.5px;color:var(--ink-3, #6c726d)}

/* AI Studio filter shows only the AI Studio group */
body[data-smd-chip="Intelligence"] section.tgroup:not([data-g="Intelligence"]) { display: none !important; }
/* "Sign in" beside the settings button on phones only */
.smd-signin-m { display: none; }
@media (max-width: 760px) { .smd-signin-m[href] { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; margin-right: 8px; } .smd-signin-m[href] + .pro-ib { margin-left: 0; } }

/* Trust note under the categories */
.smd-trust { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px auto 0; font-size: 13.5px; color: var(--ink-3, #6b7280); text-align: center; }
.smd-trust svg { flex: none; color: var(--ok, #16a34a); }
.smd-trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.smd-trust a:hover { color: var(--ink, #111827); }
/* Footer: ScanMyInvoice logo */
.off-foot .smd-by { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.off-foot .smd-by img { height: 26px; width: auto; display: block; }
.off-foot .smd-by .w { display: none; }
[data-theme="dark"] .off-foot .smd-by .b { display: none; }
[data-theme="dark"] .off-foot .smd-by .w { display: block; }
.off-foot a.smd-flink { color: inherit; }
/* AI tool landing (e.g. /pdf-to-excel): highlight its card */
a.tool.smd-focus { outline: 2px solid var(--blue, #2563eb); outline-offset: 3px; }
