/* Petroleum–Mint progress card; CSS glass keeps the labelled scale precise. */
.language-progress-card,:is(#languageProgressView,#missionConsolidationView){--lp-deep:#102c38;--lp-panel:#173e48;--lp-mint:#c7f4e4;--lp-text:#eefbf5;--lp-muted:#b7d5ce;color:var(--lp-text)}
.compact-home #homeLanguageProgress{display:block;width:100%;box-sizing:border-box;margin:26px 0;padding:24px;border:1px solid #61b9b4;border-radius:24px;background:radial-gradient(ellipse at 95% 10%,#2d6970,transparent 65%),linear-gradient(145deg,#173e48,#102c38);color:var(--lp-text);text-align:left;font:inherit;cursor:pointer;box-shadow:0 12px 28px #042b3840}
.lp-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.lp-eyebrow{font-weight:800;letter-spacing:.1em;font-size:.73rem;color:var(--lp-mint)}.lp-card-link{font-size:.82rem;white-space:nowrap;color:var(--lp-mint)}
.lp-card-body{display:grid;grid-template-columns:110px minmax(0,1fr) 130px;align-items:center;gap:24px}.lp-card-copy{min-width:0;display:block}.lp-lead{display:block;font-size:clamp(1.2rem,3vw,1.65rem);font-weight:800;margin-bottom:9px}.lp-total{display:block;line-height:1.55;font-size:.95rem;color:var(--lp-muted)}.lp-total strong{font-size:1.6rem;color:var(--lp-mint);margin-right:6px}.lp-kabil{width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 8px 9px #031c3266)}
.lp-glass{position:relative;display:block;width:110px;height:210px;flex-shrink:0;margin-top:8px}.lp-tube{position:absolute;left:9px;top:0;bottom:0;width:50px;border:2px solid #b0e6de;border-top:5px solid #dbfff5;border-radius:8px 8px 30px 30px;background:linear-gradient(90deg,#ffffff12,#ffffff04 60%,#ffffff18);overflow:hidden;box-shadow:inset 4px 0 8px #03182350,0 0 18px #7ce8ce10}.lp-liquid{display:block;position:absolute;bottom:0;left:0;right:0;height:var(--lp-fill,0%);max-height:100%;background:linear-gradient(90deg,#59c8b0,#c7f4e4);box-shadow:0 -2px 12px #a0ffe78c;transition:height 1s ease-out}.lp-liquid:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:#d6fff0;border-radius:50%}.lp-liquid i{position:absolute;width:5px;height:5px;bottom:10px;left:12px;border:1px solid #f1fff8;border-radius:50%;opacity:.55}.lp-liquid i:nth-child(2){bottom:23px;left:30px;width:4px;height:4px}.lp-liquid i:nth-child(3){bottom:40px;left:21px;width:3px;height:3px}.lp-shine{position:absolute;left:6px;top:8px;bottom:14px;width:5px;border-radius:5px;background:#fff3}.lp-scale{position:absolute;left:66px;top:5px;bottom:2px;width:40px}.lp-scale>span{position:absolute;bottom:var(--lp-position);transform:translateY(50%);font:800 12px/1.2 "Trebuchet MS",sans-serif;color:var(--lp-mint);white-space:nowrap}.lp-scale>span:before{content:'';display:inline-block;width:7px;height:1px;background:currentColor;vertical-align:middle;margin-right:6px}.lp-scale .lp-future{color:#a7bfbd}
.lp-bars{display:grid;gap:11px;margin:18px 0}.lp-bar-row{display:grid;grid-template-columns:minmax(110px,1.2fr) minmax(45px,1fr) 40px;align-items:center;gap:12px}.lp-bar-row>span:first-child{display:grid;gap:3px}.lp-bar-row b{font-size:.9rem}.lp-bar-row small{font-size:.73rem;color:var(--lp-muted)}.lp-bar-row>strong{font-size:.82rem;text-align:right}.lp-track{display:block;height:7px;background:#091f2980;border-radius:9px;overflow:hidden}.lp-track i{display:block;height:100%;background:var(--lp-mint);border-radius:inherit}.lp-caption{display:block;color:var(--lp-muted);font-size:.8rem;line-height:1.6}
#homeLanguageProgress:focus-visible,:is(#languageProgressView,#missionConsolidationView) :focus-visible{outline:3px solid #8fe6d0;outline-offset:5px}#homeLanguageProgress:hover{border-color:#c7f4e4}.lp-improved .lp-liquid i{animation:lp-bubble 1.4s ease-out 2}@keyframes lp-bubble{to{transform:translateY(-22px);opacity:0}}
body:has(:is(#languageProgressView,#missionConsolidationView).active){background:radial-gradient(ellipse at top,#275e65,#102c38 75%);background-attachment:fixed}main :is(#languageProgressView,#missionConsolidationView) .sectionhead h2{color:var(--lp-text)!important}main :is(#languageProgressView,#missionConsolidationView) .sectionhead small{color:var(--lp-muted)!important}main :is(#languageProgressView,#missionConsolidationView) .page-home{background:#214f59;color:var(--lp-text);border-color:#61b9b4}
.lp-detail-panel{background:linear-gradient(145deg,#173e48,#102c38);border:1px solid #61b9b4;border-radius:22px;padding:24px;margin-bottom:20px;min-width:0}.lp-detail-panel p{line-height:1.7}.lp-detail-panel h3{color:var(--lp-text);margin:0 0 14px;font-size:1.4rem}.lp-detail-panel small{color:var(--lp-muted)}.lp-overview{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:28px}.lp-domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.lp-domain-grid .lp-detail-panel{display:flex;flex-direction:column;padding:22px 18px}.lp-domain-score{font-size:2.2rem;font-weight:800;color:var(--lp-mint)}.lp-domain-score span{font-size:1rem;margin-left:4px}.lp-domain-grid ul{list-style:none;padding:0;margin:0 0 18px}.lp-domain-grid li{display:flex;gap:12px;justify-content:space-between;padding:11px 0;border-bottom:1px solid #6badab40;font-size:.88rem;line-height:1.4}.lp-domain-grid li span{overflow-wrap:anywhere}.lp-domain-grid li b{white-space:nowrap;color:var(--lp-mint)}:is(#languageProgressView,#missionConsolidationView) .btn{background:var(--lp-mint);color:var(--lp-deep);border:1px solid #dbf9e9;text-shadow:none;min-height:48px;white-space:normal}:is(#languageProgressView,#missionConsolidationView) .lp-domain-grid .btn{margin-top:auto}.lp-strengths{padding-left:0;list-style:none;display:grid;gap:12px;font-size:.94rem}.lp-next{display:flex;gap:20px;align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid #6badab60}.lp-next img{object-fit:contain;flex-shrink:0}.lp-next strong{font-size:1.1rem}:is(#languageProgressView,#missionConsolidationView) summary{cursor:pointer;font-weight:800;min-height:30px}
@media(max-width:760px){.lp-card-body{grid-template-columns:95px minmax(0,1fr);gap:15px}.lp-kabil{display:none}.lp-domain-grid{grid-template-columns:1fr}.lp-card-heading{align-items:flex-start}.lp-card-link{font-size:.75rem}.lp-glass{width:95px}.lp-overview{gap:18px}}
@media(max-width:440px){.compact-home #homeLanguageProgress{padding:19px 14px}.lp-card-heading{flex-direction:column;gap:8px;margin-bottom:16px}.lp-bar-row{grid-template-columns:minmax(0,1fr) 34px;gap:5px 9px}.lp-bar-row>span:first-child{grid-column:1;grid-row:1}.lp-bar-row>strong{grid-column:2;grid-row:1}.lp-track{grid-column:1/-1}.lp-lead{font-size:1.15rem}.lp-total{font-size:.82rem}.lp-overview{grid-template-columns:86px minmax(0,1fr);gap:12px;padding:20px 14px}.lp-detail-panel h3{font-size:1.18rem}.lp-next{gap:12px;align-items:flex-start}.lp-next img{width:62px;height:76px}}
@media(prefers-reduced-motion:reduce){.lp-liquid{transition:none}.lp-improved .lp-liquid i{animation:none}}
.lp-goal>span{flex:1;min-width:0}.lp-goal small{display:block;margin-top:6px;font-size:.72rem;line-height:1.5}.lp-topic-meter{display:block;height:5px;background:#091f2980;margin:9px 0;border-radius:8px;overflow:hidden}.lp-topic-meter i{display:block;height:100%;background:#8fe6d0}.lp-goal-action{background:transparent;color:#c7f4e4;border:1px solid #61b9b4;border-radius:8px;padding:7px 10px;min-height:40px;font:inherit;cursor:pointer}.lp-learning-rule{border-color:#a3e5d1}.lp-learning-rule strong{line-height:1.7}.lp-consolidation-options{display:grid;gap:12px;margin:22px 0}.lp-consolidation-options button{text-align:left!important}.lp-consolidation-feedback{padding:16px;background:#214f59;border-radius:12px;line-height:1.7}
