/* Subject navigation for Learn, with the unchanged French course beneath. */
#french-tab .learn-hub,
#french-tab #learnFrenchCourse {
    box-sizing:border-box;
    width:min(100%,650px);
    max-width:650px;
    margin:0 auto;
}
#french-tab .learn-hub {
    padding:8px 13px calc(var(--lbrank-nav-core-height,56px) + 34px);
    display:grid;
    gap:16px;
    color:var(--theme-text,#fff);
    align-content:start;
}
#french-tab .learn-hub[hidden],
#french-tab #learnFrenchCourse[hidden] {
    display:none !important;
}
#french-tab .learn-hub>.app-page-header {
    margin:0 !important;
    padding:0 0 12px !important;
    border-bottom:1px solid rgba(172,192,219,.17);
}
#french-tab .learn-hub .app-page-header h2{
    color:var(--ui-header,var(--theme-text,#fff)) !important;
}
#french-tab .learn-hub .app-page-header p {
    font-size:12px;line-height:1.55;color:var(--ui-card-description,var(--theme-text-muted,#bec9d9));
}
#french-tab .learn-choice-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
#french-tab .learn-choice{
    border:1px solid rgba(var(--theme-primary-rgb,0,212,255),.22);
    border-radius:15px;
    background:rgba(var(--theme-primary-rgb,0,212,255),.05);
    color:var(--theme-text,#fff);
    padding:17px 13px;
    display:flex;
    min-height:159px;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    text-align:left;
    box-shadow:none;
    cursor:pointer;
    font-family:inherit;
    position:relative;
}
#french-tab .learn-choice:focus-visible,
#french-tab .learn-back:focus-visible {
    outline:2px solid var(--theme-primary,#00d4ff);
    outline-offset:3px;
}
#french-tab .learn-choice-icon {
    display:grid;place-items:center;
    min-height:36px;
    font-size:26px;
    color:var(--theme-primary,#00d4ff);
}
#french-tab .learn-choice strong {
    font-size:16px;
    color:var(--ui-card-title,var(--theme-text,#fff));
    line-height:1.25;
}
#french-tab .learn-choice small {
    font-size:11px;line-height:1.45;
    color:var(--ui-card-description,var(--theme-text-muted,#c5d0df));
    padding-right:5px;
}
#french-tab .learn-choice-arrow {
    margin-top:auto;
    align-self:flex-end;
    font-weight:750;
    color:var(--theme-primary,#00d4ff);
    font-size:23px;
}
#french-tab .learn-back {
    justify-self:start;min-height:34px;
    padding:5px 1px;
    color:var(--theme-primary,#00d4ff);
    border:none;
    background:transparent;
    box-shadow:none;
    font-family:inherit;font-weight:750;font-size:13px;line-height:1.4;
    cursor:pointer;
}
#french-tab .learn-miracles-list {
    display:grid;gap:12px;
}
#french-tab .learn-miracle-card {
    display:flex;gap:12px;
    padding:16px 10px;
    border-bottom:1px solid rgba(172,192,219,.16);
    background:transparent;
}
#french-tab .learn-miracle-card>div {min-width:0;flex:1;}
#french-tab .learn-miracle-number {
    color:var(--theme-primary,#00d4ff);
    font-size:13px;
    font-weight:900;
    font-variant-numeric:tabular-nums;
}
#french-tab .learn-miracle-card h3 {
    margin:0 0 5px;
    color:var(--ui-card-title,var(--theme-text,#fff));
    font-size:16px;
    line-height:1.3;
}
#french-tab .learn-miracle-card small {
    color:var(--theme-primary,#00d4ff);
    font-size:11px;
    font-weight:700;
}
#french-tab .learn-miracle-card p {
    margin:10px 0 0;
    color:var(--ui-card-description,var(--theme-text-muted,#c5d0df));
    font-size:12px;
    line-height:1.65;
}
#french-tab .learn-miracle-note {
    margin:7px 0 0;
    color:var(--ui-card-description,var(--theme-text-muted,#c5d0df));
    font-size:11px;
    line-height:1.6;
}
#french-tab #learnFrenchCourse>.learn-back {justify-self:start;}
@media(max-width:350px){
    #french-tab .learn-choice-grid {grid-template-columns:1fr;}
    #french-tab .learn-choice{min-height:125px;}
}


/* Interactive reflection index and detail reading */
#french-tab .learn-progress-summary {
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
    gap:6px 12px;font-size:12px;
    color:var(--ui-card-description,var(--theme-text-muted,#bdc8d8));
}
#french-tab .learn-progress-summary strong {
    font-size:12px;
    color:var(--theme-primary,#00d4ff);
}
#french-tab .learn-progress-track{
    flex:0 0 100%;height:5px;background:rgba(180,198,219,.16);
    overflow:hidden;border-radius:8px;
}
#french-tab .learn-progress-track i{display:block;height:100%;background:var(--theme-primary,#00d4ff);}
#french-tab .learn-milestone-summary {font-size:11px;line-height:1.5;margin:0;color:var(--ui-card-description,var(--theme-text-muted,#bfcbdc));}
#french-tab .learn-filter {display:flex;align-items:center;gap:10px;margin:0 0 8px;}
#french-tab .learn-filter button{
    padding:8px 10px;min-height:34px;
    color:var(--theme-text,#fff);background:transparent;
    font:700 12px/1.2 system-ui,sans-serif;
    border:0;border-bottom:2px solid transparent;
    cursor:pointer;
}
#french-tab .learn-filter button.active {
    color:var(--theme-primary,#00d4ff);
    border-bottom-color:var(--theme-primary,#00d4ff);
}
#french-tab .learn-miracle-card {
    width:100%;text-align:left;align-items:flex-start;box-sizing:border-box;
    background:transparent;color:var(--theme-text,#fff);
    border:0;border-bottom:1px solid rgba(172,192,219,.16);border-radius:0;
    font-family:inherit;cursor:pointer;min-height:89px;
}
#french-tab .learn-miracle-card.is-read {opacity:.88;}
#french-tab .learn-miracle-copy {flex:1;min-width:0;display:grid;gap:5px;}
#french-tab .learn-miracle-copy strong {
    font-weight:800;font-size:15px;line-height:1.3;
    color:var(--ui-card-title,var(--theme-text,#fff));
}
#french-tab .learn-miracle-copy small{font-weight:750;color:var(--theme-primary,#00d4ff);}
#french-tab .learn-miracle-copy>span {
    color:var(--ui-card-description,var(--theme-text-muted,#bfcbdb));
    font-size:12px;line-height:1.5;
}
#french-tab .learn-miracle-arrow {
    margin:auto 0;color:var(--theme-primary,#00d4ff);font-size:22px;font-weight:700;
}
#french-tab .learn-empty{color:var(--theme-text-muted,#bfcbdc);font-size:12px;padding:18px 6px;}
#french-tab .learn-detail-content{display:grid;gap:17px;min-width:0;}
#french-tab .learn-detail-heading {
    display:grid;gap:8px;padding:0 0 15px;
    border-bottom:1px solid rgba(172,192,219,.19);
}
#french-tab .learn-detail-heading>span {
    font-size:11px;font-weight:750;color:var(--ui-subheader,var(--theme-text-muted,#bfcbdc));
}
#french-tab .learn-detail-heading h2{
    margin:0;font-size:25px;line-height:1.25;
    color:var(--ui-header,var(--theme-text,#fff));
}
#french-tab .learn-detail-heading a{
    font-size:12px;color:var(--theme-primary,#00d4ff);
    width:max-content;
}
#french-tab .learn-detail-section{
    display:grid;gap:7px;padding:0 0 14px;
    border-bottom:1px solid rgba(172,192,219,.14);
}
#french-tab .learn-detail-section h3{
    margin:0;font-size:15px;line-height:1.35;
    color:var(--ui-card-title,var(--theme-text,#fff));
}
#french-tab .learn-detail-section p{
    margin:0;font-size:13px;line-height:1.7;
    color:var(--ui-card-description,var(--theme-text-muted,#c8d1df));
}
#french-tab .learn-detail-section p+p{margin-top:7px;}
#french-tab .learn-detail-disclaimer{
    font-size:11px;line-height:1.6;
    color:var(--ui-card-description,var(--theme-text-muted,#bfcbdc));
}
#french-tab .learn-read-toggle {
    min-height:45px;padding:10px 14px;width:100%;
    border:1px solid rgba(var(--theme-primary-rgb,0,212,255),.37);
    border-radius:12px;background:rgba(var(--theme-primary-rgb,0,212,255),.08);
    color:var(--theme-text,#fff);font-family:inherit;font-weight:750;font-size:13px;line-height:1.3;
    cursor:pointer;
}
#french-tab .learn-detail-nav{
    display:flex;justify-content:space-between;align-items:center;
    gap:12px;border-top:1px solid rgba(172,192,219,.18);padding-top:14px;
    font-size:12px;color:var(--theme-text-muted,#bbc9da);
}
#french-tab .learn-detail-nav button{
    background:transparent;border:0;padding:9px 0;
    color:var(--theme-text,#fff);font:750 13px/1.2 system-ui,sans-serif;
    cursor:pointer;
}
#french-tab .learn-detail-nav button:disabled{opacity:.3;cursor:default;}
#french-tab .fr-lesson-row.read .fr-lesson-arrow {color:var(--theme-primary,#00d4ff);}
