/* Final visual language: graphite, soft surfaces, lime for progress and actions. */
.journey .road-row { min-height: 260px; }
.journey .road-row.steps-expanded { height: 540px; }
.journey .stop-details { position: absolute; top: 216px; left: 39%; right: 0; width: auto; max-width: none; margin: 0; z-index: 3; }
.journey .stop-details > summary { display: inline-flex; align-items: center; justify-content: flex-start; gap: 9px; width: auto; min-height: 37px; padding: 8px 12px; border: 1px solid #536344; border-radius: 9px; background: #20281b; color: #d5e5c2; font-size: 11px; line-height: 1.5; cursor: pointer; list-style: none; }
.journey .stop-details > summary::-webkit-details-marker { display: none; }
.journey .stop-details > summary:hover { background: #303d24; border-color: #8aa56a; color: #f0ffe0; }
.journey .stop-details > summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.journey .steps-toggle-icon { font-size: 17px; color: var(--lime); line-height: 1; }
.journey .steps-toggle-chevron { margin-left: 5px; font-size: 16px; transition: transform .15s; }
.journey .stop-details[open] .steps-toggle-chevron { transform: rotate(180deg); }
.journey .stop-details[open] > summary { border-color: #879d65; background: #2d3923; }
.journey .stop-details > div { margin-top: 8px; padding: 7px; border: 1px solid #48583a; border-radius: 11px; background: #1d251a; box-shadow: 0 10px 22px #0003; }
.journey .stop-details > div > button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 43px; padding: 8px; border: 0; border-bottom: 1px solid #ffffff09; background: transparent; color: #d7e1ce; font-size: 11px; text-align: left; }
.journey .stop-details > div > button:hover { background: #c6f36a09; border-radius: 7px; transform: none; }
.journey .stop-details > div > button > span:first-child { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border: 1px solid #71834f; border-radius: 50%; color: var(--lime); font-size: 10px; }
.journey .stop-details > div > button > span:first-child.step-checked { background: var(--lime); color: #1a2511; }
.journey .stop-details > div > button > b { margin-left: auto; color: #a0b789; font-weight: 400; }
@media(max-width: 680px) {
  .journey .stop-details { left: 38%; right: 0; top: 216px; }
  .journey .stop-details > summary { padding: 8px 10px; gap: 7px; font-size: 10px; min-height: 36px; }
  .journey .road-row.steps-expanded { height: 580px; }
}
#header { border-bottom-color: #ffffff10; }
#header.admin-header nav { border: 0; border-radius: 0; padding: 0; background: none; gap: 5px; box-shadow: none; align-self: stretch; align-items: center; }
#header nav .nav-button { position: relative; min-height: 44px; padding: 12px 17px; border: 0; border-radius: 10px; background: transparent; color: #aeb7aa; font-size: 13px; font-weight: 500; letter-spacing: .05px; box-shadow: none; }
#header nav .nav-button.active { color: #eff6e8; background: #ffffff07; box-shadow: none; }
#header nav .nav-button.active::after { content: ''; position: absolute; height: 3px; left: 17px; right: 17px; bottom: -17px; border-radius: 5px; background: var(--lime); box-shadow: 0 0 12px #c6f36a22; }
#header nav .nav-button:hover:enabled { color: #f3f8ed; background: #ffffff08; transform: none; }
#header nav .desktop-back { border-right: 0; border-radius: 9px; padding-inline: 12px; color: #c5d0bb; margin-right: 8px; }
#header nav .desktop-back:hover { background: #ffffff08; }
#header .profile-trigger { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; border: 2px solid #718e50; padding: 2px; background: #26321f; box-shadow: 0 0 0 4px #c6f36a08; overflow: hidden; }
#header .profile-trigger img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
body .button { min-height: 46px; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 14px; line-height: 1.5; background: linear-gradient(180deg, #d0fa80, #bce969); color: #1c2913; border: 1px solid #c6ee7d; box-shadow: inset 0 1px 0 #ffffff55, 0 3px 0 #7b9f4230; }
body .button:hover:enabled { background: #d4fc8f; border-color: #d4fc8f; color: #18260f; box-shadow: inset 0 1px 0 #ffffff60, 0 4px 16px #c6f36a13; transform: translateY(-1px); }
body .button:active:enabled { transform: translateY(1px); box-shadow: none; }
body .button.secondary { background: #ffffff04; color: #dae4d1; border: 1px solid #4a5542; box-shadow: inset 0 1px 0 #ffffff05; font-weight: 500; }
body .button.secondary:hover:enabled { background: #303b27; border-color: #8fa867; color: #f2f8ea; }
body .button:disabled { opacity: .4; box-shadow: none; }
.button > .button-gnista { display: none !important; }
.text-button { color: #c4d8ad; border-radius: 8px; }
.text-button:hover:enabled { color: var(--lime); background: #c6f36a07; transform: none; }
.admin-home .admin-user-courses > div > small { font-size: 9px; letter-spacing: 1.2px; color: #9daa91; }
.admin-home .admin-course-chips { display: grid; gap: 8px; margin-top: 10px; }
.admin-course-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #ffffff04; border: 1px solid #ffffff0e; border-radius: 10px; color: #e3eadc; }
.linked-subject-icon { display: grid; place-items: center; width: 33px; height: 36px; flex: 0 0 33px; border-radius: 9px; background: #c6f36a0c; color: #c6ed8a; font: italic 24px 'Sora', sans-serif; }
.linked-course-name { display: grid; gap: 4px; min-width: 0; flex: 1; }
.linked-course-name small { color: #97a18f; font-size: 9px; line-height: 1.5; }
.linked-course-name strong { font-size: 12px; font-weight: 500; color: #e4ebdd; line-height: 1.5; }
.linked-course-tag { font-size: 10px; color: #a9bd91; white-space: nowrap; }
.admin-home .admin-user-courses { gap: 18px; align-items: end; }
.admin-home .admin-user-courses > button { margin-bottom: 8px; min-height: 38px; border-radius: 9px; }
.admin-home .roster-card { background: linear-gradient(130deg, #222724, #1d2122); border-color: #ffffff13; box-shadow: 0 4px 20px #0000000c; }
.admin-home .admin-view-switch { background: #ffffff04; border-color: #ffffff10; border-radius: 12px; padding: 4px; }
.admin-home .admin-view-switch > button { border-radius: 8px; color: #a6b49a; }
.admin-home .admin-view-switch > button[aria-pressed="true"] { background: #c6f36a12; color: #d9f6b4; box-shadow: inset 0 0 0 1px #c6f36a18; }
body input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
body input[type="number"]::-webkit-inner-spin-button, body input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body input[type="range"] { appearance: none; height: 6px; min-height: 6px; background: #46523a; border: 0; border-radius: 99px; padding: 0; accent-color: var(--lime); cursor: pointer; }
body input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border: 3px solid #1c2715; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px #9ac15e; }
body input[type="range"]::-moz-range-thumb { width: 17px; height: 17px; border: 3px solid #1c2715; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px #9ac15e; }
body .number-field { border-radius: 11px; overflow: hidden; background: #192017; border-color: #46543a; }
body .number-field:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px #c6f36a15; }
body .number-field > input { background: none; box-shadow: none; border: 0; border-radius: 0; }
body .number-field > span { color: #b4c5a1; font-size: 13px; padding-right: 15px; }
.practice-return-note { padding: 12px 14px; background: #c6f36a09; border-left: 2px solid #aec779; border-radius: 0 9px 9px 0; color: #cbdabb; font-size: 13px; line-height: 1.7; }
@media(min-width: 681px) and (max-width: 1050px) {
  #header nav .nav-button { padding-inline: 11px; font-size: 11px; }
  #header nav .nav-button.active::after { left: 11px; right: 11px; }
}
@media(max-width: 680px) {
  #mobile-navigation { background: #192018f5; border-top-color: #46543b; box-shadow: 0 -6px 24px #0002; }
  #mobile-navigation > button { border-radius: 13px; color: #a8b89b; }
  #mobile-navigation > button[aria-current] { color: #c6f36a; background: #c6f36a10; }
  .admin-home .admin-user-courses { align-items: stretch; }
  .admin-home .admin-user-courses > button { width: auto; align-self: flex-end; margin-bottom: 0; padding-inline: 14px; }
  .admin-course-chip { padding: 11px; gap: 10px; }.linked-course-name strong { font-size: 12px; }
  .linked-course-tag { font-size: 9px; }
}
