.resource-page{min-height:70vh;padding:calc(var(--header-h) + 40px) 0 80px;background:linear-gradient(#fcf8fe,#fff 420px)}.resource-card{border:1px solid var(--border);background:#fff;border-radius:24px;max-width:560px;margin:0 auto;padding:28px 22px;box-shadow:0 30px 60px -36px #44255559}@media (min-width:640px){.resource-card{padding:36px 40px}}.resource-back{text-align:center;max-width:560px;margin:20px auto 0}.resource-intro{gap:10px;display:grid}.resource-kicker{color:var(--brand-dark);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:800}.resource-title{color:var(--foreground);letter-spacing:-.03em;text-wrap:balance;margin:0;font-size:clamp(1.45rem,1.2rem + 1.1vw,1.95rem);font-weight:700;line-height:1.18}.resource-desc{color:var(--muted-foreground);white-space:pre-line;margin:0;font-size:.98rem;line-height:1.6}.resource-files{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.resource-files li{border:1px solid var(--border);background:#fdfbfd;border-radius:14px;grid-template-columns:36px minmax(0,1fr);align-items:center;column-gap:12px;padding:10px 12px;display:grid}.resource-files li.has-download{background:#fff;border-color:#dfc9ed;grid-template-columns:36px minmax(0,1fr) auto}.resource-files li.has-download .resource-file-name,.resource-files li.has-download .resource-file-meta{grid-column:2}.resource-file-download{background:var(--brand-dark);color:#fff;white-space:nowrap;border-radius:999px;grid-area:1/3/span 2;align-items:center;gap:6px;height:38px;padding:0 14px;font-size:.85rem;font-weight:700;text-decoration:none;transition:background .16s;display:inline-flex}.resource-file-download:hover{background:#7a2fb8}.resource-file-download:focus-visible{outline:2px solid var(--brand-dark);outline-offset:2px}.resource-file-download svg{width:16px;height:16px}.resource-file-icon{background:var(--brand-tint);width:36px;height:36px;color:var(--brand-dark);border-radius:10px;grid-row:span 2;justify-content:center;align-items:center;display:inline-flex}.resource-file-icon svg{width:18px;height:18px}.resource-file-name{color:var(--foreground);overflow-wrap:anywhere;font-size:.9rem;font-weight:600;line-height:1.3}.resource-file-meta{color:var(--muted-foreground);font-size:.78rem}.resource-form{gap:14px;margin-top:22px;display:grid}.resource-field{gap:6px;display:grid}.resource-field label{color:var(--foreground);font-size:.85rem;font-weight:600}.resource-field input{height:46px;color:var(--foreground);font:inherit;background:#fff;border:1px solid #d3d6de;border-radius:12px;padding:0 14px;font-size:1rem}.resource-field input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #b750fb38}.resource-field input[aria-invalid=true]{border-color:#dc2626}.resource-hint,.resource-error{margin:0;font-size:.78rem}.resource-hint{color:var(--muted-foreground)}.resource-error{color:#b91c1c}.resource-form-error{background:#fef2f2;border-radius:10px;padding:10px 12px;font-size:.85rem}.resource-trap{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}.resource-submit{background:var(--brand-dark);color:#fff;height:48px;font:inherit;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;font-size:.95rem;font-weight:700;transition:background .16s;display:inline-flex}.resource-submit:hover{background:#7a2fb8}.resource-submit:disabled{opacity:.7;cursor:progress}.resource-submit:focus-visible{outline:2px solid var(--brand-dark);outline-offset:2px}.resource-submit svg{width:18px;height:18px}.resource-note{color:var(--muted-foreground);margin:0;font-size:.75rem;line-height:1.5}.resource-note a,.resource-retry{color:var(--brand-dark);text-underline-offset:2px;text-decoration:underline}.resource-retry{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.85rem;font-weight:600}.resource-dialog{width:min(100% - 32px,520px);max-width:none;max-height:min(100dvh - 32px,760px);color:var(--foreground);background:#fff;border:0;border-radius:24px;margin:auto;padding:0;overflow:auto;box-shadow:0 40px 80px -30px #1e0f2d73}.resource-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#140c1e8c}.resource-dialog-body{padding:28px 22px 24px;position:relative}@media (min-width:640px){.resource-dialog-body{padding:32px 32px 28px}}.resource-dialog .resource-kicker,.resource-dialog .resource-title{padding-right:40px}.resource-dialog-close{width:36px;height:36px;color:var(--foreground);cursor:pointer;background:#f5f2f8;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:14px;right:14px}.resource-dialog-close svg{width:18px;height:18px}html:has(.resource-dialog[open]){scrollbar-gutter:stable;overflow:hidden}.resource-check{color:#3f4350;cursor:pointer;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;font-size:.86rem;line-height:1.45;display:grid}.resource-check input{width:18px;height:18px;accent-color:var(--brand-dark);cursor:pointer;margin:1px 0 0}.resource-suggest{color:#3f4350;margin:0;font-size:.82rem}.resource-suggest-use{color:var(--brand-dark);font:inherit;text-underline-offset:2px;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.resource-ready{color:#124937;background:#ebfaf3;border-radius:16px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:12px;margin-top:4px;padding:14px;display:grid}.resource-ready:focus{outline:none}.resource-ready.is-expired{color:#5f3511;background:#fdf3e2}.resource-ready-icon{color:#fff;background:#1d8660;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.resource-ready.is-expired .resource-ready-icon{background:#c16b15}.resource-ready-icon svg{width:17px;height:17px}.resource-ready-title{margin:0;font-size:.98rem;font-weight:700}.resource-ready-copy{margin:2px 0 0;font-size:.86rem;line-height:1.5}.resource-renew{background:var(--brand-dark);color:#fff;height:38px;font:inherit;cursor:pointer;border:0;border-radius:999px;align-items:center;gap:6px;margin-top:10px;padding:0 16px;font-size:.86rem;font-weight:700;display:inline-flex}.resource-renew:disabled{opacity:.7;cursor:progress}.resource-renew svg{width:16px;height:16px}.resource-expired-note{color:#5f3511;background:#fdf3e2;border-radius:12px;margin:4px 0 0;padding:12px 14px;font-size:.88rem;line-height:1.5}.resource-again{color:var(--muted-foreground);margin:18px 0 0;font-size:.85rem}
