/* bernard learner home - restyled by the courses theme layer. */
.lnr-door form label { display: block; margin: 0.75rem 0; }
.lnr-door input { display: block; margin-top: 0.25rem; width: 100%; max-width: 26rem; padding: 0.5rem; font: inherit; font-size: max(16px, 1rem); border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; }
.lnr-whoami { opacity: 0.7; font-size: 0.9rem; }
.lnr-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.lnr-course-card { display: block; color: inherit; text-decoration: none; }
.lnr-course-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #f2f2ef; border-radius: 4px; }
.lnr-course-card h3 { margin: 0.6rem 0 0.15rem; font-size: 1rem; }
.lnr-status { font-size: 0.8rem; opacity: 0.7; }
.lnr-status.is-active { color: var(--bernard-accent, #1c5e53); opacity: 1; }
.lnr-certificates { margin: 2rem 0; }
.lnr-cert-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; align-items: start; }
.lnr-cert { box-sizing: border-box; padding: 0.9rem 1rem; border: 1px solid color-mix(in srgb, currentColor 15%, transparent); border-radius: 4px; }
.lnr-cert p { margin: 0 0 0.25rem; }
.lnr-cert-title { font-weight: 600; }
.lnr-cert-meta { font-size: 0.8rem; opacity: 0.7; }
.lnr-cert-download { box-sizing: border-box; margin-top: 0.5rem; }
.lnr-cert-download[disabled] { opacity: 0.55; cursor: default; }
.lnr-cert-note { font-size: 0.85rem; opacity: 0.8; }
.lnr-cert-note:empty { display: none; }
.lnr-orders-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.lnr-orders-table td { padding: 0.4rem 0.6rem 0.4rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.lnr-install p { background: color-mix(in srgb, var(--bernard-accent, #1c5e53) 9%, transparent); border-radius: 4px; padding: 0.6rem 1rem; font-size: 0.9rem; }
.lnr-signout { margin-top: 2rem; }
.lnr-signout button { font: inherit; font-size: 0.85rem; opacity: 0.6; background: none; border: none; text-decoration: underline; cursor: pointer; color: inherit; }
.lnr-door-done, .lnr-door-error, .lnr-door-wait, .lnr-loading { opacity: 0.8; }
.lnr-door form button[disabled] { opacity: 0.55; cursor: default; }
