.lt-course-tools[hidden], .lt-compare-tray[hidden], .lt-clear-confirm[hidden], .lt-button[hidden] { display: none !important; }
.lt-course-tools { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--line, #d4deea); }
.lt-button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; margin: 0; padding: .45rem .8rem; border: 1px solid var(--line-strong, #b5c4d6); border-radius: .65rem; background: #fff; color: var(--text, #0a0a0a); font-size: .875rem; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: none; text-decoration: none; }
.lt-button:hover { background: var(--brand-soft, #edf4ff); border-color: var(--brand, #0f56d9); }
.lt-button[aria-pressed="true"] { background: var(--brand-soft, #edf4ff); border-color: var(--brand, #0f56d9); color: var(--brand-strong, #0a3578); }
.lt-button:focus-visible, .lt-inline-links a:focus-visible, .lt-compare-scroll:focus-visible { outline: 3px solid var(--brand, #0f56d9); outline-offset: 3px; }
.lt-page { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.lt-panel { min-width: 0; margin: 0 0 1.3rem; padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--line, #d4deea); border-radius: 1rem; background: #fff; }
.lt-panel h1, .lt-panel h2, .lt-panel h3 { margin: 0 0 .7rem; }
.lt-panel p { font-weight: 400; }
.lt-note, .lt-empty { font-size: .9rem; line-height: 1.7; font-weight: 400; }
.lt-note { color: var(--text-secondary, #222); }
.lt-inline-links { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; margin-top: 1rem; }
.lt-inline-links a, .lt-saved-card h3 a, .lt-search-list a, .lt-compare-table a { color: var(--brand-strong, #0a3578); text-decoration: underline; text-underline-offset: .18em; }
.lt-count { display: inline-block; font-size: .85rem; font-weight: 600; vertical-align: middle; padding: .15rem .45rem; border-radius: .4rem; background: var(--brand-soft, #edf4ff); color: var(--brand-strong, #0a3578); }
.lt-saved-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.lt-saved-card { min-width: 0; padding: 1.1rem; margin: 0; border: 1px solid var(--line, #d4deea); border-radius: .8rem; box-shadow: none; background: #fff; }
.lt-saved-card h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
.lt-saved-card p { margin: .5rem 0; }
.lt-saved-card .lt-course-tools { padding: .8rem 0 0; margin-top: .8rem; }
.lt-saved-card .lt-reminders { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; margin-top: .8rem; }
.lt-reminders a { font-size: .85rem; color: var(--brand-strong, #0a3578); text-decoration: underline; }
.lt-compare-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line, #d4deea); border-radius: .7rem; overscroll-behavior-x: contain; }
.lt-compare-table { width: 100%; min-width: 540px; margin: 0; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.lt-compare-table caption { text-align: left; padding: .8rem; color: var(--text, #0a0a0a); font-weight: 600; }
.lt-compare-table th, .lt-compare-table td { vertical-align: top; padding: .85rem; border-bottom: 1px solid var(--line, #d4deea); background: #fff; overflow-wrap: anywhere; word-break: normal; }
.lt-compare-table th:first-child { width: 110px; }
.lt-compare-table thead th { background: var(--brand-soft, #edf4ff); }
.lt-compare-table tbody th { font-weight: 600; }
.lt-compare-table td { font-weight: 400; }
.lt-compare-table .lt-button { margin-top: .6rem; }
.lt-search-list { list-style: none; margin: .8rem 0 1.2rem; padding: 0; }
.lt-search-list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line, #d4deea); }
.lt-search-list a { overflow-wrap: anywhere; }
.lt-search-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; grid-column: 1 / -1; width: 100%; padding-top: .5rem; }
.lt-search-controls p { flex-basis: 100%; margin: .2rem 0 0; font-size: .8rem; font-weight: 400; }
.lt-compare-tray { position: fixed; bottom: max(1rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 1rem; width: max-content; max-width: calc(100vw - 2rem); padding: .75rem 1rem; background: #fff; color: #0a0a0a; border: 1px solid var(--line-strong, #b5c4d6); border-radius: 1rem; box-shadow: 0 4px 22px #0a357822; font-size: .9rem; }
.lt-has-compare { padding-bottom: 6rem; }
.lt-status { position: fixed; bottom: 6.8rem; left: 50%; transform: translateX(-50%); z-index: 45; width: max-content; max-width: min(560px, calc(100vw - 2rem)); margin: 0; padding: .8rem 1rem; border-radius: .8rem; background: #12365d; color: #fff; font-weight: 500; font-size: .9rem; line-height: 1.6; box-shadow: 0 3px 14px #0002; pointer-events: none; }
.lt-status:empty { padding: 0; box-shadow: none; }
.lt-storage-warning { padding: .8rem 1rem; border: 1px solid #eab66c; border-radius: .7rem; background: #fff7ed; font-size: .9rem; }
.lt-data-settings summary { cursor: pointer; font-weight: 600; }
.lt-clear-confirm { margin-top: 1rem; }
.lt-danger { color: #9c201b; border-color: #d88b85; }
@media (max-width: 600px) {
    .lt-page { padding-inline: .75rem; }
    .lt-compare-tray { gap: .6rem; font-size: .85rem; }
    .lt-compare-tray .lt-button { padding-inline: .65rem; }
    .lt-search-list li { align-items: flex-start; }
    .lt-search-list .lt-button { flex-shrink: 0; }
    .lt-status { bottom: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) { .lt-page { scroll-behavior: auto; } }
