.local-learning {
    --ll-ink: #282540;
    --ll-muted: #6e6a82;
    --ll-accent: #5744b5;
    --ll-accent-dark: #443293;
    --ll-line: #e6e3ef;
    --ll-paper: #fff;
    --ll-soft: #f8f7fb;
    --ll-tint: #f0edfb;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 28px 64px;
    color: var(--ll-ink);
    font-size: 15px;
    line-height: 1.55;
}
.local-learning *, .local-learning *::before, .local-learning *::after { box-sizing: border-box; }
.local-learning [hidden] { display: none !important; }
.local-learning h1, .local-learning h2, .local-learning h3, .local-learning p { margin: 0; }
.local-learning button, .local-learning input, .local-learning select { font: inherit; }
.local-learning button { cursor: pointer; }
.local-learning button:disabled, .local-learning input:disabled, .local-learning select:disabled { cursor: not-allowed; opacity: .58; }
.local-learning :focus-visible { outline: 3px solid #b37b20; outline-offset: 3px; }
.ll-breadcrumb { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--ll-muted); font-size: .83rem; }
.ll-breadcrumb a { color: inherit; text-decoration: none; font-weight: 700; }
.ll-breadcrumb a:hover { color: var(--ll-accent); }
.ll-device { display: inline-flex; align-items: center; gap: 7px; }
.ll-hero { display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 28px; padding: 24px 0 26px; }
.ll-eyebrow { color: var(--ll-accent); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ll-hero h1 { margin-top: 4px; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.08; letter-spacing: -.045em; }
.ll-hero h1 span { color: var(--ll-accent); }
.ll-hero > div:first-child > p:last-child { max-width: 610px; margin-top: 10px; color: var(--ll-muted); }
.ll-hero-art { position: relative; display: grid; min-height: 132px; place-items: center; }
.ll-orbit { position: absolute; width: 132px; height: 112px; border: 1px solid #dfdaf4; border-radius: 48% 52% 48% 52%; transform: rotate(-21deg); }
.ll-open-book { position: relative; display: flex; width: 92px; height: 68px; align-items: center; justify-content: center; border: 2px solid #7161be; border-radius: 11px 11px 15px 15px; background: #f4f1ff; box-shadow: 0 10px 24px #5744b51c; transform: rotate(-6deg); }
.ll-open-book::before { position: absolute; top: 7px; bottom: 7px; left: 50%; border-left: 1px solid #d6d0f1; content: ''; }
.ll-open-book i { width: 22px; height: 3px; margin: 0 4px; border-radius: 4px; background: #c6bfe8; }
.ll-open-book span { position: absolute; top: -18px; right: -12px; color: #d49c43; font-size: 27px; }
.ll-star { position: absolute; color: #d49c43; }
.ll-star-one { top: 13px; left: 22px; font-size: 17px; }.ll-star-two { right: 20px; bottom: 7px; color: #9589d2; font-size: 22px; }
.ll-access { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border: 1px solid var(--ll-line); border-radius: 15px; background: var(--ll-paper); box-shadow: 0 8px 25px #29244908; }
.ll-lock-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: var(--ll-tint); color: var(--ll-accent); font-size: 22px; }
.ll-access-copy { flex: 1; min-width: 0; }
.ll-access-copy strong { display: block; font-size: .9rem; }
.ll-access-copy p { color: var(--ll-muted); font-size: .82rem; }
.ll-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 9px; padding: 8px 14px; border: 1px solid transparent; border-radius: 10px; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.ll-button:hover:not(:disabled) { transform: translateY(-1px); }
.ll-primary { background: var(--ll-accent); color: #fff; }.ll-primary:hover:not(:disabled) { background: var(--ll-accent-dark); }
.ll-secondary { border-color: var(--ll-line); background: #fff; color: var(--ll-ink); }.ll-secondary:hover:not(:disabled) { background: var(--ll-soft); }
.ll-grid { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.6fr); gap: 18px; margin-top: 18px; align-items: start; }
.ll-panel { min-width: 0; border: 1px solid var(--ll-line); border-radius: 17px; background: var(--ll-paper); box-shadow: 0 8px 25px #29244908; }
.ll-learners { padding: 18px; }
.ll-section-heading, .ll-report-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ll-section-heading h2, .ll-report-heading h2, .ll-results-empty h2 { margin-top: 2px; font-size: 1.35rem; letter-spacing: -.02em; }
.ll-count { padding: 4px 9px; border-radius: 999px; background: var(--ll-soft); color: var(--ll-muted); font-size: .73rem; font-weight: 700; white-space: nowrap; }
.ll-locked, .ll-results-empty { padding: 36px 14px; text-align: center; color: var(--ll-muted); }
.ll-locked-icon, .ll-empty-mark { display: block; margin-bottom: 8px; color: #9388cd; font-size: 31px; }
.ll-locked h3 { color: var(--ll-ink); font-size: 1rem; }
.ll-locked p, .ll-results-empty p { margin-top: 5px; font-size: .84rem; }
.ll-learner-list { display: grid; gap: 7px; margin-top: 12px; }
.ll-learner-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 11px; border: 1px solid transparent; border-radius: 11px; background: var(--ll-soft); color: var(--ll-ink); text-align: left; }
.ll-learner-item:hover { border-color: #d7d1f0; }.ll-learner-item[aria-current="true"] { border-color: #c9c0ed; background: var(--ll-tint); }
.ll-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #e5e0f8; color: var(--ll-accent); font-weight: 800; }
.ll-learner-copy { min-width: 0; flex: 1; }.ll-learner-copy strong, .ll-learner-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.ll-learner-copy small { color: var(--ll-muted); font-size: .73rem; }
.ll-chevron { color: #9a95a9; font-size: 20px; }
.ll-create-form, .ll-edit-form { margin-top: 14px; padding: 14px; border: 1px solid var(--ll-line); border-radius: 13px; background: #fcfbfe; }
.ll-create-form h3, .ll-edit-form h3 { margin-bottom: 11px; font-size: .96rem; }
.ll-create-form label, .ll-edit-form label { display: block; min-width: 0; color: var(--ll-muted); font-size: .76rem; font-weight: 700; }
.ll-create-form input, .ll-create-form select, .ll-edit-form input, .ll-edit-form select, .ll-filter-label select { display: block; width: 100%; min-height: 39px; margin-top: 4px; padding: 7px 9px; border: 1px solid #dedbe8; border-radius: 8px; background: #fff; color: var(--ll-ink); }
.ll-fields-row { display: grid; grid-template-columns: .7fr 1fr; gap: 9px; margin-top: 9px; }
.ll-field-note { margin: 8px 0 11px !important; color: var(--ll-muted); font-size: .72rem; }
.ll-create-form > .ll-button { width: 100%; }
.ll-add-button { width: 100%; margin-top: 11px; }
.ll-results { padding: 20px; }
.ll-report-heading { align-items: flex-start; }.ll-report-actions { display: flex; gap: 6px; }
.ll-icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--ll-line); border-radius: 10px; background: #fff; color: var(--ll-muted); font-size: 19px; }
.ll-icon-button:hover { background: var(--ll-soft); color: var(--ll-accent); }.ll-icon-button.ll-danger:hover { color: #a84352; }
.ll-expiry { margin-top: 4px; color: var(--ll-muted); font-size: .77rem; }
.ll-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 17px; }
.ll-stat { padding: 12px; border-radius: 12px; background: var(--ll-soft); }.ll-stat strong { display: block; font-size: 1.25rem; line-height: 1.2; }.ll-stat span { color: var(--ll-muted); font-size: .72rem; }
.ll-activity-summary { margin-top: 17px; }
.ll-activity-summary-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ll-activity-summary-heading h3 { font-size: 1rem; }.ll-activity-summary-heading span { color: var(--ll-muted); font-size: .68rem; text-align: right; }
.ll-activity-summary-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ll-activity-summary-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 1px solid #eeebf4; border-radius: 10px; background: #fdfcff; }
.ll-activity-summary-copy { min-width: 0; }.ll-activity-summary-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }.ll-activity-summary-copy small { display: block; color: var(--ll-muted); font-size: .68rem; line-height: 1.45; }
.ll-activity-summary-empty { padding: 10px; color: var(--ll-muted); font-size: .78rem; }
.ll-history-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 21px; padding-bottom: 10px; border-bottom: 1px solid var(--ll-line); }
.ll-history-heading h3 { font-size: 1rem; }.ll-history-heading p { margin-top: 2px; color: var(--ll-muted); font-size: .73rem; }
.ll-filter-label { display: flex; align-items: center; gap: 7px; color: var(--ll-muted); font-size: .72rem; font-weight: 700; }.ll-filter-label select { width: auto; min-height: 34px; margin: 0; padding: 4px 25px 4px 8px; }
.ll-history { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.ll-history-item { display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; background: #fbfafe; }
.ll-kind-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--ll-tint); color: var(--ll-accent); font-size: 17px; }
.ll-activity-copy { min-width: 0; }.ll-activity-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; }.ll-activity-copy small { display: block; color: var(--ll-muted); font-size: .7rem; }
.ll-result-mark { padding: 4px 8px; border-radius: 999px; background: #edf6ee; color: #287446; font-size: .7rem; font-weight: 800; white-space: nowrap; }.ll-result-mark.neutral { background: #f1eff5; color: #625e70; }
.ll-history-empty { padding: 20px 8px; color: var(--ll-muted); text-align: center; font-size: .82rem; }
.ll-footer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--ll-line); }.ll-footer-actions .ll-button { font-size: .82rem; }
.ll-inline-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }.ll-text-button { padding: 8px 4px; border: 0; background: transparent; color: var(--ll-muted); font-weight: 700; }
.ll-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid #e9e6f1; border-radius: 14px; background: #fbfafe; }.ll-notes > div { display: flex; gap: 9px; color: var(--ll-muted); }.ll-notes > div > span { color: var(--ll-accent); font-size: 17px; }.ll-notes p { font-size: .73rem; }.ll-notes strong { color: var(--ll-ink); }
.ll-privacy-link { margin-top: 12px; text-align: right; font-size: .78rem; font-weight: 700; }.ll-privacy-link a { color: var(--ll-accent); text-decoration: none; }.ll-privacy-link a:hover { text-decoration: underline; }
@media (max-width: 760px) {
    .local-learning { padding: 16px 15px 40px; }
    .ll-hero { grid-template-columns: 1fr 110px; gap: 8px; padding: 20px 0; }
    .ll-hero-art { min-height: 110px; transform: scale(.8); transform-origin: center right; }
    .ll-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
    .ll-learners, .ll-results { padding: 15px; }
    .ll-notes { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 460px) {
    .ll-breadcrumb { font-size: .76rem; }
    .ll-hero { grid-template-columns: 1fr; }.ll-hero-art { display: none; }
    .ll-access { align-items: flex-start; flex-wrap: wrap; }.ll-access-copy { padding-top: 2px; }.ll-access .ll-button { width: 100%; }
    .ll-fields-row { grid-template-columns: 1fr; }
    .ll-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }.ll-stat { padding: 9px 8px; }.ll-stat strong { font-size: 1.05rem; }.ll-stat span { font-size: .66rem; }
    .ll-activity-summary-heading { align-items: flex-start; flex-direction: column; }.ll-activity-summary-heading span { text-align: left; }.ll-activity-summary-item { align-items: flex-start; flex-direction: column; gap: 5px; }
    .ll-history-heading { align-items: flex-start; flex-direction: column; }.ll-filter-label { width: 100%; justify-content: space-between; }.ll-filter-label select { flex: 1; }
    .ll-history-item { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }.ll-kind-icon { width: 32px; height: 32px; }.ll-result-mark { grid-column: 2; justify-self: start; }
    .ll-footer-actions { flex-direction: column; }.ll-footer-actions .ll-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ll-button { transition: none; } }
