/* AutoFie theme — tokens and layout ported from the Lovable app (src/styles.css + Tailwind classes). */

:root {
	--radius: 0.625rem;
	--background: oklch(0.965 0 0);          /* #f4f4f4 */
	--foreground: oklch(0.19 0.04 275);      /* navy #1a1a2e */
	--card: oklch(1 0 0);
	--card-foreground: oklch(0.19 0.04 275);
	--primary: oklch(0.832 0.165 88);        /* gold #f5c518 */
	--primary-hover: oklch(0.79 0.165 88);
	--primary-foreground: oklch(0.19 0.04 275);
	--secondary: oklch(0.19 0.04 275);
	--secondary-foreground: oklch(1 0 0);
	--muted: oklch(0.95 0.005 275);
	--muted-foreground: oklch(0.38 0.02 275);
	--accent: oklch(0.95 0.06 88);
	--destructive: oklch(0.6 0.22 27);
	--success: oklch(0.62 0.17 145);
	--success-foreground: oklch(1 0 0);
	--border: oklch(0.9 0.01 275);
	--ring: oklch(0.832 0.165 88);
	--surface: oklch(1 0 0);
	--shadow-sm: 0 1px 2px rgb(0 0 0 / .05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
	color-scheme: light;
}

.dark {
	--background: oklch(0.16 0.02 275);
	--foreground: oklch(0.97 0 0);
	--card: oklch(0.21 0.025 275);
	--card-foreground: oklch(0.97 0 0);
	--primary: oklch(0.832 0.165 88);
	--primary-hover: oklch(0.79 0.165 88);
	--primary-foreground: oklch(0.19 0.04 275);
	--secondary: oklch(0.28 0.03 275);
	--secondary-foreground: oklch(0.97 0 0);
	--muted: oklch(0.26 0.02 275);
	--muted-foreground: oklch(0.78 0.02 275);
	--accent: oklch(0.32 0.06 88);
	--destructive: oklch(0.62 0.22 27);
	--success: oklch(0.68 0.17 145);
	--success-foreground: oklch(0.12 0.02 145);
	--border: oklch(0.32 0.02 275);
	--ring: oklch(0.832 0.165 88);
	--surface: oklch(0.18 0.02 275);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font-size: 16px; line-height: 1.5; font-feature-settings: "cv02", "cv03", "cv04", "cv11"; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; color: var(--foreground); margin: 0; }
p { line-height: 1.6; margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in oklab, var(--primary) 30%, transparent); color: var(--foreground); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.af-i { width: 20px; height: 20px; flex: none; }
.i-sm { width: 14px; height: 14px; }
.i-primary { color: var(--primary); width: 16px; height: 16px; }

/* Layout helpers */
.container { max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.container-md { max-width: 64rem; }
.container-lg { max-width: 72rem; }
.section { padding-block: 2.5rem; }
.section-tight { padding-block: 2.5rem; }
.section-lg { padding-block: 3.5rem; }
@media (min-width: 640px) { .section { padding-block: 3.5rem; } }
.band { padding-block: 3.5rem; }
.band-surface { background: var(--surface); }
.band-tint { background: color-mix(in oklab, var(--secondary) 5%, transparent); padding-block: 3rem; }
.center { text-align: center; }
.mt-10 { margin-top: 2.5rem; }
.muted { color: var(--muted-foreground); font-size: .875rem; margin-top: .375rem; }
.page-container { max-width: 80rem; margin-inline: auto; padding: 1.5rem 1rem; width: 100%; }
@media (min-width: 640px) { .page-container { padding: 2rem 1.5rem; } }
.page-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .25rem; }
.page-subtitle { color: var(--muted-foreground); font-size: .9375rem; margin-bottom: 1.5rem; }
.empty-page { text-align: center; padding-block: 4rem; }
.empty-page .btn { margin: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: calc(var(--radius) - 2px); font: inherit; font-size: .875rem; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn-sm { height: 36px; padding: 0 12px; }
.btn-lg { height: 44px; padding: 0 32px; font-size: 1rem; }
.btn-round { border-radius: 999px; padding-inline: 20px; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, black); }
.btn-success { background: var(--success); color: var(--success-foreground); font-weight: 600; }
.btn-success:hover { background: color-mix(in oklab, var(--success) 90%, black); }
.btn-white { background: #fff; color: oklch(0.19 0.04 275); font-weight: 600; }
.btn-white:hover { background: rgb(255 255 255 / .9); }
.btn-ghost-light { background: transparent; color: var(--primary-foreground); }
.btn-ghost-light:hover { background: rgb(255 255 255 / .15); }
.btn-outline { background: var(--card); color: var(--foreground); border: 1px solid var(--border); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; width: 100%; background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-sm); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header-inner { max-width: 80rem; margin-inline: auto; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: .75rem; }
@media (min-width: 640px) { .site-header-inner { padding-inline: 1.5rem; } }
.site-logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
@media (min-width: 640px) { .site-nav { gap: 8px; } }
.nav-icon { position: relative; display: inline-flex; padding: 8px; border-radius: 999px; background: none; border: 0; color: inherit; cursor: pointer; text-decoration: none; }
.nav-icon:hover { background: rgb(255 255 255 / .15); }
.nav-badge { position: absolute; right: -2px; top: -2px; display: flex; align-items: center; justify-content: center; height: 16px; min-width: 16px; padding: 0 4px; border-radius: 999px; background: var(--destructive); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 2px var(--primary); }
.btn-sell { margin-left: 4px; }
.theme-toggle .i-sun { display: none; }
.dark .theme-toggle .i-sun { display: block; }
.dark .theme-toggle .i-moon { display: none; }
.hide-mobile { display: none !important; }
.show-mobile { display: inline-flex; }
@media (min-width: 640px) { .hide-mobile { display: inline-flex !important; } .show-mobile { display: none; } }
.user-menu { position: relative; margin-left: 4px; }
.user-menu summary { list-style: none; cursor: pointer; display: block; border-radius: 999px; box-shadow: 0 0 0 2px rgb(255 255 255 / .3); }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover { box-shadow: 0 0 0 2px rgb(255 255 255 / .6); }
.nav-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #fff; color: oklch(0.19 0.04 275); font-size: 12px; font-weight: 600; }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 224px; padding: 4px; background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); box-shadow: var(--shadow-md); z-index: 50; }
.user-menu-label { padding: 6px 8px; display: flex; flex-direction: column; min-width: 0; }
.user-menu-label strong { font-size: .875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-label span { font-size: .75rem; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-panel hr { border: 0; border-top: 1px solid var(--border); margin: 4px -4px; }
.user-menu-panel a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; font-size: .875rem; text-decoration: none; }
.user-menu-panel a:hover { background: var(--muted); }
.user-menu-panel a .af-i { width: 16px; height: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(to bottom right, var(--secondary), var(--secondary), color-mix(in oklab, var(--secondary) 90%, transparent)); color: #fff; padding-block: 3.5rem; }
@media (min-width: 640px) { .hero { padding-block: 5rem; } }
.hero-dots { pointer-events: none; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0); background-size: 24px 24px; }
.hero-inner { position: relative; max-width: 48rem; margin-inline: auto; padding-inline: 1rem; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: .75rem; font-weight: 500; }
.pill-light { background: rgb(255 255 255 / .15); color: #fff; backdrop-filter: blur(4px); }
.hero-title { margin-top: 1rem; font-size: 1.875rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: #fff; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; line-height: 1.1; } }
.hero-text { margin: .75rem auto 0; max-width: 36rem; font-size: .875rem; color: rgb(255 255 255 / .9); }
@media (min-width: 640px) { .hero-text { font-size: 1rem; } }
.hero-search { margin: 1.75rem auto 0; max-width: 36rem; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: #fff; padding: 6px; box-shadow: var(--shadow-xl), 0 0 0 1px rgb(0 0 0 / .05); }
.hero-search-icon { margin-left: 12px; color: oklch(0.38 0.02 275); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 36px; font: inherit; font-size: .875rem; color: oklch(0.19 0.04 275); outline: none; padding: 0 4px; }
.hero-search input::placeholder { color: oklch(0.38 0.02 275); }
.hero-tools { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.tool-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .1); padding: 8px 16px; font-size: .875rem; font-weight: 600; color: #fff; text-decoration: none; backdrop-filter: blur(4px); transition: background .15s; }
.tool-pill:hover { background: rgb(255 255 255 / .2); }
.tool-pill-primary { background: color-mix(in oklab, var(--primary) 90%, transparent); color: var(--primary-foreground); }
.tool-pill-primary:hover { background: var(--primary); }
.trust-strip { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; font-size: 11px; }
@media (min-width: 640px) { .trust-strip { font-size: .75rem; } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; border-radius: .5rem; background: rgb(255 255 255 / .1); padding: 12px 8px; font-weight: 500; backdrop-filter: blur(4px); }
.trust-item .af-i { width: 16px; height: 16px; }

/* Section headings */
.section-head { margin-bottom: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-title { font-size: 1.25rem; font-weight: 700; }
@media (min-width: 640px) { .section-title { font-size: 1.5rem; } }
.section-title.lg { font-size: 1.5rem; }
@media (min-width: 640px) { .section-title.lg { font-size: 1.875rem; } }
.section-sub { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
.section-sub.center, .center .section-sub { margin-top: .5rem; }
.section-sub.narrow { max-width: 36rem; margin-inline: auto; }
.view-all { font-size: .875rem; font-weight: 500; color: var(--primary); text-decoration: none; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }
.empty-box { border: 1px dashed var(--border); background: var(--card); border-radius: .75rem; padding: 2rem; text-align: center; font-size: .875rem; color: var(--muted-foreground); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(8, 1fr); } }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); text-align: center; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.cat-img { overflow: hidden; border-radius: .5rem; }
.cat-img img { display: block; width: 64px; height: 64px; object-fit: cover; transition: transform .3s; }
.cat-card:hover .cat-img img { transform: scale(1.1); }
.cat-label { font-size: .75rem; font-weight: 500; }

/* Cards and grids */
.grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-4 { gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: .75rem; padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow-md); }
.card-center { text-align: center; }
.grid-4 .card { padding: 1.25rem; }
.card-lift:hover { transform: translateY(-2px); }
.card h3 { font-size: 1rem; font-weight: 600; }
.step-num { margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-size: 1.125rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.icon-circle { margin: 0 auto .75rem; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-n { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
@media (min-width: 640px) { .stat-n { font-size: 2.25rem; } }
.stat-l { margin-top: .25rem; font-size: .75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .stat-l { font-size: .875rem; } }
.quote-card { margin: 0; }
.i-quote { color: color-mix(in oklab, var(--primary) 60%, transparent); }
.quote-card blockquote { margin: .75rem 0 0; font-size: .875rem; line-height: 1.625; }
.stars { margin-top: 1rem; display: flex; gap: 2px; color: #f59e0b; }
.i-star { width: 14px; height: 14px; fill: currentColor; }
.quote-card figcaption { margin-top: .5rem; font-size: .75rem; color: var(--muted-foreground); }
.quote-card figcaption strong { color: var(--foreground); font-weight: 600; }

/* Dealer CTA */
.section-cta { padding-block: 3rem; }
.cta-box { overflow: hidden; border-radius: 1rem; background: linear-gradient(to bottom right, var(--secondary), color-mix(in oklab, var(--secondary) 90%, transparent)); padding: 2rem; text-align: center; color: #fff; }
@media (min-width: 640px) { .cta-box { padding: 3.5rem; } }
.cta-inner { max-width: 42rem; margin-inline: auto; }
.cta-title { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .cta-title { font-size: 1.875rem; } }
.cta-text { margin: .75rem auto 0; max-width: 32rem; color: rgb(255 255 255 / .9); }
.cta-box .btn { margin-top: 1.5rem; }
.cta-note { margin-top: .75rem; font-size: .75rem; color: rgb(255 255 255 / .9); }

/* Footer */
.site-footer { margin-top: 4rem; }
.skyline-band { position: relative; width: 100%; overflow: hidden; background: var(--background); }
.skyline { display: block; width: 100%; height: 8rem; }
@media (min-width: 640px) { .skyline { height: 11rem; } }
@media (min-width: 768px) { .skyline { height: 13rem; } }
.sky-fill, .sky-dot-navy { fill: var(--secondary); }
.sky-sun { fill: var(--primary); }
.sky-line { stroke: var(--secondary); }
.footer-slab { background: var(--secondary); color: #fff; }
.footer-inner { max-width: 80rem; margin-inline: auto; padding: 3rem 1rem; }
@media (min-width: 640px) { .footer-inner { padding: 3.5rem 1.5rem; } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.025em; }
.footer-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: .5rem; background: var(--primary); color: var(--primary-foreground); font-weight: 800; }
.footer-about { margin-top: .75rem; font-size: .875rem; color: rgb(255 255 255 / .9); }
.footer-pill { margin-top: 1rem; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: rgb(255 255 255 / .1); padding: 4px 12px; font-size: .75rem; font-weight: 500; }
.footer-pill .af-i { width: 14px; height: 14px; }
.footer-h { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }
.footer-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .625rem; font-size: .875rem; }
.footer-links a { color: rgb(255 255 255 / .95); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-row { display: flex; align-items: flex-start; gap: 8px; color: rgb(255 255 255 / .95); }
.footer-row .af-i { margin-top: 2px; }
.break { word-break: break-all; }
.footer-social { margin-top: 1.25rem; display: flex; gap: 12px; }
.footer-social a { display: inline-flex; padding: 8px; border-radius: 999px; background: rgb(255 255 255 / .1); color: #fff; }
.footer-social a:hover { background: var(--primary); color: var(--primary-foreground); }
.footer-social .af-i { width: 16px; height: 16px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: .75rem; color: rgb(255 255 255 / .9); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-flag { display: flex; align-items: center; gap: 8px; }
.gh-flag { display: inline-flex; flex-direction: column; width: 20px; height: 12px; overflow: hidden; border-radius: 2px; }
.gh-flag span { flex: 1; display: grid; place-items: center; font-size: 6px; line-height: 1; color: #000; }
.gh-flag span:nth-child(1) { background: #CE1126; }
.gh-flag span:nth-child(2) { background: #FCD116; }
.gh-flag span:nth-child(3) { background: #006B3F; }

/* Content pages (LegalPage) */
.legal-page { max-width: 48rem; margin-inline: auto; padding: 2.5rem 1rem; width: 100%; }
@media (min-width: 640px) { .legal-page { padding-block: 3.5rem; } }
.lp-kicker { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }
.lp-title { margin-top: .5rem; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 640px) { .lp-title { font-size: 2.25rem; } }
.lp-updated { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.lp-body { margin-top: 2rem; font-size: 15px; line-height: 1.625; color: color-mix(in oklab, var(--foreground) 90%, transparent); }
.lp-body > * + * { margin-top: 1.25rem; }
.lp-body a { color: var(--primary); text-decoration: none; }
.lp-body a:hover { text-decoration: underline; }
.lp-section > * + * { margin-top: .5rem; }
.lp-section h2 { font-size: 1.125rem; font-weight: 700; }
.lp-section p, .lp-section li { color: color-mix(in oklab, var(--foreground) 85%, transparent); }
.lp-body ul { margin: 0; padding-left: 1.25rem; list-style: disc; }
.lp-body li + li { margin-top: .25rem; }
.lp-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-card { display: block; border: 1px solid var(--border); background: var(--card); border-radius: .75rem; padding: 1.25rem; text-decoration: none !important; color: inherit !important; }
.lp-card-link { transition: transform .15s, border-color .15s, box-shadow .15s; }
.lp-card-link:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.lp-card-icon { color: var(--primary); }
.lp-card-title { margin-top: .5rem; font-weight: 600; color: var(--foreground); }
.lp-card-text { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground) !important; }
.lp-small { font-size: .75rem; }
.lp-card-main { font-size: .875rem; color: color-mix(in oklab, var(--foreground) 80%, transparent); }
.lp-card-accent { font-size: .875rem; color: var(--primary); }

/* Plain posts */
.post-entry { padding-block: 1rem; border-bottom: 1px solid var(--border); }
.post-entry h2 a { text-decoration: none; }

/* Plugin screens inherit theme colours; inputs follow dark mode. */
.dark .af input, .dark .af select, .dark .af textarea { background: var(--card); color: var(--foreground); }
.af h2 { font-weight: 700; }

/* Install prompt */
.pwa-prompt { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; margin-inline: auto; max-width: 28rem; display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--background); color: var(--foreground); border: 1px solid var(--border); border-radius: .75rem; box-shadow: var(--shadow-md); }
@media (min-width: 640px) { .pwa-prompt { left: auto; right: 16px; } }
.pwa-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: .5rem; background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.pwa-icon svg { width: 20px; height: 20px; }
.pwa-body { flex: 1; }
.pwa-title { font-size: .875rem; font-weight: 600; }
.pwa-text { margin-top: 2px; font-size: .75rem; color: var(--muted-foreground); }
.pwa-actions { margin-top: 12px; display: flex; gap: 8px; }
.pwa-later { background: transparent; color: var(--foreground); }
.pwa-later:hover { background: var(--muted); }
.pwa-x { background: none; border: 0; color: var(--muted-foreground); font-size: 18px; cursor: pointer; border-radius: 6px; padding: 0 6px; }
.pwa-x:hover { background: var(--muted); }
