/* Learning progress is a personal state, independent of route publication/review styling. */
html.gt-lp-my-modal-open{overflow:hidden}
.gt-lp-my-routes{color:#203641;text-align:left;flex-shrink:0}
.gt-lp-my-open,.gt-lp-my-close{font:inherit;cursor:pointer;background:#fff;color:#203641;border:2px solid #ced8dc;border-radius:8px;min-height:44px}
.gt-lp-my-open{display:flex;align-items:center;justify-content:center;gap:18px;padding:12px 16px;font-size:16px;font-weight:600;white-space:nowrap}
.gt-lp-my-open .gt-lp-ico{width:16px;height:16px;flex-basis:16px;color:currentColor}
.gt-lp-my-routes .gt-lp-my-open:hover,.gt-lp-my-routes .gt-lp-my-open:focus-visible,.gt-lp-my-routes .gt-lp-my-close:hover,.gt-lp-my-routes .gt-lp-my-close:focus-visible{border-color:#f7a63c;box-shadow:0 0 0 1px #f7a63c;outline:none}
.gt-lp-my-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #ced8dc;border-radius:12px;background:#fff;color:#203641;box-shadow:0 18px 48px rgba(13,29,48,.25);font:inherit;overflow:auto;overscroll-behavior:contain}
.gt-lp-my-dialog::backdrop{background:rgba(23,45,59,.74)}
.gt-lp-my-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px 12px;background:#fff;position:sticky;top:0;z-index:1}
.gt-lp .gt-lp-my-dialog-head h2,.gt-lp-my-dialog-head h2{font:600 28px/1.2 "Avenir Next",Avenir,system-ui,sans-serif;color:#203641;margin:0;padding:0}
.gt-lp-my-close{width:44px;font-size:28px;line-height:1;flex-shrink:0}
.gt-lp-my-content{padding:0 24px 24px}
.gt-lp-my-content p{margin:0;font-size:16px;line-height:1.6}
.gt-lp-my-route{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #dde4e7}
.gt-lp-my-route:last-child{border-bottom:0;padding-bottom:0}
.gt-lp-my-route-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.gt-lp-my-route-info strong{font-size:18px;line-height:1.4}
.gt-lp-my-route-info span,.gt-lp-my-route-info small{font-size:14px;line-height:1.5;color:#536670}
.gt-lp-my-route-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.gt-lp-progress-link{display:inline-block;background:#24704f;color:white!important;border:2px solid transparent;border-radius:7px;padding:11px 14px;font-size:15px;font-weight:600;line-height:1.5;text-decoration:none!important}
.gt-lp-progress-link:hover,.gt-lp-progress-link:focus-visible{border-color:#f7a63c}
.gt-lp-progress-overview-link{font-size:14px;color:#203641!important;text-decoration:underline!important;text-underline-offset:3px}
.gt-lp-progress-status{margin:16px 0 0;max-width:440px;color:#536670;font-size:14px;line-height:1.5}
.gt-lp-progress-status:empty{display:none}
/* Light, readable progress text on the route overview's navy heading. */
.gt-lp-route-head .gt-lp-progress-status{color:#f2f7fa;font-size:16px;font-weight:600}
.gt-lp-my-routes progress,.gt-lp-progress-status progress{display:block;appearance:none;width:100%;height:6px;max-width:440px;margin-top:7px;border:0;border-radius:8px;overflow:hidden;background:#e0e6e8;color:#2c9063}
.gt-lp-my-routes progress::-webkit-progress-bar,.gt-lp-progress-status progress::-webkit-progress-bar{background:#e0e6e8}
.gt-lp-my-routes progress::-webkit-progress-value,.gt-lp-progress-status progress::-webkit-progress-value{background:#2c9063}
.gt-lp-my-routes progress::-moz-progress-bar,.gt-lp-progress-status progress::-moz-progress-bar{background:#2c9063}
.gt-lp-progress-badge{display:inline-block;margin-right:6px;color:#24704f;font-size:18px;font-weight:700;line-height:1;vertical-align:baseline}
.gt-lp-progress-badge[hidden],.gt-lp-progress-retry[hidden]{display:none!important}
#gt-lp-lesson-shell .gt-lp-goal-control,#gt-lp-lesson-context .gt-lp-goal-control{margin-top:18px;border-top:1px solid #dce4e7;padding-top:18px}
.gt-lp-goal-check{display:flex;align-items:center;gap:11px;font-size:18px;line-height:1.5;color:#203641;font-weight:700;cursor:pointer;min-height:44px}
.gt-lp-goal-check input{appearance:auto!important;width:22px!important;height:22px!important;position:static!important;margin:0!important;opacity:1!important;accent-color:#24704f;flex:0 0 22px;cursor:pointer}
.gt-lp-goal-check input:focus-visible{outline:3px solid #f7a63c;outline-offset:4px}
.gt-lp-goal-check:has(input:disabled){opacity:.65;cursor:wait}
#gt-lp-lesson-shell .gt-lp-goal-control .gt-lp-save-status,#gt-lp-lesson-context .gt-lp-goal-control .gt-lp-save-status{font-size:14px;line-height:1.5;color:#3f5d50;margin:8px 0 0;overflow-wrap:anywhere}
.gt-lp-save-status:empty{display:none}
.gt-lp-progress-retry,.gt-lp-progress-reload{font:inherit;font-size:14px;cursor:pointer;color:#203641;background:#fff;border:2px solid #ced8dc;border-radius:6px;min-height:44px;padding:8px 12px;margin-top:10px}
.gt-lp-progress-retry:hover,.gt-lp-progress-retry:focus-visible,.gt-lp-progress-reload:hover,.gt-lp-progress-reload:focus-visible{border-color:#f7a63c}
@media(max-width:600px){.gt-lp-my-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.gt-lp-my-dialog-head{padding:16px}.gt-lp-my-content{padding:0 16px 16px}.gt-lp-my-route{align-items:stretch;flex-direction:column;gap:12px}.gt-lp-my-route-actions{justify-content:space-between}.gt-lp-progress-link{flex:1;text-align:center}}

/* Ordinary save announcements are for assistive technology only; errors remain visible. */
#gt-lp-lesson-shell .gt-lp-save-status.is-quiet,#gt-lp-lesson-context .gt-lp-save-status.is-quiet{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}

/* Compact list actions; removal never deletes saved goals. */
.gt-lp-my-route-actions{gap:12px;flex-wrap:nowrap}
.gt-lp-my-route-actions .gt-lp-progress-link{flex:none;padding:8px 12px;min-height:44px;box-sizing:border-box}
.gt-lp-list-action{border:0;background:transparent;color:#526570;font:inherit;font-size:14px;min-height:44px;padding:8px 4px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.gt-lp-list-action:focus-visible{outline:2px solid #23395b;outline-offset:3px}
.gt-lp-list-action:disabled{opacity:.5;cursor:wait}
.gt-lp-list-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #dde4e7;font-size:14px;line-height:1.5}
@media(max-width:600px){.gt-lp-my-route-actions{justify-content:flex-start;gap:16px}.gt-lp-my-route-actions .gt-lp-progress-link{flex:none}.gt-lp-my-route-actions .gt-lp-list-action{margin-left:auto}}

/* Dine veje: secondary overview action shares the primary button's footprint. */
.gt-lp-my-route-actions .gt-lp-progress-overview-link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:8px 12px;border:2px solid #287b57;border-radius:7px;background:#fff;color:#287b57!important;font-size:15px;font-weight:600;line-height:1.5;text-decoration:none!important;white-space:nowrap}
.gt-lp-my-route-actions .gt-lp-progress-overview-link:hover{background:#edf6f0}
.gt-lp-my-route-actions .gt-lp-progress-overview-link:focus-visible{outline:2px solid #23395b;outline-offset:3px}
@media(max-width:600px){.gt-lp-my-route-actions{gap:10px}}

/* Preserve the native goal checkbox, with the shared orange interaction edge. */
.gt-lp-goal-check:hover input:not(:disabled),.gt-lp-goal-check input:focus-visible{outline:2px solid #f4a338;outline-offset:2px}

/* Empty Dine veje: explicit spacing independent of the surrounding theme. */
.gt-lp-my-dialog:has(.gt-lp-my-content > p + .gt-lp-progress-link) .gt-lp-my-dialog-head{padding:24px 28px 16px}
.gt-lp-my-content:has(> p + .gt-lp-progress-link){padding:0 28px 28px}
.gt-lp-my-content > p:has(+ .gt-lp-progress-link){margin:0;padding:0;max-width:62ch;line-height:1.65}
.gt-lp-my-content > p + .gt-lp-progress-link{margin-top:18px;min-height:44px;box-sizing:border-box}
@media(max-width:600px){
.gt-lp-my-dialog:has(.gt-lp-my-content > p + .gt-lp-progress-link) .gt-lp-my-dialog-head{padding:20px 20px 16px}
.gt-lp-my-content:has(> p + .gt-lp-progress-link){padding:0 20px 24px}
}
