.academy-path-shell {
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.14), rgba(17, 24, 39, 0.98) 42%);
    border: 1px solid rgba(59, 130, 246, 0.24);
}

.academy-path-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(71, 85, 105, 0.8);
    background: rgba(15, 23, 42, 0.9);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
}

.academy-path-chip.active {
    border-color: rgba(59, 130, 246, 0.7);
    color: #bfdbfe;
}

.academy-path-section {
    border: 1px solid rgba(55, 65, 81, 0.9);
    border-radius: 0.9rem;
    background: rgba(31, 41, 55, 0.72);
    padding: 1.1rem;
}

.academy-path-section-label {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.academy-path-checklist-section {
    border: 1px solid rgba(67, 56, 202, 0.55);
    border-radius: 0.75rem;
    background: rgba(30, 27, 75, 0.35);
    padding: 0.75rem;
}

.academy-path-checklist-section + .academy-path-checklist-section {
    margin-top: 0.55rem;
}

.academy-path-checklist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.academy-path-checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
}

.academy-path-step-card {
    border: 1px solid rgba(71, 85, 105, 0.7);
    border-radius: 0.65rem;
    background: rgba(15, 23, 42, 0.94);
    padding: 0.55rem;
}

.academy-path-step-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.academy-path-step-title {
    color: #e2e8f0;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.25;
}

.academy-path-step-what {
    color: #cbd5e1;
    font-size: 0.73rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.academy-path-step-label {
    color: #93c5fd;
    font-weight: 700;
}

.academy-path-step-meta {
    color: #94a3b8;
    font-size: 0.68rem;
    line-height: 1.35;
}

.academy-path-step-actions {
    margin-top: 0.4rem;
}

.academy-path-step-checkpoint {
    color: #fcd34d;
    font-weight: 700;
}

.academy-path-all-steps-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.academy-path-step-actions-note {
    color: #cbd5e1;
    font-size: 0.74rem;
}

.academy-path-level {
    border: 1px solid rgba(71, 85, 105, 0.8);
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.92);
    padding: 0.85rem;
}

.academy-path-level.active {
    border-color: rgba(56, 189, 248, 0.75);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.academy-path-level-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.academy-path-module {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(51, 65, 85, 0.75);
    background: rgba(17, 24, 39, 0.92);
}

.academy-path-module + .academy-path-module {
    margin-top: 0.35rem;
}

.academy-path-module-name {
    color: #e5e7eb;
    font-size: 0.83rem;
    font-weight: 600;
}

.academy-path-module-meta {
    color: #94a3b8;
    font-size: 0.72rem;
}

.academy-path-editor-row {
    display: grid;
    grid-template-columns: minmax(84px, 108px) minmax(130px, 1fr) minmax(76px, 90px) auto;
    gap: 0.4rem;
    align-items: center;
}

.academy-path-editor-row + .academy-path-editor-row {
    margin-top: 0.35rem;
}

.academy-path-editor-module {
    border: 1px solid rgba(51, 65, 85, 0.75);
    border-radius: 0.7rem;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.5rem;
}

.academy-path-editor-module + .academy-path-editor-module {
    margin-top: 0.45rem;
}

.academy-path-editor-row.drag-over {
    border-radius: 0.65rem;
    outline: 1px dashed rgba(56, 189, 248, 0.75);
    outline-offset: 2px;
    background: rgba(15, 23, 42, 0.75);
}

.academy-path-editor-row.drag-source {
    opacity: 0.6;
}

.academy-path-input,
.academy-path-select {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(71, 85, 105, 0.8);
    background: rgba(2, 6, 23, 0.92);
    color: #e5e7eb;
    font-size: 0.78rem;
    padding: 0.42rem 0.5rem;
}

.academy-path-params-input {
    min-height: 3.1rem;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.academy-path-input-invalid {
    border-color: rgba(248, 113, 113, 0.95) !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.55) inset;
}

.academy-path-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.42rem 0.55rem;
    border: 1px solid rgba(71, 85, 105, 0.85);
    background: rgba(30, 41, 59, 0.95);
    color: #e2e8f0;
}

.academy-path-btn:hover {
    background: rgba(51, 65, 85, 0.95);
}

.academy-path-btn.primary {
    background: rgba(29, 78, 216, 0.95);
    border-color: rgba(37, 99, 235, 0.95);
    color: #fff;
}

.academy-path-btn.primary:hover {
    background: rgba(37, 99, 235, 0.95);
}

.academy-path-btn.warn {
    background: rgba(120, 53, 15, 0.9);
    border-color: rgba(180, 83, 9, 0.95);
    color: #fde68a;
}

.academy-path-btn.warn:hover {
    background: rgba(146, 64, 14, 0.95);
}

.academy-path-editing .academy-path-module-view {
    display: none;
}

.academy-path-module-editor {
    display: none;
}

.academy-path-editing .academy-path-module-editor {
    display: block;
}

@media (max-width: 860px) {
    .academy-path-editor-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
